diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2002-03-15 16:51:30 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2002-03-15 16:51:30 +0000 |
commit | dbc97f08f18346220e1a6ecd0b86d353f09cad4c (patch) | |
tree | 9673fa5f552ef07175b7dd95c1d553873b5ca238 /usr.bin | |
parent | b31862af34665406ecb6318ca5991c50d92903be (diff) |
Don't try to build if there is no MD support.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/pmdb/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/usr.bin/pmdb/Makefile b/usr.bin/pmdb/Makefile index 98a5083ee29..12b41cc69d8 100644 --- a/usr.bin/pmdb/Makefile +++ b/usr.bin/pmdb/Makefile @@ -1,7 +1,13 @@ -# $OpenBSD: Makefile,v 1.4 2002/03/15 16:45:10 drahn Exp $ +# $OpenBSD: Makefile,v 1.5 2002/03/15 16:51:29 art Exp $ .include <bsd.own.mk> +.if (!exists(arch/${MACHINE}/Makefile.inc) && \ + !exists(arch/${MACHINE_ARCH}/Makefile.inc)) +NOMAN=no, man +NOPROG=no, man +.else + PROG=pmdb SRCS=pmdb.c symbol.c clit.c process.c signal.c break.c @@ -41,4 +47,6 @@ CPPFLAGS+=-I${.CURDIR}/arch/${MACHINE_ARCH} COPTS=-Wall -Wno-uninitialized +.endif + .include <bsd.prog.mk> |