Makefile revision 310735
140496Sbde# @(#)Makefile 8.2 (Berkeley) 1/4/94 250473Speter# $FreeBSD: stable/10/include/Makefile 310735 2016-12-29 05:32:34Z sephe $ 31539Srgrimes# 4114731Sbde# Doing a "make install" builds /usr/include. 51539Srgrimes 6156813Sru.include <bsd.own.mk> 7156813Sru 818420SbdeCLEANFILES= osreldate.h version vers.c 9267666StijlSUBDIR= arpa protocols rpcsvc rpc xlocale 10291792SbdrewerySUBDIR_PARALLEL= 11133567StjrINCS= a.out.h ar.h assert.h bitstring.h complex.h cpio.h _ctype.h ctype.h \ 12133559Stjr db.h \ 13107046Smarcel dirent.h dlfcn.h elf.h elf-hints.h err.h fmtmsg.h fnmatch.h fstab.h \ 14267666Stijl fts.h ftw.h getopt.h glob.h grp.h \ 15220370Sobrien ieeefp.h ifaddrs.h \ 16107046Smarcel inttypes.h iso646.h kenv.h langinfo.h libgen.h limits.h link.h \ 17157236Sjasone locale.h malloc.h malloc_np.h memory.h monetary.h mpool.h mqueue.h \ 18152994Sru ndbm.h netconfig.h \ 19166243Speter netdb.h nl_types.h nlist.h nss.h nsswitch.h paths.h \ 20153486Sphk printf.h proc_service.h pthread.h \ 21205146Sed pthread_np.h pwd.h ranlib.h readpassphrase.h regex.h \ 22201546Sdavidxu res_update.h resolv.h runetype.h search.h semaphore.h setjmp.h \ 23251230Sed signal.h spawn.h stab.h stdalign.h stdbool.h stddef.h \ 24228879Sed stdnoreturn.h stdio.h stdlib.h string.h stringlist.h \ 25199898Sed strings.h sysexits.h tar.h termios.h tgmath.h \ 26133333Sstefanf time.h timeconv.h timers.h ttyent.h \ 27250883Sed uchar.h ulimit.h unistd.h utime.h utmpx.h uuid.h varargs.h \ 28232498Stheraven wchar.h wctype.h wordexp.h xlocale.h 291539Srgrimes 30244401Sbrooks.PATH: ${.CURDIR}/../contrib/libc-vis 31244401SbrooksINCS+= vis.h 32244401Sbrooks 33119630SkanMHDRS= float.h floatingpoint.h stdarg.h 3434030Sdufault 35201546SdavidxuPHDRS= sched.h _semaphore.h 3634030Sdufault 37251230SedLHDRS= aio.h errno.h fcntl.h linker_set.h poll.h stdatomic.h stdint.h \ 38251230Sed syslog.h ucontext.h 391539Srgrimes 40171453SrwatsonLDIRS= bsm cam geom net net80211 netatalk netgraph netinet netinet6 \ 41252356Sdavide netipsec ${_netipx} netnatm netsmb \ 42156905Sru nfs nfsclient nfsserver \ 43188642Snyan sys vm 4417900Speter 45195534SscottlLSUBDIRS= cam/ata cam/scsi \ 46246367Sjhb dev/acpica dev/agp dev/an dev/bktr dev/ciss dev/filemon dev/firewire \ 47310735Ssephe dev/hwpmc dev/hyperv \ 48240621Sjimharris dev/ic dev/iicbus ${_dev_ieee488} dev/io dev/lmc dev/mfi dev/nvme \ 49246367Sjhb dev/ofw dev/pbio dev/pci ${_dev_powermac_nvram} dev/ppbus dev/smbus \ 50280419Sngie dev/speaker dev/utopia dev/vkbd dev/wi \ 51241636Sattilio fs/devfs fs/fdescfs fs/msdosfs fs/nandfs fs/nfs fs/nullfs \ 52252356Sdavide fs/procfs fs/smbfs fs/udf fs/unionfs \ 53163851Spjd geom/cache geom/concat geom/eli geom/gate geom/journal geom/label \ 54202437Strasz geom/mirror geom/mountver geom/multipath geom/nop \ 55219974Smav geom/raid geom/raid3 geom/shsec geom/stripe geom/virstor \ 56135339Sglebius netgraph/atm netgraph/netflow \ 57156885Srwatson security/audit \ 58135339Sglebius security/mac_biba security/mac_bsdextended security/mac_lomac \ 59135339Sglebius security/mac_mls security/mac_partition \ 60137556Smarkm ufs/ffs ufs/ufs 6177031Sru 62192901SthompsaLSUBSUBDIRS= dev/mpt/mpilib 63178818Sjhb 64280427Sngie.if ${MK_BLUETOOTH} != "no" 65280427SngieLSUBSUBDIRS+= netgraph/bluetooth/include 66160892Ssobomax.endif 67160892Ssobomax 68156813Sru.if ${MK_GPIB} != "no" 69141397Sphk_dev_ieee488= dev/ieee488 70141397Sphk.endif 71141397Sphk 72267666Stijl.if ${MK_GSSAPI} != "no" 73267666StijlSUBDIR+= gssapi 74267666StijlINCS+= gssapi.h 75267666Stijl.endif 76267666Stijl 77156813Sru.if ${MK_HESIOD} != "no" 78148796SphkINCS+= hesiod.h 79148796Sphk.endif 80148796Sphk 81252356Sdavide# XXX unconditionally needed by <netsmb/netbios.h> 82156905Sru#.if ${MK_IPX} != "no" 83156905Sru_netipx= netipx 84156905Sru#.endif 85156905Sru 86254273Speter# Handle the #define aliases for libiconv 87254273Speter.if ${MK_ICONV} == "yes" 88258230SgjbINCS+= iconv.h 89254273Speter.endif 90254273Speter 91280427Sngie.if ${MK_USB} != "no" 92280427SngieLSUBDIRS+= dev/usb 93280427Sngie.endif 94280427Sngie 95280427Sngie.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "powerpc64" 96280427Sngie_dev_powermac_nvram= dev/powermac_nvram 97280427Sngie.endif 98280427Sngie 9954351Smarcel# Define SHARED to indicate whether you want symbolic links to the system 10054351Smarcel# source (``symlinks''), or a separate copy (``copies''). ``symlinks'' is 10154351Smarcel# probably only useful for developers and should be avoided if you do not 10254351Smarcel# wish to tie your /usr/include and /usr/src together. 10354351Smarcel#SHARED= symlinks 10454351SmarcelSHARED?= copies 10554351Smarcel 10696462SruINCS+= osreldate.h 10725734Speter 108255930SianSYSDIR= ${.CURDIR}/../sys 109255930SianNEWVERS_SH= ${SYSDIR}/conf/newvers.sh 110255930SianPARAM_H= ${SYSDIR}/sys/param.h 111255775SianMK_OSRELDATE_SH= ${.CURDIR}/mk-osreldate.sh 11225734Speter 113255775Sianosreldate.h vers.c: ${NEWVERS_SH} ${PARAM_H} ${MK_OSRELDATE_SH} 114255775Sian env ECHO="${ECHO}" \ 115255775Sian MAKE="${MAKE}" \ 116255775Sian NEWVERS_SH=${NEWVERS_SH} \ 117255775Sian PARAM_H=${PARAM_H} \ 118255930Sian SYSDIR=${SYSDIR} \ 119255807Sian sh ${MK_OSRELDATE_SH} 120255775Sian 12188055Sru.for i in ${LHDRS} 12296462SruINCSLINKS+= sys/$i ${INCLUDEDIR}/$i 12317900Speter.endfor 12488055Sru.for i in ${MHDRS} 12596462SruINCSLINKS+= machine/$i ${INCLUDEDIR}/$i 12617900Speter.endfor 12788055Sru.for i in ${PHDRS} 128164184StrhodesINCSLINKS+= sys/$i ${INCLUDEDIR}/$i 12934030Sdufault.endfor 13054351Smarcel 131211725Simp.if ${MACHINE} != ${MACHINE_CPUARCH} 132214629Sjhb_MARCHS= ${MACHINE_CPUARCH} 133144514Simp.endif 134214629Sjhb.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" 135214629Sjhb_MARCHS+= x86 136214629Sjhb.endif 137144514Simp 138114731Sbde.include <bsd.prog.mk> 139114731Sbde 140114731Sbdeinstallincludes: ${SHARED} 141114731Sbde${SHARED}: compat 142114731Sbde 143114731Sbde# Take care of stale directory-level symlinks. 144114731Sbdecompat: 145214629Sjhb.for i in ${LDIRS} ${LSUBDIRS} machine ${_MARCHS} crypto 146114731Sbde if [ -L ${DESTDIR}${INCLUDEDIR}/$i ]; then \ 147114731Sbde rm -f ${DESTDIR}${INCLUDEDIR}/$i; \ 14854351Smarcel fi 14954351Smarcel.endfor 150114731Sbde mtree -deU ${MTREE_FOLLOWS_SYMLINKS} \ 151114731Sbde -f ${.CURDIR}/../etc/mtree/BSD.include.dist \ 152114731Sbde -p ${DESTDIR}${INCLUDEDIR} 153114731Sbde 154114731Sbdecopies: 155144514Simp.for i in ${LDIRS} ${LSUBDIRS} ${LSUBSUBDIRS} altq crypto machine machine/pc \ 156214629Sjhb ${_MARCHS} 157114731Sbde.if exists(${DESTDIR}${INCLUDEDIR}/$i) 158114731Sbde cd ${DESTDIR}${INCLUDEDIR}/$i; \ 159114731Sbde for h in *.h; do \ 160114731Sbde if [ -L $$h ]; then rm -f $$h; fi; \ 161114731Sbde done 162114731Sbde.endif 163114731Sbde.endfor 164310735Ssephe.for i in ${LDIRS} ${LSUBDIRS:Ndev/agp:Ndev/acpica:Ndev/bktr:Ndev/hyperv:Ndev/nand:Ndev/pci} ${LSUBSUBDIRS} 16554351Smarcel cd ${.CURDIR}/../sys; \ 166114731Sbde ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 $i/*.h \ 167114731Sbde ${DESTDIR}${INCLUDEDIR}/$i 16854351Smarcel.endfor 169143013Snjl cd ${.CURDIR}/../sys/dev/acpica; \ 170143013Snjl ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 acpiio.h \ 171274001Srpaulo ${DESTDIR}${INCLUDEDIR}/dev/acpica; \ 172274001Srpaulo ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 acpi_hpet.h \ 173143013Snjl ${DESTDIR}${INCLUDEDIR}/dev/acpica 174246367Sjhb cd ${.CURDIR}/../sys/dev/agp; \ 175246367Sjhb ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 agpreg.h \ 176246367Sjhb ${DESTDIR}${INCLUDEDIR}/dev/agp 177123288Sobrien cd ${.CURDIR}/../sys/dev/bktr; \ 178123288Sobrien ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ioctl_*.h \ 179123288Sobrien ${DESTDIR}${INCLUDEDIR}/dev/bktr 180235537Sgber.if ${MK_NAND} != "no" 181235537Sgber cd ${.CURDIR}/../sys/dev/nand; \ 182235537Sgber ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 nandsim.h \ 183235537Sgber ${DESTDIR}${INCLUDEDIR}/dev/nand; \ 184235537Sgber ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 nand_dev.h \ 185235537Sgber ${DESTDIR}${INCLUDEDIR}/dev/nand 186235537Sgber.endif 187310735Ssephe cd ${.CURDIR}/../sys/dev/hyperv/utilities; \ 188310735Ssephe ${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 hv_snapshot.h \ 189310735Ssephe ${DESTDIR}${INCLUDEDIR}/dev/hyperv 190246367Sjhb cd ${.CURDIR}/../sys/dev/pci; \ 191246367Sjhb ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 pcireg.h \ 192246367Sjhb ${DESTDIR}${INCLUDEDIR}/dev/pci 193130416Smlaier cd ${.CURDIR}/../sys/contrib/altq/altq; \ 194130416Smlaier ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 *.h \ 195130416Smlaier ${DESTDIR}${INCLUDEDIR}/altq 196166640Srodrigc cd ${.CURDIR}/../sys/fs/cd9660/; \ 197166640Srodrigc ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 *.h \ 198166640Srodrigc ${DESTDIR}${INCLUDEDIR}/isofs/cd9660 199156813Sru.if ${MK_IPFILTER} != "no" 200116734Sru cd ${.CURDIR}/../sys/contrib/ipfilter/netinet; \ 201116734Sru ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 *.h \ 202116734Sru ${DESTDIR}${INCLUDEDIR}/netinet 203145539Sscottl.endif 204263370Sglebius.if ${MK_PF} != "no" 205263370Sglebius cd ${.CURDIR}/../sys/netpfil/pf; \ 206263370Sglebius ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 *.h \ 207263370Sglebius ${DESTDIR}${INCLUDEDIR}/netpfil/pf 208263370Sglebius.endif 209143423Sume cd ${.CURDIR}/../sys/crypto; \ 210143423Sume ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 rijndael/rijndael.h \ 211143423Sume ${DESTDIR}${INCLUDEDIR}/crypto 212116734Sru cd ${.CURDIR}/../sys/opencrypto; \ 213116734Sru ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 *.h \ 214114731Sbde ${DESTDIR}${INCLUDEDIR}/crypto 215144514Simp cd ${.CURDIR}/../sys/${MACHINE}/include; \ 216114731Sbde ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 *.h \ 217114731Sbde ${DESTDIR}${INCLUDEDIR}/machine 218144514Simp.if exists(${.CURDIR}/../sys/${MACHINE}/include/pc) 219144514Simp cd ${.CURDIR}/../sys/${MACHINE}/include/pc; \ 220114731Sbde ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 *.h \ 221114731Sbde ${DESTDIR}${INCLUDEDIR}/machine/pc 22277857Sjlemon.endif 223214629Sjhb.for _MARCH in ${_MARCHS} 224214629Sjhb.if exists(${.CURDIR}/../sys/${_MARCH}/include) 225144561Simp ${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755 \ 226144561Simp ${DESTDIR}${INCLUDEDIR}/${_MARCH}; \ 227144514Simp cd ${.CURDIR}/../sys/${_MARCH}/include; \ 228144514Simp ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 *.h \ 229144514Simp ${DESTDIR}${INCLUDEDIR}/${_MARCH} 230144514Simp.if exists(${.CURDIR}/../sys/${_MARCH}/include/pc) 231144561Simp ${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755 \ 232144561Simp ${DESTDIR}${INCLUDEDIR}/${_MARCH}/pc; \ 233144514Simp cd ${.CURDIR}/../sys/${_MARCH}/include/pc; \ 234144514Simp ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 *.h \ 235144514Simp ${DESTDIR}${INCLUDEDIR}/${_MARCH}/pc 236144514Simp.endif 237144514Simp.endif 238214629Sjhb.endfor 239168677Spjd cd ${.CURDIR}/../sys/rpc; \ 240168677Spjd ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 types.h \ 241168677Spjd ${DESTDIR}${INCLUDEDIR}/rpc 242308044Savg.if ${MK_CDDL} != "no" 243308044Savg cd ${.CURDIR}/../cddl/contrib/opensolaris/lib/libzfs_core/common; \ 244308044Savg ${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 libzfs_core.h \ 245308044Savg ${DESTDIR}${INCLUDEDIR} 246308044Savg cd ${.CURDIR}/../cddl/contrib/opensolaris/lib/libnvpair; \ 247308044Savg ${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 libnvpair.h \ 248308044Savg ${DESTDIR}${INCLUDEDIR} 249308044Savg cd ${.CURDIR}/../sys/cddl/contrib/opensolaris/uts/common/sys; \ 250308044Savg ${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 nvpair.h \ 251308044Savg ${DESTDIR}${INCLUDEDIR}/sys 252308044Savg.endif 2531539Srgrimes 25454351Smarcelsymlinks: 25554351Smarcel @${ECHO} "Setting up symlinks to kernel source tree..." 25656645Speter.for i in ${LDIRS} 257114731Sbde cd ${.CURDIR}/../sys/$i; \ 258114731Sbde for h in *.h; do \ 259114731Sbde ln -fs ../../../sys/$i/$$h ${DESTDIR}${INCLUDEDIR}/$i; \ 260114731Sbde done 26154351Smarcel.endfor 262310735Ssephe.for i in ${LSUBDIRS:Ndev/agp:Ndev/acpica:Ndev/bktr:Ndev/hyperv:Ndev/nand:Ndev/pci} 263114731Sbde cd ${.CURDIR}/../sys/$i; \ 264114731Sbde for h in *.h; do \ 265114731Sbde ln -fs ../../../../sys/$i/$$h ${DESTDIR}${INCLUDEDIR}/$i; \ 266114731Sbde done 26777046Sru.endfor 268143013Snjl cd ${.CURDIR}/../sys/dev/acpica; \ 269274001Srpaulo for h in acpiio.h acpi_hpet.h; do \ 270143013Snjl ln -fs ../../../../sys/dev/acpica/$$h \ 271143013Snjl ${DESTDIR}${INCLUDEDIR}/dev/acpica; \ 272143013Snjl done 273246367Sjhb cd ${.CURDIR}/../sys/dev/agp; \ 274246367Sjhb for h in agpreg.h; do \ 275246367Sjhb ln -fs ../../../../sys/dev/agp/$$h \ 276246367Sjhb ${DESTDIR}${INCLUDEDIR}/dev/agp; \ 277246367Sjhb done 278142992Sru cd ${.CURDIR}/../sys/dev/bktr; \ 279142992Sru for h in ioctl_*.h; do \ 280142992Sru ln -fs ../../../../sys/dev/bktr/$$h \ 281142992Sru ${DESTDIR}${INCLUDEDIR}/dev/bktr; \ 282142992Sru done 283235537Sgber.if ${MK_NAND} != "no" 284235537Sgber cd ${.CURDIR}/../sys/dev/nand; \ 285235537Sgber for h in nandsim.h nand_dev.h; do \ 286235537Sgber ln -fs ../../../../sys/dev/nand/$$h \ 287235537Sgber ${DESTDIR}${INCLUDEDIR}/dev/nand; \ 288235537Sgber done 289235537Sgber.endif 290310735Ssephe cd ${.CURDIR}/../sys/dev/hyperv/utilities; \ 291310735Ssephe for h in hv_snapshot.h; do \ 292310735Ssephe ${INSTALL_SYMLINK} ${TAG_ARGS} ../../../../sys/dev/hyperv/utilities/$$h \ 293310735Ssephe ${DESTDIR}${INCLUDEDIR}/dev/hyperv; \ 294310735Ssephe done 295246367Sjhb cd ${.CURDIR}/../sys/dev/pci; \ 296246367Sjhb for h in pcireg.h; do \ 297246367Sjhb ln -fs ../../../../sys/dev/pci/$$h \ 298246367Sjhb ${DESTDIR}${INCLUDEDIR}/dev/pci; \ 299246367Sjhb done 300114731Sbde.for i in ${LSUBSUBDIRS} 301114731Sbde cd ${.CURDIR}/../sys/$i; \ 302114731Sbde for h in *.h; do \ 303114731Sbde ln -fs ../../../../../sys/$i/$$h ${DESTDIR}${INCLUDEDIR}/$i; \ 304114731Sbde done 305114731Sbde.endfor 306130416Smlaier cd ${.CURDIR}/../sys/contrib/altq/altq; \ 307130416Smlaier for h in *.h; do \ 308130416Smlaier ln -fs ../../../sys/contrib/altq/altq/$$h \ 309130416Smlaier ${DESTDIR}${INCLUDEDIR}/altq; \ 310130416Smlaier done 311156813Sru.if ${MK_IPFILTER} != "no" 312116734Sru cd ${.CURDIR}/../sys/contrib/ipfilter/netinet; \ 313116734Sru for h in *.h; do \ 314116734Sru ln -fs ../../../sys/contrib/ipfilter/netinet/$$h \ 315116734Sru ${DESTDIR}${INCLUDEDIR}/netinet; \ 316116734Sru done 317145539Sscottl.endif 318263086Sglebius.if ${MK_PF} != "no" 319263086Sglebius cd ${.CURDIR}/../sys/netpfil/pf; \ 320263086Sglebius for h in *.h; do \ 321263086Sglebius ln -fs ../../../../sys/netpfil/pf/$$h \ 322263086Sglebius ${DESTDIR}${INCLUDEDIR}/netpfil/pf; \ 323263086Sglebius done 324263086Sglebius.endif 325143423Sume cd ${.CURDIR}/../sys/crypto; \ 326143423Sume for h in rijndael/rijndael.h; do \ 327143423Sume ln -fs ../../../sys/crypto/$$h \ 328143423Sume ${DESTDIR}${INCLUDEDIR}/crypto; \ 329143423Sume done 330114731Sbde cd ${.CURDIR}/../sys/opencrypto; \ 331114731Sbde for h in *.h; do \ 332114731Sbde ln -fs ../../../sys/opencrypto/$$h \ 333114731Sbde ${DESTDIR}${INCLUDEDIR}/crypto; \ 334114731Sbde done 335144514Simp cd ${.CURDIR}/../sys/${MACHINE}/include; \ 336114731Sbde for h in *.h; do \ 337144514Simp ln -fs ../../../sys/${MACHINE}/include/$$h \ 338114731Sbde ${DESTDIR}${INCLUDEDIR}/machine; \ 339114731Sbde done 340144514Simp.if exists(${.CURDIR}/../sys/${MACHINE}/include/pc) 341144514Simp cd ${.CURDIR}/../sys/${MACHINE}/include/pc; \ 342114731Sbde for h in *.h; do \ 343144514Simp ln -fs ../../../../sys/${MACHINE}/include/pc/$$h \ 344114731Sbde ${DESTDIR}${INCLUDEDIR}/machine/pc; \ 345114731Sbde done 346114731Sbde.endif 347214629Sjhb.for _MARCH in ${_MARCHS} 348214629Sjhb.if exists(${.CURDIR}/../sys/${_MARCH}/include) 349144561Simp ${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755 \ 350144561Simp ${DESTDIR}${INCLUDEDIR}/${_MARCH}; \ 351144514Simp cd ${.CURDIR}/../sys/${_MARCH}/include; \ 352144514Simp for h in *.h; do \ 353144514Simp ln -fs ../../../sys/${_MARCH}/include/$$h \ 354144514Simp ${DESTDIR}${INCLUDEDIR}/${_MARCH}; \ 355144514Simp done 356144514Simp.if exists(${.CURDIR}/../sys/${_MARCH}/include/pc) 357144561Simp ${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755 \ 358144561Simp ${DESTDIR}${INCLUDEDIR}/${_MARCH}/pc; \ 359144514Simp cd ${.CURDIR}/../sys/${_MARCH}/include/pc; \ 360144514Simp for h in *.h; do \ 361144514Simp ln -fs ../../../../sys/${_MARCH}/include/pc/$$h \ 362144514Simp ${DESTDIR}${INCLUDEDIR}/${_MARCH}/pc; \ 363144514Simp done 364144514Simp.endif 365144514Simp.endif 366214629Sjhb.endfor 367166640Srodrigc cd ${.CURDIR}/../sys/fs/cd9660; \ 368166640Srodrigc for h in *.h; do \ 369166640Srodrigc ln -fs ../../../../sys/fs/cd9660/$$h \ 370166640Srodrigc ${DESTDIR}${INCLUDEDIR}/isofs/cd9660; \ 371166640Srodrigc done 372168677Spjd cd ${.CURDIR}/../sys/rpc; \ 373168677Spjd for h in types.h; do \ 374168677Spjd ln -fs ../../../sys/rpc/$$h \ 375168677Spjd ${DESTDIR}${INCLUDEDIR}/rpc; \ 376168677Spjd done 377