mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-09 00:13:20 +02:00
![Radek Doulik](/assets/img/avatar_default.png)
* 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
|