mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-26 01:15:38 +00:00
6b629e8cef
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
37 lines
926 B
Makefile
Executable file
37 lines
926 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
|
|
$(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)
|