diff options
author | ru <ru@FreeBSD.org> | 2004-01-31 08:15:57 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2004-01-31 08:15:57 +0000 |
commit | ad18fb995c808a63951fe7b1d7f0789e3260e409 (patch) | |
tree | 417a8210fba66662bdf1df5485b676fbe1a26449 /kerberos5/Makefile | |
parent | 56844e70af38fc60cc6e46aedb529f107dfacee5 (diff) | |
download | FreeBSD-src-ad18fb995c808a63951fe7b1d7f0789e3260e409.zip FreeBSD-src-ad18fb995c808a63951fe7b1d7f0789e3260e409.tar.gz |
Overhaul of kerberos5/ makefiles. Most significant changes are:
- Dropped support for standalone builds, this was only partially
supported anyway, and required so much magic in makefiles that
made life dangerous (e.g., by using the custom yacc rules).
- Got rid of .OBJDIR in makefiles -- makes building of individual
files possible again.
- Made the .x.c transformations -j safe.
- Reprogrammed LDADD to fix static build of some utilities that
was broken.
- Fixed LDFLAGS and DPADD in the WITH_OPENLDAP case -- positively
affects the contents of .depend files.
- Removed redundant .h's from SRCS, only kept those that are
generated.
- libkrb5/ INCS were bogusly installed again with libgssapi/.
- Made build-tools real tools with their own makefiles in
separate directories. This allows us to properly track
their dependencies, etc.
- Faster build, 21% less of makefile code!
Approved by: nectar
Reviewed by: markm
Silence on: arch
Diffstat (limited to 'kerberos5/Makefile')
-rw-r--r-- | kerberos5/Makefile | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kerberos5/Makefile b/kerberos5/Makefile index 2bdbd25..b434526 100644 --- a/kerberos5/Makefile +++ b/kerberos5/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -SUBDIR= doc lib libexec usr.bin usr.sbin +SUBDIR= doc tools lib libexec usr.bin usr.sbin # These are the programs which depend on Kerberos. KPROGS= lib/libpam \ @@ -10,22 +10,22 @@ KPROGS= lib/libpam \ kerberize: .for entry in ${KPROGS} cd ${.CURDIR}/../${entry}; \ - ${MAKE} ${MFLAGS} cleandir; \ - ${MAKE} ${MFLAGS} obj; \ - ${MAKE} ${MFLAGS} depend; \ - ${MAKE} ${MFLAGS} all; \ - ${MAKE} ${MFLAGS} install + ${MAKE} cleandir; \ + ${MAKE} obj; \ + ${MAKE} depend; \ + ${MAKE} all; \ + ${MAKE} install .endfor # This target is used to rebuild these programs WITHOUT Kerberos. dekerberize: .for entry in ${KPROGS} cd ${.CURDIR}/../${entry}; \ - ${MAKE} ${MFLAGS} -DNO_KERBEROS cleandir; \ - ${MAKE} ${MFLAGS} -DNO_KERBEROS obj; \ - ${MAKE} ${MFLAGS} -DNO_KERBEROS depend; \ - ${MAKE} ${MFLAGS} -DNO_KERBEROS all; \ - ${MAKE} ${MFLAGS} -DNO_KERBEROS install + ${MAKE} -DNO_KERBEROS cleandir; \ + ${MAKE} -DNO_KERBEROS obj; \ + ${MAKE} -DNO_KERBEROS depend; \ + ${MAKE} -DNO_KERBEROS all; \ + ${MAKE} -DNO_KERBEROS install .endfor .include <bsd.subdir.mk> |