aboutsummaryrefslogtreecommitdiff
path: root/include/Makefile
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2022-06-13 17:35:38 +0000
committerBrooks Davis <brooks@FreeBSD.org>2022-06-13 17:35:38 +0000
commita09ea2bbc3053d3b2afdb2f7444e5e57a96bb891 (patch)
treec7a05a230cff25af92a18ff77c1c1aa85863adc9 /include/Makefile
parent43c72c45a1856c6cdf25a22d259528d5a4040973 (diff)
downloadsrc-a09ea2bbc3053d3b2afdb2f7444e5e57a96bb891.tar.gz
src-a09ea2bbc3053d3b2afdb2f7444e5e57a96bb891.zip
Diffstat (limited to 'include/Makefile')
-rw-r--r--include/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/Makefile b/include/Makefile
index 42590b900442..8d847a3a8dd2 100644
--- a/include/Makefile
+++ b/include/Makefile
@@ -8,6 +8,9 @@
PACKAGE=runtime
CLEANFILES= osreldate.h version
SUBDIR= arpa protocols rpcsvc rpc xlocale
+.if ${MACHINE_CPUARCH} == "amd64"
+SUBDIR+= i386
+.endif
SUBDIR_PARALLEL=
INCS= a.out.h ar.h assert.h bitstring.h complex.h cpio.h _ctype.h ctype.h \
db.h \
@@ -338,6 +341,10 @@ compat:
mtree -deU ${NO_ROOT:D-W} ${MTREE_FOLLOWS_SYMLINKS} \
-f ${SRCTOP}/etc/mtree/BSD.include.dist \
-p ${SDESTDIR}${INCLUDEDIR} > /dev/null
+.if ${MACHINE_CPUARCH} == "amd64"
+ ${INSTALL} -d ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 755 \
+ ${SDESTDIR}${INCLUDEDIR}/i386
+.endif
copies: .PHONY .META
cd ${SDESTDIR}${INCLUDEDIR}; find ${LDIRS} ${LSUBDIRS} ${LSUBSUBDIRS} crypto \