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
|
|
|
|
|
|
|
|
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
|
|
|
|
2003-10-10 18:58:19 +00:00
|
|
|
clean:
|
|
|
|
rm -f generated-stamp
|
|
|
|
rm -f $(ASSEMBLY)
|
|
|
|
rm -rf generated
|
2003-09-06 18:11:13 +00:00
|
|
|
|