Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 270c098e62
Fetching contributors…

Cannot retrieve contributors at this time

93 lines (73 sloc) 2.699 kB
UNSAFE = -unsafe
DEBUG = -debug
GTK_SRCS = \
$(srcdir)/Gtk.Sources/Dialog.cs \
$(srcdir)/Gtk.Sources/Global.cs \
$(srcdir)/Gtk.Sources/Image.cs \
$(srcdir)/Gtk.Sources/ImageMenuItem.cs \
$(srcdir)/Gtk.Sources/Style.cs \
$(srcdir)/Gtk.Sources/Widget.cs
GTK_CUSTOMS = \
$(srcdir)/Gtk.Customs/Builder.custom
GLIB_SRCS = \
$(srcdir)/GLib.Sources/Format.cs \
$(srcdir)/GLib.Sources/Priority.cs \
$(srcdir)/GLib.Sources/Shell.cs \
$(srcdir)/GLib.Sources/Sources.cs \
$(srcdir)/GLib.Sources/Timeout.cs
GDK_SRCS = \
$(srcdir)/Gdk.Sources/PixbufFormat.cs \
$(srcdir)/Gdk.Sources/PixbufLoader.cs \
$(srcdir)/Gdk.Sources/Drawable.cs
SRCS = \
$(GLIB_SRCS) \
$(GTK_SRCS) \
$(GDK_SRCS)
ASSEMBLIES = \
$(GLIBSHARP_LIBS) \
$(GIOSHARP_LIBS) \
$(GTKSHARP_LIBS)
all: gtk-sharp-beans.dll
gtk-api.xml: $(srcdir)/gtk-api.raw $(srcdir)/Gtk.metadata
@echo -e "\n*** Massaging the raw api into $@"
cp $(srcdir)/gtk-api.raw gtk-api.xml
chmod +w $(builddir)/gtk-api.xml
gapi2-fixup --api=gtk-api.xml --metadata=$(srcdir)/Gtk.metadata
gtkbeans-api.xml: $(srcdir)/gtkbeans-api.raw $(srcdir)/GtkBeans.metadata
@echo -e "\n*** Massaging the raw api into $@"
cp $(srcdir)/gtkbeans-api.raw gtkbeans-api.xml
chmod +w $(builddir)/gtkbeans-api.xml
gapi2-fixup --api=gtkbeans-api.xml --metadata=$(srcdir)/GtkBeans.metadata
gtk_generated/Builder.cs: gtk-api.xml gtkbeans-api.xml $(GTK_CUSTOMS)
@echo -e "\n*** Generating C# code"
gapi2-codegen $(GLIBSHARP_CFLAGS) --outdir=gtk_generated --customdir=$(srcdir)/Gtk.Customs --generate gtkbeans-api.xml
gapi2-codegen $(GLIBSHARP_CFLAGS) $(GTKSHARP_CFLAGS) $(GIOSHARP_CFLAGS) --outdir=gtk_generated --customdir=$(srcdir)/Gtk.Customs --generate gtk-api.xml
gtk-sharp-beans.dll.mdb: gtk-sharp-beans.dll
gtk-sharp-beans.dll: $(builddir)/gtk_generated/Builder.cs $(SRCS) AssemblyInfo.cs
@echo -e "\n*** Building $@"
$(CSC) -target:library -out:$@ $(CSC_DEFINES) $(UNSAFE) $(DEBUG) $(ASSEMBLIES) $(SRCS) AssemblyInfo.cs $(builddir)/gtk_generated/*.cs
beansdir = $(prefix)/lib/gtk-sharp-beans
beans_DATA = gtk-sharp-beans.dll gtk-sharp-beans.dll.mdb gtk-sharp-beans.dll.config
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = gtk-sharp-beans-2.0.pc
CLEANFILES = \
gtk-sharp-beans.dll \
gtk-sharp-beans.dll.mdb \
gtk-sharp-beans.dll.config \
gtk-api.xml \
gtkbeans-api.xml
DISTCLEANFILES = \
AssemblyInfo.cs \
gtk_generated/*.cs
MAINTAINERCLEANFILES = Makefile.in
EXTRA_DIST = \
$(SRCS) \
$(GTK_CUSTOMS) \
AssemblyInfo.cs.in \
sources/Makefile.am \
sources/Makefile.in \
GtkBeans.metadata \
gtkbeans-api.raw \
Gtk.metadata \
gtk-sharp-beans.snk \
gtk-api.raw
Jump to Line
Something went wrong with that request. Please try again.