File: Makefile.am

package info (click to toggle)
fdm 1.9%2Bgit20181219-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster
  • size: 1,108 kB
  • sloc: ansic: 15,416; yacc: 2,042; makefile: 135; awk: 52; sh: 29
file content (128 lines) | stat: -rw-r--r-- 2,338 bytes parent folder | download | duplicates (2)
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
# $Id$

bin_PROGRAMS = fdm
CLEANFILES = parse.c parse.h
BUILT_SOURCES = parse.c parse.h

EXTRA_DIST = \
	CHANGES README MANUAL \
	examples compat/*.[ch] fdm-sanitize \
	array.h \
	deliver.h \
	fdm.h \
	fetch.h \
	io.h \
	match.h
dist-hook:
	make clean

CPPFLAGS += \
	-DSYSCONFFILE="\"$(sysconfdir)/fdm.conf\"" \
	-DSYSLOCKFILE="\"$(localstatedir)/run/fdm.lock\""
CFLAGS += -D_GNU_SOURCE -std=gnu99 -O2
if IS_DEBUG
CFLAGS += -g
CFLAGS += -Wno-long-long -Wall -W -Wnested-externs -Wformat=2
CFLAGS += -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
CFLAGS += -Wwrite-strings -Wshadow -Wpointer-arith -Wsign-compare
CFLAGS += -Wundef -Wbad-function-cast -Winline -Wcast-align
CFLAGS += -Wdeclaration-after-statement -Wno-pointer-sign
CPPFLAGS += -DDEBUG
endif
YFLAGS += -d

dist_man1_MANS = fdm.1
dist_man5_MANS = fdm.conf.5

dist_fdm_SOURCES = \
	attach.c \
	buffer.c \
	cache-op.c \
	child-deliver.c \
	child-fetch.c \
	child.c \
	cleanup.c \
	command.c \
	connect.c \
	db-tdb.c \
	deliver-add-header.c \
	deliver-add-to-cache.c \
	deliver-drop.c \
	deliver-imap.c \
	deliver-keep.c \
	deliver-maildir.c \
	deliver-mbox.c \
	deliver-pipe.c \
	deliver-remove-from-cache.c \
	deliver-remove-header.c \
	deliver-rewrite.c \
	deliver-smtp.c \
	deliver-stdout.c \
	deliver-tag.c \
	deliver-write.c \
	fdm.c \
	fetch-imap.c \
	fetch-imappipe.c \
	fetch-maildir.c \
	fetch-mbox.c \
	fetch-nntp.c \
	fetch-pop3.c \
	fetch-pop3pipe.c \
	fetch-stdin.c \
	fetch.h \
	file.c \
	imap-common.c \
	io.c \
	io.h \
	log.c \
	lookup-passwd.c \
	lookup.c \
	mail-state.c \
	mail-time.c \
	mail.c \
	match-account.c \
	match-age.c \
	match-all.c \
	match-attachment.c \
	match-command.c \
	match-in-cache.c \
	match-matched.c \
	match-regexp.c \
	match-size.c \
	match-string.c \
	match-tagged.c \
	match-unmatched.c \
	match.h \
	netrc.c \
	parent-deliver.c \
	parent-fetch.c \
	parse-fn.c \
	pcre.c \
	pop3-common.c \
	privsep.c \
	re.c \
	replace.c \
	shm-mmap.c \
	strb.c \
	timer.c \
	xmalloc.c \
	\
	parse.y \
	lex.c

nodist_fdm_SOURCES =
if NO_B64_NTOP
nodist_fdm_SOURCES += compat/base64.c
endif
if NO_STRLCAT
nodist_fdm_SOURCES += compat/strlcat.c
endif
if NO_STRLCPY
nodist_fdm_SOURCES += compat/strlcpy.c
endif
if NO_STRTONUM
nodist_fdm_SOURCES += compat/strtonum.c
endif
if NO_B64_NTOP
nodist_fdm_SOURCES += compat/base64.c
endif