blob: 7b81d92454d038d0f9d23ea1ce4a172db6efc0a0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# 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/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>
|