mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-09 00:13:20 +02:00
![Mike Kestner](/assets/img/avatar_default.png)
* */Makefile.am : automakify the build * */Makefile.in : kill * *.custom : remove System.Drawing dependencies * *.cs : remove System.Drawing dependencies * *-api.xml : mv to *-api.raw * glue/* : mv to lib specific gluelibs for glib, gdk, gtk, and glade. * gtk/gtk-symbols : alias GtkType to GType * sources/gtk-sharp-sources.xml : create .raw files. They are now transformed to .xml files by the metadata compilation step. svn path=/trunk/gtk-sharp/; revision=23967
26 lines
863 B
Plaintext
26 lines
863 B
Plaintext
ASSEMBLY=gdk-sharp.dll
|
|
APIS=gdk-symbols.xml gdk-api.xml
|
|
I_APIS=../atk/atk-api.xml ../pango/pango-api.xml
|
|
|
|
all: windows
|
|
|
|
windows: generated-stamp
|
|
$(CSC) /unsafe /nowarn:0660,0661 /target:library /r:System.Drawing.dll /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll /r:../atk/atk-sharp.dll /out:$(ASSEMBLY) /recurse:*.cs
|
|
cd glue && make -f makefile.win32
|
|
|
|
generated-stamp: ../generator/codegen.exe $(APIS) $(I_APIS) *.custom
|
|
../generator/codegen --generate $(APIS) --include $(I_APIS) --outdir=generated --customdir=. --assembly-name=gdk-sharp && touch generated-stamp
|
|
|
|
gdk-api.xml: gdk-api.raw Gdk.metadata
|
|
cp gdk-api.raw gdk-api.xml
|
|
chmod u+w gdk-api.xml
|
|
../parser/gapi-fixup.exe --api=gdk-api.xml --metadata=Gdk.metadata
|
|
|
|
clean:
|
|
rm -f generated-stamp
|
|
rm -f $(ASSEMBLY)
|
|
rm -rf generated
|
|
rm -f gdk-api.xml
|
|
cd glue && make -f makefile.win32 clean
|
|
|