summaryrefslogtreecommitdiffstats
path: root/share/mk
Commit message (Collapse)AuthorAgeFilesLines
* Oops, this wasn't supposed to have -Wcast-qual yet.bde1996-10-091-2/+2
| | | | | | | Also disabled -Wunused. It caused too many warnings even for me. The sign mismatch warnings should be fixed first. They are more important and harder to disable (they are controlled by -W, which controls too many things).
* Oops, forgot to cvs add bsd.kern.mk.bde1996-10-081-0/+15
| | | | Centralized the definition of CWARNFLAGS into bsd.kern.mk.
* Centralized the definition of CWARNFLAGS into bsd.kern.mk.bde1996-10-082-9/+6
|
* Generate ISO-8859-1 text by default instead of US-ASCII.jfieber1996-10-081-2/+2
|
* add variables MODLOAD and MODUNLOAD for modlad/modunload commandswosch1996-10-061-4/+11
|
* Create first HTML output and than ASCII. Generatingwosch1996-10-061-3/+3
| | | | | HTML formatted output is usually faster and we see SGML errors earlier.
* Add LIBSTDCPLUSPLUSpeter1996-10-041-1/+2
| | | | (can't use the '+' char in variable names, same as LIBGPLUSPLUS)
* libresolv.a doesn't exist anymore... Hmm, what's the right thing to dopeter1996-10-041-2/+2
| | | | here? Can we just undefine it? What about 3rd party bmakefiles?
* 1) If as link file was created by sgmlfmt, use it during installation.jfieber1996-10-011-5/+8
| | | | 2) The assignment of CLEANFILES in a .for loop was badly botched. Now fixed.
* Don't warn about non-canonical object directories if they have beenbde1996-09-291-15/+20
| | | | | | | | | forced in any of the standard ways (MAKEOBJDIR was lost in the previous commit). Simplified the conditionals for this. Restored comment about MAKEOBJDIR from rev.1.4. Improved English in comments.
* Add links file to CLEANFILES.jfieber1996-09-291-2/+2
|
* The warning was triggering off the unused variable MAKEOBJDIR, insteadnate1996-09-281-2/+2
| | | | | | of the variable OBJLINK which is used in /etc/make.conf to build 'obj' links in the current directory. This caused lots of useless warnings since if OBJLINK is defined ./obj will be created and used.
* Fixed dependencies on libraries which I broke in rev.1.39 ofbde1996-09-282-4/+6
| | | | | | bsd.prog.mk and didn't actually fix in rev.1.43 of bsd.lib.mk. The library names must be defined before they are used in dependencies.
* Back out changes in rev. 1.217 -- ${CONFIGURE_SCRIPT} is notasami1996-09-241-3/+3
| | | | meant to rename the name of script in ${SCRIPTDIR}.
* Back out my brackets change, it is definitely make bug, (recentlyache1996-09-241-2/+2
| | | | introduced) because old make version I check do the right job.
* Add brackets to change bogus make expression priority, i.e.ache1996-09-241-2/+2
| | | | | | | | | !defined(X) && $(A) != $(B) parsed as (!defined(X) && $(A)) != $(B) and not as !defined(X) && ($(A) != $(B)) Probably it should be fixed in make
* Look on the CDROM for patch files too.asami1996-09-231-2/+4
| | | | | | | | Submitted by: max While I'm here, add "${DIST_SUBDIR}/" at end of CDROM pathnames. Also add an empty declaration of PATCH_SITES next to MASTER_SITES to avoid "variable recursive" error.
* Added a `checkdpadd' target to help check that ${DPADD} is consistent withbde1996-09-202-3/+16
| | | | ${LDADD}. It doesn't handle internal libraries very well yet.
* Fixed and simplified `whereobj' rule. Use the not-so-new -V feature.bde1996-09-201-10/+2
| | | | Echoing ${.OBJDIR} would work. but -V is more general.
* add -fgnu-runtime to the .m.o and .m.po rules, since we (will) havepeter1996-09-191-3/+3
| | | | | | the gnu libobjc rather than the NeXT one. I do not understand objc so I don't know the implications of this, but the gcc-2.7.2 libobjc is built with this.
* disable the objwarn warning if NOOBJ is set.. We have quite a few placespeter1996-09-191-3/+5
| | | | | | in the tree that use things like bsd.prog.mk just to get the default targets like install, tags, obj, clean, cleandir, cleandepend, but do not actually build anything there.
* .TARGETOBJDIR has been removed from make and CANONICALOBJDIR set inswallace1996-09-184-29/+49
| | | | | | | | | | bsd.obj.mk. Also, a make target called objwarn checks to see if ${.OBJDIR} != ${.CURDIR} and ${.OBJDIR} != ${CANONICALOBJDIR} and outputs a warning. (No warning for the latter if MAKEOBJDIR or MAKEOBJDIRP REFIX is set). objwarn is called from all targets in bsd.prog.mk, bsd.kmod.mk, and bsd.lib.mk. Reviewed by: bde
* Workaround to (hopefully) fix the NOMANCOMPRESS case of the MANFILTER-usingpeter1996-09-161-3/+18
| | | | | | | | | | | | | man pages (eg: named/bind/etc). In order to get (say) dig.1 to pass through the filter and produce a new dig.1 for installing, I used an intermediate file at build time, similar to the way the .gz man pages are built. I've not extensively tested this, but it seems to work for the known cases where it was failing, and it only affects the NOMANCOMPRESS case which was already broken. Pointed out by: "Ph. Charnier" <charnier@xp11.frmug.org>, PR#1612
* Moved definitions of library names from bsd.prog.mk to a new centralbde1996-09-054-58/+60
| | | | | file bsd.libnames.mk and include this file where necessary. This fixes null library names in ${DPADD}'s in library makefiles.
* Fixed `make objlink' (and `make obj' in the (non-default) OBJLINK case).bde1996-09-051-3/+5
| | | | | | | | | | | Running them twice usually destroyed the target binary. E.g., the second `make objlink' in `make objlink; make; make objlink' replaced the `cat' binary by a symlink cat@ -> /usr/obj/usr/src/bin/cat. `ln -fs' is unusable when the target might be a symlink that resolves to a directory. Then -f applies to a file in the directory and not to the symlink. This seems to be the standard (and sometimes useful) behaviour.
* BSD.usr.dist:bde1996-09-032-18/+2
| | | | | | | | | | | | | | | | | | | | | Added forgotten share/doc/psd/05.sysman and share/zoneinfo/America/Indiana. bsd.doc.mk: Nuked mkdir -p and wrong fixups of the leaf directory's ownerships and permissions. The doc tree should be well enough established for this to be safe. Installs to directories should use a trailing slash on the directory name so installs to non-drectories are fatal, but I didn't start changing them. bsd.man.mk: Nuked mkdir -p and wrong fixups of the leaf directory's ownerships and permissions. They were overkill to create just /usr/share/info. zoneinfo/Makefile: No changes yet. zic creates directories with ordinary 755 permissions. Why do we use 555 permissions for directories in /usr/share/zoninfo. Why not for zoneinfo itself? /proc and /dev/fd are the only other directories in the system with 555 permissions.
* Don't depend in the kernel on the gcc feature of doing arithmetic onbde1996-08-311-2/+2
| | | | pointers of type `void *'. Warn about this in future.
* Use MANFILTER everywhere instead of a couple of MANFILT typos..peter1996-08-261-4/+4
|
* /bin/echo -> ${ECHO}wosch1996-08-251-2/+2
| | | | /usr/bin/sed -> ${SED}
* Back out the recent DEPEND changes - as Bruce points out, it's bogus.jkh1996-08-253-7/+4
| | | | | I'll leave any future Makefile hackery to him since he's clearly thought about this a great deal more than I have.
* Use the new "file:" URL specification to fetch to check the CDROMasami1996-08-241-2/+12
| | | | | | | first if /cdrom/ports/distfiles exists. If FETCH_SYMLINK_DISTFILES is set, symlink the file instead of copying. Reviewed by: jhk
* Make it possible to turn the depend pass off entirely with a NO_DEPENDjkh1996-08-234-7/+10
| | | | | variable. Requested-By: wollman
* Add depend to all target so that it's explicit. It's only done once,jkh1996-08-233-6/+6
| | | | | even if make all is run multiple times, since the depend rule looks for an existing .depend file.
* Update explanation of *_DEPENDS, in particular note that bsd.port.mkasami1996-08-201-18/+20
| | | | | can now check existence of files specified by full pathnames, not only executables.
* (1) Use INSTALL_PROGRAM where we attempt to pass this command lineasami1996-08-181-2/+7
| | | | | | | | to configure. (2) Gently warn user for non-0022 umasks. Submitted by: "David E. O'Brien" <obrien@Nuxi.cs.ucdavis.edu> (1)
* (1) Ignore patches directory without a patch with a message instead ofasami1996-08-171-44/+29
| | | | | | | | | | | | | bombing mercilessly. (2) If that directory has a directory called CVS, remind the user of the existence of the "-P" option to cvs co and update. (3) While I'm here, clean up the PATCH_DEBUG code a bit. In particular, don't duplicate a whole bunch of code just for adding a single "echo" statement. ;) Reviewed by: the ports list
* (1) Add myself as MAINTAINER (of this file) -- commented out so itasami1996-08-151-4/+29
| | | | | | | | | | | | | won't be pulled into individual ports that include this file. ;) (2) Document MOTIFLIB, it's not set in the ports Makefiles but is important for Motif ports (already documented in the handbook). (3) Add INSTALL_PROGRAM, INSTALL_SCRIPT, INSTALL_DATA, INSTALL_MAN as "aliases" of the appropriate install command line, for use in *-install targets. Reviewed by: the ports list (item 3 only)
* Add a hook ``MANFILTER''. This optionally specifies a command topeter1996-08-111-1/+22
| | | | | | | | pipe the man page source through before compressing or installing. This can be used to do do (eg) sed substitution on man pages from 3rd party packages (in particular, ncurses and bind-4.9.4) This should not affect anything already in the source tree.
* Replace some leaky ``cpp | as'' pipelines with ``cc -x <lang>'' commandspeter1996-08-111-13/+10
| | | | | | to do the preprocessing and assembling. (I've been running this for months, and had forgotten about it)
* Make explanation of BUILD_DEPENDS less confusing.asami1996-08-071-3/+3
| | | | Requested by: Narvi <narvi@haldjas.folklore.ee>
* Use tsort -qjkh1996-08-031-4/+4
|
* The clean rule in here was bogus.jkh1996-07-271-4/+1
|
* Fixed bug, that CONFIGURE_SCRIPT in a port's Makefile doesn't haveandreas1996-07-271-3/+3
| | | | | | any effect. The target do-configure used ${SCRIPTDIR}/configure instead of ${SCRIPTDIR}/${CONFIGURE_SCRIPT}. -andreas
* Fix the recently added whereobj target.peter1996-07-141-4/+4
| | | | | Add missing end-of-line backslash Remove two extra @ characters
* Add whereobj target to find that pesky obj dirpst1996-07-121-1/+17
|
* Remove now-unused SRC_ENCAPSULATION hack.jkh1996-07-051-29/+1
|
* Fix the ordering dependency I broke.jkh1996-06-301-2/+2
|
* Make cleandirs more safephk1996-06-292-4/+4
| | | | Suggested by: bde
* Add a missing space in a commentgpalmer1996-06-261-2/+2
|
* Add default targets for cleandepend and objlink.jkh1996-06-241-2/+2
| | | | Submitted by: Michael Hancock <michaelh@cet.co.jp>
OpenPOWER on IntegriCloud