summaryrefslogtreecommitdiff
path: root/test/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'test/Makefile.am')
-rw-r--r--test/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
index 32a4b43..70f5c9e 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -23,7 +23,7 @@
if ENABLE_UNIT_TESTS
if HAVE_GLIB
-check_PROGRAMS = XpmCreate XpmMisc XpmRead XpmWrite
+check_PROGRAMS = XpmCreate XpmMisc XpmRead XpmWrite rgb
TESTS=$(check_PROGRAMS)
@@ -40,6 +40,9 @@ XpmMisc_SOURCES = XpmMisc.c
XpmRead_SOURCES = XpmRead.c TestAllFiles.h
XpmWrite_SOURCES = XpmWrite.c CompareXpmImage.h TestAllFiles.h
+rgb_SOURCES = rgb.c
+rgb_CPPFLAGS = -I$(top_srcdir)/include/X11
+
LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) \
$(top_srcdir)/tap-driver.sh
LOG_COMPILER = $(srcdir)/tap-test
@@ -96,4 +99,5 @@ EXTRA_DIST = \
pixmaps/invalid/zero-width.xpm \
pixmaps/invalid/zero-width-v1.xpm \
pixmaps/no-mem/oversize.xpm \
+ rgb.txt \
tap-test