Ryujinx-GtkSharp/gnomedb/Makefile.in
Martin Willemoes Hansen 6b629e8cef * Makefile.in: Updated to reflect moval of api xml files from api/
to each assembly dir.
        * configure.in: Ditto
        * art/.cvsignore Ditto
        * art/Makefile.in: Ditto
        * atk/.cvsignore Ditto
        * atk/Makefile.in: Ditto
        * gda/.cvsignore Ditto
        * gda/Makefile.in: Ditto
        * gdk/.cvsignore Ditto
        * gdk/Makefile.in: Ditto
        * gdk/gdk-symbols.xml Ditto
        * glade/.cvsignore Ditto
        * glade/Makefile.in: Ditto
        * gnome/.cvsignore Ditto
        * gnome/Makefile.in: Ditto
        * gnomedb/.cvsignore Ditto
        * gnomedb/Makefile.in: Ditto
        * gst/.cvsignore Ditto
        * gst/Makefile.in: Ditto
        * gtk/.cvsignore Ditto
        * gtk/Makefile.in: Ditto
        * gtk/gtk-symbols.xml Ditto
        * gtkhtml/.cvsignore Ditto
        * gtkhtml/Makefile.in: Ditto
        * pango/.cvsignore Ditto
        * pango/Makefile.in: Ditto
        * rsvg/.cvsignore Ditto
        * rsvg/Makefile.in: Ditto
        * sources/gtk-sharp-sources.xml: Ditto
        * api/: Removed

svn path=/trunk/gtk-sharp/; revision=18827
2003-10-09 22:29:59 +00:00

49 lines
1.4 KiB
Makefile
Executable File

APIS= gnomedb-api.xml
INCLUDE_APIS = ../atk/atk-api.xml \
../pango/pango-api.xml \
../art/art-api.xml \
../gdk/gdk-api.xml \
../gdk/gdk-symbols.xml \
../gtk/gtk-api.xml \
../gtk/gtk-symbols.xml \
../gnome/gnome-api.xml \
../gda/gda-api.xml
RUNTIME=mono
MCS=mcs
ASSEMBLY=gnomedb-sharp.dll
@ENABLE_GNOMEDB_TRUE@ all: $(ASSEMBLY)
@ENABLE_GNOMEDB_FALSE@ all:
generated-stamp: $(APIS) ../generator/gapi_codegen.exe
$(RUNTIME) ../generator/gapi_codegen.exe --generate $(APIS) \
--include $(INCLUDE_APIS) --outdir=generated --customdir=. \
--assembly-name=gnomedb-sharp && touch generated-stamp
$(ASSEMBLY): *.cs generated-stamp
$(MCS) --unsafe -nowarn:0660,0661 --target library \
-r ../glib/glib-sharp.dll -r ../pango/pango-sharp.dll \
-r ../atk/atk-sharp.dll -r ../art/art-sharp.dll \
-r ../gdk/gdk-sharp.dll -r ../gtk/gtk-sharp.dll \
-r ../gnome/gnome-sharp.dll -r ../gda/gda-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_GNOMEDB_TRUE@ ../mkinstalldirs $(libdir) && \
@ENABLE_GNOMEDB_TRUE@ for i in $(APIS); do \
@ENABLE_GNOMEDB_TRUE@ cp $$i $(apidir) || true; \
@ENABLE_GNOMEDB_TRUE@ done && \
@ENABLE_GNOMEDB_TRUE@ cp $(ASSEMBLY) $(libdir)