Deleted Added
full compact
Makefile (1570) Makefile (1604)
1# @(#)Makefile 8.2 (Berkeley) 1/4/94
2#
3# Doing a make install builds /usr/include
4#
5# The ``rm -rf''s used below are safe because rm doesn't follow symbolic
6# links.
7#
8all clean cleandir depend lint tags:
9
1# @(#)Makefile 8.2 (Berkeley) 1/4/94
2#
3# Doing a make install builds /usr/include
4#
5# The ``rm -rf''s used below are safe because rm doesn't follow symbolic
6# links.
7#
8all clean cleandir depend lint tags:
9
10#MISSING mp.h
10# XXX MISSING: mp.h
11FILES= a.out.h ar.h assert.h bitstring.h ctype.h db.h dirent.h disktab.h \
12 err.h fnmatch.h fstab.h fts.h glob.h grp.h kvm.h limits.h locale.h \
13 math.h memory.h mpool.h ndbm.h netdb.h nlist.h paths.h pwd.h \
14 ranlib.h regex.h regexp.h resolv.h rune.h runetype.h setjmp.h \
15 sgtty.h signal.h stab.h stddef.h stdio.h stdlib.h string.h strings.h \
16 struct.h sysexits.h tar.h time.h ttyent.h tzfile.h unistd.h utime.h \
17 utmp.h vis.h
18

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

81 done
82 rm -rf ${DESTDIR}/usr/include/machine
83 mkdir ${DESTDIR}/usr/include/machine
84 cd ../sys/${MACHINE}/include && \
85 tar cf - *.h | (cd ${DESTDIR}/usr/include/machine; tar xpfB -);
86 chown -R ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include/machine;
87 chmod -R 444 ${DESTDIR}/usr/include/machine;
88 chmod 755 ${DESTDIR}/usr/include/machine;
11FILES= a.out.h ar.h assert.h bitstring.h ctype.h db.h dirent.h disktab.h \
12 err.h fnmatch.h fstab.h fts.h glob.h grp.h kvm.h limits.h locale.h \
13 math.h memory.h mpool.h ndbm.h netdb.h nlist.h paths.h pwd.h \
14 ranlib.h regex.h regexp.h resolv.h rune.h runetype.h setjmp.h \
15 sgtty.h signal.h stab.h stddef.h stdio.h stdlib.h string.h strings.h \
16 struct.h sysexits.h tar.h time.h ttyent.h tzfile.h unistd.h utime.h \
17 utmp.h vis.h
18

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

81 done
82 rm -rf ${DESTDIR}/usr/include/machine
83 mkdir ${DESTDIR}/usr/include/machine
84 cd ../sys/${MACHINE}/include && \
85 tar cf - *.h | (cd ${DESTDIR}/usr/include/machine; tar xpfB -);
86 chown -R ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include/machine;
87 chmod -R 444 ${DESTDIR}/usr/include/machine;
88 chmod 755 ${DESTDIR}/usr/include/machine;
89# rm -rf ${DESTDIR}/usr/include/X11
90# mkdir ${DESTDIR}/usr/include/X11
91# cd /usr/X11/include/X11 && \
92# tar cf - *.h | (cd ${DESTDIR}/usr/include/X11; tar xpfB -);
93
94symlinks:
95 @for i in ${LDIRS} ${LUDIR}; do \
96 echo ${SHARED} $$i; \
97 rm -rf ${DESTDIR}/usr/include/$$i; \
98 ln -s /sys/$$i ${DESTDIR}/usr/include/$$i; \
99 chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include/$$i; \
100 done
101 rm -rf ${DESTDIR}/usr/include/machine
102 ln -s /sys/${MACHINE}/include ${DESTDIR}/usr/include/machine
89
90symlinks:
91 @for i in ${LDIRS} ${LUDIR}; do \
92 echo ${SHARED} $$i; \
93 rm -rf ${DESTDIR}/usr/include/$$i; \
94 ln -s /sys/$$i ${DESTDIR}/usr/include/$$i; \
95 chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include/$$i; \
96 done
97 rm -rf ${DESTDIR}/usr/include/machine
98 ln -s /sys/${MACHINE}/include ${DESTDIR}/usr/include/machine
103# rm -rf ${DESTDIR}/usr/include/X11
104# ln -s /usr/X11/include/X11 ${DESTDIR}/usr/include/X11
105
106.include <bsd.prog.mk>
99
100.include <bsd.prog.mk>