Makefile (148154) | Makefile (148330) |
---|---|
1# | 1# |
2# $FreeBSD: head/Makefile 148154 2005-07-19 11:21:14Z ru $ | 2# $FreeBSD: head/Makefile 148330 2005-07-23 14:23:30Z netchild $ |
3# 4# The user-driven targets are: 5# 6# universe - *Really* build *everything* (buildworld and 7# all kernels on all architectures). 8# buildworld - Rebuild *everything*, including glue to help do 9# upgrades. 10# installworld - Install everything built by "buildworld". 11# world - buildworld + installworld. 12# buildkernel - Rebuild the kernel and the kernel-modules. 13# installkernel - Install the kernel and the kernel-modules. 14# installkernel.debug 15# reinstallkernel - Reinstall the kernel and the kernel-modules. 16# reinstallkernel.debug 17# kernel - buildkernel + installkernel. 18# update - Convenient way to update your source tree (cvs). | 3# 4# The user-driven targets are: 5# 6# universe - *Really* build *everything* (buildworld and 7# all kernels on all architectures). 8# buildworld - Rebuild *everything*, including glue to help do 9# upgrades. 10# installworld - Install everything built by "buildworld". 11# world - buildworld + installworld. 12# buildkernel - Rebuild the kernel and the kernel-modules. 13# installkernel - Install the kernel and the kernel-modules. 14# installkernel.debug 15# reinstallkernel - Reinstall the kernel and the kernel-modules. 16# reinstallkernel.debug 17# kernel - buildkernel + installkernel. 18# update - Convenient way to update your source tree (cvs). |
19# check-old - Print a list of old files/directories in the system. 20# delete-old - Delete obsolete files and directories interactively. 21# delete-old-libs - Delete obsolete libraries interactively. |
|
19# 20# This makefile is simple by design. The FreeBSD make automatically reads 21# the /usr/share/mk/sys.mk unless the -m argument is specified on the 22# command line. By keeping this makefile simple, it doesn't matter too 23# much how different the installed mk files are from those in the source 24# tree. This makefile executes a child make process, forcing it to use 25# the mk files from the source tree which are supposed to DTRT. 26# --- 6 unchanged lines hidden (view full) --- 33# system, the simple instructions are: 34# 35# 1. `cd /usr/src' (or to the directory containing your source tree). 36# 2. `make world' 37# 38# For individuals wanting to upgrade their sources (even if only a 39# delta of a few days): 40# | 22# 23# This makefile is simple by design. The FreeBSD make automatically reads 24# the /usr/share/mk/sys.mk unless the -m argument is specified on the 25# command line. By keeping this makefile simple, it doesn't matter too 26# much how different the installed mk files are from those in the source 27# tree. This makefile executes a child make process, forcing it to use 28# the mk files from the source tree which are supposed to DTRT. 29# --- 6 unchanged lines hidden (view full) --- 36# system, the simple instructions are: 37# 38# 1. `cd /usr/src' (or to the directory containing your source tree). 39# 2. `make world' 40# 41# For individuals wanting to upgrade their sources (even if only a 42# delta of a few days): 43# |
41# 1. `cd /usr/src' (or to the directory containing your source tree). 42# 2. `make buildworld' 43# 3. `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). 44# 4. `make installkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). 45# 5. `reboot' (in single user mode: boot -s from the loader prompt). 46# 6. `mergemaster -p' 47# 7. `make installworld' 48# 8. `mergemaster' 49# 9. `reboot' | 44# 1. `cd /usr/src' (or to the directory containing your source tree). 45# 2. `make buildworld' 46# 3. `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). 47# 4. `make installkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). 48# 5. `reboot' (in single user mode: boot -s from the loader prompt). 49# 6. `mergemaster -p' 50# 7. `make installworld' 51# 8. `make delete-old' 52# 9. `mergemaster' 53# 10. `reboot' 54# 11. `make delete-old-libs' (in case no 3rd party program uses them anymore) |
50# 51# See src/UPDATING `COMMON ITEMS' for more complete information. 52# 53# If TARGET_ARCH=arch (e.g. ia64, sparc64, ...) is specified you can 54# cross build world for other architectures using the buildworld target, 55# and once the world is built you can cross build a kernel using the 56# buildkernel target. 57# 58# Define the user-driven targets. These are listed here in alphabetical 59# order, but that's not important. 60# 61# Targets that begin with underscore are internal targets intended for 62# developer convenience only. They are intentionally not documented and 63# completely subject to change without notice. 64# | 55# 56# See src/UPDATING `COMMON ITEMS' for more complete information. 57# 58# If TARGET_ARCH=arch (e.g. ia64, sparc64, ...) is specified you can 59# cross build world for other architectures using the buildworld target, 60# and once the world is built you can cross build a kernel using the 61# buildkernel target. 62# 63# Define the user-driven targets. These are listed here in alphabetical 64# order, but that's not important. 65# 66# Targets that begin with underscore are internal targets intended for 67# developer convenience only. They are intentionally not documented and 68# completely subject to change without notice. 69# |
65TGTS= all all-man buildenv buildkernel buildworld checkdpadd clean \ 66 cleandepend cleandir depend distribute distributeworld \ 67 distrib-dirs distribution everything \ | 70TGTS= all all-man buildenv buildkernel buildworld check-old checkdpadd \ 71 clean cleandepend cleandir delete-old delete-old-libs depend \ 72 distribute distributeworld distrib-dirs distribution everything \ |
68 hierarchy install installcheck installkernel installkernel.debug\ 69 reinstallkernel reinstallkernel.debug installworld \ 70 kernel-toolchain libraries lint maninstall \ 71 obj objlink regress rerelease tags toolchain update \ 72 _worldtmp _legacy _bootstrap-tools _cleanobj _obj \ 73 _build-tools _cross-tools _includes _libraries _depend \ 74 build32 distribute32 install32 75 --- 224 unchanged lines hidden --- | 73 hierarchy install installcheck installkernel installkernel.debug\ 74 reinstallkernel reinstallkernel.debug installworld \ 75 kernel-toolchain libraries lint maninstall \ 76 obj objlink regress rerelease tags toolchain update \ 77 _worldtmp _legacy _bootstrap-tools _cleanobj _obj \ 78 _build-tools _cross-tools _includes _libraries _depend \ 79 build32 distribute32 install32 80 --- 224 unchanged lines hidden --- |