Deleted Added
full compact
Makefile.inc1 (313522) Makefile.inc1 (313790)
1#
1#
2# $FreeBSD: stable/10/Makefile.inc1 313522 2017-02-10 04:28:44Z ngie $
2# $FreeBSD: stable/10/Makefile.inc1 313790 2017-02-16 05:14:07Z ngie $
3#
4# Make command line options:
5# -DNO_CLEANDIR run ${MAKE} clean, instead of ${MAKE} cleandir
6# -DNO_CLEAN do not clean at all
7# -DDB_FROM_SRC use the user/group databases in src/etc instead of
8# the system database when installing.
9# -DNO_SHARE do not go into share subdir
10# -DKERNFAST define NO_KERNEL{CONFIG,CLEAN,DEPEND,OBJ}

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

30# BUILDENV_SHELL= shell to launch for the buildenv target (def:/bin/sh)
31# WORLD_FLAGS= additional flags to pass to make(1) during buildworld
32# KERNEL_FLAGS= additional flags to pass to make(1) during buildkernel
33
34#
35# The intended user-driven targets are:
36# buildworld - rebuild *everything*, including glue to help do upgrades
37# installworld- install everything built by "buildworld"
3#
4# Make command line options:
5# -DNO_CLEANDIR run ${MAKE} clean, instead of ${MAKE} cleandir
6# -DNO_CLEAN do not clean at all
7# -DDB_FROM_SRC use the user/group databases in src/etc instead of
8# the system database when installing.
9# -DNO_SHARE do not go into share subdir
10# -DKERNFAST define NO_KERNEL{CONFIG,CLEAN,DEPEND,OBJ}

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

30# BUILDENV_SHELL= shell to launch for the buildenv target (def:/bin/sh)
31# WORLD_FLAGS= additional flags to pass to make(1) during buildworld
32# KERNEL_FLAGS= additional flags to pass to make(1) during buildkernel
33
34#
35# The intended user-driven targets are:
36# buildworld - rebuild *everything*, including glue to help do upgrades
37# installworld- install everything built by "buildworld"
38# checkworld - run test suite on installed world
38# doxygen - build API documentation of the kernel
39# update - convenient way to update your source tree (eg: svn/svnup)
40#
41# Standard targets (not defined here) are documented in the makefiles in
42# /usr/share/mk. These include:
43# obj depend all install clean cleandepend cleanobj
44
45.if !defined(TARGET) || !defined(TARGET_ARCH)
46.error "Both TARGET and TARGET_ARCH must be defined."
47.endif
48
49.include <bsd.own.mk>
50.include <bsd.arch.inc.mk>
51.include <bsd.compiler.mk>
52
39# doxygen - build API documentation of the kernel
40# update - convenient way to update your source tree (eg: svn/svnup)
41#
42# Standard targets (not defined here) are documented in the makefiles in
43# /usr/share/mk. These include:
44# obj depend all install clean cleandepend cleanobj
45
46.if !defined(TARGET) || !defined(TARGET_ARCH)
47.error "Both TARGET and TARGET_ARCH must be defined."
48.endif
49
50.include <bsd.own.mk>
51.include <bsd.arch.inc.mk>
52.include <bsd.compiler.mk>
53
54LOCALBASE?= /usr/local
55
53# We must do share/info early so that installation of info `dir'
54# entries works correctly. Do it first since it is less likely to
55# grow dependencies on include and lib than vice versa.
56#
57# We must do lib/ and libexec/ before bin/, because if installworld
58# installs a new /bin/sh, the 'make' command will *immediately*
59# use that new version. And the new (dynamically-linked) /bin/sh
60# will expect to find appropriate libraries in /lib and /libexec.

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

1185 cd ${DESTDIR}/${DISTDIR}/kernel.${_kernel}; \
1186 tar cvf - . | \
1187 ${XZ_CMD} > ${PACKAGEDIR}/kernel.${_kernel}.txz
1188.endfor
1189.endif
1190.endif
1191
1192#
56# We must do share/info early so that installation of info `dir'
57# entries works correctly. Do it first since it is less likely to
58# grow dependencies on include and lib than vice versa.
59#
60# We must do lib/ and libexec/ before bin/, because if installworld
61# installs a new /bin/sh, the 'make' command will *immediately*
62# use that new version. And the new (dynamically-linked) /bin/sh
63# will expect to find appropriate libraries in /lib and /libexec.

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

1188 cd ${DESTDIR}/${DISTDIR}/kernel.${_kernel}; \
1189 tar cvf - . | \
1190 ${XZ_CMD} > ${PACKAGEDIR}/kernel.${_kernel}.txz
1191.endfor
1192.endif
1193.endif
1194
1195#
1196#
1197# checkworld
1198#
1199# Run test suite on installed world.
1200#
1201checkworld: .PHONY
1202 @if [ ! -x ${LOCALBASE}/bin/kyua ]; then \
1203 echo "You need kyua (devel/kyua) to run the test suite." | /usr/bin/fmt; \
1204 exit 1; \
1205 fi
1206 ${_+_}${LOCALBASE}/bin/kyua test -k ${TESTSBASE}/Kyuafile
1207
1208#
1209#
1193# doxygen
1194#
1195# Build the API documentation with doxygen
1196#
1197doxygen: .PHONY
1210# doxygen
1211#
1212# Build the API documentation with doxygen
1213#
1214doxygen: .PHONY
1198 @if [ ! -x `/usr/bin/which doxygen` ]; then \
1215 @if [ ! -x ${LOCALBASE}/bin/doxygen ]; then \
1199 echo "You need doxygen (devel/doxygen) to generate the API documentation of the kernel." | /usr/bin/fmt; \
1200 exit 1; \
1201 fi
1202 ${_+_}cd ${.CURDIR}/tools/kerneldoc/subsys; ${MAKE} obj all
1203
1204#
1205# update
1206#

--- 1023 unchanged lines hidden ---
1216 echo "You need doxygen (devel/doxygen) to generate the API documentation of the kernel." | /usr/bin/fmt; \
1217 exit 1; \
1218 fi
1219 ${_+_}cd ${.CURDIR}/tools/kerneldoc/subsys; ${MAKE} obj all
1220
1221#
1222# update
1223#

--- 1023 unchanged lines hidden ---