Makefile revision 1.67
11.67Sthorpej#	$NetBSD: Makefile,v 1.67 1997/01/30 01:05:58 thorpej 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.64Scgd	disktab.h dlfcn.h err.h fnmatch.h fstab.h fts.h glob.h grp.h ieeefp.h \
81.67Sthorpej	iso646.h kvm.h langinfo.h limits.h locale.h malloc.h math.h md4.h \
91.67Sthorpej	md5.h memory.h mpool.h ndbm.h netdb.h netgroup.h nlist.h nl_types.h \
101.67Sthorpej	paths.h pwd.h ranlib.h re_comp.h regex.h regexp.h resolv.h rmt.h \
111.67Sthorpej	search.h setjmp.h sgtty.h signal.h stab.h stddef.h stdio.h stdlib.h \
121.67Sthorpej	string.h strings.h stringlist.h struct.h sysexits.h tar.h time.h \
131.67Sthorpej	ttyent.h tzfile.h unistd.h util.h utime.h utmp.h vis.h
141.1Scgd
151.26ScgdDIRS=	arpa protocols rpc rpcsvc
161.1Scgd
171.1ScgdNOOBJ=	noobj
181.1Scgd
191.62Smrgincludes: ${SYS_INCLUDE}
201.1Scgd
211.57Sjtcincludes:
221.1Scgd	@echo installing ${FILES}
231.1Scgd	@-for i in ${FILES}; do \
241.1Scgd		cmp -s $$i ${DESTDIR}/usr/include/$$i || \
251.63Sthorpej		    ${INSTALL} -c -m 444 $$i ${DESTDIR}/usr/include/$$i; \
261.1Scgd	done
271.1Scgd	@echo installing ${DIRS}
281.1Scgd	@-for i in ${DIRS}; do \
291.63Sthorpej		${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755 \
301.50Sjtc			${DESTDIR}/usr/include/$$i; \
311.1Scgd		(cd $$i; for j in *.[ih]; do \
321.1Scgd			cmp -s $$j ${DESTDIR}/usr/include/$$i/$$j || \
331.63Sthorpej			${INSTALL} -c -m 444 $$j \
341.63Sthorpej			${DESTDIR}/usr/include/$$i/$$j; \
351.1Scgd		done); \
361.1Scgd	done
371.34Scgd	chown -R ${BINOWN}:${BINGRP} ${DESTDIR}/usr/include
381.34Scgd	find ${DESTDIR}/usr/include -type f | \
391.45Scgd		xargs chmod a=r
401.45Scgd	find ${DESTDIR}/usr/include -type d | \
411.45Scgd		xargs chmod u=rwx,go=rx
421.57Sjtc
431.14Sproven.include <bsd.prog.mk>
44