GtkSharp/sample/gconf/Makefile
Gonzalo Paniagua Javier b828f81d01 build fix
svn path=/trunk/gtk-sharp/; revision=19930
2003-11-13 10:09:13 +00:00

23 lines
901 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:${MONO_PATH} $(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