summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2012-05-30 22:21:25 +0000
committerobrien <obrien@FreeBSD.org>2012-05-30 22:21:25 +0000
commit928a481c653a909ac1f7811c68a12a3f7360a679 (patch)
treedf0f27f031cb10f54a5cc334b0cb952fdfae0a0c
parentdab3b2897b692fad80da5d2e280cde909b1ab39a (diff)
downloadFreeBSD-src-928a481c653a909ac1f7811c68a12a3f7360a679.zip
FreeBSD-src-928a481c653a909ac1f7811c68a12a3f7360a679.tar.gz
* Remove headers from SRCS that are not generated
(and are in /usr/src/crypto/heimdal/). * Avoid race conditions with 'make -j<N>'.
-rw-r--r--kerberos5/lib/libgssapi_krb5/Makefile2
-rw-r--r--kerberos5/lib/libgssapi_ntlm/Makefile2
-rw-r--r--kerberos5/lib/libgssapi_spnego/Makefile3
-rw-r--r--kerberos5/lib/libhdb/Makefile2
-rw-r--r--kerberos5/lib/libheimbase/Makefile3
-rw-r--r--kerberos5/lib/libheimipcc/Makefile3
-rw-r--r--kerberos5/lib/libheimipcs/Makefile3
-rw-r--r--kerberos5/lib/libhx509/Makefile7
-rw-r--r--kerberos5/lib/libkadm5clnt/Makefile5
-rw-r--r--kerberos5/lib/libkadm5srv/Makefile4
-rw-r--r--kerberos5/lib/libkafs5/Makefile6
-rw-r--r--kerberos5/lib/libkdc/Makefile7
-rw-r--r--kerberos5/lib/libkrb5/Makefile3
-rw-r--r--kerberos5/lib/libvers/Makefile2
-rw-r--r--kerberos5/libexec/hprop/Makefile2
-rw-r--r--kerberos5/libexec/kadmind/Makefile1
-rw-r--r--kerberos5/libexec/kcm/Makefile3
-rw-r--r--kerberos5/libexec/kdigest/Makefile6
-rw-r--r--kerberos5/libexec/kfd/Makefile1
-rw-r--r--kerberos5/tools/asn1_compile/Makefile10
-rw-r--r--kerberos5/usr.bin/hxtool/Makefile6
-rw-r--r--kerberos5/usr.bin/kadmin/Makefile6
-rw-r--r--kerberos5/usr.bin/kcc/Makefile6
-rw-r--r--kerberos5/usr.bin/kf/Makefile1
-rw-r--r--kerberos5/usr.bin/string2key/Makefile1
-rw-r--r--kerberos5/usr.sbin/iprop-log/Makefile6
-rw-r--r--kerberos5/usr.sbin/ktutil/Makefile7
27 files changed, 41 insertions, 67 deletions
diff --git a/kerberos5/lib/libgssapi_krb5/Makefile b/kerberos5/lib/libgssapi_krb5/Makefile
index 95a8f20..a883c7d 100644
--- a/kerberos5/lib/libgssapi_krb5/Makefile
+++ b/kerberos5/lib/libgssapi_krb5/Makefile
@@ -38,8 +38,6 @@ SRCS= 8003.c \
get_mic.c \
gkrb5_err.c \
gkrb5_err.h \
- gsskrb5-private.h \
- gsskrb5_locl.h \
import_name.c \
import_sec_context.c \
indicate_mechs.c \
diff --git a/kerberos5/lib/libgssapi_ntlm/Makefile b/kerberos5/lib/libgssapi_ntlm/Makefile
index 7485cfa..cfe0716 100644
--- a/kerberos5/lib/libgssapi_ntlm/Makefile
+++ b/kerberos5/lib/libgssapi_ntlm/Makefile
@@ -21,8 +21,6 @@ SRCS= accept_sec_context.c \
export_name.c \
export_sec_context.c \
external.c \
- ntlm.h \
- ntlm-private.h \
import_name.c \
import_sec_context.c \
indicate_mechs.c \
diff --git a/kerberos5/lib/libgssapi_spnego/Makefile b/kerberos5/lib/libgssapi_spnego/Makefile
index ddaac08..77e5258 100644
--- a/kerberos5/lib/libgssapi_spnego/Makefile
+++ b/kerberos5/lib/libgssapi_spnego/Makefile
@@ -13,9 +13,6 @@ SRCS= accept_sec_context.c \
external.c \
init_sec_context.c \
freebsd_compat.c \
- spnego-private.h \
- spnego_locl.h \
- spnego_asn1.h \
${GEN:S/.x$/.c/:S/.hx$/.h/} \
gss_oid.c
diff --git a/kerberos5/lib/libhdb/Makefile b/kerberos5/lib/libhdb/Makefile
index 1ee7f88..ce8189e 100644
--- a/kerberos5/lib/libhdb/Makefile
+++ b/kerberos5/lib/libhdb/Makefile
@@ -48,8 +48,6 @@ SRCS= common.c \
hdb-sqlite.c \
hdb-keytab.c \
hdb-mitdb.c \
- hdb_locl.h \
- hdb-private.h \
keys.c \
keytab.c \
mkey.c \
diff --git a/kerberos5/lib/libheimbase/Makefile b/kerberos5/lib/libheimbase/Makefile
index d3aa0ee..b6a61d0 100644
--- a/kerberos5/lib/libheimbase/Makefile
+++ b/kerberos5/lib/libheimbase/Makefile
@@ -9,12 +9,9 @@ INCS= heimbase.h
SRCS= \
array.c \
- baselocl.h \
bool.c \
dict.c \
heimbase.c \
- heimbasepriv.h \
- heimqueue.h \
null.c \
number.c \
string.c
diff --git a/kerberos5/lib/libheimipcc/Makefile b/kerberos5/lib/libheimipcc/Makefile
index c1ad602..adb8f57 100644
--- a/kerberos5/lib/libheimipcc/Makefile
+++ b/kerberos5/lib/libheimipcc/Makefile
@@ -5,8 +5,7 @@ INTERNALLIB=
LDADD= -lheimbase -lroken -lpthread
DPADD= ${LIBHEIMBASE} ${LIBROKEN} ${LIBPTHREAD}
-SRCS= hi_locl.h \
- heim_ipc_types.h \
+SRCS= \
client.c \
common.c
diff --git a/kerberos5/lib/libheimipcs/Makefile b/kerberos5/lib/libheimipcs/Makefile
index 333480d..55add1a 100644
--- a/kerberos5/lib/libheimipcs/Makefile
+++ b/kerberos5/lib/libheimipcs/Makefile
@@ -6,8 +6,7 @@ LDADD= -lheimbase -lroken
LDFLAGS= -pthread
DPADD= ${LIBHEIMBASE} ${LIBROKEN}
-SRCS= hi_locl.h \
- heim_ipc_types.h \
+SRCS= \
server.c \
common.c
diff --git a/kerberos5/lib/libhx509/Makefile b/kerberos5/lib/libhx509/Makefile
index 57c9c18..3fa707e 100644
--- a/kerberos5/lib/libhx509/Makefile
+++ b/kerberos5/lib/libhx509/Makefile
@@ -176,7 +176,6 @@ INCS= hx509-private.h \
SRCS= ca.c \
cert.c \
- char_map.h \
cms.c \
collector.c \
crypto.c \
@@ -184,12 +183,7 @@ SRCS= ca.c \
error.c \
env.c \
file.c \
- hx509-private.h \
- hx509-protos.h \
- hx509.h \
- hx_locl.h \
sel.c \
- sel.h \
sel-gram.y \
sel-lex.l \
keyset.c \
@@ -205,7 +199,6 @@ SRCS= ca.c \
peer.c \
print.c \
softp11.c \
- ref/pkcs11.h \
req.c \
revoke.c
diff --git a/kerberos5/lib/libkadm5clnt/Makefile b/kerberos5/lib/libkadm5clnt/Makefile
index 31030be..c413b5d 100644
--- a/kerberos5/lib/libkadm5clnt/Makefile
+++ b/kerberos5/lib/libkadm5clnt/Makefile
@@ -26,17 +26,14 @@ SRCS= ad.c \
get_c.c \
get_princs_c.c \
init_c.c \
- kadm5_locl.h \
kadm5_err.c \
kadm5_err.h \
marshall.c \
modify_c.c \
- private.h \
privs_c.c \
randkey_c.c \
rename_c.c \
- send_recv.c \
- admin.h
+ send_recv.c
CFLAGS+=-I${KRB5DIR}/lib/kadm5 -I${KRB5DIR}/lib/asn1 -I${KRB5DIR}/lib/roken -I.
diff --git a/kerberos5/lib/libkadm5srv/Makefile b/kerberos5/lib/libkadm5srv/Makefile
index 1632280..5c3a191 100644
--- a/kerberos5/lib/libkadm5srv/Makefile
+++ b/kerberos5/lib/libkadm5srv/Makefile
@@ -8,8 +8,6 @@ VERSION_MAP= ${KRB5DIR}/lib/kadm5/version-script.map
MAN= kadm5_pwcheck.3
SRCS= acl.c \
- admin.h \
- admin.h \
bump_pw_expire.c \
chpass_s.c \
common_glue.c \
@@ -26,13 +24,11 @@ SRCS= acl.c \
init_s.c \
kadm5_err.c \
kadm5_err.h \
- kadm5_locl.h \
keys.c \
log.c \
marshall.c \
modify_s.c \
password_quality.c \
- private.h \
privs_s.c \
randkey_s.c \
rename_s.c \
diff --git a/kerberos5/lib/libkafs5/Makefile b/kerberos5/lib/libkafs5/Makefile
index d1faae7..3d3326b 100644
--- a/kerberos5/lib/libkafs5/Makefile
+++ b/kerberos5/lib/libkafs5/Makefile
@@ -26,10 +26,8 @@ MLINKS= kafs5.3 k_afs_cell_of_file.3 \
SRCS= afssys.c afskrb5.c common.c krb5_err.h
SRCS= afssys.c \
afskrb5.c \
- common.c \
- kafs_locl.h \
- afssysdefs.h \
- roken_rename.h
+ common.c
+
CFLAGS+= -I${KRB5DIR}/lib/kafs \
-I${KRB5DIR}/lib/krb5 \
-I${.OBJDIR}/../libkrb5/ \
diff --git a/kerberos5/lib/libkdc/Makefile b/kerberos5/lib/libkdc/Makefile
index 385f160..fa9792d 100644
--- a/kerberos5/lib/libkdc/Makefile
+++ b/kerberos5/lib/libkdc/Makefile
@@ -14,12 +14,10 @@ KRB5INCS= windc_plugin.h
KRB5INCSDIR= ${INCLUDEDIR}/krb5
INCSGROUPS= INCS KRB5INCS
-SRCS= kdc-private.h \
- kdc-protos.h \
+SRCS= \
default_config.c \
set_dbinfo.c \
digest.c \
- kdc_locl.h\
kerberos5.c \
krb5tgs.c \
pkinit.c \
@@ -27,8 +25,7 @@ SRCS= kdc-private.h \
misc.c \
kx509.c \
process.c \
- windc.c \
- rx.h
+ windc.c
CFLAGS+= -I${KRB5DIR}/lib/roken \
-I${KRB5DIR}/lib/krb5 \
diff --git a/kerberos5/lib/libkrb5/Makefile b/kerberos5/lib/libkrb5/Makefile
index f53e4d0..fbd9930 100644
--- a/kerberos5/lib/libkrb5/Makefile
+++ b/kerberos5/lib/libkrb5/Makefile
@@ -531,7 +531,6 @@ SRCS= acache.c \
crypto-pk.c \
crypto-rand.c \
crypto.c \
- crypto.h \
data.c \
deprecated.c \
digest.c \
@@ -562,8 +561,6 @@ SRCS= acache.c \
keytab_file.c \
keytab_keyfile.c \
keytab_memory.c \
- krb5-v4compat.h \
- krb5_locl.h \
krbhst.c \
kuserok.c \
log.c \
diff --git a/kerberos5/lib/libvers/Makefile b/kerberos5/lib/libvers/Makefile
index 36dff0d..a08ddb4 100644
--- a/kerberos5/lib/libvers/Makefile
+++ b/kerberos5/lib/libvers/Makefile
@@ -5,7 +5,7 @@ INTERNALLIB=
SRCS= print_version.c roken.h
CFLAGS+=-I. -I${KRB5DIR}/lib/roken
-CLEANFILES= roken.h print_version.h
+CLEANFILES= roken.h
MAKE_ROKEN= make-roken
diff --git a/kerberos5/libexec/hprop/Makefile b/kerberos5/libexec/hprop/Makefile
index 421d5a2..ac1dffa 100644
--- a/kerberos5/libexec/hprop/Makefile
+++ b/kerberos5/libexec/hprop/Makefile
@@ -2,7 +2,7 @@
PROG= hprop
MAN= hprop.8
-SRCS= hprop.c mit_dump.c hprop.h
+SRCS= hprop.c mit_dump.c
CFLAGS+=-I${KRB5DIR}/lib/roken
CFLAGS+=-I${KRB5DIR}/lib/krb5
CFLAGS+=-I${KRB5DIR}/lib/asn1
diff --git a/kerberos5/libexec/kadmind/Makefile b/kerberos5/libexec/kadmind/Makefile
index 418fbdd..f88ac2f 100644
--- a/kerberos5/libexec/kadmind/Makefile
+++ b/kerberos5/libexec/kadmind/Makefile
@@ -5,7 +5,6 @@ MAN= kadmind.8
SRCS= rpc.c \
server.c \
kadmind.c \
- kadmin_locl.h \
kadm_conn.c
CFLAGS+=-I${KRB5DIR}/lib/krb5 -I${KRB5DIR}/lib/asn1 -I${KRB5DIR}/lib/roken \
diff --git a/kerberos5/libexec/kcm/Makefile b/kerberos5/libexec/kcm/Makefile
index 233cf8a..2643b83 100644
--- a/kerberos5/libexec/kcm/Makefile
+++ b/kerberos5/libexec/kcm/Makefile
@@ -11,9 +11,6 @@ SRCS= acl.c \
connect.c \
events.c \
glue.c \
- headers.h \
- kcm_locl.h \
- kcm-protos.h \
log.c \
main.c \
protocol.c \
diff --git a/kerberos5/libexec/kdigest/Makefile b/kerberos5/libexec/kdigest/Makefile
index 208b021..b4d7d55 100644
--- a/kerberos5/libexec/kdigest/Makefile
+++ b/kerberos5/libexec/kdigest/Makefile
@@ -13,9 +13,13 @@ SRCS= kdigest.c \
kdigest-commands.c \
kdigest-commands.h
-kdigest-commands.c kdigest-commands.h: kdigest-commands.in
+kdigest-commands.h: kdigest-commands.in
slc ${.ALLSRC:M*.in}
+.for ext in c o
+kdigest-commands.${ext}: kdigest-commands.h
+.endfor
+
.include <bsd.prog.mk>
.PATH: ${KRB5DIR}/kuser
diff --git a/kerberos5/libexec/kfd/Makefile b/kerberos5/libexec/kfd/Makefile
index da9c709..f5081f1 100644
--- a/kerberos5/libexec/kfd/Makefile
+++ b/kerberos5/libexec/kfd/Makefile
@@ -2,7 +2,6 @@
PROG= kfd
MAN= kfd.8
-SRCS= kfd.c kf_locl.h
CFLAGS+= -I${KRB5DIR}/lib/asn1 \
-I${KRB5DIR}/lib/roken
DPADD= ${LIBKRB5} ${LIBROKEN} ${LIBASN1} ${LIBCRYPTO} \
diff --git a/kerberos5/tools/asn1_compile/Makefile b/kerberos5/tools/asn1_compile/Makefile
index fa325c1..94174c4 100644
--- a/kerberos5/tools/asn1_compile/Makefile
+++ b/kerberos5/tools/asn1_compile/Makefile
@@ -6,9 +6,8 @@ LIBROKEN_A= ${.OBJDIR}/../../lib/libroken/libroken.a
LDADD= ${LIBROKEN_A} ${LIBVERS}
DPADD= ${LIBROKEN_A} ${LIBVERS}
-SRCS= asn1_queue.h \
+SRCS= \
asn1parse.y \
- der.h \
gen.c \
gen_copy.c \
gen_decode.c \
@@ -16,18 +15,13 @@ SRCS= asn1_queue.h \
gen_free.c \
gen_glue.c \
gen_length.c \
- gen_locl.h \
gen_seq.c \
gen_template.c \
hash.c \
- hash.h \
lex.l \
- lex.h \
main.c \
- asn1-template.h \
roken.h \
- symbol.c \
- symbol.h
+ symbol.c
CFLAGS+=-I${KRB5DIR}/lib/roken -I${KRB5DIR}/lib/asn1 -I.
diff --git a/kerberos5/usr.bin/hxtool/Makefile b/kerberos5/usr.bin/hxtool/Makefile
index c40f009..92268c0 100644
--- a/kerberos5/usr.bin/hxtool/Makefile
+++ b/kerberos5/usr.bin/hxtool/Makefile
@@ -10,9 +10,13 @@ DPADD= ${LIBHX509} ${LIBROKEN} ${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} ${LIBSL} ${LI
LDADD= -lhx509 -lroken -lasn1 -lcrypto -lcrypt ${LIBSL} ${LIBVERS} -ledit
SRCS= hxtool.c hxtool-commands.c hxtool-commands.h
-hxtool-commands.c hxtool-commands.h: hxtool-commands.in
+hxtool-commands.h: hxtool-commands.in
slc ${.ALLSRC:M*.in}
+.for ext in c o
+hxtool-commands.${ext}: hxtool-commands.h
+.endfor
+
.include <bsd.prog.mk>
.PATH: ${KRB5DIR}/lib/hx509
diff --git a/kerberos5/usr.bin/kadmin/Makefile b/kerberos5/usr.bin/kadmin/Makefile
index d0f8ed1..637ce7f 100644
--- a/kerberos5/usr.bin/kadmin/Makefile
+++ b/kerberos5/usr.bin/kadmin/Makefile
@@ -38,8 +38,12 @@ LDFLAGS=${LDAPLDFLAGS}
.include <bsd.prog.mk>
-kadmin-commands.c kadmin-commands.h: ${KRB5DIR}/kadmin/kadmin-commands.in
+kadmin-commands.h: ${KRB5DIR}/kadmin/kadmin-commands.in
slc ${.ALLSRC:M*.in}
+.for ext in o c
+kadmin-commands.${ext}: kadmin-commands.h
+.endfor
+
.PATH: ${KRB5DIR}/kadmin
diff --git a/kerberos5/usr.bin/kcc/Makefile b/kerberos5/usr.bin/kcc/Makefile
index d690b32..f1d053c 100644
--- a/kerberos5/usr.bin/kcc/Makefile
+++ b/kerberos5/usr.bin/kcc/Makefile
@@ -19,9 +19,13 @@ SRCS= kcc.c \
kswitch.c \
copy_cred_cache.c
-kcc-commands.c kcc-commands.h: kcc-commands.in
+kcc-commands.h: kcc-commands.in
slc ${.ALLSRC:M*.in}
+.for ext in c o
+kcc-commands.${ext}: kcc-commands.h
+.endfor
+
.include <bsd.prog.mk>
.PATH: ${KRB5DIR}/kuser
diff --git a/kerberos5/usr.bin/kf/Makefile b/kerberos5/usr.bin/kf/Makefile
index 0a1ccec..c9d3fce 100644
--- a/kerberos5/usr.bin/kf/Makefile
+++ b/kerberos5/usr.bin/kf/Makefile
@@ -2,7 +2,6 @@
PROG= kf
MAN= kf.1
-SRCS= kf.c kf_locl.h
CFLAGS+= -I${KRB5DIR}/lib/asn1 \
-I${KRB5DIR}/lib/roken
DPADD= ${LIBKRB5} ${LIBROKEN} ${LIBASN1} ${LIBCRYPTO} \
diff --git a/kerberos5/usr.bin/string2key/Makefile b/kerberos5/usr.bin/string2key/Makefile
index 25204fd..fc790e2 100644
--- a/kerberos5/usr.bin/string2key/Makefile
+++ b/kerberos5/usr.bin/string2key/Makefile
@@ -10,7 +10,6 @@ CFLAGS+= -I${KRB5DIR}/kdc \
DPADD= ${LIBHDB} ${LIBKRB5} ${LIBROKEN} ${LIBASN1} ${LIBCRYPTO} \
${LIBCRYPT} ${LIBVERS}
LDADD= -lhdb -lkrb5 -lroken -lasn1 -lcrypto -lcrypt ${LIBVERS}
-SRCS= string2key.c headers.h
.include <bsd.prog.mk>
diff --git a/kerberos5/usr.sbin/iprop-log/Makefile b/kerberos5/usr.sbin/iprop-log/Makefile
index dbe269a..2ff4b8b 100644
--- a/kerberos5/usr.sbin/iprop-log/Makefile
+++ b/kerberos5/usr.sbin/iprop-log/Makefile
@@ -13,9 +13,13 @@ DPADD= ${LIBKADM5SRV} ${LIBHDB} ${LIBKRB5} ${LIBASN1} ${LIBCRYPTO} \
LDADD= -lkadm5srv -lhdb -lkrb5 -lasn1 -lcrypto -lcrypt ${LIBSL} -lroken \
${LIBVERS} -ledit
-iprop-commands.c iprop-commands.h: iprop-commands.in
+iprop-commands.h: iprop-commands.in
slc ${.ALLSRC:M*.in}
+.for ext in c o
+iprop-commands.${ext}: iprop-commands.h
+.endfor
+
.include <bsd.prog.mk>
.PATH: ${KRB5DIR}/lib/kadm5
diff --git a/kerberos5/usr.sbin/ktutil/Makefile b/kerberos5/usr.sbin/ktutil/Makefile
index 900d921..0b258a3 100644
--- a/kerberos5/usr.sbin/ktutil/Makefile
+++ b/kerberos5/usr.sbin/ktutil/Makefile
@@ -9,7 +9,6 @@ SRCS= add.c \
destroy.c \
get.c \
ktutil.c \
- ktutil_locl.h \
ktutil-commands.c \
ktutil-commands.h \
list.c \
@@ -25,7 +24,11 @@ LDADD= -lkadm5clnt -lkrb5 ${LIBSL} -lroken ${LIBVERS} \
.include <bsd.prog.mk>
-ktutil-commands.c ktutil-commands.h: ${KRB5DIR}/admin/ktutil-commands.in
+ktutil-commands.h: ${KRB5DIR}/admin/ktutil-commands.in
slc ${.ALLSRC:M*.in}
+.for ext in c o
+ktutil-commands.${ext}: ktutil-commands.h
+.endfor
+
.PATH: ${KRB5DIR}/admin
OpenPOWER on IntegriCloud