forked from Lainports/freebsd-ports
19 lines
545 B
Text
19 lines
545 B
Text
# This makefile is inspired by those in /usr/src/lib/libpam/modules :-)
|
|
|
|
.PATH: ${FILESDIR}
|
|
|
|
SRCS= pam_pgsql.c pam_get_pass.c pam_std_option.c pam_get_service.c
|
|
LIB= pam_pgsql
|
|
SHLIB_NAME=${LIB}.so
|
|
|
|
LDADD= -lpam -L${LOCALBASE}/lib -lpq -lmd
|
|
CFLAGS+= -Wall -D_GNU_SOURCE -I${LOCALBASE}/include \
|
|
-I${LOCALBASE}/include/pgsql
|
|
|
|
INTERNALLIB= we don't need no stinking static lib
|
|
NOPROFILE= we don't need no profiling either
|
|
|
|
# Uncomment if you think, the lib should NOT go into /usr/lib directly:
|
|
# LIBDIR= ${LOCALBASE}/lib
|
|
|
|
.include <bsd.lib.mk>
|