Deleted Added
full compact
Makefile (54311) Makefile (54324)
1#
1#
2# $FreeBSD: head/Makefile 54311 1999-12-08 13:45:11Z marcel $
2# $FreeBSD: head/Makefile 54324 1999-12-08 18:10:15Z marcel $
3#
4# The user-driven targets are:
5#
6# buildworld - Rebuild *everything*, including glue to help do
7# upgrades.
8# installworld - Install everything built by "buildworld".
9# world - buildworld + installworld.
10# update - Convenient way to update your source tree (cvs).

--- 67 unchanged lines hidden (view full) ---

78#
79#
80# Define the user-driven targets. These are listed here in alphabetical
81# order, but that's not important.
82#
83TGTS = afterdistribute all buildworld checkdpadd clean cleandepend cleandir \
84 depend distribute everything hierarchy includes install installmost \
85 installworld lint maninstall mk most obj objlink regress rerelease \
3#
4# The user-driven targets are:
5#
6# buildworld - Rebuild *everything*, including glue to help do
7# upgrades.
8# installworld - Install everything built by "buildworld".
9# world - buildworld + installworld.
10# update - Convenient way to update your source tree (cvs).

--- 67 unchanged lines hidden (view full) ---

78#
79#
80# Define the user-driven targets. These are listed here in alphabetical
81# order, but that's not important.
82#
83TGTS = afterdistribute all buildworld checkdpadd clean cleandepend cleandir \
84 depend distribute everything hierarchy includes install installmost \
85 installworld lint maninstall mk most obj objlink regress rerelease \
86 tags update world
86 tags update
87
87
88MAKE= make -m ${.CURDIR}/share/mk -f Makefile.inc1
89
88#
89# Handle the user-driven targets, using the source relative mk files.
90#
91${TGTS} : upgrade_checks
92 @cd ${.CURDIR}; \
90#
91# Handle the user-driven targets, using the source relative mk files.
92#
93${TGTS} : upgrade_checks
94 @cd ${.CURDIR}; \
93 ${MAKE} -f Makefile.inc1 -m ${.CURDIR}/share/mk ${.TARGET}
95 ${MAKE} ${.TARGET}
94
95# Set a reasonable default
96.MAIN: all
97
96
97# Set a reasonable default
98.MAIN: all
99
100STARTTIME!= LC_TIME=C date
98#
101#
102# world
103#
104# Attempt to rebuild and reinstall *everything*, with reasonable chance of
105# success, regardless of how old your existing system is.
106#
107world: upgrade_checks
108 @echo "--------------------------------------------------------------"
109 @echo ">>> ${OBJFORMAT} make world started on ${STARTTIME}"
110 @echo "--------------------------------------------------------------"
111.if target(pre-world)
112 @echo
113 @echo "--------------------------------------------------------------"
114 @echo ">>> Making 'pre-world' target"
115 @echo "--------------------------------------------------------------"
116 @cd ${.CURDIR}; ${MAKE} pre-world
117.endif
118 @cd ${.CURDIR}; ${MAKE} buildworld
119 @cd ${.CURDIR}; ${MAKE} -B installworld
120.if target(post-world)
121 @echo
122 @echo "--------------------------------------------------------------"
123 @echo ">>> Making 'post-world' target"
124 @echo "--------------------------------------------------------------"
125 @cd ${.CURDIR}; ${MAKE} post-world
126.endif
127 @echo
128 @echo "--------------------------------------------------------------"
129 @echo ">>> ${OBJFORMAT} make world started on ${STARTTIME}"
130 @echo ">>> ${OBJFORMAT} make world completed on `LC_TIME=C date`"
131 @echo "--------------------------------------------------------------"
132
133#
99# Perform a few tests to determine if the installed tools are adequate
100# for building the world. These are for older systems (prior to 2.2.5).
101#
102# From 2.2.5 onwards, the installed tools will pass these upgrade tests,
103# so the normal make world is capable of doing what is required to update
104# the system to current.
105#
106upgrade_checks :

--- 24 unchanged lines hidden ---
134# Perform a few tests to determine if the installed tools are adequate
135# for building the world. These are for older systems (prior to 2.2.5).
136#
137# From 2.2.5 onwards, the installed tools will pass these upgrade tests,
138# so the normal make world is capable of doing what is required to update
139# the system to current.
140#
141upgrade_checks :

--- 24 unchanged lines hidden ---