summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorpk <pk@NetBSD.org>1996-12-23 22:13:03 +0000
committerpk <pk@NetBSD.org>1996-12-23 22:13:03 +0000
commitdb6c2ee5273fa89888ea8f7fad43503386d3eda8 (patch)
tree3c0c4ab016e3bf47322e2e87bccc775c0f244e91 /gnu
parent9d10a25919efb8289a3f44c59dfd5eb99a394622 (diff)
<link.h> has moved in with the run-time linker source.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/ld/rtld/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/gnu/usr.bin/ld/rtld/Makefile b/gnu/usr.bin/ld/rtld/Makefile
index 9dcb97347b0..44ce6eab0fc 100644
--- a/gnu/usr.bin/ld/rtld/Makefile
+++ b/gnu/usr.bin/ld/rtld/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 1996/06/08 22:22:26 pk Exp $
+# $NetBSD: Makefile,v 1.14 1996/12/23 22:13:03 pk Exp $
PROG= ld.so
SRCS= mdprologue.S rtld.c malloc.c shlib.c etc.c md.c vfprintf.c
@@ -13,6 +13,7 @@ LDFLAGS+= -nostdlib -L${DESTDIR}/usr/lib
.endif
LDADD+= -lc_pic
BINDIR= /usr/libexec
+HDRS= link.h
MLINKS= rtld.1 ld.so.1
.PATH: $(LDDIR) $(LDDIR)/$(MACHINE_ARCH) ${.CURDIR}/../../../../lib/libc/stdio
@@ -23,4 +24,13 @@ $(PROG):
.S.o:
${CPP} ${.IMPSRC} | ${AS} ${ASFLAGS} -o ${.TARGET} -
+includes:
+ @cd ${.CURDIR}; for i in $(HDRS); do \
+ j="cmp -s $$i ${DESTDIR}/usr/include/$$i || \
+ ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 $$i \
+ ${DESTDIR}/usr/include"; \
+ echo $$j; \
+ eval "$$j"; \
+ done
+
.include <bsd.prog.mk>