File: Makefile.am

package info (click to toggle)
mailavenger 0.8.1-3
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 3,860 kB
  • ctags: 5,015
  • sloc: cpp: 21,195; ansic: 15,232; sh: 10,544; makefile: 265
file content (50 lines) | stat: -rw-r--r-- 1,943 bytes parent folder | download | duplicates (3)
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
## Process this file with automake to produce Makefile.in
# $Id$

# 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 = .gitignore
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