mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 02:32:47 +00:00
daaf575910
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.
27 lines
457 B
Makefile
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>
|