## Makefile.am -- Process this file with automake to produce Makefile.in # $Id: Makefile.am,v 1.46 2007/07/09 04:39:46 ca Exp $ MAINTAINERCLEANFILES = Makefile.in INCLUDES = -I$(top_builddir) -I$(top_builddir)/include -I$(top_srcdir) -I$(top_srcdir)/include IS = include/sm ISM = $(top_srcdir)/include/sm noinst_HEADERS = \ $(ISM)/sm-conf.h \ $(ISM)/sm-conf-prt.h \ $(ISM)/sm-conf-time.h \ $(ISM)/sm-conf-byte.h \ $(ISM)/logcnfdef.h \ sm-conf-node.h \ sm-conf-parse.h \ sm-conf-scan.h \ sm-conf-state.h \ sm-conf-token.h \ sm-conf-type.h \ sm-conf-choice.h \ sm-conf-u32.h \ sm-conf-util.h \ prtcnf.h # sm-util.h noinst_PROGRAMS = tree noinst_LIBRARIES = libconf.a libconf_a_SOURCES = \ sm-conf-scan.c \ sm-conf-get.c \ sm-conf-token.c \ sm-conf-node.c \ sm-conf-parse.c \ sm-conf-type.c \ sm-conf-type-argv.c \ sm-conf-type-array.c \ sm-conf-type-bool.c \ sm-conf-type-bytes.c \ sm-conf-type-char.c \ sm-conf-type-choice.c \ sm-conf-type-ipv4.c \ sm-conf-type-node.c \ sm-conf-type-section.c \ sm-conf-type-string.c \ sm-conf-type-union.c \ sm-conf-u32.c \ sm-conf-util.c \ sm-conf.c \ sm-conf-readfile.c \ sm-conf-null.c \ sm-conf-prttree.c \ sm-conf-prtcnf.c \ sm-conf-prtdef.c \ sm-conf-prterr.c \ u32totxtwsuffix.c \ sm-conf-type-u32.c # sm-util.c # sm-conf-type-flag.c: -> choice + SM_CONF_FLAG_MULTIPLE # sm-conf-type-name.c # compile and run TESTP = # compile only, do not run TESTC = demo-flagzoo scanner demo-scan demo-typezoo \ demo-isset \ demo-union demo-array \ demo-title \ demo-parseonly \ demo-walk-n-scan \ demo-override \ demo-syslog \ t-conf-0 \ t-conf-1 \ t-conf-2 \ t-conf-3 \ t-conf-6 \ t-conf-7 \ t-conf-sock-0 \ dumpdef \ log-conf \ t-dyn-0 ## t-conf-4 ## t-conf-5 ## t-conf-8 # run only TESTSH = t-all.sh \ t-conf-0.sh \ t-conf-3.sh \ t-conf-choice-0.sh \ t-conf-sock-0.sh \ t-dumpdef-0.sh #t-demo-scan.sh # do not run at all... TESTDATA = \ t-demo-typezoo-1.in \ t-demo-typezoo-1.ok \ t-demo-typezoo-2.in \ t-demo-typezoo-2.ok \ t-demo-typezoo-err.in \ t-demo-typezoo-err.ok \ t-demo-union-1.in \ t-demo-union-1.ok \ t-demo-union-2.in \ t-demo-union-2.ok \ t-demo-union-3.in \ t-demo-union-3.ok \ t-demo-parseonly-1.in \ t-demo-parseonly-1.ok \ t-demo-parseonly-2.in \ t-demo-parseonly-2.ok \ t-tree-empty.in \ t-tree-empty.ok \ t-tree-errchar.in \ t-tree-errchar.ok \ t-tree-errchar2.in \ t-tree-errchar2.ok \ t-tree-errchar3.in \ t-tree-errchar3.ok \ t-tree-errsyntax.in \ t-tree-errsyntax.ok \ t-tree-errsyntax2.in \ t-tree-errsyntax2.ok \ t-tree-errsyntax3.in \ t-tree-errsyntax3.ok \ t-tree-syntax.in \ t-tree-syntax.ok # list programs to compile here check_PROGRAMS = $(TESTP) $(TESTC) TESTS = $(TESTP) $(TESTSH) EXTRA_DIST = $(TESTSH) $(TESTDATA) \ sm-conf.abnf LDADD = ../libmta/libmta.a LDREPL = ../librepl/librepl.a LDCHK = ../libcheck/libcheck.a LDCONF = libconf.a tree_SOURCES = tree.c tree_LDADD = $(LDCONF) $(LDADD) $(LDCHK) $(LDREPL) dumpdef_SOURCES = dumpdef.c dumpdef_CFLAGS = $(MTA_SASL_INC) dumpdef_LDADD = $(LDCONF) $(LDADD) $(LDCHK) $(LDREPL) scanner_SOURCES = scanner.c scanner_LDADD = $(LDCONF) $(LDADD) $(LDCHK) $(LDREPL) demo_scan_SOURCES = demo-scan.c demo_scan_LDADD = $(LDCONF) $(LDADD) $(LDCHK) $(LDREPL) demo_flagzoo_SOURCES = demo-flagzoo.c demo_flagzoo_LDADD = $(LDCONF) $(LDADD) $(LDCHK) $(LDREPL) demo_typezoo_SOURCES = demo-typezoo.c demo_typezoo_LDADD = $(LDCONF) $(LDADD) $(LDCHK) $(LDREPL) demo_isset_SOURCES = demo-isset.c demo_isset_LDADD = $(LDCONF) $(LDADD) $(LDCHK) $(LDREPL) demo_union_SOURCES = demo-union.c demo_union_LDADD = $(LDCONF) $(LDADD) $(LDCHK) $(LDREPL) demo_array_SOURCES = demo-array.c demo_array_LDADD = $(LDCONF) $(LDADD) $(LDCHK) $(LDREPL) demo_title_SOURCES = demo-title.c demo_title_LDADD = $(LDCONF) $(LDADD) $(LDCHK) $(LDREPL) demo_parseonly_SOURCES = demo-parseonly.c demo_parseonly_LDADD = $(LDCONF) $(LDADD) $(LDCHK) $(LDREPL) demo_walk_n_scan_SOURCES= demo-walk-n-scan.c demo_walk_n_scan_LDADD = $(LDCONF) $(LDADD) $(LDCHK) $(LDREPL) demo_override_SOURCES = demo-override.c demo_override_LDADD = $(LDCONF) $(LDADD) $(LDCHK) $(LDREPL) demo_syslog_SOURCES = demo-syslog.c demo_syslog_LDADD = $(LDCONF) $(LDADD) $(LDCHK) $(LDREPL) log_conf_SOURCES = log-conf.c log_conf_LDADD = $(LDCONF) $(LDADD) $(LDCHK) $(LDREPL) t_conf_0_SOURCES = t-conf-0.c t_conf_0_LDADD = $(LDCONF) $(LDADD) $(LDCHK) $(LDREPL) t_conf_1_SOURCES = t-conf-1.c t_conf_1_LDADD = $(LDCONF) $(LDADD) $(LDCHK) $(LDREPL) t_conf_2_SOURCES = t-conf-2.c t_conf_2_LDADD = $(LDCONF) $(LDADD) $(LDCHK) $(LDREPL) t_conf_3_SOURCES = t-conf-3.c t_conf_3_LDADD = $(LDCONF) $(LDADD) $(LDCHK) $(LDREPL) ## t_conf_4_SOURCES = t-conf-4.c ## t_conf_4_LDADD = $(LDCONF) $(LDADD) $(LDCHK) $(LDREPL) ## t_conf_5_SOURCES = t-conf-5.c ## t_conf_5_LDADD = $(LDCONF) $(LDADD) $(LDCHK) $(LDREPL) t_conf_6_SOURCES = t-conf-6.c t_conf_6_LDADD = $(LDCONF) $(LDADD) $(LDCHK) $(LDREPL) t_conf_7_SOURCES = t-conf-7.c t_conf_7_LDADD = $(LDCONF) $(LDADD) $(LDCHK) $(LDREPL) ## t_conf_8_SOURCES = t-conf-8.c ## t_conf_8_LDADD = $(LDCONF) $(LDADD) $(LDCHK) $(LDREPL) t_conf_sock_0_SOURCES = t-conf-sock-0.c t_conf_sock_0_LDADD = $(LDCONF) $(LDADD) $(LDCHK) $(LDREPL) t_dyn_0_SOURCES = t-dyn-0.c t_dyn_0_LDADD = $(LDCONF) $(LDADD) $(LDCHK) $(LDREPL)