Only include parent directory Makefile.inc if it exists. Now you can

cvs co acpi and build acpi utilities w/o needing the usr.sbin Makefile.inc.
This commit is contained in:
John Baldwin 2002-09-17 14:56:23 +00:00
parent 803e437fb0
commit 63af7856ee

View File

@ -3,4 +3,6 @@
CFLAGS+= -I${.CURDIR}/../../../sys
.include "../Makefile.inc"
.if exists(${.CURDIR}/../../Makefile.inc)
.include "${.CURDIR}/../../Makefile.inc"
.endif