GtkSharp/sample/GtkDemo/Makefile.am

84 lines
2.2 KiB
Makefile
Raw Normal View History

if ENABLE_MONO_CAIRO
local_mono_cairo=$(top_builddir)/cairo/Mono.Cairo.dll
else
local_mono_cairo=
endif
assemblies = \
$(top_builddir)/glib/glib-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 $(local_mono_cairo)
references = $(addprefix /r:, $(assemblies)) @MONO_CAIRO_LIBS@
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)