## Process this file with automake to produce Makefile.in # $Id: Makefile.am,v 1.8 2005/07/18 21:23:17 dm Exp $ # Note: The files # internal.h pcre.h dftables.c maketables.c pcre.c study.c # are from pcre-4.5, the perl compatible regular expression library. # Pcre was written by Philip Hazel, and is distributed from # http://www.pcre.org/ # ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ noinst_LIBRARIES = libasync.a noinst_PROGRAMS = dftables libasync_a_SOURCES = \ arandom.c clock_gettime.c getopt_long.c maketables.c pcre.c rwfd.c stktrace.c study.c suidprotect.c \ aerr.C aios.C arena.C armor.C cbuf.C convertint.C core.C daemonize.C dns.C dnsparse.C err.C ident.C ifchg.C ihash.C itree.C malloc.C msb.C myaddrs.C myname.C parseopt.C pipe2str.C refcnt.C rxx.C socket.C spawn.C str.C str2file.C straux.C suio++.C suio_vuprintf.C tcpconnect.C noinst_HEADERS = \ aios.h amisc.h arena.h array.h async.h autoconf.h backoff.h bitvec.h callback.h cbuf.h dns.h dnsimpl.h dnsparse.h err.h fdlim.h getopt_long.h ihash.h init.h internal.h itree.h keyfunc.h list.h msb.h opnew.h parseopt.h pcre.h qhash.h refcnt.h rwfd.h rxx.h serial.h stllike.h str.h suio++.h sysconf.h union.h vatmpl.h vec.h dftables_SOURCES = dftables.c dftables_LDADD = pcre.o pcre.lo: chartables.c chartables.c: dftables ./dftables $@ DEPEND_ON_MAKEFILE = daemonize.o daemonize.lo spawn.o spawn.lo $(DEPEND_ON_MAKEFILE): Makefile stktrace.o: $(srcdir)/stktrace.c $(srcdir)/sysconf.h $(COMPILE) $(NW) -c $(srcdir)/stktrace.c EXTRA_DIST = .cvsignore CLEANFILES = core *.core *~ *.rpo dftables chartables.c stamp-async-repo MAINTAINERCLEANFILES = Makefile.in # This assumes sfs1 is a symlink to the SFS sources .PHONY: getsrc getsrc: @set -ex; \ for file in $(libasync_a_SOURCES) $(noinst_HEADERS); do \ case $$file in \ autoconf.h|chartables.c|getopt_long.*) \ ;; \ *) \ cp $(srcdir)/sfs1/async/$$file $(srcdir)/ \ ;; \ esac; \ done