freebsd-dev/lib/libbegemot/Makefile
Ed Schouten daaf575910 Build lib/ with WARNS=6 by default.
Similar to libexec/, do the same with lib/. Make WARNS=6 the norm and
lower it when needed.

I'm setting WARNS?=0 for secure/. It seems secure/ includes the
Makefile.inc provided by lib/. I'm not going to touch that directory.
Most of the code there is contributed anyway.
2010-01-02 09:58:07 +00:00

27 lines
457 B
Makefile

# $FreeBSD$
LIBBEGEMOT_DIR=${.CURDIR}/../../contrib/libbegemot
.PATH: ${LIBBEGEMOT_DIR}
LIB= begemot
SHLIB_MAJOR= 4
SHLIBDIR?= /lib
CFLAGS+= -DUSE_SELECT -DQUADFMT='"ll"'
SRCS= rpoll.c
INCS= rpoll.h
MAN= rpoll.3
CLEANFILES= rpoll.3
rpoll.3: rpoll.man
cat ${.ALLSRC} > ${.TARGET}
MLINKS= rpoll.3 poll_register.3 \
rpoll.3 poll_unregister.3 \
rpoll.3 poll_start_timer.3 \
rpoll.3 poll_stop_timer.3 \
rpoll.3 poll_dispatch.3
.include <bsd.lib.mk>