#!/usr/bin/make -f #------------------------------------------------------------------------------ # vim: syntax=make # # $Sendmail: autoconf.mk,v 8.14.2 2008-04-09 21:05:31 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.2(527874) # 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 2008-04-09 21:05:31 (-0700) #------------------------------------------------------------------------------ #SHELL := /bin/sh -x # Variables for, and by, Autoconf (Don't touch these! edit config step) PACKAGE_NAME = Sendmail PACKAGE_VERSION = 8.14.2 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.2/debian/build top_srcdir = .. abs_top_srcdir = /home/src/sendmail/sendmail-8.14.2/debian builddir = . abs_builddir = /home/src/sendmail/sendmail-8.14.2/debian/build top_builddir = .. abs_top_builddir = /home/src/sendmail/sendmail-8.14.2/debian # My private variables buildtree = build-tree/sendmail-8.14.2 sm_custom = sm_custom_s = sm_version = 8.14.2 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 -g -Wall -O2 -fPIC -fstack-protector-all #AC_DEFS := -DPACKAGE_NAME=\"Sendmail\" -DPACKAGE_TARNAME=\"sendmail\" -DPACKAGE_VERSION=\"8.14.2\" -DPACKAGE_STRING=\"Sendmail\ 8.14.2\" -DPACKAGE_BUGREPORT=\"bug/reportbug\ or\ sendmail@packages.debian.org\" -DPACKAGE=\"sendmail\" -DVERSION=\"8.14.2\" -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