mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-09 00:13:20 +02:00
![Mike Kestner](/assets/img/avatar_default.png)
* gtk/gtk-api.xml : regenerated * gtk/Gtk.metadata : begin the port of the Gtk rules * gtk/Makefile.in : apply metadata in gen target * gtkhtml/gtkhtml-api.xml : regenerated * gtkhtml/Gtk.metadata : a couple rules ported * gtkhtml/Makefile.in : apply metadata in gen target * sources/Gtk.metadata : port first 350 lines of rules. svn path=/trunk/gtk-sharp/; revision=19047
46 lines
1.3 KiB
Makefile
Executable File
46 lines
1.3 KiB
Makefile
Executable File
APIS= gtkhtml-api.xml
|
|
|
|
INCLUDE_APIS = ../atk/atk-api.xml \
|
|
../pango/pango-api.xml \
|
|
../gdk/gdk-api.xml \
|
|
../gdk/gdk-symbols.xml \
|
|
../gtk/gtk-symbols.xml \
|
|
../gtk/gtk-api.xml \
|
|
../gnome/gnome-api.xml
|
|
|
|
RUNTIME=mono
|
|
MCS=mcs
|
|
ASSEMBLY=gtkhtml-sharp.dll
|
|
|
|
all: $(ASSEMBLY)
|
|
|
|
generated-stamp: gtkhtml-api.xml *.custom ../generator/gapi_codegen.exe Gtk.metadata
|
|
$(RUNTIME) ../parser/gapi-fixup.exe --api=gtkhtml-api.xml --metadata=Gtk.metadata && \
|
|
$(RUNTIME) ../generator/gapi_codegen.exe --generate $(APIS) \
|
|
--include $(INCLUDE_APIS) --outdir=generated --customdir=. \
|
|
--assembly-name=gtkhtml-sharp && touch generated-stamp
|
|
|
|
$(ASSEMBLY): 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 ../gdk/gdk-sharp.dll \
|
|
-r ../gtk/gtk-sharp.dll -r ../art/art-sharp.dll \
|
|
-r ../gnome/gnome-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
|
|
../mkinstalldirs $(libdir) && \
|
|
for i in $(APIS); do \
|
|
cp $$i $(apidir) || true; \
|
|
done && \
|
|
cp $(ASSEMBLY) $(libdir)
|