07aa770cf2
- respect $CC - add NO_REGRESS - s/$LOCALBASE/$PREFIX and don't hardcode paths - lowercase MAINTAINER's email ok jasper@ sthen@ marco@ todd@ (MAINTAINER)
26 lines
390 B
Makefile
26 lines
390 B
Makefile
# $OpenBSD
|
|
|
|
NOMAN = noman
|
|
|
|
.if ${MACHINE_ARCH} == "i386"
|
|
CFLAGS += -Wall -DI386
|
|
COMMON = kqemu-mod-i386.o
|
|
.elif ${MACHINE_ARCH} == "amd64"
|
|
CFLAGS += -Wall -DAMD64
|
|
COMMON = kqemu-mod-x86_64.o
|
|
.endif
|
|
|
|
SRCS = kqemu-openbsd.c
|
|
OBJS = ${COMMON}
|
|
LKM = kqemu
|
|
COMBINED = kqemu.o
|
|
|
|
.include <bsd.lkm.mk>
|
|
|
|
${COMMON}:
|
|
gmake -C common all
|
|
|
|
clean:
|
|
rm -f $(COMMON)
|
|
gmake -C common clean
|