GtkSharp/sample/gconf/Makefile.am
Mike Kestner 67278125a2 2004-04-30 Mike Kestner <mkestner@ximian.com>
* sample/gconf/* : break System.Drawing dependency.

svn path=/trunk/gtk-sharp/; revision=26427
2004-04-30 16:20:43 +00:00

26 lines
1 KiB
Makefile

FILES = \
Settings.cs \
$(srcdir)/main.cs
SCHEMA = $(srcdir)/sample.schema
RESOURCES = /resource:$(srcdir)/sample.glade
REFERENCES = /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
top_builddir=../..
GCONFDIR=$(top_builddir)/gconf
noinst_SCRIPTS = sample.exe
sample.exe: $(SCHEMA) $(srcdir)/sample.glade $(FILES)
$(CSC) /out:sample.exe $(FILES) $(REFERENCES) $(RESOURCES)
Settings.cs: $(SCHEMA)
MONO_PATH=$(top_builddir)/gconf/GConf/gconf-sharp.dll:${MONO_PATH} $(RUNTIME) $(GCONFDIR)/tools/gconfsharp-schemagen.exe Sample $(SCHEMA) > Settings.cs
install-hook:
GCONF_CONFIG_SOURCE="" gconftool-2 --makefile-install-rule $(SCHEMA)
CLEANFILES = sample.exe Settings.cs
EXTRA_DIST = main.cs sample.schema sample.glade sample.gladep