summaryrefslogtreecommitdiff
path: root/lib/libc_r/include/Makefile.inc
blob: 436976c47d40e960cdc7a052696234e4d28393a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# $OpenBSD: Makefile.inc,v 1.3 2000/01/06 08:32:17 d Exp $

includes:
	@cd ${LIBC_RSRCDIR}/include; \
	 for h in pthread.h pthread_np.h sched.h spinlock.h; do \
		cmp -s $$h ${DESTDIR}/usr/include/$$h > /dev/null 2>&1 || \
		(echo ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} \
			-m 444 $$h ${DESTDIR}/usr/include; \
		 ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
			$$h ${DESTDIR}/usr/include) || exit 1; \
	 done