e21bb039f9
* sample/Makefile.am: fix for cairo conflicts related to the switch to gmcs. * sample/GtkDemo/Makefile.am: fix for cairo conflicts related to the switch to gmcs. svn path=/trunk/gtk-sharp/; revision=137755
83 lines
2.3 KiB
Makefile
83 lines
2.3 KiB
Makefile
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)/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 $(local_mono_cairo)
|
|
|
|
references = $(addprefix /r:, $(assemblies)) /r:Mono.Cairo
|
|
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)
|
|
|