Put libraries in the link order.

Reported by:	lorder(1) (modified to work with libraries)
This commit is contained in:
ru 2004-02-04 10:23:09 +00:00
parent c96d02bc13
commit 43f7f3f626
10 changed files with 26 additions and 27 deletions

View File

@ -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

View File

@ -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}

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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>