mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-23 19:05:28 +00:00
2002-05-07 Mike Kestner <mkestner@speakeasy.net>
* */Makefile.in : Add clean targets. Add -L parms. svn path=/trunk/gtk-sharp/; revision=4400
This commit is contained in:
parent
6fbe8bcaf8
commit
07f41ef1c3
|
@ -1,3 +1,7 @@
|
||||||
|
2002-05-07 Mike Kestner <mkestner@speakeasy.net>
|
||||||
|
|
||||||
|
* */Makefile.in : Add clean targets. Add -L parms.
|
||||||
|
|
||||||
2002-05-06 Mike Kestner <mkestner@speakeasy.net>
|
2002-05-06 Mike Kestner <mkestner@speakeasy.net>
|
||||||
|
|
||||||
* generator/ObjectGen.cs : When generating a ctor(void)
|
* generator/ObjectGen.cs : When generating a ctor(void)
|
||||||
|
|
|
@ -8,11 +8,10 @@ windows:
|
||||||
linux: atk-sharp.dll
|
linux: atk-sharp.dll
|
||||||
|
|
||||||
atk-sharp.dll: generated/*.cs
|
atk-sharp.dll: generated/*.cs
|
||||||
$(MCS) --unsafe --target library -r ../glib/glib-sharp.dll -r ../pango/pango-sharp.dll -o atk-sharp.dll --recurse *.cs
|
$(MCS) --unsafe --target library -L ../glib -L ../pango -r glib-sharp -r pango-sharp -o atk-sharp.dll --recurse *.cs
|
||||||
|
|
||||||
unix:
|
clean:
|
||||||
@echo "'make unix' is broken for now."
|
rm -f *.dll
|
||||||
$(CSC) --unsafe --target=library --r=../glib/glib-sharp.dll --r=../pango/pango-sharp.dll --out=atk-sharp.dll --recurse=*.cs
|
|
||||||
|
|
||||||
install: all
|
install: all
|
||||||
cp atk-sharp.dll @prefix@/lib
|
cp atk-sharp.dll @prefix@/lib
|
||||||
|
|
|
@ -8,10 +8,10 @@ windows:
|
||||||
linux: gdk-sharp.dll
|
linux: gdk-sharp.dll
|
||||||
|
|
||||||
gdk-sharp.dll: generated/*.cs
|
gdk-sharp.dll: generated/*.cs
|
||||||
$(MCS) --unsafe --target library -r ../glib/glib-sharp.dll -r ../pango/pango-sharp.dll -r ../atk/atk-sharp.dll -o gdk-sharp.dll --recurse *.cs
|
$(MCS) --unsafe --target library -L ../glib -L ../pango -L ../atk -r glib-sharp -r pango-sharp -r atk-sharp -o gdk-sharp.dll --recurse *.cs
|
||||||
|
|
||||||
unix:
|
clean:
|
||||||
@echo "'make unix' is broken for now."
|
rm -f *.dll
|
||||||
|
|
||||||
install: all
|
install: all
|
||||||
cp gdk-sharp.dll @prefix@/lib
|
cp gdk-sharp.dll @prefix@/lib
|
||||||
|
|
|
@ -1,17 +1,4 @@
|
||||||
MCS=mcs
|
MCS=mcs
|
||||||
SOURCES=BoxedGen.cs \
|
|
||||||
CallbackGen.cs \
|
|
||||||
CodeGenerator.cs \
|
|
||||||
EnumGen.cs \
|
|
||||||
IGeneratable.cs \
|
|
||||||
InterfaceGen.cs \
|
|
||||||
ObjectGen.cs \
|
|
||||||
Parser.cs \
|
|
||||||
SignalHandler.cs \
|
|
||||||
Statistics.cs \
|
|
||||||
StructBase.cs \
|
|
||||||
StructGen.cs \
|
|
||||||
SymbolTable.cs
|
|
||||||
|
|
||||||
all: linux
|
all: linux
|
||||||
|
|
||||||
|
@ -24,8 +11,8 @@ linux: generated-stamp
|
||||||
generated-stamp: codegen.exe gtkapi.xml
|
generated-stamp: codegen.exe gtkapi.xml
|
||||||
mono ./codegen.exe gtkapi.xml && touch generated-stamp
|
mono ./codegen.exe gtkapi.xml && touch generated-stamp
|
||||||
|
|
||||||
unix:
|
clean:
|
||||||
@echo "'make unix' is broken for now."
|
rm -f *.exe
|
||||||
|
|
||||||
install: all
|
install: all
|
||||||
@echo "Nothing to install in generator."
|
@echo "Nothing to install in generator."
|
||||||
|
|
|
@ -10,8 +10,8 @@ linux: glib-sharp.dll
|
||||||
glib-sharp.dll: *.cs generated/*.cs
|
glib-sharp.dll: *.cs generated/*.cs
|
||||||
$(MCS) --unsafe --target library -o glib-sharp.dll --recurse *.cs
|
$(MCS) --unsafe --target library -o glib-sharp.dll --recurse *.cs
|
||||||
|
|
||||||
unix:
|
clean:
|
||||||
@echo "'make unix' is broken for now."
|
rm -f *.dll
|
||||||
|
|
||||||
install: all
|
install: all
|
||||||
cp glib-sharp.dll @prefix@/lib || exit 1
|
cp glib-sharp.dll @prefix@/lib || exit 1
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
MCS=mcs
|
MCS=mcs
|
||||||
|
|
||||||
all: linux
|
all: linux
|
||||||
@echo "You must use 'make windows' or 'make unix'."
|
|
||||||
@echo "'make unix' is broken for now."
|
|
||||||
|
|
||||||
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
|
$(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
|
||||||
|
@ -10,10 +8,10 @@ windows:
|
||||||
linux: gtk-sharp.dll
|
linux: gtk-sharp.dll
|
||||||
|
|
||||||
gtk-sharp.dll: *.cs generated/*.cs
|
gtk-sharp.dll: *.cs generated/*.cs
|
||||||
$(MCS) --unsafe --target library -r ../glib/glib-sharp.dll -r ../pango/pango-sharp.dll -r ../atk/atk-sharp.dll -r ../gdk/gdk-sharp.dll -o gtk-sharp.dll --recurse *.cs
|
$(MCS) --unsafe --target library -L ../glib -L ../pango -L ../atk -L ../gdk -r glib-sharp -r pango-sharp -r atk-sharp -r gdk-sharp -o gtk-sharp.dll --recurse *.cs
|
||||||
|
|
||||||
unix:
|
clean:
|
||||||
@echo "'make unix' is broken for now."
|
rm -f *.dll
|
||||||
|
|
||||||
install: all
|
install: all
|
||||||
cp gtk-sharp.dll @prefix@/lib
|
cp gtk-sharp.dll @prefix@/lib
|
||||||
|
|
5
makefile
5
makefile
|
@ -18,6 +18,11 @@ linux:
|
||||||
(cd $$i; MCS="$(MCS)" make) || exit 1;\
|
(cd $$i; MCS="$(MCS)" make) || exit 1;\
|
||||||
done;
|
done;
|
||||||
|
|
||||||
|
clean:
|
||||||
|
for i in $(DIRS); do \
|
||||||
|
(cd $$i; make clean) || exit 1; \
|
||||||
|
done;
|
||||||
|
|
||||||
install:
|
install:
|
||||||
for i in $(DIRS); do \
|
for i in $(DIRS); do \
|
||||||
(cd $$i; make install) || exit 1; \
|
(cd $$i; make install) || exit 1; \
|
||||||
|
|
|
@ -8,10 +8,10 @@ windows:
|
||||||
linux: pango-sharp.dll
|
linux: pango-sharp.dll
|
||||||
|
|
||||||
pango-sharp.dll: generated/*.cs
|
pango-sharp.dll: generated/*.cs
|
||||||
$(MCS) --unsafe --target library -r ../glib/glib-sharp.dll -o pango-sharp.dll --recurse *.cs
|
$(MCS) --unsafe --target library -L ../glib -r glib-sharp -o pango-sharp.dll --recurse *.cs
|
||||||
|
|
||||||
unix:
|
clean:
|
||||||
@echo "'make unix' is broken for now."
|
rm -f *.dll
|
||||||
|
|
||||||
install: all
|
install: all
|
||||||
cp pango-sharp.dll @prefix@/lib
|
cp pango-sharp.dll @prefix@/lib
|
||||||
|
|
|
@ -14,6 +14,9 @@ gtk-hello-world.exe: HelloWorld.cs
|
||||||
button.exe: ButtonApp.cs
|
button.exe: ButtonApp.cs
|
||||||
$(MCS) --unsafe -o button.exe -r ../glib/glib-sharp.dll -r ../gtk/gtk-sharp.dll ButtonApp.cs
|
$(MCS) --unsafe -o button.exe -r ../glib/glib-sharp.dll -r ../gtk/gtk-sharp.dll ButtonApp.cs
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f *.exe
|
||||||
|
|
||||||
unix:
|
unix:
|
||||||
@echo "'make unix' is broken for now."
|
@echo "'make unix' is broken for now."
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue