23 lines
366 B
Makefile
23 lines
366 B
Makefile
|
|
PROG= mount_pgfs
|
|
SRCS= mount.c pgfs_subs.c pgfs_db.c pgfs_puffs.c pgfs_waitq.c pgfs_debug.c
|
|
|
|
DPADD+= ${LIBPUFFS} ${LIBUTIL}
|
|
LDADD+= -lpuffs -lutil
|
|
|
|
NOMAN=
|
|
|
|
PGINC!= pg_config --includedir
|
|
PGLIBDIR!= pg_config --libdir
|
|
CPPFLAGS+= -I${PGINC}
|
|
LDFLAGS+= -L${PGLIBDIR}
|
|
LDFLAGS+= -Wl,-R${PGLIBDIR}
|
|
LDFLAGS+= -lpq
|
|
|
|
DBG+= -g
|
|
#DBG?= -g
|
|
|
|
WARNS?= 4
|
|
|
|
.include <bsd.prog.mk>
|