0f652408ed
* Applied patch from Robot101 for maintainer-clean, etc. Needed for packaging. svn path=/trunk/gtk-sharp/; revision=6977
23 lines
366 B
Makefile
23 lines
366 B
Makefile
MCS=mcs
|
|
RUNTIME=mono
|
|
DESTDIR=
|
|
|
|
all: linux
|
|
|
|
windows: *.cs
|
|
$(CSC) /unsafe /out:codegen.exe *.cs
|
|
./codegen gtkapi.xml
|
|
|
|
linux: gapi_codegen.exe
|
|
|
|
clean:
|
|
rm -f *.exe
|
|
|
|
prefix=@prefix@
|
|
|
|
install: all
|
|
../mkinstalldirs $(DESTDIR)$(prefix)/bin && \
|
|
cp gapi_codegen.exe $(DESTDIR)$(prefix)/bin
|
|
|
|
gapi_codegen.exe: *.cs
|
|
$(MCS) --unsafe -o gapi_codegen.exe -r System.Xml *.cs
|