GtkSharp/sample/gconf/Makefile
Alp Toker bb662563e0 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
2002-12-25 21:01:07 +00:00

22 lines
868 B
Makefile

SOURCES = \
Settings.cs \
main.cs \
#
MCS = mcs
RUNTIME = /usr/bin/mono
GCONFDIR=../../gconf
all: sample.exe
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 $(RUNTIME) $(GCONFDIR)/tools/gconfsharp-schemagen.exe Sample sample.schema > Settings.cs
install: all
GCONF_CONFIG_SOURCE="" gconftool-2 --makefile-install-rule sample.schema
clean:
rm -f sample.exe Settings.cs