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
13d08c90
PP
15# Preserve CFLAGS and CFLAGS_DYNAMIC from the caller/environment
16CFLAGS ?= -O -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
17CFLAGS_DYNAMIC ?= -shared -rdynamic
61ec970d
PH
18
19DBMLIB = -ldb
20USE_DB = yes
21
870f6ba8 22LIBS = -lnsl -lcrypt -lm
61ec970d
PH
23LIBRESOLV = -lresolv
24
25X11=/usr/X11R6
26XINCLUDE=-I$(X11)/include
27XLFLAGS=-L$(X11)/lib
28X11_LD_LIB=$(X11)/lib
29
30EXIWHAT_PS_ARG=ax
31EXIWHAT_EGREP_ARG='/exim( |$$)'
32EXIWHAT_MULTIKILL_CMD=killall
33EXIWHAT_MULTIKILL_ARG=exim
34EXIWHAT_KILL_SIGNAL=-USR1
35
36# End