2811fb74f8
* */makefile.win32 : add gapi-cdecl-insert to assembly target. svn path=/trunk/gtk-sharp/; revision=42258
25 lines
795 B
Text
25 lines
795 B
Text
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
|
|
|
|
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
|
|
../gapi-cdecl-insert --keyfile=gtk-sharp.snk atk-sharp.dll
|
|
|
|
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
|
|
|