diff options
author | Brooks Davis <brooks@FreeBSD.org> | 2022-06-13 17:35:38 +0000 |
---|---|---|
committer | Brooks Davis <brooks@FreeBSD.org> | 2022-06-13 17:35:38 +0000 |
commit | a09ea2bbc3053d3b2afdb2f7444e5e57a96bb891 (patch) | |
tree | c7a05a230cff25af92a18ff77c1c1aa85863adc9 /include/Makefile | |
parent | 43c72c45a1856c6cdf25a22d259528d5a4040973 (diff) | |
download | src-a09ea2bbc3053d3b2afdb2f7444e5e57a96bb891.tar.gz src-a09ea2bbc3053d3b2afdb2f7444e5e57a96bb891.zip |
Diffstat (limited to 'include/Makefile')
-rw-r--r-- | include/Makefile | 7 |
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 \ |