1 1.3.2.2 bouyer # $NetBSD: Makefile,v 1.3.2.2 2011/03/05 15:09:23 bouyer Exp $ 2 1.1 pooka # 3 1.1 pooka 4 1.1 pooka LIB= rumphijack 5 1.1 pooka NOSTATICLIB= dlfun 6 1.1 pooka NOPROFILE= dlfun 7 1.3.2.1 bouyer LIBDPLIBS+= pthread ${.CURDIR}/../libpthread \ 8 1.3.2.1 bouyer rumpclient ${.CURDIR}/../librumpclient 9 1.3.2.1 bouyer MAN= rumphijack.3 10 1.1 pooka 11 1.3.2.2 bouyer SRCS= hijack.c hijackdlsym.c 12 1.1 pooka 13 1.2 pooka CPPFLAGS+= -D_DIAGNOSTIC -D_REENTRANT 14 1.1 pooka 15 1.3.2.1 bouyer WARNS= 4 16 1.3.2.1 bouyer 17 1.3.2.2 bouyer # make sure the compiler doesn't get clever, since we need 18 1.3.2.2 bouyer # a stack frame 19 1.3.2.2 bouyer COPTS.hijackdlsym.c+= -O0 20 1.1 pooka 21 1.1 pooka .include <bsd.lib.mk> 22