masqmail

view src/Makefile.am @ 421:f37384470855

Changed lockdir to /var/lock/masqmail; Create lockdir and piddir on startup. Moved the lockdir out of the spool dir. (When /var/lock is a ramdisk we do well to have the lock files there.) Added the new configure option --with-lockdir to change that location. Nontheless, if we run_as_user, then lock files are always stored in the spool dir directly. Instead of installing the lockdir and piddir at installation time, we create them on startup time now if they are missing. This is necessary if lockdir or piddir are a tmpfs.
author markus schnalke <meillo@marmaro.de>
date Wed, 30 May 2012 09:38:38 +0200
parents 5781ba87df95
children
line source
1 SUBDIRS=base64 md5
3 AM_CFLAGS=-Wno-pointer-sign @CFLAGS@ @GLIB_CFLAGS@ -D_GNU_SOURCE -DG_DISABLE_DEPRECATED
5 sbin_PROGRAMS=masqmail
6 bin_PROGRAMS=mservdetect
7 noinst_PROGRAMS=smtpsend readtest resolvtest
9 masqmail_SOURCES=\
10 dotlock.h\
11 masqmail.h\
12 readsock.h\
13 smtp_out.h\
14 lookup.h\
15 accept.c\
16 address.c\
17 alias.c\
18 child.c\
19 connect.c\
20 conf.c\
21 deliver.c\
22 dotlock.c\
23 expand.c\
24 fail_msg.c\
25 header.c\
26 interface.c\
27 local.c\
28 log.c\
29 listen.c\
30 lookup.c\
31 masqmail.c\
32 message.c\
33 online.c\
34 parse.c\
35 peopen.c\
36 peopen.h\
37 permissions.c\
38 readsock.c\
39 rewrite.c\
40 route.c\
41 queue.c\
42 smtp_in.c\
43 smtp_out.c\
44 spool.c\
45 tables.c\
46 timeival.c
48 smtpsend_SOURCES=\
49 smtpsend.c\
50 masqmail.h\
51 readsock.h\
52 smtp_out.h\
53 lookup.h\
54 accept.c\
55 address.c\
56 child.c\
57 connect.c\
58 header.c\
59 interface.c\
60 lookup.c\
61 message.c\
62 parse.c\
63 peopen.c\
64 readsock.c\
65 smtp_out.c
67 mservdetect_SOURCES=\
68 masqmail.h\
69 readsock.h\
70 mservdetect.c\
71 readsock.c\
72 peopen.c
74 readtest_SOURCES=\
75 readsock.c\
76 readsock.h\
77 readtest.c
79 resolvtest_SOURCES=\
80 resolvtest.c\
81 lookup.c
83 masqmail_LDADD=@RESOLV_LIBS@ @GLIB_LIBS@ @LOCKFILE_LIBS@ @MD5_LIBS@ @BASE64_LIBS@
84 smtpsend_LDADD=@RESOLV_LIBS@ @GLIB_LIBS@ @MD5_LIBS@ @BASE64_LIBS@
85 mservdetect_LDADD=@GLIB_LIBS@
86 readtest_LDADD=@GLIB_LIBS@
87 resolvtest_LDADD=@RESOLV_LIBS@ @GLIB_LIBS@