2002-04-18 21:46:56 +00:00
|
|
|
MCS=mcs
|
2002-05-02 21:57:41 +00:00
|
|
|
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
|
2002-03-02 12:04:46 +00:00
|
|
|
|
2002-05-02 21:57:41 +00:00
|
|
|
all: linux
|
2002-01-04 02:02:28 +00:00
|
|
|
|
2002-05-02 21:57:41 +00:00
|
|
|
windows: *.cs
|
2002-03-28 21:16:43 +00:00
|
|
|
$(CSC) /unsafe /out:codegen.exe *.cs
|
2002-02-08 23:56:27 +00:00
|
|
|
./codegen gtkapi.xml
|
2002-01-04 02:02:28 +00:00
|
|
|
|
2002-05-02 21:57:41 +00:00
|
|
|
linux: generated-stamp
|
|
|
|
|
|
|
|
generated-stamp: codegen.exe gtkapi.xml
|
|
|
|
mono ./codegen.exe gtkapi.xml && touch generated-stamp
|
2002-03-02 12:04:46 +00:00
|
|
|
|
2002-01-04 02:02:28 +00:00
|
|
|
unix:
|
|
|
|
@echo "'make unix' is broken for now."
|
2002-05-02 21:57:41 +00:00
|
|
|
|
|
|
|
install: all
|
|
|
|
@echo "Nothing to install in generator."
|
|
|
|
|
|
|
|
codegen.exe: *.cs
|
|
|
|
$(MCS) --unsafe -o codegen.exe -r System.Xml.dll *.cs
|