Move setting of LDFLAGS to the modules which require it actually, as

other kerberos5 modules do so.
This commit is contained in:
Hajimu UMEMOTO 2015-08-27 17:16:18 +00:00
parent 2640322a2e
commit 7525abf811
5 changed files with 4 additions and 1 deletions

View File

@ -14,7 +14,6 @@ LDAPLDADD= -lldap -llber
LDAPDPADD= ${LDAPLDADD:C;^-l(.*)$;${OPENLDAPBASE}/lib/lib\1.a;}
LDAPCFLAGS= -I${OPENLDAPBASE}/include -DOPENLDAP=1 -DLDAP_DEPRECATED=1
LDAPLDFLAGS= -L${OPENLDAPBASE}/lib -rpath ${OPENLDAPBASE}/lib
LDFLAGS+= ${LDAPLDFLAGS}
.endif
.if defined(SRCS)

View File

@ -9,6 +9,7 @@ CFLAGS+= -I${KRB5DIR}/kdc \
-I${KRB5DIR}/lib/wind \
-I${KRB5DIR}/lib/roken
LIBADD= hdb kdc heimipcs krb5 roken asn1 crypto vers heimntlm
LDFLAGS=${LDAPLDFLAGS}
.include <bsd.prog.mk>

View File

@ -11,6 +11,7 @@ SRCS= config.c \
CFLAGS+=-I${KRB5DIR}/lib/krb5 -I${KRB5DIR}/lib/asn1 -I${KRB5DIR}/lib/roken \
-I${KRB5DIR}/kdc ${LDAPCFLAGS}
LIBADD= kdc hdb krb5 roken crypt vers
LDFLAGS=${LDAPLDFLAGS}
.include <bsd.prog.mk>

View File

@ -3,6 +3,7 @@
PROG= kpasswd
CFLAGS+=-I${KRB5DIR}/lib/roken
LIBADD= hdb krb5 roken vers crypto
LDFLAGS=${LDAPLDFLAGS}
.include <bsd.prog.mk>

View File

@ -9,6 +9,7 @@ CFLAGS+= -I${KRB5DIR}/lib/kadm5 \
-I${KRB5DIR}/lib/sl \
-I.
LIBADD= kadm5srv hdb krb5 roken edit sl vers
LDFLAGS=${LDAPLDFLAGS}
iprop-commands.h: iprop-commands.in
${SLC} ${.ALLSRC:M*.in}