summaryrefslogtreecommitdiff
path: root/debian/build/autoconf.mk
blob: ffe8f81816211f9a638b7262fc45013853db38e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
#!/usr/bin/make -f
#------------------------------------------------------------------------------
# vim: syntax=make
#
# $Sendmail: autoconf.mk,v 8.14.1 2007-08-17 21:03:32 cowboy Exp $
#
# Copyright (c) 1998-2007 Richard Nelson.  All Rights Reserved.
#
# build/autoconf.mk.  Generated from autoconf.mk.in by configure.
#
# Rules file for Sendmail 8.14.1(527873)
#			 on  Debian lenny/sid
#			 via Debhelper V4.1
#
# Note: the .in file supports Sendmail 8.7.6 - 9.0.0
#		on Debian slink, potato, woody, testing, sid, ...
#		but the generated file is customized to the version noted above.
#
# Richard Nelson <cowboy@debian.org> 2007-08-17 21:03:32 (-0700)
#------------------------------------------------------------------------------
#SHELL := /bin/sh -x

# Variables for, and by, Autoconf (Don't touch these! edit config step)
PACKAGE_NAME = Sendmail
PACKAGE_VERSION = 8.14.1
prefix = /usr
exec_prefix = /usr
bindir = ${DESTDIR}/usr/bin
sbindir = ${DESTDIR}/usr/sbin
libexecdir = ${DESTDIR}/usr/lib/sm.bin
sysconfdir = ${DESTDIR}/etc
sharedstatedir = ${DESTDIR}/usr/com
localstatedir = ${DESTDIR}/var
libdir = ${DESTDIR}/usr/lib
includedir = ${DESTDIR}/usr/include
oldincludedir = ${DESTDIR}/usr/include
datarootdir = ${DESTDIR}/usr/share
datadir = ${DESTDIR}/usr/share
infodir = ${DESTDIR}/usr/share/info
mandir = ${DESTDIR}/usr/share/man
docdir = ${DESTDIR}/usr/share/doc
srcdir = .
abs_srcdir = /home/src/sendmail/sendmail-8.14.1/debian/build
top_srcdir = ..
abs_top_srcdir = /home/src/sendmail/sendmail-8.14.1/debian
builddir = .
abs_builddir = /home/src/sendmail/sendmail-8.14.1/debian/build
top_builddir = ..
abs_top_builddir = /home/src/sendmail/sendmail-8.14.1/debian


# My private variables
buildtree = build-tree/sendmail-8.14.1
sm_custom   = 
sm_custom_s = 
sm_version  = 8.14.1
sm_revision = 

# I like to preserve timestamps...
INSTALL := /usr/bin/install -c -p
INSTALL_PROGRAM := ${INSTALL}
# We'll let the dh_strip program take care of this for us...
#ifeq (,$(findstring nostrip,${DEB_BUILD_OPTIONS}))
#	 override INSTALL_PROGRAM += -s
#	 endif
INSTALL_DATA := ${INSTALL} -m 644
# Scripts need to be executable also
INSTALL_SCRIPT := ${INSTALL} -m 0755

# AutoConfig generated
#AC_CC	:= cc
#AC_CFLAGS := -g -Wall -O2 -fPIC -fstack-protector-all
#AC_DEFS :=  -DPACKAGE_NAME=\"Sendmail\" -DPACKAGE_TARNAME=\"sendmail\" -DPACKAGE_VERSION=\"8.14.1\" -DPACKAGE_STRING=\"Sendmail\ 8.14.1\" -DPACKAGE_BUGREPORT=\"bug/reportbug\ or\ sendmail@packages.debian.org\" -DPACKAGE=\"sendmail\" -DVERSION=\"8.14.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_REGEX_H=1 -DHAVE_DB_H=1 -DHAVE_DB_185_H=1 -DHAVE_RPCSVC_YPCLNT_H=1 -DHAVE_RPCSVC_NIS_H=1 -DHAVE_LDAP_H=1 -DHAVE_RESOLV_H=1 -DHAVE_TCPD_H=1 -DHAVE_NETINET_IP6_H=1 -DHAVE_GETADDRINFO=1 -DHAVE_MAILLOCK_H=1 -DHAVE_SASL_SASL_H=1 -DHAVE_OPENSSL_SSL_H=1
#AC_LDFLAGS := -pie -Wl,-z,noexecstack,-z,relro,-z,now -Wl,--warn-shared-textrel -pie -Wl,-z,noexecstack,-z,relro,-z,now -Wl,--warn-shared-textrel
#AC_LIBS := 

# Private AutoConfig generated
sm_libmilter_version := 1

# Define standard compile/install flags (skip if not yet configured)
DUMMY_CC := $(shell echo '-CC-' | tr '-' '@')
#ifeq ("cc", "${AC_CC}")
#	ifeq ("y", "$(shell test -x /usr/bin/gcc-3.2 && echo 'y' || echo 'n')")
#		AC_CC := gcc-3.2
#	else
#		ifeq ("y", "$(shell test -x /usr/bin/gcc-3.1 && echo 'y' || echo 'n')")
#			AC_CC := gcc-3.1
#			endif
#		endif
#	endif
#ifneq ("${DUMMY_CC}", "${AC_CC}")
#	CC := ${AC_CC}
#	#DEFS := ${AC_DEFS} ${DEFINES}
#	DEFS := ${DEFINES}
#	LDFLAGS := ${AC_LDFLAGS}
#	LIBS := ${AC_LIBS}
#	endif
ifeq (,${CFLAGS})
	CFLAGS := -O2 -g -Wall ${DEFS}
	endif
# No longer needed, left as an example:
# Force no optimization for arm - buggy compiler...
#ifeq ("arm", "${DEB_HOST_ARCH}")
#	override CFLAGS := -O0 -Wall
#	endif
#ifneq (,$(findstring noopt,${DEB_BUILD_OPTIONS}))
#	override CFLAGS += -O0
#	endif