GtkSharp/parser/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

45 lines
1 KiB
Makefile

CC = @CC@
CFLAGS = @CFLAGS@
CPPFLAGS = @CPPFLAGS@
BASE_DEPENDENCIES_CFLAGS = @BASE_DEPENDENCIES_CFLAGS@
MCS=mcs
SCRIPTS = \
gapi.pl \
gapi_pp.pl \
gapi-parser \
gapi2xml.pl
MODULES=GAPI/Metadata.pm
all: $(SCRIPTS) $(MODULES) gapi_format_xml gapi-fixup.exe
gapi_format_xml: formatXml.c
$(CC) $(CPPFLAGS) -o gapi_format_xml formatXml.c `pkg-config --cflags --libs libxml-2.0 glib-2.0` $(CFLAGS) $(BASE_DEPENDENCIES_CFLAGS)
gapi-fixup.exe: gapi-fixup.cs
$(MCS) gapi-fixup.cs
clean:
rm -f gapi_format_xml
rm -f gapi-fixup.exe
distclean:
rm -f Makefile gapi_format_xml
rm -f gapi.pc
prefix=@prefix@
DESTDIR=
install: all
for i in $(SCRIPTS) gapi_format_xml gapi-fixup.exe; do \
../mkinstalldirs $(DESTDIR)$(prefix)/bin && \
cp $$i $(DESTDIR)$(prefix)/bin; \
done
for i in $(MODULES); do \
../mkinstalldirs $(DESTDIR)$(prefix)/share/perl5/GAPI && \
cp $$i $(DESTDIR)$(prefix)/share/perl5/GAPI; \
done
../mkinstalldirs $(DESTDIR)$(prefix)/lib/pkgconfig && \
cp gapi.pc $(DESTDIR)$(prefix)/lib/pkgconfig