LibreSSL: fixes pulled from OpenBSD patchset
[exim.git] / src / OS / Makefile-GNU
index d52fb22c9ee43ac8b945362310f0111f74f1423f..366ce4263f012281d443e9d436411dc9bf53be9d 100644 (file)
@@ -1,17 +1,23 @@
-# $Cambridge: exim/src/OS/Makefile-GNU,v 1.1 2004/10/06 15:07:39 ph10 Exp $
+# Exim: OS-specific make file for GNU and variants.
+#
+# Copyright (c) The Exim Maintainers 2020
+# SPDX-License-Identifier: GPL-2.0-or-later
 
-# Exim: OS-specific make file for GNU/Hurd.
+HAVE_ICONV=yes
 
 BASENAME_COMMAND=look_for_it
+CHOWN_COMMAND=look_for_it
+CHGRP_COMMAND=look_for_it
+CHMOD_COMMAND=look_for_it
+
+CFLAGS ?= -O -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
 
 DBMLIB = -ldb
 USE_DB = yes
 
-LIBS = -lnsl -lcrypt
+LIBS = -lnsl -lcrypt -lm
 LIBRESOLV = -lresolv
 
-CFLAGS = -O2 -g -Wall
-
 X11=/usr/X11R6
 XINCLUDE=-I$(X11)/include
 XLFLAGS=-L$(X11)/lib
@@ -19,6 +25,8 @@ X11_LD_LIB=$(X11)/lib
 
 EXIWHAT_PS_ARG=ax
 EXIWHAT_EGREP_ARG='/exim( |$$)'
+EXIWHAT_MULTIKILL_CMD=killall
+EXIWHAT_MULTIKILL_ARG=exim
 EXIWHAT_KILL_SIGNAL=-USR1
 
 # End