2002-12-25 Alp Toker <alp@atoker.com>
* doc/makefile: Accept the RUNTIME parameter for platforms without /usr/bin/mono * sample/gconf/Makefile: ditto svn path=/trunk/gtk-sharp/; revision=9890
This commit is contained in:
parent
e97eed413e
commit
bb662563e0
3 changed files with 10 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2002-12-25 Alp Toker <alp@atoker.com>
|
||||||
|
|
||||||
|
* doc/makefile: Accept the RUNTIME parameter for platforms without
|
||||||
|
/usr/bin/mono
|
||||||
|
* sample/gconf/Makefile: ditto
|
||||||
|
|
||||||
2002-12-24 Mike Kestner <mkestner@speakeasy.net>
|
2002-12-24 Mike Kestner <mkestner@speakeasy.net>
|
||||||
|
|
||||||
* generator/ObjectGen.cs : generate protected GType ctors
|
* generator/ObjectGen.cs : generate protected GType ctors
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
include makefile.common
|
include makefile.common
|
||||||
|
|
||||||
MCS=mcs
|
MCS=mcs
|
||||||
|
RUNTIME=mono
|
||||||
|
|
||||||
$(stage2_files): %stage2.xml: %stage1.xml introspect.exe
|
$(stage2_files): %stage2.xml: %stage1.xml introspect.exe
|
||||||
mono introspect.exe $< $@
|
$(RUNTIME) introspect.exe $< $@
|
||||||
|
|
||||||
introspect.exe: introspect.cs
|
introspect.exe: introspect.cs
|
||||||
$(MCS) -o introspect.exe -r System.Xml introspect.cs
|
$(MCS) -o introspect.exe -r System.Xml introspect.cs
|
||||||
|
|
|
@ -4,6 +4,7 @@ SOURCES = \
|
||||||
#
|
#
|
||||||
|
|
||||||
MCS = mcs
|
MCS = mcs
|
||||||
|
RUNTIME = /usr/bin/mono
|
||||||
GCONFDIR=../../gconf
|
GCONFDIR=../../gconf
|
||||||
|
|
||||||
all: sample.exe
|
all: sample.exe
|
||||||
|
@ -12,7 +13,7 @@ sample.exe: sample.schema sample.glade $(SOURCES)
|
||||||
$(MCS) /out:sample.exe $(SOURCES) /r:../../glib/glib-sharp.dll /r:../../pango/pango-sharp.dll /r:../../atk/atk-sharp.dll /r:../../art/art-sharp.dll /r:../../gdk/gdk-sharp.dll /r:$(GCONFDIR)/GConf/gconf-sharp.dll /r:../../gtk/gtk-sharp.dll /r:../../gnome/gnome-sharp.dll /r:../../glade/glade-sharp.dll /r:$(GCONFDIR)/GConf.PropertyEditors/gconf-sharp-peditors.dll /r:System.Drawing /resource:sample.glade
|
$(MCS) /out:sample.exe $(SOURCES) /r:../../glib/glib-sharp.dll /r:../../pango/pango-sharp.dll /r:../../atk/atk-sharp.dll /r:../../art/art-sharp.dll /r:../../gdk/gdk-sharp.dll /r:$(GCONFDIR)/GConf/gconf-sharp.dll /r:../../gtk/gtk-sharp.dll /r:../../gnome/gnome-sharp.dll /r:../../glade/glade-sharp.dll /r:$(GCONFDIR)/GConf.PropertyEditors/gconf-sharp-peditors.dll /r:System.Drawing /resource:sample.glade
|
||||||
|
|
||||||
Settings.cs: sample.schema
|
Settings.cs: sample.schema
|
||||||
MONO_PATH=$(top_builddir)/gconf/GConf/gconf-sharp.dll mono $(GCONFDIR)/tools/gconfsharp-schemagen.exe Sample sample.schema > Settings.cs
|
MONO_PATH=$(top_builddir)/gconf/GConf/gconf-sharp.dll $(RUNTIME) $(GCONFDIR)/tools/gconfsharp-schemagen.exe Sample sample.schema > Settings.cs
|
||||||
|
|
||||||
install: all
|
install: all
|
||||||
GCONF_CONFIG_SOURCE="" gconftool-2 --makefile-install-rule sample.schema
|
GCONF_CONFIG_SOURCE="" gconftool-2 --makefile-install-rule sample.schema
|
||||||
|
|
Loading…
Reference in a new issue