Makefile (17be774ee710d0727a7a45f823356fa33c207058) Makefile (780f28929782a104eefbc81f031836bf1febb6de)
1# Originally from $NetBSD: Makefile,v 1.21 1997/10/26 22:08:38 lukem Exp $
2#
3# Notes:
4# - We don't use the libc strerror/sys_errlist because the string table is
5# quite large.
6#
7
8.include <bsd.init.mk>

--- 186 unchanged lines hidden (view full) ---

195
196.if ${DO32:U0} == 0
197MAN=libsa.3
198.endif
199
200# Create a subset of includes that are safe, as well as adjusting those that aren't
201# The lists may drive people nuts, but they are explicitly opt-in
202FAKE_DIRS=xlocale arpa ssp
1# Originally from $NetBSD: Makefile,v 1.21 1997/10/26 22:08:38 lukem Exp $
2#
3# Notes:
4# - We don't use the libc strerror/sys_errlist because the string table is
5# quite large.
6#
7
8.include <bsd.init.mk>

--- 186 unchanged lines hidden (view full) ---

195
196.if ${DO32:U0} == 0
197MAN=libsa.3
198.endif
199
200# Create a subset of includes that are safe, as well as adjusting those that aren't
201# The lists may drive people nuts, but they are explicitly opt-in
202FAKE_DIRS=xlocale arpa ssp
203SAFE_INCS=a.out.h assert.h elf.h inttypes.h limits.h nlist.h setjmp.h stddef.h stdbool.h string.h strings.h time.h uuid.h
203SAFE_INCS=a.out.h assert.h elf.h limits.h nlist.h setjmp.h stddef.h stdbool.h string.h strings.h time.h uuid.h
204STAND_H_INC=ctype.h fcntl.h signal.h stdio.h stdlib.h unistd.h
205OTHER_INC=stdarg.h errno.h stdint.h
206
207beforedepend:
208 mkdir -p ${FAKE_DIRS}; \
209 for i in ${SAFE_INCS}; do \
210 ln -sf ${SRCTOP}/include/$$i $$i; \
211 done; \

--- 16 unchanged lines hidden ---
204STAND_H_INC=ctype.h fcntl.h signal.h stdio.h stdlib.h unistd.h
205OTHER_INC=stdarg.h errno.h stdint.h
206
207beforedepend:
208 mkdir -p ${FAKE_DIRS}; \
209 for i in ${SAFE_INCS}; do \
210 ln -sf ${SRCTOP}/include/$$i $$i; \
211 done; \

--- 16 unchanged lines hidden ---