# This makefile is inspired by those in /usr/src/lib/libpam/modules :-) .PATH: ${FILESDIR} SRCS= pam_pgsql.c pam_get_pass.c SHLIB_NAME= pam_pgsql.so LDADD= -lpam -L${LOCALBASE}/lib -lpq -lmd CFLAGS+= -Wall -D_GNU_SOURCE -I${LOCALBASE}/include \ -I${LOCALBASE}/include/pgsql # Uncomment if you think, the lib should NOT go into /usr/lib directly: # LIBDIR= ${LOCALBASE}/lib .include