aboutsummaryrefslogtreecommitdiff
path: root/kerberos5
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2003-04-05 20:30:30 +0000
committerWarner Losh <imp@FreeBSD.org>2003-04-05 20:30:30 +0000
commit30aaff1192acd09c20cd6e8c70c9e8d023d4c818 (patch)
treeb6fc0351de0d24cf42e51ee60290331a14961c9c /kerberos5
parentca6a2c5aef9d2fdfb6f19fc7d050288f91c7afa2 (diff)
downloadsrc-30aaff1192acd09c20cd6e8c70c9e8d023d4c818.tar.gz
src-30aaff1192acd09c20cd6e8c70c9e8d023d4c818.zip
Migrate to a new way of dealing with building from old revisions of
FreeBSD. This method attempts to centralize all the necessary hacks or work arounds in one of two places in the tree (src/Makefile.inc1 and src/tools/build). We build a small compatibility library (libbuild.a) as well as selectively installing necessary include files. We then include this directory when building host binaries. This removes all the past release compatibilty hacks from various places in the tree. We still build on tip of stable and current. I will work with those that want to support more, although I anticipate it will just work. Many thanks to ru@, obrien@ and jhb@ for providing valuable input at various stage of implementation, as well as for working together to positively effect a change for the better.
Notes
Notes: svn path=/head/; revision=113136
Diffstat (limited to 'kerberos5')
-rw-r--r--kerberos5/lib/libasn1/Makefile8
-rw-r--r--kerberos5/lib/libhdb/Makefile8
2 files changed, 2 insertions, 14 deletions
diff --git a/kerberos5/lib/libasn1/Makefile b/kerberos5/lib/libasn1/Makefile
index 3f270e6dcdb3..eafe58d41058 100644
--- a/kerberos5/lib/libasn1/Makefile
+++ b/kerberos5/lib/libasn1/Makefile
@@ -104,13 +104,7 @@ asn1_compile: \
print_version.o \
get_window_size.c \
strupr.c
- ${CC} ${CFLAGS} ${.OODATE} -o ${.TARGET}
-
-.if defined(BOOTSTRAPPING) && \
- ( ${BOOTSTRAPPING} < 440001 || \
- ( ${BOOTSTRAPPING} >= 500000 && ${BOOTSTRAPPING} < 500023 ))
-asn1_compile: getprogname.c setprogname.c
-.endif
+ ${CC} ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${.OODATE} ${LDADD}
parse.o: parse.c roken.h
diff --git a/kerberos5/lib/libhdb/Makefile b/kerberos5/lib/libhdb/Makefile
index 0970b1360265..d1888a6fe3ae 100644
--- a/kerberos5/lib/libhdb/Makefile
+++ b/kerberos5/lib/libhdb/Makefile
@@ -59,13 +59,7 @@ asn1_compile: parse.o lex.o main.c hash.c symbol.c emalloc.c gen.c \
gen_encode.c gen_decode.c gen_free.c gen_length.c \
gen_copy.c gen_glue.c getarg.c warnerr.c print_version.o \
get_window_size.c strupr.c
- ${CC} ${CFLAGS} ${.OODATE} -o ${.TARGET}
-
-.if defined(BOOTSTRAPPING) && \
- ( ${BOOTSTRAPPING} < 440001 || \
- ( ${BOOTSTRAPPING} >= 500000 && ${BOOTSTRAPPING} < 500023 ))
-asn1_compile: getprogname.c setprogname.c
-.endif
+ ${CC} ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${.OODATE} ${LDADD}
parse.o: parse.c