openbsd-ports/emulators/kqemu/files/Makefile.openbsd

26 lines
444 B
Makefile
Raw Normal View History

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