Makefile revision 1.62
11.62Smrg# $NetBSD: Makefile,v 1.62 1996/09/29 23:29:16 mrg Exp $ 21.48Scgd# @(#)Makefile 5.45.1.1 (Berkeley) 5/6/91 31.21Smycroft 41.1Scgd# Missing: mp.h 51.1Scgd 61.56SjtcFILES= a.out.h ar.h assert.h bitstring.h bm.h cpio.h ctype.h db.h dirent.h \ 71.58Scgd disktab.h err.h fnmatch.h fstab.h fts.h glob.h grp.h ieeefp.h \ 81.58Scgd iso646.h kvm.h langinfo.h limits.h locale.h malloc.h math.h \ 91.56Sjtc memory.h mpool.h ndbm.h netdb.h netgroup.h nlist.h nl_types.h paths.h \ 101.60Sjtc pwd.h ranlib.h re_comp.h regex.h regexp.h resolv.h rmt.h search.h \ 111.60Sjtc setjmp.h sgtty.h signal.h stab.h stddef.h stdio.h stdlib.h string.h \ 121.60Sjtc strings.h struct.h sysexits.h tar.h time.h ttyent.h tzfile.h unistd.h \ 131.60Sjtc util.h utime.h utmp.h vis.h 141.58Scgd 151.58Scgd.if (${MACHINE_ARCH} != "alpha") 161.58ScgdFILES+= dlfcn.h link.h 171.58Scgd.endif 181.1Scgd 191.26ScgdDIRS= arpa protocols rpc rpcsvc 201.1Scgd 211.1ScgdNOOBJ= noobj 221.1Scgd 231.62Smrgincludes: ${SYS_INCLUDE} 241.1Scgd 251.57Sjtcincludes: 261.1Scgd @echo installing ${FILES} 271.1Scgd @-for i in ${FILES}; do \ 281.1Scgd cmp -s $$i ${DESTDIR}/usr/include/$$i || \ 291.34Scgd install -c -m 444 $$i ${DESTDIR}/usr/include/$$i; \ 301.1Scgd done 311.1Scgd @echo installing ${DIRS} 321.1Scgd @-for i in ${DIRS}; do \ 331.51Sjtc install -d -o ${BINOWN} -g ${BINGRP} -m 755 \ 341.50Sjtc ${DESTDIR}/usr/include/$$i; \ 351.1Scgd (cd $$i; for j in *.[ih]; do \ 361.1Scgd cmp -s $$j ${DESTDIR}/usr/include/$$i/$$j || \ 371.34Scgd install -c -m 444 $$j ${DESTDIR}/usr/include/$$i/$$j; \ 381.1Scgd done); \ 391.1Scgd done 401.34Scgd chown -R ${BINOWN}:${BINGRP} ${DESTDIR}/usr/include 411.34Scgd find ${DESTDIR}/usr/include -type f | \ 421.45Scgd xargs chmod a=r 431.45Scgd find ${DESTDIR}/usr/include -type d | \ 441.45Scgd xargs chmod u=rwx,go=rx 451.57Sjtc 461.14Sproven.include <bsd.prog.mk> 47