summaryrefslogtreecommitdiffstats
path: root/tests/Makefile.am
blob: 5b57901735d6e780f03897798c45379b432e7358 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
check_PROGRAMS = rt_init rscript
TESTS = $(check_PROGRAMS) cfg.sh parsertest
TESTS_ENVIRONMENT = RSYSLOG_MODDIR='$(abs_top_builddir)'/runtime/.libs/

test_files = testbench.h runtime-dummy.c
EXTRA_DIST=parser.tcl \
	   1.rstest 2.rstest 3.rstest err1.rstest \
	   cfg.sh \
	   cfg1.cfgtest \
	   cfg1.testin \
      	   cfg2.cfgtest \
	   cfg2.testin \
	   cfg3.cfgtest \
	   cfg3.testin \
	   cfg4.cfgtest \
	   cfg4.testin \
	   DevNull.cfgtest \
	   err1.rstest \
	   NoExistFile.cfgtest \
	   testruns/1.parse1 \
   	   testruns/rfc3164.parse1 \
	   testruns/rfc5424-1.parse1 \
	   testruns/rfc5424-2.parse1 \
	   testruns/rfc5424-3.parse1 \
	   testruns/rfc5424-4.parse1 \
	   parsertest

rt_init_SOURCES = rt-init.c $(test_files)
rt_init_CPPFLAGS =  -I$(top_srcdir) $(PTHREADS_CFLAGS) $(RSRT_CFLAGS)
rt_init_LDADD = $(RSRT_LIBS) $(ZLIB_LIBS) $(PTHREADS_LIBS)
rt_init_LDFLAGS = -export-dynamic

rscript_SOURCES = rscript.c $(test_files)
rscript_CPPFLAGS =  -I$(top_srcdir) $(PTHREADS_CFLAGS) $(RSRT_CFLAGS)
rscript_LDADD = $(RSRT_LIBS) $(ZLIB_LIBS) $(PTHREADS_LIBS)
rscript_LDFLAGS = -export-dynamic