GtkSharp/sample/GtkDemo/Makefile.am
Mike Kestner a948792be0 2009-11-30 Mike Kestner <mkestner@novell.com>
* */Makefile.am: standardize on - options over / options for 
	consistency.  Also assists with build on msys. [Fixes #550667]

svn path=/trunk/gtk-sharp/; revision=147125
2009-11-30 20:40:34 +00:00

84 lines
2.2 KiB
Makefile

if ENABLE_MONO_CAIRO
cairo_ref=$(top_builddir)/cairo/Mono.Cairo.dll
else
cairo_ref=Mono.Cairo
endif
assemblies = \
$(top_builddir)/glib/glib-sharp.dll $(top_builddir)/gio/gio-sharp.dll \
$(top_builddir)/pango/pango-sharp.dll $(top_builddir)/atk/atk-sharp.dll \
$(top_builddir)/gdk/gdk-sharp.dll $(top_builddir)/gtk/gtk-sharp.dll
references = $(addprefix -r:, $(assemblies) $(cairo_ref))
TARGETS = GtkDemo.exe
DEBUGS = $(addsuffix .mdb, $(TARGETS))
CLEANFILES = $(TARGETS) $(DEBUGS)
noinst_SCRIPTS = $(TARGETS)
EXTRA_DIST = $(sources) $(image_names)
sources = \
DemoApplicationWindow.cs \
DemoAttribute.cs \
DemoButtonBox.cs \
DemoClipboard.cs \
DemoColorSelection.cs \
DemoDialog.cs \
DemoDrawingArea.cs \
DemoEditableCells.cs \
DemoEntryCompletion.cs \
DemoExpander.cs \
DemoHyperText.cs \
DemoIconView.cs \
DemoImages.cs \
DemoListStore.cs \
DemoMain.cs \
DemoMenus.cs \
DemoPanes.cs \
DemoPixbuf.cs \
DemoRotatedText.cs \
DemoSizeGroup.cs \
DemoStockBrowser.cs \
DemoTextView.cs \
DemoTreeStore.cs \
DemoUIManager.cs \
DemoPrinting.cs
images = \
images/gnome-foot.png,gnome-foot.png \
images/MonoIcon.png,MonoIcon.png \
images/gnome-calendar.png,gnome-calendar.png \
images/gnome-gmush.png,gnome-gmush.png \
images/gnu-keys.png,gnu-keys.png \
images/gnome-applets.png,gnome-applets.png \
images/gnome-gsame.png,gnome-gsame.png \
images/alphatest.png,alphatest.png \
images/gnome-gimp.png,gnome-gimp.png \
images/apple-red.png,apple-red.png \
images/background.jpg,background.jpg \
images/gtk-logo-rgb.gif,gtk-logo-rgb.gif \
images/floppybuddy.gif,floppybuddy.gif
image_names = \
images/gnome-foot.png \
images/MonoIcon.png \
images/gnome-calendar.png \
images/gnome-gmush.png \
images/gnu-keys.png \
images/gnome-applets.png \
images/gnome-gsame.png \
images/alphatest.png \
images/gnome-gimp.png \
images/apple-red.png \
images/background.jpg \
images/gtk-logo-rgb.gif \
images/floppybuddy.gif
build_sources = $(addprefix $(srcdir)/, $(sources))
build_images = $(addprefix $(srcdir)/, $(images))
resources = $(addprefix -resource:, $(build_sources), $(build_images))
GtkDemo.exe: $(build_sources) $(assemblies)
$(CSC) $(CSFLAGS) -out:GtkDemo.exe $(build_sources) $(references) $(resources)