Makefile.inc1 revision 54445
1238438Sdteske# 2238438Sdteske# $FreeBSD: head/Makefile.inc1 54445 1999-12-11 17:05:36Z marcel $ 3249746Sdteske# 4252980Sdteske# Make command line options: 5238438Sdteske# -DMAKE_KERBEROS4 to build KerberosIV 6238438Sdteske# -DNOCLEANDIR run ${MAKE} clean, instead of ${MAKE} cleandir 7238438Sdteske# -DNOCLEAN do not clean at all 8238438Sdteske# -DNOCRYPT will prevent building of crypt versions 9238438Sdteske# -DNOPROFILE do not build profiled libraries 10238438Sdteske# -DNOSECURE do not go into secure subdir 11238438Sdteske# -DNOGAMES do not go into games subdir 12238438Sdteske# -DNOSHARE do not go into share subdir 13238438Sdteske# -DNOINFO do not make or install info files 14238438Sdteske# -DNOLIBC_R do not build libc_r. 15238438Sdteske# -DNO_FORTRAN do not build g77 and related libraries. 16252987Sdteske# LOCAL_DIRS="list of dirs" to add additional dirs to the SUBDIR list 17238438Sdteske 18238438Sdteske# 19238438Sdteske# The intended user-driven targets are: 20252987Sdteske# buildworld - rebuild *everything*, including glue to help do upgrades 21238438Sdteske# installworld- install everything built by "buildworld" 22238438Sdteske# update - convenient way to update your source tree (eg: sup/cvs) 23238438Sdteske# most - build user commands, no libraries or include files 24238438Sdteske# installmost - install user commands, no libraries or include files 25238438Sdteske# 26238438Sdteske# Standard targets (not defined here) are documented in the makefiles in 27238438Sdteske# /usr/share/mk. These include: 28238438Sdteske# obj depend all install clean cleandepend cleanobj 29238438Sdteske 30238438Sdteske# Put initial settings here. 31240684SdteskeSUBDIR= 32240684Sdteske 33244675Sdteske# We must do share/info early so that installation of info `dir' 34240684Sdteske# entries works correctly. Do it first since it is less likely to 35240684Sdteske# grow dependencies on include and lib than vice versa. 36240684Sdteske.if exists(${.CURDIR}/share/info) 37238438SdteskeSUBDIR+= share/info 38240684Sdteske.endif 39238438Sdteske 40238438Sdteske# We must do include and lib early so that the perl *.ph generation 41260678Sdteske# works correctly as it uses the header files installed by this. 42260678Sdteske.if exists(${.CURDIR}/include) 43238438SdteskeSUBDIR+= include 44238438Sdteske.endif 45238438Sdteske.if exists(${.CURDIR}/lib) 46238438SdteskeSUBDIR+= lib 47238438Sdteske.endif 48238438Sdteske 49238438Sdteske.if exists(${.CURDIR}/bin) 50238438SdteskeSUBDIR+= bin 51238438Sdteske.endif 52238438Sdteske.if exists(${.CURDIR}/games) && !defined(NOGAMES) 53251264SdteskeSUBDIR+= games 54238438Sdteske.endif 55238438Sdteske.if exists(${.CURDIR}/gnu) 56238438SdteskeSUBDIR+= gnu 57238438Sdteske.endif 58238438Sdteske.if exists(${.CURDIR}/kerberosIV) && exists(${.CURDIR}/crypto) && \ 59238438Sdteske !defined(NOCRYPT) && defined(MAKE_KERBEROS4) 60238438SdteskeSUBDIR+= kerberosIV 61238438Sdteske.endif 62238438Sdteske.if exists(${.CURDIR}/libexec) 63238438SdteskeSUBDIR+= libexec 64238438Sdteske.endif 65251264Sdteske.if exists(${.CURDIR}/sbin) 66251264SdteskeSUBDIR+= sbin 67238438Sdteske.endif 68251190Sdteske.if exists(${.CURDIR}/share) && !defined(NOSHARE) 69251190SdteskeSUBDIR+= share 70251190Sdteske.endif 71251190Sdteske.if exists(${.CURDIR}/sys) 72251190SdteskeSUBDIR+= sys 73251190Sdteske.endif 74251190Sdteske.if exists(${.CURDIR}/usr.bin) 75238438SdteskeSUBDIR+= usr.bin 76249751Sdteske.endif 77249751Sdteske.if exists(${.CURDIR}/usr.sbin) 78249751SdteskeSUBDIR+= usr.sbin 79249751Sdteske.endif 80249751Sdteske.if exists(${.CURDIR}/secure) && !defined(NOCRYPT) && !defined(NOSECURE) 81249751SdteskeSUBDIR+= secure 82249751Sdteske.endif 83249751Sdteske 84249751Sdteske# etc must be last for "distribute" to work 85249751Sdteske.if exists(${.CURDIR}/etc) 86249751SdteskeSUBDIR+= etc 87249751Sdteske.endif 88249751Sdteske 89251236Sdteske# These are last, since it is nice to at least get the base system 90251236Sdteske# rebuilt before you do them. 91249751Sdteske.if defined(LOCAL_DIRS) 92238438Sdteske.for _DIR in ${LOCAL_DIRS} 93238438Sdteske.if exists(${.CURDIR}/${_DIR}) & exists(${.CURDIR}/${_DIR}/Makefile) 94238438SdteskeSUBDIR+= ${_DIR} 95238438Sdteske.endif 96249751Sdteske.endfor 97251190Sdteske.endif 98251190Sdteske 99238438Sdteske.if defined(NOCLEANDIR) 100240768SdteskeCLEANDIR= clean cleandepend 101240768Sdteske.else 102240768SdteskeCLEANDIR= cleandir 103251236Sdteske.endif 104240768Sdteske 105238438SdteskeSUP?= cvsup 106238438SdteskeSUPFLAGS?= -g -L 2 -P - 107238438Sdteske 108238438SdteskeMAKEOBJDIRPREFIX?= /usr/obj 109238438SdteskeBUILD_ARCH!= sysctl -n hw.machine_arch 110238438Sdteske.if ${BUILD_ARCH} == ${MACHINE_ARCH} 111238438SdteskeOBJTREE= ${MAKEOBJDIRPREFIX} 112238438Sdteske.else 113238438SdteskeOBJTREE= ${MAKEOBJDIRPREFIX}/${MACHINE_ARCH} 114238438Sdteske.endif 115250633SdteskeWORLDTMP= ${OBJTREE}${.CURDIR}/${BUILD_ARCH} 116238438SdteskeSTRICTTMPPATH= ${WORLDTMP}/bin:${WORLDTMP}/usr/bin 117252178SdteskeTMPPATH= ${STRICTTMPPATH}:${PATH} 118238438Sdteske 119238438Sdteske# bootstrap/tools make 120238438SdteskeBMAKEENV= MAKEOBJDIRPREFIX=${WORLDTMP} \ 121238438Sdteske DESTDIR=${WORLDTMP} \ 122238438Sdteske INSTALL="sh ${.CURDIR}/tools/install.sh" \ 123238438Sdteske TARGET_ARCH=${MACHINE_ARCH} \ 124238438Sdteske MACHINE_ARCH=${BUILD_ARCH} \ 125238438Sdteske PATH=${TMPPATH} 126238438SdteskeBMAKE= ${BMAKEENV} ${MAKE} -f Makefile.inc1 -DNOMAN -DNOINFO \ 127238438Sdteske -DNO_FORTRAN -DNO_GDB -DNO_OBJC 128238438Sdteske 129238438SdteskeCROSSENV= COMPILER_PATH=${WORLDTMP}/usr/libexec:${WORLDTMP}/usr/bin \ 130238438Sdteske LIBRARY_PATH=${WORLDTMP}${SHLIBDIR}:${WORLDTMP}/usr/lib \ 131238438Sdteske OBJFORMAT_PATH=${WORLDTMP}/usr/libexec \ 132251915Sdteske CFLAGS="-nostdinc ${CFLAGS}" \ 133251915Sdteske PERL5LIB=${WORLDTMP}/usr/libdata/perl/5.00503 \ 134238438Sdteske MAKEOBJDIRPREFIX=${OBJTREE} 135251915Sdteske 136251915Sdteske# cross make used for compilation 137251915SdteskeXMAKEENV= ${CROSSENV} \ 138251915Sdteske DESTDIR=${WORLDTMP} \ 139251915Sdteske INSTALL="sh ${.CURDIR}/tools/install.sh" \ 140251915Sdteske PATH=${TMPPATH} 141251915SdteskeXMAKE= ${XMAKEENV} ${MAKE} -f Makefile.inc1 142251915Sdteske 143251915Sdteske# cross make used for final installation 144251915SdteskeIMAKEENV= ${CROSSENV} 145251915SdteskeIMAKE= ${IMAKEENV} ${MAKE} -f Makefile.inc1 146251915Sdteske 147251915SdteskeUSRDIRS= usr/bin usr/lib/compat/aout usr/games usr/libdata/ldscripts \ 148251915Sdteske usr/libexec/${OBJFORMAT} usr/share/misc 149251915Sdteske 150251915SdteskeINCDIRS= arpa g++/std objc protocols readline rpc rpcsvc security ss 151251915Sdteske 152251915Sdteske# 153251915Sdteske# buildworld 154251915Sdteske# 155251915Sdteske# Attempt to rebuild the entire system, with reasonable chance of 156251915Sdteske# success, regardless of how old your existing system is. 157251915Sdteske# 158238438Sdteskebuildworld: 159251915Sdteske @echo 160260678Sdteske @echo "--------------------------------------------------------------" 161260678Sdteske @echo ">>> Rebuilding the temporary build tree" 162251915Sdteske @echo "--------------------------------------------------------------" 163251915Sdteske.if !defined(NOCLEAN) 164251915Sdteske rm -rf ${WORLDTMP} 165251915Sdteske.endif 166238438Sdteske.for _dir in ${USRDIRS} 167238438Sdteske mkdir -p ${WORLDTMP}/${_dir} 168238438Sdteske.endfor 169238438Sdteske.for _dir in ${INCDIRS} 170238438Sdteske mkdir -p ${WORLDTMP}/usr/include/${_dir} 171.endfor 172.if defined(NOCLEAN) 173 rm -f ${WORLDTMP}/sys 174.endif 175 ln -sf ${.CURDIR}/sys ${WORLDTMP}/sys 176 @echo 177 @echo "--------------------------------------------------------------" 178 @echo ">>> Rebuilding tools" 179 @echo "--------------------------------------------------------------" 180 cd ${.CURDIR}; ${BMAKE} tools 181.if !defined(NOCLEAN) 182 @echo 183 @echo "--------------------------------------------------------------" 184 @echo ">>> Cleaning up the object tree" 185 @echo "--------------------------------------------------------------" 186 cd ${.CURDIR}; ${XMAKE} ${CLEANDIR:S/^/par-/} 187.endif 188 @echo 189 @echo "--------------------------------------------------------------" 190 @echo ">>> Rebuilding the object tree" 191 @echo "--------------------------------------------------------------" 192 cd ${.CURDIR}; ${XMAKE} par-obj 193 @echo 194 @echo "--------------------------------------------------------------" 195 @echo ">>> Rebuilding ${WORLDTMP}/usr/include" 196 @echo "--------------------------------------------------------------" 197 cd ${.CURDIR}; ${XMAKE} includes 198 @echo 199 @echo "--------------------------------------------------------------" 200 @echo ">>> Building libraries" 201 @echo "--------------------------------------------------------------" 202 cd ${.CURDIR}; ${XMAKE} -DNOINFO -DNOMAN libraries 203 @echo 204 @echo "--------------------------------------------------------------" 205 @echo ">>> Rebuilding dependencies" 206 @echo "--------------------------------------------------------------" 207 cd ${.CURDIR}; ${XMAKE} par-depend 208 @echo 209 @echo "--------------------------------------------------------------" 210 @echo ">>> Building everything.." 211 @echo "--------------------------------------------------------------" 212 cd ${.CURDIR}; ${XMAKE} all 213 214everything: 215 @echo "--------------------------------------------------------------" 216 @echo ">>> Building everything.." 217 @echo "--------------------------------------------------------------" 218 cd ${.CURDIR}; ${XMAKE} all 219 220# 221# installworld 222# 223# Installs everything compiled by a 'buildworld'. 224# 225installworld: 226 cd ${.CURDIR}; ${IMAKE} reinstall 227 228# 229# reinstall 230# 231# If you have a build server, you can NFS mount the source and obj directories 232# and do a 'make reinstall' on the *client* to install new binaries from the 233# most recent server build. 234# 235reinstall: 236 @echo "--------------------------------------------------------------" 237 @echo ">>> Making hierarchy" 238 @echo "--------------------------------------------------------------" 239 cd ${.CURDIR}; ${MAKE} -f Makefile.inc1 hierarchy 240 @echo 241 @echo "--------------------------------------------------------------" 242 @echo ">>> Installing everything.." 243 @echo "--------------------------------------------------------------" 244 cd ${.CURDIR}; ${MAKE} -f Makefile.inc1 install 245.if !defined(NOMAN) 246 @echo 247 @echo "--------------------------------------------------------------" 248 @echo ">>> Rebuilding man page indices" 249 @echo "--------------------------------------------------------------" 250 cd ${.CURDIR}/share/man; ${MAKE} makedb 251.endif 252 253# 254# update 255# 256# Update the source tree, by running sup and/or running cvs to update to the 257# latest copy. 258# 259update: 260.if defined(SUP_UPDATE) 261 @echo "--------------------------------------------------------------" 262 @echo ">>> Running ${SUP}" 263 @echo "--------------------------------------------------------------" 264 @${SUP} ${SUPFLAGS} ${SUPFILE} 265.if defined(SUPFILE1) 266 @${SUP} ${SUPFLAGS} ${SUPFILE1} 267.endif 268.if defined(SUPFILE2) 269 @${SUP} ${SUPFLAGS} ${SUPFILE2} 270.endif 271.if defined(PORTSSUPFILE) 272 @${SUP} ${SUPFLAGS} ${PORTSSUPFILE} 273.endif 274.endif 275.if defined(CVS_UPDATE) 276 @echo "--------------------------------------------------------------" 277 @echo ">>> Updating ${.CURDIR} from cvs repository" ${CVSROOT} 278 @echo "--------------------------------------------------------------" 279 cd ${.CURDIR}; cvs -q update -P -d 280.endif 281 282# 283# most 284# 285# Build most of the user binaries on the existing system libs and includes. 286# 287most: 288 @echo "--------------------------------------------------------------" 289 @echo ">>> Building programs only" 290 @echo "--------------------------------------------------------------" 291 cd ${.CURDIR}/bin; ${MAKE} all 292 cd ${.CURDIR}/sbin; ${MAKE} all 293 cd ${.CURDIR}/libexec; ${MAKE} all 294 cd ${.CURDIR}/usr.bin; ${MAKE} all 295 cd ${.CURDIR}/usr.sbin; ${MAKE} all 296 cd ${.CURDIR}/gnu/libexec; ${MAKE} all 297 cd ${.CURDIR}/gnu/usr.bin; ${MAKE} all 298 cd ${.CURDIR}/gnu/usr.sbin; ${MAKE} all 299 300# 301# installmost 302# 303# Install the binaries built by the 'most' target. This does not include 304# libraries or include files. 305# 306installmost: 307 @echo "--------------------------------------------------------------" 308 @echo ">>> Installing programs only" 309 @echo "--------------------------------------------------------------" 310 cd ${.CURDIR}/bin; ${MAKE} install 311 cd ${.CURDIR}/sbin; ${MAKE} install 312 cd ${.CURDIR}/libexec; ${MAKE} install 313 cd ${.CURDIR}/usr.bin; ${MAKE} install 314 cd ${.CURDIR}/usr.sbin; ${MAKE} install 315 cd ${.CURDIR}/gnu/libexec; ${MAKE} install 316 cd ${.CURDIR}/gnu/usr.bin; ${MAKE} install 317 cd ${.CURDIR}/gnu/usr.sbin; ${MAKE} install 318 319# 320# ------------------------------------------------------------------------ 321# 322# From here onwards are utility targets used by the 'make world' and 323# related targets. If your 'world' breaks, you may like to try to fix 324# the problem and manually run the following targets to attempt to 325# complete the build. Beware, this is *not* guaranteed to work, you 326# need to have a pretty good grip on the current state of the system 327# to attempt to manually finish it. If in doubt, 'make world' again. 328# 329 330# 331# tools - Build tools needed to run the actual build. 332# 333.if exists(${.CURDIR}/games) && !defined(NOGAMES) 334_strfile= games/fortune/strfile 335.endif 336 337tools:: 338.for _tool in ${_strfile} gnu/usr.bin/binutils usr.bin/objformat \ 339 usr.bin/yacc gnu/usr.bin/bison gnu/usr.bin/cc 340 cd ${.CURDIR}/${_tool}; \ 341 ${MAKE} obj; \ 342 ${MAKE} depend; \ 343 ${MAKE} all; \ 344 ${MAKE} install 345.endfor 346 347# 348# hierarchy - ensure that all the needed directories are present 349# 350hierarchy: 351 cd ${.CURDIR}/etc; ${MAKE} distrib-dirs 352 353# 354# includes - possibly generate and install the include files. 355# 356includes: 357 cd ${.CURDIR}/include; ${MAKE} SHARED=symlinks -B all install 358 cd ${.CURDIR}/gnu/include; ${MAKE} install 359 cd ${.CURDIR}/gnu/lib/libmp; ${MAKE} beforeinstall 360 cd ${.CURDIR}/gnu/lib/libobjc; ${MAKE} beforeinstall 361 cd ${.CURDIR}/gnu/lib/libreadline; ${MAKE} beforeinstall 362 cd ${.CURDIR}/gnu/lib/libregex; ${MAKE} beforeinstall 363 cd ${.CURDIR}/gnu/lib/libstdc++; ${MAKE} beforeinstall 364 cd ${.CURDIR}/gnu/lib/libdialog; ${MAKE} beforeinstall 365 cd ${.CURDIR}/gnu/lib/libgmp; ${MAKE} beforeinstall 366 cd ${.CURDIR}/gnu/usr.bin/cc/cc1plus; ${MAKE} beforeinstall 367.if exists(${.CURDIR}/secure) && !defined(NOCRYPT) 368 cd ${.CURDIR}/secure/lib/libdes; ${MAKE} beforeinstall 369.endif 370.if exists(${.CURDIR}/kerberosIV) && !defined(NOCRYPT) && \ 371 defined(MAKE_KERBEROS4) 372 cd ${.CURDIR}/kerberosIV/lib/libacl; ${MAKE} beforeinstall 373 cd ${.CURDIR}/kerberosIV/lib/libkadm; ${MAKE} beforeinstall 374 cd ${.CURDIR}/kerberosIV/lib/libkafs; ${MAKE} beforeinstall 375 cd ${.CURDIR}/kerberosIV/lib/libkdb; ${MAKE} beforeinstall 376 cd ${.CURDIR}/kerberosIV/lib/libkrb; ${MAKE} beforeinstall 377 cd ${.CURDIR}/kerberosIV/lib/libtelnet; ${MAKE} beforeinstall 378.else 379 cd ${.CURDIR}/lib/libtelnet; ${MAKE} beforeinstall 380.endif 381.if exists(${.CURDIR}/lib/csu/${MACHINE_ARCH}) 382 cd ${.CURDIR}/lib/csu/${MACHINE_ARCH}; ${MAKE} beforeinstall 383.endif 384 cd ${.CURDIR}/lib/libalias; ${MAKE} beforeinstall 385 cd ${.CURDIR}/lib/libatm; ${MAKE} beforeinstall 386 cd ${.CURDIR}/lib/libdevstat; ${MAKE} beforeinstall 387 cd ${.CURDIR}/lib/libc; ${MAKE} beforeinstall 388 cd ${.CURDIR}/lib/libcalendar; ${MAKE} beforeinstall 389 cd ${.CURDIR}/lib/libcam; ${MAKE} beforeinstall 390 cd ${.CURDIR}/lib/libdisk; ${MAKE} beforeinstall 391 cd ${.CURDIR}/lib/libedit; ${MAKE} beforeinstall 392 cd ${.CURDIR}/lib/libftpio; ${MAKE} beforeinstall 393 cd ${.CURDIR}/lib/libkvm; ${MAKE} beforeinstall 394 cd ${.CURDIR}/lib/libmd; ${MAKE} beforeinstall 395.if !defined(WANT_CSRG_LIBM) 396 cd ${.CURDIR}/lib/msun; ${MAKE} beforeinstall 397.endif 398 cd ${.CURDIR}/lib/libncp; ${MAKE} beforeinstall 399 cd ${.CURDIR}/lib/libncurses; ${MAKE} beforeinstall 400 cd ${.CURDIR}/lib/libnetgraph; ${MAKE} beforeinstall 401 cd ${.CURDIR}/lib/libopie; ${MAKE} beforeinstall 402 cd ${.CURDIR}/lib/libpam/libpam; ${MAKE} beforeinstall 403 cd ${.CURDIR}/lib/libpcap; ${MAKE} beforeinstall 404 cd ${.CURDIR}/lib/libradius; ${MAKE} beforeinstall 405 cd ${.CURDIR}/lib/librpcsvc; ${MAKE} beforeinstall 406 cd ${.CURDIR}/lib/libskey; ${MAKE} beforeinstall 407 cd ${.CURDIR}/lib/libstand; ${MAKE} beforeinstall 408 cd ${.CURDIR}/lib/libtacplus; ${MAKE} beforeinstall 409 cd ${.CURDIR}/lib/libcom_err; ${MAKE} beforeinstall 410 cd ${.CURDIR}/lib/libss; ${MAKE} -B hdrs beforeinstall 411 cd ${.CURDIR}/lib/libutil; ${MAKE} beforeinstall 412 cd ${.CURDIR}/lib/libvgl; ${MAKE} beforeinstall 413 cd ${.CURDIR}/lib/libwrap; ${MAKE} beforeinstall 414 cd ${.CURDIR}/lib/libz; ${MAKE} beforeinstall 415 cd ${.CURDIR}/usr.bin/lex; ${MAKE} beforeinstall 416 417# 418# libraries - build all libraries, and install them under ${DESTDIR}. 419# 420# The following dependencies exist between the libraries: 421# 422# lib*: csu 423# libatm: libmd 424# libcrypt: libmd 425# libdialog: libncurses 426# libedit: libncurses 427# libg++: libm 428# libkrb: libcrypt 429# libopie: libmd 430# libpam: libcom_err libcrypt libdes libgcc_pic libkrb libradius libskey \ 431# libtacplus libutil 432# libradius: libmd 433# libreadline: libncurses 434# libskey: libcrypt libmd 435# libss: libcom_err 436# libstc++: libm 437# libtacplus: libmd 438# 439# Across directories this comes down to (rougly): 440# 441# gnu/lib: lib/libm lib/libncurses 442# kerberosIV/lib: lib/libcrypt 443# lib/libpam: secure/lib/libdes kerberosIV/lib/libkrb gnu/lib/libgcc 444# secure/lib: lib/libmd 445# 446.if exists(${.CURDIR}/lib/csu/${MACHINE_ARCH}.pcc) 447_csu= lib/csu/${MACHINE_ARCH}.pcc 448.elif ${MACHINE_ARCH} == "i386" && ${OBJFORMAT} == "elf" 449_csu= lib/csu/i386-elf 450.else 451_csu= lib/csu/${MACHINE_ARCH} 452.endif 453 454.if !defined(NOSECURE) && !defined(NOCRYPT) 455_secure_lib= secure/lib 456.endif 457 458.if !defined(NOCRYPT) && defined(MAKE_KERBEROS4) 459_kerberosIV_lib= kerberosIV/lib 460.endif 461 462.if defined(WANT_CSRG_LIBM) 463_libm= lib/libm 464.else 465_libm= lib/msun 466.endif 467 468.if !defined(NOPERL) 469_libperl= gnu/usr.bin/perl/libperl 470.endif 471 472libraries: 473.for _lib in ${_csu} lib/libmd lib/libcrypt ${_secure_lib} ${_kerberosIV_lib} \ 474 gnu/lib/libgcc lib/libcom_err ${_libm} lib/libncurses lib/libradius \ 475 lib/libskey lib/libtacplus lib/libutil lib gnu/lib ${_libperl} \ 476 usr.bin/lex/lib usr.sbin/pcvt/keycap 477.if exists(${.CURDIR}/${_lib}) 478 cd ${.CURDIR}/${_lib}; \ 479 ${MAKE} depend; \ 480 ${MAKE} all; \ 481 ${MAKE} install 482.endif 483.endfor 484 485.for __target in clean cleandepend cleandir depend obj 486.for entry in ${SUBDIR} 487${entry}.${__target}__D: .PHONY 488 @if test -d ${.CURDIR}/${entry}.${MACHINE_ARCH}; then \ 489 ${ECHODIR} "===> ${DIRPRFX}${entry}.${MACHINE_ARCH}"; \ 490 edir=${entry}.${MACHINE_ARCH}; \ 491 cd ${.CURDIR}/$${edir}; \ 492 else \ 493 ${ECHODIR} "===> ${DIRPRFX}${entry}"; \ 494 edir=${entry}; \ 495 cd ${.CURDIR}/$${edir}; \ 496 fi; \ 497 ${MAKE} ${__target} DIRPRFX=${DIRPRFX}$${edir}/ 498.endfor 499par-${__target}: ${SUBDIR:S/$/.${__target}__D/} 500.endfor 501 502.include <bsd.subdir.mk> 503