2003-10-10 18:58:19 +00:00
|
|
|
ASSEMBLY=atk-sharp.dll
|
|
|
|
APIS=atk-api.xml
|
|
|
|
I_APIS=
|
|
|
|
|
2002-05-02 21:57:41 +00:00
|
|
|
all: windows
|
|
|
|
|
2003-10-10 18:58:19 +00:00
|
|
|
windows: generated-stamp
|
|
|
|
$(CSC) /unsafe /nowarn:0660,0661 /target:library /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll /out:$(ASSEMBLY) /recurse:*.cs
|
2005-04-08 00:30:53 +00:00
|
|
|
../gapi-cdecl-insert --keyfile=gtk-sharp.snk atk-sharp.dll
|
2003-10-10 18:58:19 +00:00
|
|
|
|
|
|
|
generated-stamp: ../generator/codegen.exe atk-api.xml
|
2004-03-18 20:56:32 +00:00
|
|
|
../generator/codegen --generate $(APIS) --outdir=generated --customdir=. --assembly-name=atk-sharp --gluelib-name=atksharpglue --glue-filename=glue/generated.c && touch generated-stamp
|
2002-06-22 22:12:51 +00:00
|
|
|
|
2004-03-12 21:18:11 +00:00
|
|
|
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
|
|
|
|
|
2003-10-10 18:58:19 +00:00
|
|
|
clean:
|
|
|
|
rm -f generated-stamp
|
|
|
|
rm -f $(ASSEMBLY)
|
|
|
|
rm -rf generated
|
2004-03-18 20:56:32 +00:00
|
|
|
rm -f glue/generated.c
|
2004-03-12 21:18:11 +00:00
|
|
|
rm -f atk-api.xml
|
2002-05-02 21:57:41 +00:00
|
|
|
|