tidying
[exim.git] / src / OS / Makefile-Linux
CommitLineData
61ec970d
PH
1# Exim: OS-specific make file for Linux. This is for modern Linuxes,
2# which use libc6.
13d08c90
PP
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.
61ec970d
PH
7
8HAVE_ICONV=yes
9
10BASENAME_COMMAND=look_for_it
11CHOWN_COMMAND=look_for_it
12CHGRP_COMMAND=look_for_it
c40dee92 13CHMOD_COMMAND=look_for_it
61ec970d 14
40fa69f0
JH
15# The system cc may be gcc or clang; do not force gcc
16CC=cc
13d08c90
PP
17# Preserve CFLAGS and CFLAGS_DYNAMIC from the caller/environment
18CFLAGS ?= -O -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
19CFLAGS_DYNAMIC ?= -shared -rdynamic
61ec970d
PH
20
21DBMLIB = -ldb
22USE_DB = yes
23
ec5bf0b8 24LIBS = -lcrypt -lm
61ec970d
PH
25LIBRESOLV = -lresolv
26
27X11=/usr/X11R6
28XINCLUDE=-I$(X11)/include
29XLFLAGS=-L$(X11)/lib
30X11_LD_LIB=$(X11)/lib
31
32EXIWHAT_PS_ARG=ax
33EXIWHAT_EGREP_ARG='/exim( |$$)'
34EXIWHAT_MULTIKILL_CMD=killall
35EXIWHAT_MULTIKILL_ARG=exim
36EXIWHAT_KILL_SIGNAL=-USR1
37
38# End