summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2000-01-24 20:06:02 +0000
committermarkm <markm@FreeBSD.org>2000-01-24 20:06:02 +0000
commit5abeae5a3850f9d7dde789983272a264be0acfe0 (patch)
tree64f0130f25f20f7c9f3e2101def1621556bc2a97
parentf4836cbd8555d6a6bcc6cb9e3a7264817013ba78 (diff)
downloadFreeBSD-src-5abeae5a3850f9d7dde789983272a264be0acfe0.zip
FreeBSD-src-5abeae5a3850f9d7dde789983272a264be0acfe0.tar.gz
Move CFLAGS to a more obvious place and allow INET6 to work.
-rw-r--r--kerberos5/Makefile.inc20
1 files changed, 10 insertions, 10 deletions
diff --git a/kerberos5/Makefile.inc b/kerberos5/Makefile.inc
index 16cc7a8..37d5de4 100644
--- a/kerberos5/Makefile.inc
+++ b/kerberos5/Makefile.inc
@@ -11,6 +11,16 @@ KRB4DIR= ${.CURDIR}/../../../crypto/kerberosIV
KRB5DIR= ${.CURDIR}/../../../crypto/heimdal
ROKENDIR= ${.CURDIR}/../../lib/libroken
+CFLAGS+=-Wall -I${INCLUDEDIR} -I${INCLUDEOBJDIR} -DHAVE_CONFIG_H
+
+.if defined(KRB5_KRB4_COMPAT)
+CFLAGS+=-DKRB5_KRB4_COMPAT
+.endif
+
+.if defined(USE_INET6)
+CFLAGS+=-DINET6
+.endif
+
.if exists(${.OBJDIR}/../../include)
INCLUDEOBJDIR= ${.OBJDIR}/../../include
.else
@@ -83,16 +93,6 @@ SLOBJDIR= ${.OBJDIR}/../../lib/libsl
SLOBJDIR= ${.CURDIR}/../../lib/libsl
.endif
-CFLAGS+=-Wall -I${INCLUDEDIR} -I${INCLUDEOBJDIR} -DHAVE_CONFIG_H
-
-.if defined(KRB5_KRB4_COMPAT)
-CFLAGS+=-DKRB5_KRB4_COMPAT
-.endif
-
-.if defined(INET6)
-CFLAGS+=-DINET6
-.endif
-
COMPILE_ET= compile_et
.ORDER: asn1_err.c asn1_err.h
OpenPOWER on IntegriCloud