c1f0db28dd
prevents build breakage when a port depends on heimdal in base and some other libraries in LOCALBASE/lib such as OpenSSL from ports at the same time. - Always build libcom_err[*]. PR: 194475 [*]
17 lines
462 B
Text
17 lines
462 B
Text
# $FreeBSD$
|
|
|
|
all: kpasswdd-cracklib.so
|
|
|
|
kpasswdd-cracklib.so: kpasswdd-cracklib.c
|
|
${CC} ${CFLAGS} -fPIC -shared \
|
|
-DLOCALBASE=\"${LOCALBASE}\" \
|
|
-I${LOCALBASE}/include -I./include \
|
|
-o ${.TARGET} ${.ALLSRC} \
|
|
-lcrack -L${LOCALBASE}/lib
|
|
|
|
install-strip: install
|
|
|
|
install: ${DESTDIR}${PREFIX}/lib/heimdal/kpasswdd-cracklib.so
|
|
|
|
${DESTDIR}${PREFIX}/lib/heimdal/kpasswdd-cracklib.so: kpasswdd-cracklib.so
|
|
${BSD_INSTALL_LIB} ${.ALLSRC} ${.TARGET}
|