084a46829b
Move common stuff into Makefile.inc, and tidy up all the Makefiles as a result. Build new modules. Put a commented-out dependancy on libpam for the (shared) modules. I can't bring this in just yet, as the dependancy (modules->libpam) is reversed for the static case (libpam->modules).
18 lines
418 B
Makefile
18 lines
418 B
Makefile
# $FreeBSD$
|
|
|
|
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
|