aboutsummaryrefslogblamecommitdiff
path: root/lib/libpam/modules/Makefile.inc
blob: 2da5a7b524adb8e53e651e7e35513e08db726b3f (plain) (tree)
1
2
3
4
5
6
7
8
9
           
 
                                                      
 
                  
                  
 
                                                      
 





                                                         
                                        
                   
      
 
                          
# $FreeBSD$

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

MK_INSTALLLIB=	no
MK_PROFILE=	no

CFLAGS+= -I${PAMDIR}/include -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
.if defined(_NO_LIBPAM_SO_YET)
NO_PIC=
.else
SHLIB_NAME?=	${LIB}.so.${SHLIB_MAJOR}
LIBADD+=	pam
.endif

.include "../Makefile.inc"