2003-10-10 Mike Kestner <mkestner@ximian.com>
* */makefile.win32 : remove api dir from build and fix clean target svn path=/trunk/gtk-sharp/; revision=18864
This commit is contained in:
parent
bc8ca2e212
commit
3f0273bece
10 changed files with 77 additions and 41 deletions
|
@ -1,3 +1,7 @@
|
|||
2003-10-10 Mike Kestner <mkestner@ximian.com>
|
||||
|
||||
* */makefile.win32 : remove api dir from build and fix clean target
|
||||
|
||||
2003-10-10 Mike Kestner <mkestner@ximian.com>
|
||||
|
||||
* gdk/gdk-api.xml : regenerated
|
||||
|
|
|
@ -1,8 +1,17 @@
|
|||
ASSEMBLY=atk-sharp.dll
|
||||
APIS=atk-api.xml
|
||||
I_APIS=
|
||||
|
||||
all: windows
|
||||
|
||||
windows:
|
||||
$(CSC) /unsafe /target:library /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll /out:atk-sharp.dll /recurse:*.cs
|
||||
windows: generated-stamp
|
||||
$(CSC) /unsafe /nowarn:0660,0661 /target:library /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll /out:$(ASSEMBLY) /recurse:*.cs
|
||||
|
||||
docs:
|
||||
$(CSC) /unsafe /target:library /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll /doc:atk-sharp-docs.xml /out:atk-sharp.dll /recurse:*.cs
|
||||
generated-stamp: ../generator/codegen.exe atk-api.xml
|
||||
../generator/codegen --generate $(APIS) --outdir=generated --customdir=. --assembly-name=atk-sharp && touch generated-stamp
|
||||
|
||||
clean:
|
||||
rm -f generated-stamp
|
||||
rm -f $(ASSEMBLY)
|
||||
rm -rf generated
|
||||
|
||||
|
|
|
@ -1,8 +1,17 @@
|
|||
ASSEMBLY=gdk-sharp.dll
|
||||
APIS=gdk-symbols.xml gdk-api.xml
|
||||
I_APIS=../atk/atk-api.xml ../pango/pango-api.xml
|
||||
|
||||
all: windows
|
||||
|
||||
windows:
|
||||
$(CSC) /unsafe /target:library /r:System.Drawing.dll /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll /r:../atk/atk-sharp.dll /out:gdk-sharp.dll /recurse:*.cs
|
||||
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
|
||||
|
||||
docs:
|
||||
$(CSC) /unsafe /target:library /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll /r:../atk/atk-sharp.dll /doc:gdk-sharp-docs.xml /out:gdk-sharp.dll /recurse:*.cs
|
||||
generated-stamp: ../generator/codegen.exe $(APIS) $(I_APIS) *.custom
|
||||
../generator/codegen --generate $(APIS) --include $(I_APIS) --outdir=generated --customdir=. --assembly-name=gdk-sharp && touch generated-stamp
|
||||
|
||||
clean:
|
||||
rm -f generated-stamp
|
||||
rm -f $(ASSEMBLY)
|
||||
rm -rf generated
|
||||
|
||||
|
|
|
@ -3,6 +3,6 @@ all: windows
|
|||
windows: *.cs
|
||||
$(CSC) /unsafe /out:codegen.exe *.cs
|
||||
|
||||
docs: windows
|
||||
|
||||
clean:
|
||||
rm -f codegen.exe
|
||||
|
||||
|
|
|
@ -1,8 +1,17 @@
|
|||
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
|
||||
|
||||
all: windows
|
||||
|
||||
windows:
|
||||
$(CSC) /unsafe /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:glade-sharp.dll /recurse:*.cs
|
||||
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
|
||||
|
||||
docs:
|
||||
$(CSC) /unsafe /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 /doc:glade-sharp-docs.xml /out:glade-sharp.dll /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
|
||||
|
||||
clean:
|
||||
rm -f generated-stamp
|
||||
rm -f $(ASSEMBLY)
|
||||
rm -rf generated
|
||||
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
all: windows
|
||||
|
||||
windows:
|
||||
$(CSC) /unsafe /target:library /out:glib-sharp.dll /recurse:*.cs
|
||||
|
||||
docs:
|
||||
$(CSC) /unsafe /target:library /doc:glib-sharp-docs.xml /out:glib-sharp.dll /recurse:*.cs
|
||||
$(CSC) /unsafe /nowarn:0660,0661 /target:library /out:glib-sharp.dll /recurse:*.cs
|
||||
|
||||
clean:
|
||||
rm -f glib-sharp.dll
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
all: windows
|
||||
|
||||
windows:
|
||||
$(CSC) /unsafe /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:gnome-sharp.dll /recurse:*.cs
|
||||
$(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:gnome-sharp.dll /recurse:*.cs
|
||||
|
||||
docs:
|
||||
$(CSC) /unsafe /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 /doc:gnome-sharp-docs.xml /out:gnome-sharp.dll /recurse:*.cs
|
||||
|
||||
|
|
|
@ -1,8 +1,17 @@
|
|||
ASSEMBLY=gtk-sharp.dll
|
||||
APIS=gtk-api.xml gtk-symbols.xml
|
||||
I_APIS=../atk/atk-api.xml ../pango/pango-api.xml ../gdk/gdk-api.xml ../gdk/gdk-symbols.xml
|
||||
|
||||
all: windows
|
||||
|
||||
windows:
|
||||
$(CSC) /unsafe /target:library /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll /r:../atk/atk-sharp.dll /r:../gdk/gdk-sharp.dll /out:gtk-sharp.dll /recurse:*.cs
|
||||
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 /out:$(ASSEMBLY) /recurse:*.cs
|
||||
|
||||
docs:
|
||||
$(CSC) /unsafe /target:library /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll /r:../atk/atk-sharp.dll /r:../gdk/gdk-sharp.dll /doc:gtk-sharp-docs.xml /out:gtk-sharp.dll /recurse:*.cs
|
||||
generated-stamp: ../generator/codegen.exe $(APIS) $(I_APIS) *.custom
|
||||
../generator/codegen --generate $(APIS) --include $(I_APIS) --outdir=generated --customdir=. --assembly-name=gtk-sharp && touch generated-stamp
|
||||
|
||||
clean:
|
||||
rm -f generated-stamp
|
||||
rm -f $(ASSEMBLY)
|
||||
rm -rf generated
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
DIRS=glue generator api glib pango atk gdk gtk glade
|
||||
DIRS=glue generator glib pango atk gdk gtk glade
|
||||
ROOT=/cygdrive/$(subst \,/,$(subst :\,/,$(SYSTEMROOT)))
|
||||
CSC=$(ROOT)/microsoft.net/framework/v1.0.3705/csc.exe /d:WIN32
|
||||
|
||||
|
@ -10,21 +10,11 @@ windows:
|
|||
done;
|
||||
|
||||
clean:
|
||||
rm -f api/generated-stamp
|
||||
rm -rf lib
|
||||
-find -iname "*.exe" -exec rm -f \{\} \;
|
||||
-find -iname "*.dll" -exec rm -f \{\} \;
|
||||
|
||||
for i in $(DIRS); do \
|
||||
rm -rf $$i/generated; \
|
||||
(cd $$i; make -f makefile.win32 clean) || exit 1;\
|
||||
done;
|
||||
|
||||
release: clean windows
|
||||
mkdir lib
|
||||
find $(DIRS) -iname "*.dll" -exec cp \{\} lib \;
|
||||
|
||||
docs:
|
||||
for i in $(DIRS); do \
|
||||
(cd $$i; CSC="$(CSC)" make -f makefile.win32 docs) || exit 1;\
|
||||
done;
|
||||
|
||||
|
|
|
@ -1,8 +1,17 @@
|
|||
ASSEMBLY=pango-sharp.dll
|
||||
APIS=pango-api.xml
|
||||
I_APIS=
|
||||
|
||||
all: windows
|
||||
|
||||
windows:
|
||||
$(CSC) /unsafe /target:library /r:../glib/glib-sharp.dll /out:pango-sharp.dll /recurse:*.cs
|
||||
windows: generated-stamp
|
||||
$(CSC) /unsafe /nowarn:0660,0661 /target:library /r:../glib/glib-sharp.dll /out:$(ASSEMBLY) /recurse:*.cs
|
||||
|
||||
docs:
|
||||
$(CSC) /unsafe /target:library /r:../glib/glib-sharp.dll /doc:pango-sharp-docs.xml /out:pango-sharp.dll /recurse:*.cs
|
||||
generated-stamp: ../generator/codegen.exe $(APIS)
|
||||
../generator/codegen --generate $(APIS) --outdir=generated --customdir=. --assembly-name=pango-sharp && touch generated-stamp
|
||||
|
||||
clean:
|
||||
rm -f generated-stamp
|
||||
rm -f $(ASSEMBLY)
|
||||
rm -rf generated
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue