6b31f116cc
need to be defined. This allows register_t to be typedef'd to RUMP_REGISTER_T without conflict, as highlighted in PR kern/52206.
24 lines
461 B
Makefile
24 lines
461 B
Makefile
# $NetBSD: Makefile,v 1.20 2017/05/11 04:33:14 sevan 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.lib.mk>
|
|
|
|
CPPFLAGS+= -U_FORTIFY_SOURCE
|