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:
Alp Toker 2002-12-25 21:01:07 +00:00
parent e97eed413e
commit bb662563e0
3 changed files with 10 additions and 2 deletions

View file

@ -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>
* generator/ObjectGen.cs : generate protected GType ctors

View file

@ -1,9 +1,10 @@
include makefile.common
MCS=mcs
RUNTIME=mono
$(stage2_files): %stage2.xml: %stage1.xml introspect.exe
mono introspect.exe $< $@
$(RUNTIME) introspect.exe $< $@
introspect.exe: introspect.cs
$(MCS) -o introspect.exe -r System.Xml introspect.cs

View file

@ -4,6 +4,7 @@ SOURCES = \
#
MCS = mcs
RUNTIME = /usr/bin/mono
GCONFDIR=../../gconf
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
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
GCONF_CONFIG_SOURCE="" gconftool-2 --makefile-install-rule sample.schema