2003-10-10 18:58:19 +00:00
|
|
|
ASSEMBLY=pango-sharp.dll
|
|
|
|
APIS=pango-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 /out:$(ASSEMBLY) /recurse:*.cs
|
2005-03-25 18:31:10 +00:00
|
|
|
../gapi-cdecl-insert --keyfile=gtk-sharp.snk pango-sharp.dll
|
2003-10-10 18:58:19 +00:00
|
|
|
|
|
|
|
generated-stamp: ../generator/codegen.exe $(APIS)
|
2005-05-16 19:07:27 +00:00
|
|
|
../generator/codegen --generate $(APIS) --outdir=generated --customdir=. --assembly-name=pango-sharp --gluelib-name=pangosharpglue-2 --glue-filename=glue/generated.c --glue-includes=pango/pango.h && touch generated-stamp
|
2002-06-22 22:12:51 +00:00
|
|
|
|
2004-03-12 21:18:11 +00:00
|
|
|
pango-api.xml: pango-api.raw Pango.metadata
|
|
|
|
cp pango-api.raw pango-api.xml
|
|
|
|
chmod u+w pango-api.xml
|
|
|
|
../parser/gapi-fixup.exe --api=pango-api.xml --metadata=Pango.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 pango-api.xml
|
|
|
|
|
2002-05-02 21:57:41 +00:00
|
|
|
|