xref: /freebsd/lib/libbegemot/Makefile (revision e9ac41698b2f322d55ccf9da50a3596edb2c1800)
14b649713SEnji CooperLIBBEGEMOT_DIR=${SRCTOP}/contrib/libbegemot
25f892a7fSTom Rhodes
3a70cba95SGlen BarberPACKAGE=lib${LIB}
45f892a7fSTom Rhodes.PATH: ${LIBBEGEMOT_DIR}
55f892a7fSTom Rhodes
65f892a7fSTom RhodesLIB=	begemot
73ca3047aSKen SmithSHLIB_MAJOR= 4
85f892a7fSTom RhodesSHLIBDIR?= /lib
95f892a7fSTom Rhodes
105f892a7fSTom RhodesCFLAGS+=	-DUSE_SELECT -DQUADFMT='"ll"'
115f892a7fSTom RhodesSRCS=	rpoll.c
125f892a7fSTom RhodesINCS=	rpoll.h
135f892a7fSTom RhodesMAN=	rpoll.3
145f892a7fSTom Rhodes
154d6b7f43SRuslan ErmilovCLEANFILES= rpoll.3
165f892a7fSTom Rhodesrpoll.3: rpoll.man
175f892a7fSTom Rhodes	cat ${.ALLSRC} > ${.TARGET}
185f892a7fSTom Rhodes
195f892a7fSTom RhodesMLINKS=	rpoll.3 poll_register.3		\
205f892a7fSTom Rhodes	rpoll.3 poll_unregister.3	\
215f892a7fSTom Rhodes	rpoll.3 poll_start_timer.3	\
225f892a7fSTom Rhodes	rpoll.3 poll_stop_timer.3	\
235f892a7fSTom Rhodes	rpoll.3 poll_dispatch.3
245f892a7fSTom Rhodes
255f892a7fSTom Rhodes.include <bsd.lib.mk>
26*996ee965SJohn Baldwin
27*996ee965SJohn BaldwinCWARNFLAGS+=	${NO_WUSE_AFTER_FREE}
28