mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-24 16:45:35 +00:00
33b715ef83
* gtk/ScrolledWindow.custom: new file with ScrolledWindow custom default constructor * parser/Metadata.pm: addClassData subroutine to add <disabledefaultconstructor/> * parser/Gtk.metadata: disable default constructor for ScrolledWindow * generator/ObjectGen.cs: added hasDefaultConstructor flag, dont generate default protected empty constructor if hasDefaultConstructor is false, it will be provided by .custom file * generator/makefile (RUNTIME): use RUNTIME variable svn path=/trunk/gtk-sharp/; revision=5854
23 lines
383 B
Makefile
23 lines
383 B
Makefile
MCS=mcs
|
|
RUNTIME=mono
|
|
|
|
all: linux
|
|
|
|
windows: *.cs
|
|
$(CSC) /unsafe /out:codegen.exe *.cs
|
|
./codegen gtkapi.xml
|
|
|
|
linux: generated-stamp
|
|
|
|
generated-stamp: codegen.exe gtkapi.xml
|
|
$(RUNTIME) ./codegen.exe gtkapi.xml && touch generated-stamp
|
|
|
|
clean:
|
|
rm -f *.exe
|
|
|
|
install: all
|
|
@echo "Nothing to install in generator."
|
|
|
|
codegen.exe: *.cs
|
|
$(MCS) --unsafe -o codegen.exe -r System.Xml *.cs
|