Build: fix parallelism problem. Bug 2566
[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.
1e1ddfac 3# Copyright (c) The Exim Maintainers 2020
13d08c90
PP
4#
5# For Linux, we assume GNU Make; at time of writing, the only extension
6# used is ?= which is actually portable to other maintained Make variants,
7# just is not POSIX.
61ec970d
PH
8
9HAVE_ICONV=yes
10
11BASENAME_COMMAND=look_for_it
12CHOWN_COMMAND=look_for_it
13CHGRP_COMMAND=look_for_it
c40dee92 14CHMOD_COMMAND=look_for_it
61ec970d 15
40fa69f0
JH
16# The system cc may be gcc or clang; do not force gcc
17CC=cc
13d08c90
PP
18# Preserve CFLAGS and CFLAGS_DYNAMIC from the caller/environment
19CFLAGS ?= -O -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
20CFLAGS_DYNAMIC ?= -shared -rdynamic
61ec970d
PH
21
22DBMLIB = -ldb
23USE_DB = yes
24
ec5bf0b8 25LIBS = -lcrypt -lm
61ec970d
PH
26LIBRESOLV = -lresolv
27
28X11=/usr/X11R6
29XINCLUDE=-I$(X11)/include
30XLFLAGS=-L$(X11)/lib
31X11_LD_LIB=$(X11)/lib
32
33EXIWHAT_PS_ARG=ax
34EXIWHAT_EGREP_ARG='/exim( |$$)'
35EXIWHAT_MULTIKILL_CMD=killall
36EXIWHAT_MULTIKILL_ARG=exim
37EXIWHAT_KILL_SIGNAL=-USR1
38
39# End