GtkSharp/gda/Makefile.in
Mike Kestner 6e44bd8cdb 2003-10-12 Mike Kestner <mkestner@ximian.com>
* art/Art.metadata : new xpath metadata rules
	* art/Makefile.in : apply metadata before generation
	* atk/Atk.metadata : new xpath metadata rules
	* atk/Makefile.in : apply metadata before generation
	* gda/Gda.metadata : new xpath metadata rules
	* gda/Makefile.in : apply metadata before generation
	* gdk/Gdk.metadata : new xpath metadata rules
	* gdk/Makefile.in : apply metadata before generation
	* gnomedb/GnomeDb.metadata : new xpath metadata rules
	* gnomedb/Makefile.in : apply metadata before generation
	* pango/Pango.metadata : new xpath metadata rules
	* pango/Makefile.in : apply metadata before generation
	* parser/Makefile.in : build and install new gapi-fixup
	* parser/gapi-fixup.cs : new xpath based metadata engine
	* sources/*.metadata : remove most of the old metadata,
	still have to convert Gtk and Gnome to xpaths.

svn path=/trunk/gtk-sharp/; revision=18947
2003-10-13 03:06:22 +00:00

38 lines
1,023 B
Makefile
Executable file

APIS= gda-api.xml
RUNTIME=mono
MCS=mcs
ASSEMBLY=gda-sharp.dll
@ENABLE_GDA_TRUE@ all: $(ASSEMBLY)
@ENABLE_GDA_FALSE@ all:
all: $(ASSEMBLY)
generated-stamp: $(APIS) ../generator/gapi_codegen.exe Gda.metadata
$(RUNTIME) ../parser/gapi-fixup.exe --api=gda-api.xml --metadata=Gda.metadata && \
$(RUNTIME) ../generator/gapi_codegen.exe \
--generate $(APIS) --outdir=generated --customdir=. \
--assembly-name=gda-sharp && touch generated-stamp
$(ASSEMBLY): generated-stamp *.cs
$(MCS) --unsafe -nowarn:0660,0661 --target library \
-r ../glib/glib-sharp.dll -o $(ASSEMBLY) --recurse '*.cs'
clean:
rm -f generated-stamp
rm -f $(ASSEMBLY)
rm -rf generated
prefix=@prefix@
DESTDIR=
apidir=$(DESTDIR)$(prefix)/share/gapi
libdir=$(DESTDIR)$(prefix)/lib
install: all
@ENABLE_GDA_TRUE@ ../mkinstalldirs $(libdir) && \
@ENABLE_GDA_TRUE@ for i in $(APIS); do \
@ENABLE_GDA_TRUE@ cp $$i $(apidir) || true; \
@ENABLE_GDA_TRUE@ done && \
@ENABLE_GDA_TRUE@ cp $(ASSEMBLY) $(libdir)