dcf83bf794
but we use STATIC_CFLAGS instead of our own private .c.o rule. MFC after: 3 weeks
22 lines
429 B
Makefile
22 lines
429 B
Makefile
# $FreeBSD$
|
|
|
|
PAMDIR= ${.CURDIR}/../../../../contrib/openpam
|
|
|
|
NO_INSTALLLIB=
|
|
NO_PROFILE=
|
|
|
|
CFLAGS+= -I${PAMDIR}/include -I${.CURDIR}/../../libpam
|
|
|
|
# This is nasty.
|
|
# For the static case, libpam.a depends on the modules.
|
|
# For the dynamic case, the modules depend on libpam.so.N
|
|
.if defined(_NO_LIBPAM_SO_YET)
|
|
NO_PIC=
|
|
.else
|
|
SHLIB_NAME?= ${LIB}.so.${SHLIB_MAJOR}
|
|
DPADD+= ${LIBPAM}
|
|
LDADD+= -lpam
|
|
.endif
|
|
|
|
.include "../Makefile.inc"
|