summaryrefslogtreecommitdiffstats
path: root/zbarimg/Makefile.am.inc
diff options
context:
space:
mode:
Diffstat (limited to 'zbarimg/Makefile.am.inc')
-rw-r--r--zbarimg/Makefile.am.inc13
1 files changed, 13 insertions, 0 deletions
diff --git a/zbarimg/Makefile.am.inc b/zbarimg/Makefile.am.inc
new file mode 100644
index 0000000..0f201a6
--- /dev/null
+++ b/zbarimg/Makefile.am.inc
@@ -0,0 +1,13 @@
+bin_PROGRAMS += zbarimg/zbarimg
+zbarimg_zbarimg_SOURCES = zbarimg/zbarimg.c
+zbarimg_zbarimg_CPPFLAGS = $(MAGICK_CFLAGS) $(AM_CPPFLAGS)
+zbarimg_zbarimg_LDADD = zbar/libzbar.la $(MAGICK_LIBS)
+# automake bug in "monolithic mode"?
+CLEANFILES += zbarimg/.libs/zbarimg
+
+if WIN32
+zbarimg_zbarimg_SOURCES += zbarimg/zbarimg.rc
+zbarimg_zbarimg_LDADD += zbarimg/zbarimg-rc.o @LTLIBINTL@
+endif
+
+EXTRA_DIST += test/barcodetest.py