mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-24 18:25:41 +00:00
9861569931
* configure.in : expand atk/glue/Makefile * atk/Makefile.am : generate glue and build glue dir * atk/makefile.win32 : ditto * atk/glue/Makefile.am : build new glue * atk/glue/makefile.win32 : build new glue * atk/glue/vmglueheaders.h : new includes for vm glue * atk/glue/win32dll.c : win dll building code * generator/CodeGenerator.cs : add --gluelib-name and --glue-filename argument parsing. * generator/GenerationInfo.cs : add GluelibName, GlueFilename, GlueEnabled, GlueWriter, and CloseGlueWriter. * generator/ObjectGen.cs : Add VirtualMethod glue generation * generator/Statistics.cs : Add warning message for virtual method throttling. svn path=/trunk/gtk-sharp/; revision=24292
27 lines
805 B
Plaintext
27 lines
805 B
Plaintext
ASSEMBLY=atk-sharp.dll
|
|
APIS=atk-api.xml
|
|
I_APIS=
|
|
|
|
all: windows
|
|
|
|
windows: generated-stamp
|
|
$(CSC) /unsafe /nowarn:0660,0661 /target:library /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll /out:$(ASSEMBLY) /recurse:*.cs
|
|
cd glue && make -f makefile.win32
|
|
|
|
generated-stamp: ../generator/codegen.exe atk-api.xml
|
|
../generator/codegen --generate $(APIS) --outdir=generated --customdir=. --assembly-name=atk-sharp --gluelib-name=atksharpglue --glue-filename=glue/generated.c && touch generated-stamp
|
|
|
|
atk-api.xml: atk-api.raw Atk.metadata
|
|
cp atk-api.raw atk-api.xml
|
|
chmod u+w atk-api.xml
|
|
../parser/gapi-fixup.exe --api=atk-api.xml --metadata=Atk.metadata
|
|
|
|
clean:
|
|
rm -f generated-stamp
|
|
rm -f $(ASSEMBLY)
|
|
rm -rf generated
|
|
rm -f glue/generated.c
|
|
rm -f atk-api.xml
|
|
cd glue && make -f makefile.win32
|
|
|