freebsd-ports/security/heimdal/files/kpasswdd-Makefile
Hiroki Sato c1f0db28dd - Move headers and libraries into PREFIX/{include,lib}/heimdal. This
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 [*]
2014-11-22 10:51:58 +00:00

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}