tidying: CCSS macro
[users/jgh/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 # We have mmap/malloc addr spaces separate
22 CFLAGS += -DTAINT_CHECK_FAST
23
24 DBMLIB = -ldb
25 USE_DB = yes
26
27 LIBS = -lcrypt -lm
28 LIBRESOLV = -lresolv
29
30 X11=/usr/X11R6
31 XINCLUDE=-I$(X11)/include
32 XLFLAGS=-L$(X11)/lib
33 X11_LD_LIB=$(X11)/lib
34
35 EXIWHAT_PS_ARG=ax
36 EXIWHAT_EGREP_ARG='/exim( |$$)'
37 EXIWHAT_MULTIKILL_CMD=killall
38 EXIWHAT_MULTIKILL_ARG=exim
39 EXIWHAT_KILL_SIGNAL=-USR1
40
41 # End