freebsd-nq/lib/libpam/modules/Makefile.inc
Ruslan Ermilov 2a53f3fb35 Major cleanup of bsd.lib.mk.
Get rid of the INTERNALSTATICLIB knob and just use plain INTERNALLIB.
INTERNALLIB now means to build static library only and don't install
anything.  Added a NOINSTALLLIB knob for libpam/modules.  To not
build any library at all, just do not set LIB.
2002-05-13 10:53:24 +00:00

22 lines
483 B
Makefile

# $FreeBSD$
PAMDIR= ${.CURDIR}/../../../../contrib/openpam
NOINSTALLLIB= yes
NOPROFILE= yes
SHLIB_NAME?= ${LIB}.so.${SHLIB_MAJOR}
CFLAGS+= -I${PAMDIR}/include
CFLAGS+= -I${.CURDIR}/../../libpam
WARNS?= 4
NO_WERROR= yes
# This is nasty.
# For the static case, libpam.a depends on the modules.
# For the dynamic case, the modules depend on libpam.so.N
# Punt for the time being until I can figure out how to do it.
#DPADD+= ${LIBPAM}
#LDADD+= -lpam
.include "../Makefile.inc"