Remove the daemon pid file when exit is due to SIGTERM. Bug 340
[users/heiko/exim.git] / src / OS / Makefile-Linux
1 # Exim: OS-specific make file for Linux. This is for modern Linuxes,
2 # which use libc6.
3 #
4 # For Linux, we assume GNU Make; at time of writing, the only extension
5 # used is ?= which is actually portable to other maintained Make variants,
6 # just is not POSIX.
7
8 HAVE_ICONV=yes
9
10 BASENAME_COMMAND=look_for_it
11 CHOWN_COMMAND=look_for_it
12 CHGRP_COMMAND=look_for_it
13 CHMOD_COMMAND=look_for_it
14
15 # The system cc may be gcc or clang; do not force gcc
16 CC=cc
17 # Preserve CFLAGS and CFLAGS_DYNAMIC from the caller/environment
18 CFLAGS ?= -O -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
19 CFLAGS_DYNAMIC ?= -shared -rdynamic
20
21 DBMLIB = -ldb
22 USE_DB = yes
23
24 LIBS = -lcrypt -lm
25 LIBRESOLV = -lresolv
26
27 X11=/usr/X11R6
28 XINCLUDE=-I$(X11)/include
29 XLFLAGS=-L$(X11)/lib
30 X11_LD_LIB=$(X11)/lib
31
32 EXIWHAT_PS_ARG=ax
33 EXIWHAT_EGREP_ARG='/exim( |$$)'
34 EXIWHAT_MULTIKILL_CMD=killall
35 EXIWHAT_MULTIKILL_ARG=exim
36 EXIWHAT_KILL_SIGNAL=-USR1
37
38 # End