2008-04-29 16:38:03 -04:00
|
|
|
# $OpenBSD: Makefile.openbsd,v 1.5 2008/04/29 20:38:03 todd Exp $
|
2008-01-20 10:11:05 -05:00
|
|
|
|
2008-01-19 18:55:19 -05:00
|
|
|
NOMAN = noman
|
2008-04-28 18:27:41 -04:00
|
|
|
CFLAGS += -Wall
|
|
|
|
COMMON = kqemu-mod-${MACHINE_ARCH:S/amd64/x86_64/}.o
|
2008-04-29 16:38:03 -04:00
|
|
|
.if defined(MP)
|
|
|
|
CFLAGS += -DMULTIPROCESSOR
|
|
|
|
SRCS = kqemu-openbsd-mp.c
|
|
|
|
LKM = kqemu_mp
|
|
|
|
COMBINED = kqemu_mp.o
|
|
|
|
.else
|
2008-01-19 18:55:19 -05:00
|
|
|
SRCS = kqemu-openbsd.c
|
|
|
|
LKM = kqemu
|
|
|
|
COMBINED = kqemu.o
|
2008-04-29 16:38:03 -04:00
|
|
|
.endif
|
|
|
|
OBJS = ${COMMON}
|
2008-01-19 18:55:19 -05:00
|
|
|
|
|
|
|
.include <bsd.lkm.mk>
|
|
|
|
|
|
|
|
${COMMON}:
|
|
|
|
gmake -C common all
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f $(COMMON)
|
|
|
|
gmake -C common clean
|