Commit Graph

1527 Commits

Author SHA1 Message Date
drochner 29d30258a4 mk.conf might refer to all kinds of make variables, so we can't just pull
it in without everything else (reported by martin). So revert to 1.485
which did at least work for everyone.
2006-11-26 13:59:49 +00:00
drochner 0c2df71a45 fix previous: need to pull in <bsd.obj.mk> to get the real .OBJDIR 2006-11-24 12:02:55 +00:00
martin 6a3c1d7aeb When checking wether we are debugging, look for -g in ${CFLAGS} instead
of ${COPTS}. The latter explicitly includes the former and ${DBG}, where
the -g most likely is hidden.
2006-11-23 12:05:26 +00:00
dsl 503ea65cd7 If we only want .OBJDIR printed, there is no point parsing the default
make rules, nor reading Makefile.
It is rather a shame we can't stop .depend being parsed as well.
Quite possibly one could argue that nothing in .depend should affect the
output of 'make -V xxxx'.
2006-11-22 22:04:57 +00:00
dsl 0d9ff52003 Mark all the .PHONY targets as .NOTMAIN in one go - instead of individually.
Add .WAITs after beforeinstall and before afterinstall.
Remove the bogus dependency lines that someone must have added with the
vague hope they would cause the build to happen in the right order!
Since we have 'realinstall:     proginstall scriptsinstall' stopping
'realinstall' running never has stopped 'proginstall' running.
Fixing this probably fixes a variety of problems, including, but not
restricted to 'install' in src/sys/arch/atari/stand/bootxx
(NB this particular file is untested due to other local changes)
2006-11-21 18:25:26 +00:00
christos 1bb72362cf more uucp removal. 2006-11-12 02:44:51 +00:00
jmmv abac724ef9 Also use libraries from /lib for binaries installed into /libexec. Needed
by lfs_cleanerd which is about to be moved to this directory.
2006-11-11 14:41:20 +00:00
christos 42b579bab8 disable SSP for standalone code. 2006-11-11 06:28:49 +00:00
christos d07f8e39ca don't run paxctl if other commands were specified for that target. 2006-11-11 06:15:55 +00:00
christos e81129f492 add the non tool version of paxctl 2006-11-10 17:22:19 +00:00
christos fef715f487 if ${PROG_PAX} is defined, run paxctl on the binary after linking with
the value of the variable. This way, if you set:

    PROG_PAX=+M

in /etc/mk.conf, you get what you deserve.
2006-11-10 17:13:15 +00:00
christos 3051b08454 Add ssp glue. 2006-11-09 17:06:54 +00:00
pooka bcb1fccca0 libpuffs 2006-10-22 22:53:41 +00:00
christos e9a36b93da Add -Wextra -Wno-unused-parameter to WARNS > 2 2006-10-22 22:17:30 +00:00
bjh21 7fb3ea3f6c Use GDB 6 on armeb as well. 2006-10-18 23:31:50 +00:00
bjh21 cc630e93eb GDB 6.5 seems to be basically functional on ARM, so make it the default there. 2006-10-18 23:22:24 +00:00
mrg b55240a473 - clean up some comments to reality.
- retire LIBDCK, LIBG2C and (long broken) USE_LIBSTDCXX
- in bsd.hostprog.mk's LIBSTDCPP -> LIBSTDCC
- add LIBSUPCXX
- don't default USE_LIBSTDCXX or USE_GCC4 since they are
  not used in the tree any where
- same with USE_XF86_4; retire it
- remove _SUPCXX handling in bsd.prog.mk

inspired by PR#26714.
2006-10-09 08:32:11 +00:00
elad 83704dec18 PR/28368: Peter Postma: unrecognized option `-Wnetbsd-format-audit'
Apply patch from rivo nurges in #NetBSD-code, thanks!
2006-10-08 17:16:51 +00:00
tsutsui cd4f2a86f4 - pc532 is ${MACHINE}, not ${MACHINE_ARCH}; use ns32k
- fix a comment (sh5 has been switched to gcc4)
2006-10-01 05:06:20 +00:00
martin 37b5f548a5 Default sparc64 to gdb6. 2006-09-27 06:34:07 +00:00
matt a63ad7b671 Make GCC4 the default (except for pc532).
Switch powerpc to GDB6.
2006-09-26 22:11:32 +00:00
christos a08b6e285b switch i386 to gdb6. 2006-09-26 19:33:02 +00:00
skrll de030205fa Switch hppa to gcc4. 2006-09-22 13:14:59 +00:00
simonb ee167a117b Switch MIPS to gcc4 by default. 2006-09-19 04:16:11 +00:00
dbj 758985809b pay attention to MKUPDATE instead of UPDATE when installing libs 2006-09-18 05:15:35 +00:00
tsutsui 3d402afffa Switch m68k ports to gcc4.
Tested on most m68k ports. Still there is no report of
atari, cesfic, luna68k, and mvme68k on real machines,
but at least builds for these ports should work.
2006-09-17 04:40:04 +00:00
skrll 4f50b00c11 ia64 doesn't do gdb yet. 2006-09-14 06:28:47 +00:00
dbj b41feff50f fixes for installing into a case insensitive $DESTDIR
when files may have hard links to a a name that only differs by case
  - change install to unconditionally remove its temporary file
    when installing hard links with -r.  This avoids problems when
    built with posix rename(2) semantics and reinstalling an existing
    hard link.
  - rework hard link targets in bsd.man.mk and bsd.links.mk
    to use makefile constructs instead of shell constructs
  - always reinstall hard links that may have case conflicts, even
    when MKUPDATE=yes, this ensures that they get added to METALOG
  - remove man pages which were hard linked to themselves in libform
  - remove improper hard link command for existing man page in libkrb5
  - fix libl's makefile to include bsd.lib.mk at end
  - remove shell quoting in link target for test's [.1 man page
2006-09-11 22:24:09 +00:00
cherry 05c821640b Switch ia64 to gcc4 2006-09-10 21:04:43 +00:00
simonb b53f76b4fe Use -Wno-uninitialized for ns32k. For some reason, gcc on ns32k
doesn't detect initialisation correction in simple "for" loops like:
	for (i = 0; i < 10; i++)
		var = i;
2006-09-09 03:53:19 +00:00
scw f177e531c7 Switch sh5el to gcc4. 2006-09-04 20:03:21 +00:00
matt 02f1c8b0ef Make sure to compile things at -O2 for mips64e[bl] 2006-08-26 19:57:03 +00:00
matt c0b0d51c8c MACHINE_CPU for mips64e[bl] is mips 2006-08-26 19:56:37 +00:00
matt 9e051a8002 Add enough configury glue so that src/tools can build a N64 mips toolchain. 2006-08-25 23:35:04 +00:00
uwe d4491bfa15 Switch sh3 to gcc4.
sh3el tested on hpcsh.  sh3eb only compile-tested with an mmeye build.
2006-07-24 23:54:15 +00:00
lukem 2c9b699f2a add reminder to sync with etc/Makefile and share/man/man5/mk.conf.5 2006-07-23 12:31:29 +00:00
lukem cacf5bfacc Implement MKDEBUG:
If "no", don't build and install separate debugging symbols
	into /usr/libdata/debug.
	Default: no
2006-07-23 11:41:24 +00:00
lukem 8b3ce8625c Rename MKDEBUG to MKDEBUGLIB. 2006-07-22 05:29:03 +00:00
peter 669a86ac31 MKPAM default is "yes". 2006-07-14 21:37:10 +00:00
matt 49decd4131 Switch vax to GCC 4 2006-07-08 00:32:08 +00:00
mrg 252f1af0f5 -std=gnu99 can be applied with GCC>=3, not MACHINE != vax. 2006-07-01 06:02:51 +00:00
mrg 878c667fb1 vax needs NOPIC for >= GCC3 not just == GCC3. 2006-07-01 06:02:01 +00:00
mrg 72ccefa820 powerpc64 is big endian. 2006-06-30 05:46:33 +00:00
drochner c89713e730 switch alpha to gcc4 2006-06-26 15:30:05 +00:00
lukem 9dde4120d5 Don't invoke LD with LDFLAGS, since the latter is for CC.
If we need similar support for LD, we can implement another variable.
I couldn't find any obvious need for LDFLAGS by users of <bsd.kmod.mk>.
2006-06-26 04:07:34 +00:00
lukem 6be844e18e support MAKEVERBOSE 2006-06-25 15:17:22 +00:00
lukem 9e21440fb1 Move LDFLAGS to the CC section instead of the LD section. 2006-06-25 15:04:31 +00:00
mrg d1d848dac8 put hppa in to the list of working but not switched to GCC4 platforms. 2006-06-25 05:14:36 +00:00
garbled 1880a81bca Switch powerpc to gcc4. Confirmed working with prep and macppc ports. 2006-06-24 06:35:54 +00:00
mrg 157b90ce05 switch sun2 over to GCC4. however, turn off profiling for sun2 since
GCC4 generates bogus code when calling mcount().
2006-06-24 05:24:56 +00:00