90a9863e16
Approved by: des
21 lines
474 B
Makefile
21 lines
474 B
Makefile
# $FreeBSD$
|
|
|
|
PAMDIR= ${.CURDIR}/../../../../contrib/openpam
|
|
|
|
INTERNALLIB= yes
|
|
INTERNALSTATICLIB=yes
|
|
SHLIB_NAME?= ${LIB}.so.${SHLIB_MAJOR}
|
|
|
|
CFLAGS+= -I${PAMDIR}/include
|
|
CFLAGS+= -I${.CURDIR}/../../libpam
|
|
WARNS?= 4
|
|
|
|
# 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"
|