Makefile.inc   [plain text]


# $FreeBSD: src/lib/libpam/modules/Makefile.inc,v 1.5 2001/06/04 19:47:51 markm Exp $

PAMDIR=		${.CURDIR}/../../../../contrib/libpam

INTERNALLIB=	yes
INTERNALSTATICLIB=yes

CFLAGS+=	-Wall
CFLAGS+=	-I${PAMDIR}/libpam/include
CFLAGS+=	-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
# Punt for the time being until I can figure out how to do it.
#DPADD+=		${LIBPAM}
#LDADD+=		-lpam