mirror of
https://github.com/opnsense/src.git
synced 2026-03-01 04:40:53 -05:00
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).
17 lines
418 B
Makefile
17 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
|