2003-10-10 18:58:19 +00:00
|
|
|
ASSEMBLY=glade-sharp.dll
|
|
|
|
APIS=glade-api.xml
|
|
|
|
I_APIS=../atk/atk-api.xml ../pango/pango-api.xml ../gdk/gdk-api.xml ../gdk/gdk-symbols.xml ../gtk/gtk-api.xml ../gtk/gtk-symbols.xml
|
|
|
|
|
2003-09-06 18:11:13 +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 /r:../atk/atk-sharp.dll /r:../gdk/gdk-sharp.dll /r:../gtk/gtk-sharp.dll /out:$(ASSEMBLY) /recurse:*.cs
|
2005-03-23 20:35:15 +00:00
|
|
|
../gapi-cdecl-insert --keyfile=gtk-sharp.snk glade-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
|
|
|
|
../generator/codegen --generate $(APIS) --include $(I_APIS) --outdir=generated --customdir=. --assembly-name=glade-sharp && touch generated-stamp
|
2003-09-06 18:11:13 +00:00
|
|
|
|
2004-03-12 21:18:11 +00:00
|
|
|
glade-api.xml: glade-api.raw Glade.metadata
|
|
|
|
cp glade-api.raw glade-api.xml
|
|
|
|
chmod u+w glade-api.xml
|
|
|
|
../parser/gapi-fixup.exe --api=glade-api.xml --metadata=Glade.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
|
|
|
cd glue && make -f makefile.win32 clean
|
2003-09-06 18:11:13 +00:00
|
|
|
|