summaryrefslogtreecommitdiff
path: root/src/tools/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/Makefile.am')
-rw-r--r--src/tools/Makefile.am33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/tools/Makefile.am b/src/tools/Makefile.am
new file mode 100644
index 00000000..031ef961
--- /dev/null
+++ b/src/tools/Makefile.am
@@ -0,0 +1,33 @@
+@INTLTOOL_DESKTOP_RULE@
+
+icondir=$(pkgdatadir)/icons
+icon_DATA=marco-window-demo.png
+
+INCLUDES=@MARCO_WINDOW_DEMO_CFLAGS@ @MARCO_MESSAGE_CFLAGS@ \
+ -DMARCO_ICON_DIR=\"$(pkgdatadir)/icons\" \
+ -DMARCO_LOCALEDIR=\"$(prefix)/@DATADIRNAME@/locale\"
+
+marco_message_SOURCES= \
+ marco-message.c
+
+marco_window_demo_SOURCES= \
+ marco-window-demo.c
+
+marco_mag_SOURCES= \
+ marco-mag.c
+
+marco_grayscale_SOURCES= \
+ marco-grayscale.c
+
+bin_PROGRAMS=marco-message marco-window-demo
+
+## cheesy hacks I use, don't really have any business existing. ;-)
+noinst_PROGRAMS=marco-mag marco-grayscale
+
+marco_message_LDADD= @MARCO_MESSAGE_LIBS@
+marco_window_demo_LDADD= @MARCO_WINDOW_DEMO_LIBS@
+marco_mag_LDADD= @MARCO_WINDOW_DEMO_LIBS@ -lm
+marco_grayscale_LDADD = @MARCO_WINDOW_DEMO_LIBS@
+
+EXTRA_DIST=$(icon_DATA)
+