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