bf3e29891c
Makefile.inc, always add the man pages for that directory, and only specify a SRCS= line (at whatever else is needed for that arch) inside a ${MACHINE_ARCH} .ifdef. The top-level Makefile includes <bsd.lib.mk> only if SRCS is defined, and otherwise just includes <bsd.man.mk>.
10 lines
226 B
Makefile
10 lines
226 B
Makefile
# $NetBSD: Makefile.inc,v 1.4 1999/06/10 00:49:51 simonb Exp $
|
|
|
|
.if (${MACHINE_ARCH} == "arm32")
|
|
.PATH: ${LIBC}/arm32
|
|
|
|
SRCS+= arm32_sync_icache.c arm32_drain_writebuf.c
|
|
.endif
|
|
|
|
MAN+= arm32_sync_icache.2 arm32_drain_writebuf.2
|