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