mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-26 01:45:32 +00:00
6fea628be5
* parser/Makefile.in: Use $(CC) instead of 'cc'. svn path=/trunk/gtk-sharp/; revision=7232
33 lines
639 B
Makefile
33 lines
639 B
Makefile
CC = @CC@
|
|
|
|
SCRIPTS = \
|
|
gapi.pl \
|
|
gapi_pp.pl \
|
|
gapi2xml.pl
|
|
|
|
MODULES=GAPI/Metadata.pm
|
|
|
|
all: $(SCRIPTS) $(MODULES) gapi_format_xml
|
|
|
|
gapi_format_xml: formatXml.c
|
|
$(CC) -o gapi_format_xml formatXml.c `pkg-config --cflags --libs libxml-2.0 glib-2.0`
|
|
|
|
clean:
|
|
rm -f gapi_format_xml
|
|
|
|
distclean:
|
|
rm -f Makefile gapi_format_xml
|
|
|
|
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
|