mirror of
https://github.com/opnsense/src.git
synced 2026-03-16 15:48:26 -04:00
Get rid of the INTERNALSTATICLIB knob and just use plain INTERNALLIB. INTERNALLIB now means to build static library only and don't install anything. Added a NOINSTALLLIB knob for libpam/modules. To not build any library at all, just do not set LIB.
21 lines
483 B
Makefile
21 lines
483 B
Makefile
# $FreeBSD$
|
|
|
|
PAMDIR= ${.CURDIR}/../../../../contrib/openpam
|
|
|
|
NOINSTALLLIB= yes
|
|
NOPROFILE= yes
|
|
SHLIB_NAME?= ${LIB}.so.${SHLIB_MAJOR}
|
|
|
|
CFLAGS+= -I${PAMDIR}/include
|
|
CFLAGS+= -I${.CURDIR}/../../libpam
|
|
WARNS?= 4
|
|
NO_WERROR= yes
|
|
|
|
# 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
|
|
|
|
.include "../Makefile.inc"
|