diff options
author | Ruslan Ermilov <ru@FreeBSD.org> | 2004-01-31 08:15:57 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@FreeBSD.org> | 2004-01-31 08:15:57 +0000 |
commit | 11bf3600e871d5cf6246515a7fb384511ca31a57 (patch) | |
tree | 417a8210fba66662bdf1df5485b676fbe1a26449 /kerberos5/usr.bin/kdestroy | |
parent | 8e587162d35fadde07d997720a580eb35a181594 (diff) | |
download | src-11bf3600e871d5cf6246515a7fb384511ca31a57.tar.gz src-11bf3600e871d5cf6246515a7fb384511ca31a57.zip |
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
Notes
Notes:
svn path=/head/; revision=125261
Diffstat (limited to 'kerberos5/usr.bin/kdestroy')
-rw-r--r-- | kerberos5/usr.bin/kdestroy/Makefile | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/kerberos5/usr.bin/kdestroy/Makefile b/kerberos5/usr.bin/kdestroy/Makefile index 1ba10cf58796..06006e45d31f 100644 --- a/kerberos5/usr.bin/kdestroy/Makefile +++ b/kerberos5/usr.bin/kdestroy/Makefile @@ -2,25 +2,12 @@ PROG= kdestroy -SRCS= \ - kdestroy.c \ - ${.OBJDIR}/krb5_err.h \ - ${.OBJDIR}/heim_err.h \ - ${.OBJDIR}/k524_err.h +CFLAGS+=-I${KRB5DIR}/lib/roken -CFLAGS+=-I${KRB5DIR}/include \ - -I${KRB5DIR}/lib/roken \ - -I${KRB5DIR}/lib/kafs \ - -I${KRB5DIR}/lib/krb5 \ - -I${KRB5DIR}/lib/asn1 \ - -I${KRB5DIR}/kuser \ - -I${ASN1OBJDIR} \ - -I${.OBJDIR} - -LDADD= -lkrb5 -lroken -lkafs5 ${LIBVERS} \ +LDADD= -lkafs5 -lkrb5 -lroken ${LIBVERS} \ -lasn1 -lcrypto -lcrypt -lcom_err -DPADD= ${LIBKRB5} ${LIBROKEN} ${LIBKAFS5} ${LIBVERS} \ +DPADD= ${LIBKAFS5} ${LIBKRB5} ${LIBROKEN} ${LIBVERS} \ ${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} ${LIBCOM_ERR} .include <bsd.prog.mk> |