This patch add the proper .if/.else/.endif to the Makefiles, add places I forgot #ifdef __minix and remove newlines.
29 lines
764 B
Makefile
29 lines
764 B
Makefile
# $NetBSD: Makefile.inc,v 1.16 2006/04/24 17:15:06 drochner Exp $
|
|
# from: @(#)Makefile.inc 8.1 (Berkeley) 6/2/93
|
|
|
|
# compat-43 sources
|
|
.PATH: ${ARCHDIR}/compat-43 ${.CURDIR}/compat-43
|
|
|
|
.if defined(__MINIX)
|
|
# Unsupported by Minix
|
|
# gethostid.c sethostid.c setpgrp.c setrgid.c setruid.c sigcompat.c
|
|
|
|
SRCS+= creat.c getdtablesize.c killpg.c
|
|
|
|
.else
|
|
SRCS+= creat.c getdtablesize.c gethostid.c \
|
|
killpg.c sethostid.c setpgrp.c \
|
|
setrgid.c setruid.c sigcompat.c
|
|
.if !defined(AUDIT)
|
|
SRCS+= getwd.c
|
|
.endif
|
|
.endif
|
|
|
|
# XXX this is to get <compat/sys/signal.h>
|
|
CPPFLAGS.sigcompat.c+= -I${NETBSDSRCDIR}/sys
|
|
|
|
MAN+= creat.3 getdtablesize.3 gethostid.3 killpg.3 \
|
|
setruid.3 sigblock.3 sigpause.3 sigsetmask.3 sigvec.3
|
|
|
|
MLINKS+=setruid.3 setrgid.3
|
|
MLINKS+=gethostid.3 sethostid.3
|