GtkSharp/sample/gconf/Makefile.am
Mike Kestner e83c55a242 2004-03-12 Mike Kestner <mkestner@ximian.com>
* */Makefile.am : automakify the build
	* */Makefile.in : kill
	* *.custom : remove System.Drawing dependencies
	* *.cs : remove System.Drawing dependencies
	* *-api.xml : mv to *-api.raw
	* glue/* : mv to lib specific gluelibs for glib, gdk, gtk, and glade.
	* gtk/gtk-symbols : alias GtkType to GType
	* sources/gtk-sharp-sources.xml : create .raw files. They are now
	transformed to .xml files by the metadata compilation step.

svn path=/trunk/gtk-sharp/; revision=23967
2004-03-12 21:18:11 +00:00

26 lines
1 KiB
Makefile

SOURCES = \
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 /r:System.Drawing
top_builddir=../..
GCONFDIR=$(top_builddir)/gconf
noinst_SCRIPTS = sample.exe
sample.exe: $(SCHEMA) $(srcdir)/sample.glade $(SOURCES)
$(CSC) /out:sample.exe $(SOURCES) $(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