Commit Graph

1720 Commits

Author SHA1 Message Date
mrg 867022784c revert sparc back to default of XFree86 at the request of macallan. 2008-11-15 11:27:49 +00:00
apb c89f08d79b Add support for new MAKEVERBOSE levels 3 and 4. The complete list is now:
0   Minimal output ("quiet")
 1   Describe what is occurring
 2   Describe what is occurring and echo the actual command
 3   Ignore the effect of the "@" prefix in make commands
 4   Trace shell commands using the shell's -x flag

The default remains MAKEVERBOSE=2.
2008-11-13 20:40:11 +00:00
pooka b2fa04c6b2 Now that MKPUFFS is default, kill it as advertised.
While there, give puffs and refuse files sensible syspkg entries.
2008-11-12 13:17:27 +00:00
ad 0efea177e3 Remove LKMs and switch to the module framework, pass 1.
Proposed on tech-kern@.
2008-11-12 12:35:50 +00:00
cube 3b773d2296 Add MesaGLUT to the list of X11SRCDIR.<package> variables. 2008-11-11 16:09:53 +00:00
macallan 2cee05c1b0 it's ag10e not agten 2008-11-11 03:39:08 +00:00
mrg e5bc8e2c94 fix a couple of minor errors picked up by he@. thanks! 2008-11-09 23:07:22 +00:00
mrg 9c8df5ee67 - retire MKXORG from public use
- introduce X11FLAVOUR to choose src/x11 vs src/external/mit/xorg
  for the X11 to build if MKX11=yes is set.  it takes the values
  of either Xorg or XFree86.
- default to Xorg on alpha, i386, macppc, shark, sparc and sparc64
- remove MKXORG_WITH_XSRC_XSERVER, unused and never useful
2008-11-09 23:02:28 +00:00
macallan e1d1db9e9e add a couple driver names for Xorg 2008-11-06 22:13:58 +00:00
elad fb62056e51 Don't build kernel modules with PIE.
Discussed with and okay christos@.
2008-11-05 00:54:25 +00:00
macallan aaac5b14c0 add suncg6 driver 2008-10-29 23:46:52 +00:00
agc bbfcbb24a0 Flick the puffs switch, and set MKPUFFS on by default. 2008-10-29 06:20:27 +00:00
macallan aa4b1d80e4 add sunffb driver 2008-10-29 03:11:27 +00:00
mrg bafe7cb90b - enable 32-bit library builds on amd64 and sparc64
- add 3 new top-level targets:
    do-compat-lib-csu
    do-compat-libgcc
    do-compat-lib-libc
  and run them before "do-build" if ${MKCOMPAT} != "no"
2008-10-27 22:32:51 +00:00
apb 2962a4be8e Always define TOOL_* variables in bsd.own.mk, not in bsd.sys.mk.
Previously, they were defined in bsd.own.mk if USETOOLS=yes, but in
bsd.sys.mk if USETOOLS!=yes.  This caused makefiles that did this:

	.include <bsd.own.mk>
	FOO != ${TOOL_BAR} args...

to work in the USETOOLS=yes case but not in the USETOOLS!=yes case.
2008-10-26 23:13:24 +00:00
apb 6710f563cb Set HOST_SH?=/bin/sh unconditionally. Previously, it was conditionally
set to /usr/bin/bash if HOST_CYGWIN was defined, but now build.sh
tries to set HOST_SH appropriately.

Remove the HOST_CYGWIN variable, which was not used for any other purpose.

Document that HOST_SH should be an absolute path.

THis was proposed in tech-toolchain.
2008-10-26 15:51:20 +00:00
mrg e365204b08 add MKCOMPAT, to build 32 bit libs. default to no for now for everyone. 2008-10-26 07:09:11 +00:00
apb f46c1de7cb Use ${TOOL_SED} instead if plain sed in Makefiles. 2008-10-25 22:27:34 +00:00
mrg 1d7afdb8cd allow _GCC_*CRT* defines to be overridden in the in-tree toolchain case. 2008-10-25 19:11:28 +00:00
apb 8140020f95 Remove AWK variable, which is no longer used. All previous users
now use TOOL_AWK instead.
2008-10-25 18:29:03 +00:00
apb b45673f53b Add a NOSUBDIR variable for bsd.subdir.mk. If NOSUBDIR is defined
then SUBDIR is ignored.
2008-10-25 14:58:00 +00:00
apb 96230fab84 Use ${TOOL_AWK} instead of ${AWK} or plain "awk" in make commands.
Pass AWK=${TOOL_AWK:Q} to shell scripts that use awk.
2008-10-19 22:05:19 +00:00
apb 60f5d15a00 Define TOOL_AWK. 2008-10-19 19:44:47 +00:00
apb 00f32f6e16 Add the NOINFO variable, which works just like all other NOxxx variables. 2008-10-19 19:29:43 +00:00
christos 81dd08df0d handle assembly files for MKPIE 2008-10-19 15:22:50 +00:00
christos 66d46cebd1 make .a archives PIC for MKPIE 2008-10-17 17:29:39 +00:00
apb 1f3d5128aa Document the HOST_xxx and TOOL_xxx variable naming convention. 2008-10-17 15:04:18 +00:00
christos 18c51ff05b Provide a way for a program to override the PIE flags. 2008-10-16 14:36:42 +00:00
christos 1269d9a570 don't compile/link libraries with pie 2008-10-15 17:31:50 +00:00
cube 988ef44d13 Rework the way manual pages are handled.
- .man.pre files are treated just like .man files.
 - Makefiles are offered the choice of using sed or cpp for the
   transformation.  MKXORG will default to sed, MKX11 to cpp.
 - At least for now, versions of packages are not tracked individually.
2008-10-14 23:33:55 +00:00
mrg d5ae492949 find the kmodule ldscript in the source tree again.
should fix a build issue reported by jmcneill.
2008-10-14 18:31:42 +00:00
apb 4c441fdf08 Use "?=", not "=", to set default values for the TOOL_* variables
added in the previous commit.
2008-10-14 07:24:34 +00:00
apb 59b0ced7eb Add missing TOOL_* variables to bsd.sys.mk and document them in
bsd.README.  Previously, several of these variables were present in
bsd.own.mk but not in bsd.sys.mk or bsd.README.
2008-10-13 18:24:21 +00:00
apb bdcb00dc94 Remove references to TOOL_BEBOXELF2PEF and TOOL_BEBOXMKBOOTIMAGE,
which were obsoleted in May 2008.
2008-10-13 18:23:47 +00:00
apb bbaac8b3bb In bsd.sys.mk and bsd.own.mk, sort lists of TOOL_* variables.
In bsd.README, document all TOOL_* variables that are set in bsd.sys.mk.

There are several TOOL_* variables that are set in bsd.own.mk, but not
set in bsd.sys.mk and not documented in bsd.README.
2008-10-13 15:29:22 +00:00
mrg 8b825b9876 add X11SRCDIR.xf86-video-r128 2008-10-12 23:11:25 +00:00
mrg 86340158d0 - install ldscripts on sparc64
- move ldscripts to /usr/libdata/ldscripts
2008-10-12 23:00:53 +00:00
apb 1d782af00e Remove the definition of HOST_SED. HOST_SED was previously used only in
tools/atf-compile, which has now been adjusted to use TOOL_SED.
2008-10-05 20:20:55 +00:00
apb 2d81fb994e Document TOOL_SED, which has been defined in bsd.sys.mk for more than
two years.
2008-10-05 20:17:16 +00:00
joerg 39741d2848 Hook up libfetch and pkg_install update. 2008-10-02 17:54:51 +00:00
apb 520cbbf81f Build strfile both as a host tool and as an installed program:
* in games/fortune/strfile/Makefile, build strfile as a
  regular program instead of as a host tool;
* add tools/strfile directory to build strfile as a host tool;
* in tools/Makefile, add strfile to SUBDIR list;
* in BSD.*.mk, define TOOL_STRFILE variable;
* in games/fortune/datfiles/Makefile, use TOOL_STRFILE when creating
  databases at build time;
* in distrib/sets/lists/games/mi, mention usr/games/strfile.
2008-09-26 18:23:09 +00:00
mrg 39434e7052 add X11SRCDIR.xf86-video-nvxbox 2008-09-21 02:12:25 +00:00
mrg 533a79fd9d add X11SRCDIR.xf86-video-mach64 2008-09-21 01:46:40 +00:00
christos 99ca374317 support per file lex and yacc prefixes. 2008-09-19 22:54:55 +00:00
cube e8a45a91fe Play it safe and change the sed script so that -E isn't needed. 2008-09-15 18:21:48 +00:00
rtr ec7c336281 replace XTHREAD_CFLAGS with _REENTRANT instead of _POSIX_THREAD_SAFE_FUNCTIONS
as is done in pkgsrc.
2008-09-15 08:05:19 +00:00
cube cbc74b28eb Make sure pkgconfig files we install have RPATH directives.
${TOOL_SED} -E is authorized, right?  Right?
2008-09-15 02:37:54 +00:00
cube b11433d4c1 Add logic to install pkgconfig files from X.Org sources. Initial idea from
Tyler Retzlaff.

No, this is not code I am going to be proud of.  Meanwhile, anyone is
welcome to work on a mknative-xorg script and make sure that outputs across
all archs are consistent, and use it to generate a bunch of other stuff such
as the Imake config file and so on.  That will do for now though.
2008-09-13 04:28:37 +00:00
joerg 5af38558ac Add MKSTRIPIDENT to remove the RCS IDs from binary programs and shared
libraries for space-constraint systems. The description is based on the
feedback of hubertf@, the logic on input from lukem@

This obsoletes the removal of LIBC_SCCS and SYSLIBC_SCCS for libc builds.
2008-09-09 11:54:19 +00:00
kent 9c8aa6615e Remove -Wno-pointer-sign and -ffreestanding from CXXFLAGS. g++
doesn't support for them.
2008-09-07 15:54:52 +00:00