summaryrefslogblamecommitdiffstats
path: root/tests/Makefile.am
blob: f5ec181b03d5a9cb0c5b9c2e420c9e9ca831700f (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                  

                     




                                                           
                                            
                                




                                                                                         
# Setup TAP
LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) \
             $(top_srcdir)/build-aux/tap-driver.sh

TESTS = foodtest

EXTRA_DIST = maketests.sh \
	     foodtest.in \
             types.c \
             util.c \
	     parser.c

check_PROGRAMS = foodtest

# foodtest_SOURCES = foodtest.c $(top_builddir)/src/parse.h
nodist_foodtest_SOURCES = foodtest.c
#foodtest_LDADD = -lcheck -lrt -lm -lsubunit
foodtest_CFLAGS = @CHECK_CFLAGS@

CLEANFILES = foodtest.c

foodtest.c: $(top_srcdir)/tests/foodtest.in $(top_srcdir)/tests/*.c
	$(top_srcdir)/tests/maketests.sh -i $(top_srcdir)/tests/foodtest.in -o foodtest.c