freebsd-dev/share/mk
Satoshi Asami 9d9806c5b9 Hope I haven't missed anything or forgotten to credit anybody. (By
the way, most of the things below are "Reviewed by: hoek" as well.)

The changes are (roughly in order of appearance):

(1) Revamp comments at beginning of file.  Major rewrites.  Reorder
    them into more relevant sections.  Make clear which ones are user
    variables and not to be set in ports' Makefiles.
Reviewed by:	hoek (well, he's the only one who sent any comments)

(2) Include ${.CURDIR}/Makefile.local if it exists.  This is a local
    configuration file (ala rc.conf.local and make.conf.local) so
    please do not commit a file with this name to the repository.
Suggested by:	dillon

(3) MANCOMPRESSED now takes three possible values: "yes", "no" and
    "maybe".  (It used to be a binary variable -- the old behavior is
    now accomplished by "MANCOMPRESSED=yes".  Ports that defined this
    variable to other values have been corrected.)

    "yes" means the manpages are installed compressed, "no" means they
    are not, and "maybe" means the port already respects the value of
    NOMANCOMPRESS.  The default is "yes" for USE_IMAKE ports without
    NO_INSTALL_MANPAGES, and "no" otherwise.

    Add "compress-man" target and move manpage {,de}compression there.

Reviewed by:	hoek etc. and a full build of the ports tree

(4) Add LIBDIR="${LIBDIR}" to MAKE_ENV.  Makes easier to "fix" ports
    for /usr/lib/aout mess.
Submitted by:	ohashi@mickey.ai.kyutech.ac.jp (Takeshi Ohashi)

(5) Change ${TMPPLIST} from ${WRKDIR}/PLIST.mktmp to
    ${WRKDIR}/.PLIST.mktmp.
Suggested by:		hoek
Strongly seconded by:	steve

(6) Change a couple more relative pathnames to absolute ones.
Submitted by:	hoek

(7) Move checksum into real-extract.

(8) Change way rules are chained.  Instead of:

build: configure ${BUILD_COOKIE}
${BUILD_COOKIE}:
	@cd ${.CURDIR} && ${MAKE} ${.MAKEFLAGS} real-build

    we now have

build: ${BUILD_COOKIE}
${BUILD_COOKIE}:
	@cd ${.CURDIR} && ${MAKE} ${.MAKEFLAGS} configure
	@cd ${.CURDIR} && ${MAKE} ${.MAKEFLAGS} real-build

    Other than being more PC (pmake clean), this really speeds up
    skipping ports already built.  For instance, "make package" on a
    fully packaged games subtree used to take 269 seconds on average,
    now it's 45 seconds on average.

    The flip side of this is that it will create more processes when
    the targets actually chain, but when you're actually compiling
    things, your make is creating half a bazzilion processes anyway so
    I don't think it matters.

(9) ${TMPPLIST} is now a real dependency.  Create "generate-plist"
    target to generate ${TMPPLIST}.  Make sure it's called when needed
    (usually between do-install and post-install), and that the
    required files exist.

(10) Change some messages so we can tell where "make index" failed.

(11) Check if LIB_DEPENDS really generated the required shared lib or
     not.
Seconded by: "Brent J. Nordquist" <bjn@visi.com>
1998-08-27 00:18:50 +00:00
..
bsd.dep.mk Recognize ".cpp" as a C++ suffix. 1998-06-05 18:38:55 +00:00
bsd.doc.mk Make ../Makefile.inc handling more consistant to prevent multiple includes 1998-08-08 07:02:08 +00:00
bsd.info.mk Make ../Makefile.inc handling more consistant to prevent multiple includes 1998-08-08 07:02:08 +00:00
bsd.kern.mk Added -ansi to CWARNFLAGS so that ANSI errors don't come back. 1998-05-01 18:13:37 +00:00
bsd.kmod.mk Make ../Makefile.inc handling more consistant to prevent multiple includes 1998-08-08 07:02:08 +00:00
bsd.lib.mk Clean up all temporaries that we can generate. 1998-08-08 13:22:06 +00:00
bsd.libnames.mk add libcipher, and update comments about libdes, libkdb, libkrb etc 1998-06-01 19:38:20 +00:00
bsd.man.mk Make ../Makefile.inc handling more consistant to prevent multiple includes 1998-08-08 07:02:08 +00:00
bsd.obj.mk Make the whereobj target print it's output without the overhead of 1998-06-04 15:31:55 +00:00
bsd.own.mk Add default OBJFORMAT so that the build process can test for this 1998-08-18 00:50:36 +00:00
bsd.port.mk Hope I haven't missed anything or forgotten to credit anybody. (By 1998-08-27 00:18:50 +00:00
bsd.port.subdir.mk Add "deinstall" to list of targets. This is only fair since "install" and 1998-08-26 23:46:13 +00:00
bsd.prog.mk Make ../Makefile.inc handling more consistant to prevent multiple includes 1998-08-08 07:02:08 +00:00
bsd.README Complete back-out of the bsd.locale.mk change. 1998-05-20 22:27:18 +00:00
bsd.sgml.mk Make ../Makefile.inc handling more consistant to prevent multiple includes 1998-08-08 07:02:08 +00:00
bsd.subdir.mk Make ../Makefile.inc handling more consistant to prevent multiple includes 1998-08-08 07:02:08 +00:00
Makefile Complete back-out of the bsd.locale.mk change. 1998-05-20 22:27:18 +00:00
sys.mk Remove the alpha specific __NETBSD_SYSCALLS from CFLAGS. This can still 1998-08-08 02:08:37 +00:00