GtkSharp/parser/Makefile.in
Mike Kestner 4da6295257 2003-10-01 Mike Kestner <mkestner@ximian.com>
* README.generator : updates for new parser script
	* api/Makefile.in : add gtkhtml-api.xml
	* api/*-api.xml : regenerated
	* parser/makefile : install new parsing script
	* parser/gapi-parser : new xml-driven parsing script
	* sources/makefile : call new parsing script
	* sources/gtk-sharp-sources.xml : new parser input file
	* sources/gtk-sharp.sources : killed

svn path=/trunk/gtk-sharp/; revision=18491
2003-10-01 21:42:29 +00:00

40 lines
916 B
Makefile

CC = @CC@
CFLAGS = @CFLAGS@
CPPFLAGS = @CPPFLAGS@
BASE_DEPENDENCIES_CFLAGS = @BASE_DEPENDENCIES_CFLAGS@
SCRIPTS = \
gapi.pl \
gapi_pp.pl \
gapi-parser \
gapi2xml.pl
MODULES=GAPI/Metadata.pm
all: $(SCRIPTS) $(MODULES) gapi_format_xml
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)
clean:
rm -f gapi_format_xml
distclean:
rm -f Makefile gapi_format_xml
rm -f gapi.pc
prefix=@prefix@
DESTDIR=
install: all
for i in $(SCRIPTS) gapi_format_xml; 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