Put libraries in the link order.
Reported by: lorder(1) (modified to work with libraries)
This commit is contained in:
parent
c96d02bc13
commit
43f7f3f626
@ -11,10 +11,10 @@ CFLAGS+=-I${KRB5DIR}/lib/roken \
|
||||
-I${KRB5DIR}/lib/krb5 \
|
||||
-I${KRB5DIR}/lib/asn1
|
||||
|
||||
LDADD= -lkrb5 -lhdb -lroken ${LIBVERS} \
|
||||
LDADD= -lhdb -lkrb5 -lroken ${LIBVERS} \
|
||||
-lasn1 -lcrypto -lcrypt -lcom_err ${LDAPLDADD}
|
||||
|
||||
DPADD= ${LIBKRB5} ${LIBHDB} ${LIBROKEN} ${LIBVERS} \
|
||||
DPADD= ${LIBHDB} ${LIBKRB5} ${LIBROKEN} ${LIBVERS} \
|
||||
${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} ${LIBCOM_ERR} ${LDAPDPADD}
|
||||
|
||||
MAN= hprop.8
|
||||
|
@ -7,10 +7,10 @@ CFLAGS+=-I${KRB5DIR}/lib/roken \
|
||||
-I${KRB5DIR}/lib/asn1 \
|
||||
${LDAPCFLAGS}
|
||||
|
||||
LDADD= -lkrb5 -lhdb -lroken ${LIBVERS} \
|
||||
LDADD= -lhdb -lkrb5 -lroken ${LIBVERS} \
|
||||
-lasn1 -lcrypto -lcrypt -lcom_err ${LDAPLDADD}
|
||||
|
||||
DPADD= ${LIBKRB5} ${LIBHDB} ${LIBROKEN} ${LIBVERS} \
|
||||
DPADD= ${LIBHDB} ${LIBKRB5} ${LIBROKEN} ${LIBVERS} \
|
||||
${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} ${LIBCOM_ERR} ${LDAPDPADD}
|
||||
|
||||
LDFLAGS= ${LDAPLDFLAGS}
|
||||
|
@ -12,12 +12,12 @@ CFLAGS+=-I${KRB5DIR}/lib/roken \
|
||||
-I. \
|
||||
${LDAPCFLAGS}
|
||||
|
||||
LDADD= -lkadm5srv -lkrb5 -lhdb -lroken ${LIBVERS} \
|
||||
LDADD= -lkadm5srv -lhdb -lkrb5 -lroken ${LIBVERS} \
|
||||
-lasn1 -lcrypto -lcrypt -lcom_err ${LDAPLDADD}
|
||||
|
||||
LDFLAGS=${LDAPLDFLAGS}
|
||||
|
||||
DPADD= ${LIBKADM5SRV} ${LIBKRB5} ${LIBHDB} ${LIBROKEN} ${LIBVERS} \
|
||||
DPADD= ${LIBKADM5SRV} ${LIBHDB} ${LIBKRB5} ${LIBROKEN} ${LIBVERS} \
|
||||
${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} ${LIBCOM_ERR} ${LDAPDPADD}
|
||||
|
||||
NOMAN= yes
|
||||
|
@ -12,12 +12,12 @@ CFLAGS+=-I${KRB5DIR}/lib/roken \
|
||||
-I. \
|
||||
${LDAPCFLAGS}
|
||||
|
||||
LDADD= -lkadm5srv -lkrb5 -lhdb -lroken ${LIBVERS} \
|
||||
LDADD= -lkadm5srv -lhdb -lkrb5 -lroken ${LIBVERS} \
|
||||
-lasn1 -lcrypto -lcrypt -lcom_err ${LDAPLDADD}
|
||||
|
||||
LDFLAGS=${LDAPLDFLAGS}
|
||||
|
||||
DPADD= ${LIBKADM5SRV} ${LIBKRB5} ${LIBHDB} ${LIBROKEN} ${LIBVERS} \
|
||||
DPADD= ${LIBKADM5SRV} ${LIBHDB} ${LIBKRB5} ${LIBROKEN} ${LIBVERS} \
|
||||
${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} ${LIBCOM_ERR} ${LDAPDPADD}
|
||||
|
||||
NOMAN= yes
|
||||
|
@ -11,12 +11,12 @@ CFLAGS+=-I${KRB5DIR}/lib/roken \
|
||||
-I${KRB5DIR}/lib/asn1 \
|
||||
${LDAPCFLAGS}
|
||||
|
||||
LDADD= -lkrb5 -lroken ${LIBVERS} -lkadm5srv -lhdb \
|
||||
LDADD= -lkadm5srv -lhdb -lkrb5 -lroken ${LIBVERS} \
|
||||
-lasn1 -lcrypto -lcrypt -lcom_err ${LDAPLDADD}
|
||||
|
||||
LDFLAGS=${LDAPLDFLAGS}
|
||||
|
||||
DPADD= ${LIBKRB5} ${LIBROKEN} ${LIBVERS} ${LIBKADM5SRV} ${LIBHDB} \
|
||||
DPADD= ${LIBKADM5SRV} ${LIBHDB} ${LIBKRB5} ${LIBROKEN} ${LIBVERS} \
|
||||
${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} ${LIBCOM_ERR} ${LDAPDPADD}
|
||||
|
||||
MAN= kadmind.8
|
||||
|
@ -17,12 +17,12 @@ CFLAGS+=-I${KRB5DIR}/lib/roken \
|
||||
-I${KRB5DIR}/lib/asn1 \
|
||||
${LDAPCFLAGS}
|
||||
|
||||
LDADD= -lkrb5 -lhdb -lroken ${LIBVERS} \
|
||||
LDADD= -lhdb -lkrb5 -lroken ${LIBVERS} \
|
||||
-lasn1 -lcrypto -lcrypt -lcom_err ${LDAPLDADD}
|
||||
|
||||
LDFLAGS=${LDAPLDFLAGS}
|
||||
|
||||
DPADD= ${LIBKRB5} ${LIBHDB} ${LIBROKEN} ${LIBVERS} \
|
||||
DPADD= ${LIBHDB} ${LIBKRB5} ${LIBROKEN} ${LIBVERS} \
|
||||
${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} ${LIBCOM_ERR} ${LDAPDPADD}
|
||||
|
||||
MAN= kdc.8
|
||||
|
@ -5,12 +5,12 @@ PROG= kpasswdd
|
||||
CFLAGS+=-I${KRB5DIR}/lib/roken \
|
||||
${LDAPCFLAGS}
|
||||
|
||||
LDADD= -lkrb5 -lroken ${LIBVERS} -lkadm5srv -lhdb \
|
||||
LDADD= -lkadm5srv -lhdb -lkrb5 -lroken ${LIBVERS} \
|
||||
-lasn1 -lcrypto -lcrypt -lcom_err ${LDAPLDADD}
|
||||
|
||||
LDFLAGS=${LDAPLDFLAGS}
|
||||
|
||||
DPADD= ${LIBKRB5} ${LIBROKEN} ${LIBVERS} ${LIBKADM5SRV} ${LIBHDB} \
|
||||
DPADD= ${LIBKADM5SRV} ${LIBHDB} ${LIBKRB5} ${LIBROKEN} ${LIBVERS} \
|
||||
${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} ${LIBCOM_ERR} ${LDAPDPADD}
|
||||
|
||||
MAN= kpasswdd.8
|
||||
|
@ -24,17 +24,17 @@ CFLAGS+=-I${KRB5DIR}/lib/roken \
|
||||
-I${KRB5DIR}/lib/sl \
|
||||
${LDAPCFLAGS}
|
||||
|
||||
LDADD= -lkadm5clnt -lkadm5srv -lkrb5 -lroken \
|
||||
${LIBVERS} -lhdb -lasn1 \
|
||||
LDADD= -lkadm5clnt -lkadm5srv -lhdb -lkrb5 \
|
||||
${LIBSL} -lroken ${LIBVERS} -lasn1 \
|
||||
-lcrypto -lcrypt -lcom_err \
|
||||
${LIBSL} -lreadline -lncurses ${LDAPLDADD}
|
||||
-lreadline -lncurses ${LDAPLDADD}
|
||||
|
||||
LDFLAGS=${LDAPLDFLAGS}
|
||||
|
||||
DPADD= ${LIBKADM5CLNT} ${LIBKADM5SRV} ${LIBKRB5} ${LIBROKEN} \
|
||||
${LIBVERS} ${LIBHDB} ${LIBASN1} \
|
||||
DPADD= ${LIBKADM5CLNT} ${LIBKADM5SRV} ${LIBHDB} ${LIBKRB5} \
|
||||
${LIBSL} ${LIBROKEN} ${LIBVERS} ${LIBASN1} \
|
||||
${LIBCRYPTO} ${LIBCRYPT} ${LIBCOM_ERR} \
|
||||
${LIBSL} ${LIBREADLINE} ${LIBNCURSES} ${LDAPDPADD}
|
||||
${LIBREADLINE} ${LIBNCURSES} ${LDAPDPADD}
|
||||
|
||||
MAN= kadmin.8
|
||||
|
||||
|
@ -16,12 +16,12 @@ SRCS= \
|
||||
CFLAGS+= -I${KRB5DIR}/lib/roken \
|
||||
-I${KRB5DIR}/lib/sl \
|
||||
|
||||
LDADD= -lkadm5clnt -lkrb5 -lroken ${LIBVERS} \
|
||||
${LIBSL} -lasn1 -lcrypto -lcrypt -lcom_err \
|
||||
LDADD= -lkadm5clnt -lkrb5 ${LIBSL} -lroken ${LIBVERS} \
|
||||
-lasn1 -lcrypto -lcrypt -lcom_err \
|
||||
-lreadline -lncurses
|
||||
|
||||
DPADD= ${LIBKADM5CLNT} ${LIBKRB5} ${LIBROKEN} ${LIBVERS} \
|
||||
${LIBSL} ${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} ${LIBCOM_ERR} \
|
||||
DPADD= ${LIBKADM5CLNT} ${LIBKRB5} ${LIBSL} ${LIBROKEN} ${LIBVERS} \
|
||||
${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} ${LIBCOM_ERR} \
|
||||
${LIBREADLINE} ${LIBNCURSES}
|
||||
|
||||
MAN= ktutil.8
|
||||
|
@ -29,8 +29,7 @@ SRCS= pam_ksu.c
|
||||
MAN= pam_ksu.8
|
||||
|
||||
DISTRIBUTION= crypto
|
||||
DPADD= ${LIBKRB5} ${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} \
|
||||
${LIBCOM_ERR} ${LIBROKEN}
|
||||
LDADD= -lkrb5 -lasn1 -lcrypto -lcrypt -lcom_err -lroken
|
||||
DPADD= ${LIBKRB5} ${LIBASN1} ${LIBROKEN} ${LIBCOM_ERR} ${LIBCRYPT} ${LIBCRYPTO}
|
||||
LDADD= -lkrb5 -lasn1 -lroken -lcom_err -lcrypt -lcrypto
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user