NetBSD/lib/librumphijack/Makefile
pooka c62329f7d3 Make librumphijack compile and work on Linux. Do not try to hijack
calls which are not supported on Linux and therefore cannot be
handled by the rump kernel side syscall emulation (not that they'd
be present in the calling binaries anyway).
2012-08-25 18:00:06 +00:00

22 lines
459 B
Makefile

# $NetBSD: Makefile,v 1.10 2012/08/25 18:00: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 -I${.CURDIR}/../librumpuser
WARNS?= 5
# make sure the compiler doesn't get clever, since we need
# a stack frame
COPTS.hijackdlsym.c+= -O0
.include <bsd.lib.mk>