5d67982de9
* makefile : remove gdk.imaging from the build * gdk.imaging/* : kill * generated/BoxedGen.cs : XmlNode namespace handling. Use GenBase. * generated/CallbackGen.cs : XmlNode namespace handling. * generated/Ctor.cs : construct with libname not ns. * generated/EnumGen.cs : XmlNode namespace handling. * generated/GenBase.cs : XmlNode namespace handling. Make AppendCustom an instance method so it can use the private fields instead of params. * generated/InterfaceGen.cs : XmlNode namespace handling. * generated/Method.cs : construct with libname not ns. * generated/ObjectGen.cs : XmlNode namespace handling. * generated/Parser.cs : Use new XmlNode namespace ctors. * generated/Signal.cs : Lose the namespace field. * generated/StructBase.cs : derive from ClassBase * generated/StructGen.cs : XmlNode namespace handling. Use GenBase. * generated/SymbolTable.cs : nuke GetDllName method. * generator/gtkapi.xml : Add library name to namespace node. * parser/build.pl : refactor for library name param * parser/gapi2xml.pl : add libname param handling * sample/Makefile.in : build linux on make install, but don't install. svn path=/trunk/gtk-sharp/; revision=5400
41 lines
759 B
Makefile
41 lines
759 B
Makefile
DIRS=generator glib pango atk gdk gtk sample
|
|
ROOT=/cygdrive/$(subst \,/,$(subst :\,/,$(SYSTEMROOT)))
|
|
CSC=$(ROOT)/microsoft.net/framework/v1.0.3705/csc.exe
|
|
MCS=mcs
|
|
|
|
all: linux
|
|
|
|
windows:
|
|
for i in $(DIRS); do \
|
|
(cd $$i; CSC=$(CSC) make windows) || exit 1;\
|
|
done;
|
|
|
|
unix:
|
|
@echo "'make unix' is broken for now."
|
|
|
|
linux: native binding
|
|
|
|
binding:
|
|
for i in $(DIRS); do \
|
|
(cd $$i; MCS="$(MCS)" make) || exit 1;\
|
|
done;
|
|
|
|
native:
|
|
(cd glue; make) || exit 1;
|
|
|
|
clean:
|
|
(cd glue; make clean) || exit 1;
|
|
for i in $(DIRS); do \
|
|
(cd $$i; make clean) || exit 1; \
|
|
done;
|
|
|
|
install: install-native install-binding
|
|
|
|
install-binding:
|
|
for i in $(DIRS); do \
|
|
(cd $$i; make install) || exit 1; \
|
|
done;
|
|
|
|
install-native:
|
|
(cd glue; make install) || exit 1; \
|
|
|