Files
dreamlayers.netbsd-mopd/Makefile.inc
lukem 6d97281944 - compile common code once (into libcommon.a), and link that in.
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
1997-10-16 07:36:12 +00:00

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