mirror of
https://github.com/dreamlayers/netbsd-mopd.git
synced 2026-02-16 12:42:52 +00:00
cut's compilation time by half! - build a common version.c in libcommon.a - don't build version.h - nothing uses it - comment out the ifdef INFO and -DINFO stuff - it's always compiled in - XXX: don't compile mopprobe with -DNODL (which actually changes the compilation of stuff in common/*). nothing else does this, and it meant that mopprobe would have had different behaviour. if this behaviour is desired, a workaround can be put in place
10 lines
315 B
Makefile
10 lines
315 B
Makefile
# $NetBSD: Makefile.inc,v 1.4 1997/10/16 07:36:19 lukem Exp $
|
|
|
|
LIBCOMMON != cd ${.CURDIR}/../common;\
|
|
printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}\n" | ${MAKE} -s -f-
|
|
CFLAGS+=-I${.CURDIR}/../common -I${.CURDIR}/..
|
|
DPADD+= ${LIBKVM} ${LIBCOMMON}/libcommon.a
|
|
LDADD+= -lkvm -L${LIBCOMMON} -lcommon
|
|
|
|
BINDIR?= /usr/sbin
|