freebsd-dev/lib/libpam/modules/Makefile.inc

23 lines
442 B
PHP
Raw Normal View History

# $FreeBSD$
PAMDIR= ${.CURDIR}/../../../../contrib/openpam
2004-12-21 09:51:09 +00:00
NO_INSTALLLIB=
2006-03-19 06:14:30 +00:00
MK_PROFILE= no
CFLAGS+= -I${PAMDIR}/include -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
.if defined(_NO_LIBPAM_SO_YET)
NO_PIC=
.else
SHLIB_NAME?= ${LIB}.so.${SHLIB_MAJOR}
DPADD+= ${LIBPAM}
LDADD+= -lpam
.endif
.include "../Makefile.inc"