Tizen 2.0 Release
[external/lcms.git] / testbed / Makefile.am
1 #
2 # Makefile for building testcms
3 #
4
5 # Don't require all the GNU mandated files
6 AUTOMAKE_OPTIONS = 1.7 foreign
7
8 INCLUDES        =  -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir)/src
9
10 check_PROGRAMS = testcms
11
12 CFLAGS = --pedantic -Wall -std=c99 -O2
13
14 testcms_LDADD = $(top_builddir)/src/liblcms2.la 
15 testcms_LDFLAGS = @LDFLAGS@
16 testcms_SOURCES = testcms2.c
17
18 EXTRA_DIST = test1.icc bad.icc toosmall.icc test2.icc \
19              test3.icc test4.icc \
20              test5.icc  
21
22 check:
23         if [ $(top_srcdir) != $(top_builddir) ]; then \
24                 cp $(top_srcdir)/testbed/*.ic? $(top_builddir)/testbed; \
25         fi
26         ./testcms
27         if [ $(top_srcdir) != $(top_builddir) ]; then \
28                 rm -f $(top_builddir)/testbed/*.ic?; \
29         fi
30
31