2003-10-10 18:58:19 +00:00
|
|
|
ASSEMBLY=gdk-sharp.dll
|
|
|
|
APIS=gdk-symbols.xml gdk-api.xml
|
|
|
|
I_APIS=../atk/atk-api.xml ../pango/pango-api.xml
|
|
|
|
|
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:System.Drawing.dll /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll /r:../atk/atk-sharp.dll /out:$(ASSEMBLY) /recurse:*.cs
|
2005-03-25 18:31:10 +00:00
|
|
|
../gapi-cdecl-insert --keyfile=gtk-sharp.snk gdk-sharp.dll
|
2004-03-12 21:18:11 +00:00
|
|
|
cd glue && make -f makefile.win32
|
2003-10-10 18:58:19 +00:00
|
|
|
|
|
|
|
generated-stamp: ../generator/codegen.exe $(APIS) $(I_APIS) *.custom
|
2005-05-16 19:07:27 +00:00
|
|
|
../generator/codegen --generate $(APIS) --include $(I_APIS) --outdir=generated --customdir=. --assembly-name=gdk-sharp --gluelib-name=gdksharpglue-2 --glue-filename=glue/generated.c --glue-includes=gdk/gdk.h && touch generated-stamp
|
2002-06-22 22:12:51 +00:00
|
|
|
|
2004-03-12 21:18:11 +00:00
|
|
|
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
|
|
|
|
|
2003-10-10 18:58:19 +00:00
|
|
|
clean:
|
|
|
|
rm -f generated-stamp
|
|
|
|
rm -f $(ASSEMBLY)
|
|
|
|
rm -rf generated
|
2004-03-12 21:18:11 +00:00
|
|
|
rm -f gdk-api.xml
|
|
|
|
cd glue && make -f makefile.win32 clean
|
2002-05-02 21:57:41 +00:00
|
|
|
|