## Makefile.am -- Process this file with automake to produce Makefile.in # $Id: Makefile.am,v 1.27 2007/09/29 02:15:44 ca Exp $ MAINTAINERCLEANFILES = Makefile.in INCLUDES = -I$(top_builddir) -I$(top_builddir)/include -I$(top_srcdir) -I$(top_srcdir)/include sbin_PROGRAMS = mcp LDCONF = ../libconf/libconf.a LDSMMISC = ../libmta/libsmmisc.a LDADD = $(LDCONF) $(LDSMMISC) \ ../libmta/libmta.a \ ../librepl/librepl.a IS = include/sm ISM = $(top_srcdir)/include/sm noinst_HEADERS = $(ISM)/filio.h \ $(ISM)/mcpdef.h \ $(ISM)/mcpcnfs.h \ $(ISM)/mcpcnfdef.h \ $(ISM)/sockcnf.h \ $(ISM)/sockcnfdef.h \ $(ISM)/grp.h \ mcp.h \ inetdconf.h mcp_SOURCES = inetd.c \ conf.c \ inetdconf.c # compile and run TESTP = # compile only, do not run TESTC = inout t-restart \ t-exit \ t-id \ mcpconf # do not run at all... TESTDATA= rdwrcounter.c # just run TESTSH = t-mcp-0.sh t-mcp-1.sh \ t-id-0.sh \ t-exit-0.sh \ t-exit-1.sh \ t-exit-2.sh \ t-restart-0.sh \ t-restart-1.sh \ t-restart-dep-0.sh \ t-restart-all-0.sh \ t-hup-0.sh \ t-pass-0.sh \ t-pass-hup-0.sh \ t-mcpconf-0.sh EXTRA_DIST = mcp.conf $(TESTSH) $(TESTDATA) # list programs to compile here check_PROGRAMS = $(TESTP) $(TESTC) LDADDR = ../libmta/libmtar.a LDREPL = ../librepl/librepl.a LDCHK = ../libcheck/libcheck.a # tests to run TESTS = $(TESTP) $(TESTSH) inout_SOURCES = inout.c mcpconf_SOURCES = mcpconf.c mcpconf_LDADD = $(LDCONF) $(LDADD) $(LDREPL) mcpconf_CFLAGS = $(CFLAGS) -DSTANDALONE # $(LDADD) $(LDREPL)