1 1.67 thorpej # $NetBSD: Makefile,v 1.67 1997/01/30 01:05:58 thorpej Exp $ 2 1.48 cgd # @(#)Makefile 5.45.1.1 (Berkeley) 5/6/91 3 1.21 mycroft 4 1.1 cgd # Missing: mp.h 5 1.1 cgd 6 1.56 jtc FILES= a.out.h ar.h assert.h bitstring.h bm.h cpio.h ctype.h db.h dirent.h \ 7 1.64 cgd disktab.h dlfcn.h err.h fnmatch.h fstab.h fts.h glob.h grp.h ieeefp.h \ 8 1.67 thorpej iso646.h kvm.h langinfo.h limits.h locale.h malloc.h math.h md4.h \ 9 1.67 thorpej md5.h memory.h mpool.h ndbm.h netdb.h netgroup.h nlist.h nl_types.h \ 10 1.67 thorpej paths.h pwd.h ranlib.h re_comp.h regex.h regexp.h resolv.h rmt.h \ 11 1.67 thorpej search.h setjmp.h sgtty.h signal.h stab.h stddef.h stdio.h stdlib.h \ 12 1.67 thorpej string.h strings.h stringlist.h struct.h sysexits.h tar.h time.h \ 13 1.67 thorpej ttyent.h tzfile.h unistd.h util.h utime.h utmp.h vis.h 14 1.1 cgd 15 1.26 cgd DIRS= arpa protocols rpc rpcsvc 16 1.1 cgd 17 1.1 cgd NOOBJ= noobj 18 1.1 cgd 19 1.62 mrg includes: ${SYS_INCLUDE} 20 1.1 cgd 21 1.57 jtc includes: 22 1.1 cgd @echo installing ${FILES} 23 1.1 cgd @-for i in ${FILES}; do \ 24 1.1 cgd cmp -s $$i ${DESTDIR}/usr/include/$$i || \ 25 1.63 thorpej ${INSTALL} -c -m 444 $$i ${DESTDIR}/usr/include/$$i; \ 26 1.1 cgd done 27 1.1 cgd @echo installing ${DIRS} 28 1.1 cgd @-for i in ${DIRS}; do \ 29 1.63 thorpej ${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755 \ 30 1.50 jtc ${DESTDIR}/usr/include/$$i; \ 31 1.1 cgd (cd $$i; for j in *.[ih]; do \ 32 1.1 cgd cmp -s $$j ${DESTDIR}/usr/include/$$i/$$j || \ 33 1.63 thorpej ${INSTALL} -c -m 444 $$j \ 34 1.63 thorpej ${DESTDIR}/usr/include/$$i/$$j; \ 35 1.1 cgd done); \ 36 1.1 cgd done 37 1.34 cgd chown -R ${BINOWN}:${BINGRP} ${DESTDIR}/usr/include 38 1.34 cgd find ${DESTDIR}/usr/include -type f | \ 39 1.45 cgd xargs chmod a=r 40 1.45 cgd find ${DESTDIR}/usr/include -type d | \ 41 1.45 cgd xargs chmod u=rwx,go=rx 42 1.57 jtc 43 1.14 proven .include <bsd.prog.mk> 44