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