summaryrefslogtreecommitdiffstats
path: root/share/mk/sys.mk
Commit message (Collapse)AuthorAgeFilesLines
* Remove the alpha specific __NETBSD_SYSCALLS from CFLAGS. This can stilljb1998-08-081-6/+1
| | | | | be added in /etc/make.conf. Yes folks, the alpha kernel is coming to a screen (and hopefully a disk) near you. Thanks to Doug.
* Fixed building -current under 2.2.6 using `make world'. Moved somebde1998-08-031-9/+2
| | | | | | | recently added definitions from sys.mk to bsd.own.mk. Include the src-relative bsd.own.mk in src/Makefile to pick up all new definitions. Don't check that MACHINE_ARCH is defined in src/Makefile, since it is (and should have been) guaranteed to be defined.
* Move bsd.own.mk after make.conf, this allows BINFORMAT to be set inpeter1998-06-121-3/+3
| | | | | /etc/make.conf - it changes LIBDIR in bsd.own.mk. Note that there are still problems with this, individual Makefiles cannot override BINFORMAT.
* Recognize ".cpp" as a C++ suffix.dt1998-06-051-3/+3
| | | | PR: 3476
* Fix my last commit which got caught in the cvs/cvsup cycle.jb1998-06-031-3/+2
| | | | | I'm told that I botched the tabs too. I'm not sure they are fixed now because I find that rather tedious.
* Uh, the NetBSD syscall define spam for alpha has to go after /etc/make.confjb1998-06-031-1/+6
| | | | so that it works all the time.
* In the case of alpha (only), more than just libc needs to know thatjb1998-06-031-1/+2
| | | | | NetBSD syscalls are being used, so spam all compiles with the define that indicates this.
* Oops, forgot references in previous commit.bde1998-05-151-1/+1
| | | | | Submitted by: Brian Cully <shmit@erols.com> PR: 6178
* Support Objective C almost as well as C++.bde1998-05-151-2/+8
| | | | | | | | | Notes: - We no longer use -fgnu-runtime in bsd.lib.mk, since it is the default and bsd.lib.mk is the wrong place to override it. - Gnu C doesn't have a special compiler driver for Objective C like it does for C++. The defaults are suitable for Gnu C. Use `OBJCLIBS=' in /etc/make.conf for POC.
* Add -pipe to default CFLAGS. The optimization it provides is cheapjkh1998-05-011-2/+2
| | | | | | and does not require any special action on the part of the user to take advantage of it. And no, it probably won't work with c89. Cry me a river!
* Support new version of global.eivind1998-03-231-2/+2
| | | | | Submitted by: Shigio Yamaguchi <shigio@wafu.netgate.net> Tested by: make buildworld
* Don't pass the undocumented flags `-se' to gtags (gtags ignores them forbde1998-02-201-2/+2
| | | | compatibility).
* FreeBSD's make knows about the MACHINE, but not the MACHINE_ARCH unlessjb1998-01-211-2/+9
| | | | | | | | | | | | | | it is built with this defined (which it isn't by default). This change to sys.mk treats the absence of MACHINE_ARCH as i386 on the assumption that it will be appropriately defined (as something else) on any other architecture. When building FreeBSD's make with NetBSD tools, both MACHINE and MACHINE_ARCH are correctly set (e.g. when bootstrapping FreeBSD's make on NetBSD/mvme68k, MACHINE=mvme68k and MACHINE_ARCH=m68k). This isn't really needed for the alpha which has both defined as 'alpha', but I thought it was worth getting the distinction between a MACHINE and a MACHINE_ARCH correct now. Now, shouldn't PC98 have MACHINE=pc98 and MACHINE_ARCH=i386 ??!!
* Choose the default binary format based on machine type.jb1998-01-131-1/+5
| | | | Alpha is elf, not aout.
* Restore the BINFORMAT?= in sys.mk, or it's painfully difficult to usepeter1997-09-051-1/+4
| | | | | | | | .if in Makefiles. bsd.prog.mk and bsd.lib.mk do not depend on it however. Allow overriding of the -soname arg when building the lib*crypt.so* libs since libdescrypt.so and libscrupt.so both need a -soname of libcrypt.so so that the symlink is obeyed at runtime rather than at compile time.
* Change the BINFORMAT definitions so that they do not depend on sys.mk,peter1997-09-051-4/+1
| | | | | | since 2.1.x make(1) apparently does not have the -m switch to set both the the bsd.*.mk and sys.mk location, and this breaks 'make world' from a 2.1.x system.
* A first cut at some rules for building elf shared libs. Of particularpeter1997-08-301-1/+4
| | | | | | | | note, using "-Wl,-f" to generate a library objects list doesn't work anymore since the hack to ld hasn't been incorporated into binutils-2.8. (and the -f switch is used for something else already) This is disabled by default, don't panic! :-)
* Support GLOBAL style tags.jkh1997-04-131-1/+5
|
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Revert changes to make the .y.c rule 'make -j n' safe.steve1997-01-121-2/+4
|
* Make the .y.c rule 'make -j n' friendly.steve1997-01-061-4/+2
| | | | Inspired by: bde and brian@mediacity.com
* Style changes: $(...) --> ${...}, consistent placement of -c.alex1996-11-071-15/+15
| | | | Suggested by: bde (via steve)
* Add in POSIX 1003.2 mandated rules. NOTE: thesesteve1996-11-031-1/+93
| | | | | | | will only be enabled when the first non-comment line of the Makefile contains the .POSIX directive. Submitted by: Joerg Wunsch <joerg@freebsd.org>
* Back out yacc change.phk1996-06-021-8/+11
|
* Make the yacc rules reentrantphk1996-05-301-12/+9
| | | | Suggested by: peter
* Avoid a ton of "mv" when making libs by using -O to ld.phk1996-05-281-12/+8
| | | | Make lex rules reentrant.
* Make some rules reentrant, and mark the onces that cannot be.phk1996-05-091-1/+7
|
* delete ``.if ${MACHINE} == "sparc"''wosch1996-03-241-6/+1
|
* Add `.sh' suffix and rule.bde1995-10-211-10/+12
| | | | | | | Enable `.c' rule. (Null suffix rules were disabled because of bugs in old versions of make.) Add ${LDFLAGS} to all rules that involve linking.
* Changed default optimization from -O2 back to -O...gcc 2.6.* has seriousdg1995-08-111-2/+2
| | | | bugs when using -O2.
* Move INSTALL?=install line duplicated into each .mk to sys.mkache1994-12-281-1/+3
| | | | instead
* Update make.conf and sys.mk to reflect the most recent advances inphk1994-11-071-5/+3
| | | | civilization: Use -O2 and MSUN as default, and X11 is in /usr/X11R6
* Add .S to SUFFIXES and add .S.o: rule.rgrimes1994-10-021-2/+5
| | | | Submitted by: bde
* The .c: rule added by Bruce, but as yet unused, causes serious problemsrgrimes1994-09-071-3/+5
| | | | | | | | for the 1.1.5 FreeBSD make. For now just comment it out until a fix for make can be found. Reviewed by: bde Submitted by: rgrimes
* Add an X11BASE variable that currently points to /usr/X386 but willjkh1994-09-041-1/+5
| | | | | | | be easy to change to /usr/X11R6 if and when the time comes. This is to deal with things like xditview which otherwise had hardcoded assumptions about where X lived. Yuck. Submitted by: jkh
* Changed g++ to c++paul1994-08-311-2/+2
| | | | | Reviewed by: Submitted by:
* Recover improvements in 4.4lite version that were clobbered by thebde1994-08-281-30/+50
| | | | | | | | | | | | | previous commit: + Everything is initialized using ?= instead of =. + Nicer formatting (more white space). + .c: rule. Add macros ECHO and ECHODIR. Both are normally `echo', but when the make flags include -s, ECHO is set to `true' and when the make flags include two or more -s's ECHODIR is set to `true'. @${ECHO} should be used instead of @echo in most cases. ${ECHODIR} is intended to be used mainly for messages about directory names.
* Spplat our 1.1.5 `mk' ifiles over the top of the 4.4 ones. So farwollman1994-08-041-35/+40
| | | | as I can tell, this is ts the right thing to do.
* BSD 4.4 Lite Share Sourcesrgrimes1994-05-301-0/+101
OpenPOWER on IntegriCloud