GtkSharp/sample/gconf/Makefile
Gonzalo Paniagua Javier 8e2bef6468 2003-02-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* sample/gconf/Makefile: defined top_builddir. RUNTIME is now 'mono'.

svn path=/trunk/gtk-sharp/; revision=11288
2003-02-07 01:58:24 +00:00

24 lines
888 B
Makefile

SOURCES = \
Settings.cs \
main.cs \
#
MCS = mcs
RUNTIME = mono
top_builddir=../..
GCONFDIR=$(top_builddir)/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