NetBSD/lib/librumphijack/Makefile
2013-09-10 16:53:06 +00:00

26 lines
484 B
Makefile

# $NetBSD: Makefile,v 1.13 2013/09/10 16:53:06 pooka Exp $
#
LIB= rumphijack
NOSTATICLIB= dlfun
NOPROFILE= dlfun
LIBDPLIBS+= pthread ${.CURDIR}/../libpthread \
rumpclient ${.CURDIR}/../librumpclient
MAN= rumphijack.3
SRCS= hijack.c hijackdlsym.c
CPPFLAGS+= -D_DIAGNOSTIC -D_REENTRANT
WARNS?= 5
# make sure the compiler doesn't get clever, since we need
# a stack frame
COPTS.hijackdlsym.c+= -O0
.include <bsd.sys.mk>
CPPFLAGS+= -U_FORTIFY_SOURCE
.include <bsd.lib.mk>