Deleted Added
full compact
config.mk (224076) config.mk (224093)
1# $FreeBSD: head/lib/bind/config.mk 224076 2011-07-16 07:12:02Z dougb $
1# $FreeBSD: head/lib/bind/config.mk 224093 2011-07-16 11:20:54Z dougb $
2
3.include <bsd.own.mk>
4.include <bsd.endian.mk>
5
6# BIND version number
7.if defined(BIND_DIR) && exists(${BIND_DIR}/version)
8.include "${BIND_DIR}/version"
9BIND_VERSION= ${MAJORVER}.${MINORVER}.${PATCHVER}${RELEASETYPE}${RELEASEVER}

--- 52 unchanged lines hidden (view full) ---

62# Add correct include path for config.h
63.if defined(LIB_BIND_DIR) && exists(${LIB_BIND_DIR}/config.h)
64CFLAGS+= -I${LIB_BIND_DIR}
65.endif
66
67# Use the right version of the atomic.h file from lib/isc
68.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386"
69ISC_ATOMIC_ARCH= x86_32
2
3.include <bsd.own.mk>
4.include <bsd.endian.mk>
5
6# BIND version number
7.if defined(BIND_DIR) && exists(${BIND_DIR}/version)
8.include "${BIND_DIR}/version"
9BIND_VERSION= ${MAJORVER}.${MINORVER}.${PATCHVER}${RELEASETYPE}${RELEASEVER}

--- 52 unchanged lines hidden (view full) ---

62# Add correct include path for config.h
63.if defined(LIB_BIND_DIR) && exists(${LIB_BIND_DIR}/config.h)
64CFLAGS+= -I${LIB_BIND_DIR}
65.endif
66
67# Use the right version of the atomic.h file from lib/isc
68.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386"
69ISC_ATOMIC_ARCH= x86_32
70.elif ${MACHINE_ARCH} == "ia64"
71ISC_ATOMIC_ARCH= ia64
70.else
72.else
71ISC_ATOMIC_ARCH= ${MACHINE_CPUARCH}
73ISC_ATOMIC_ARCH= noatomic
72.endif
73
74# Optional features
75.if ${MK_BIND_LARGE_FILE} == "yes"
76CFLAGS+= -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
77.endif
78.if ${MK_BIND_SIGCHASE} == "yes"
79CFLAGS+= -DDIG_SIGCHASE

--- 52 unchanged lines hidden ---
74.endif
75
76# Optional features
77.if ${MK_BIND_LARGE_FILE} == "yes"
78CFLAGS+= -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
79.endif
80.if ${MK_BIND_SIGCHASE} == "yes"
81CFLAGS+= -DDIG_SIGCHASE

--- 52 unchanged lines hidden ---