Commit Graph

1666 Commits

Author SHA1 Message Date
christos 320991dd0c remove NVI; it is the default now. 2008-08-31 05:40:15 +00:00
lukem e425ce2906 Enable MKHTML by default; we now install the HTML version of the man
pages as well as the source & catman versions.
Add "htmlinstall" to default MANINSTALL, so MKHTML will operate correctly.
2008-08-31 01:21:41 +00:00
mrg 668eaf0f7f add X11SRCDIR.xkeyboard-config 2008-08-30 09:13:35 +00:00
lukem 3c0dc4341a Use ${MANDIR} instead of /usr/share/man as part of the default ${HTMLDIR} 2008-08-29 04:52:44 +00:00
lukem 5efefa3743 Force a failure if both MKX11 and MKXORG are set to != "no". 2008-08-28 23:32:51 +00:00
mrg 710bacd4ef add a bunch of more variable documentation wrt xorg 2008-08-28 07:53:53 +00:00
mrg 8f32579127 - s/X11R6/X11/ in a couple of comments.
- set X11ROOTDIR?=/usr/X11R7 if MKXORG != "no".
- MKXORG does not need two default values.
2008-08-28 07:53:34 +00:00
lukem d6e6997551 Improve support for MKXORG!=no to enable builds into external/mit/xorg.
This will be mutually exclusive to MKX11!=no.
2008-08-28 07:21:49 +00:00
mrg 1bae5733ee xorg server is version 1.4.2 2008-08-28 07:18:19 +00:00
mrg 6f734b8231 update a comment example 2008-08-28 07:17:06 +00:00
rtr 44c3e543f8 use ${X11USRLIBDIR} instead of hard-coded /usr/X11R6/lib when building
${LIB.foo} vars
2008-08-27 08:22:20 +00:00
lukem 4f84d43824 Rework MKHTML (HTML manual pages) implementation to behave like
the manpages and catpages builds, with similar target names (etc).
2008-08-27 02:28:34 +00:00
lukem 9614d5d9bd Fix problem I introduced in rev 1.231 on 2008/08/25 where ${_PROGLDOPTS}
and -L${_GCC_LIBGCCDIR} were appearing in the link line before ${LDADD},
so -L${DESTDIR}/lib and -L${DESTDIR}/usr/lib were being used before
local -L library paths.
Fixes ntpd/ntpdate failure noticed by Valeriy E. Ushakov <uwe@NetBSD.org>
2008-08-27 01:15:22 +00:00
lukem c7dbe9e5b7 expand on the behaviour of MKDEBUGLIB 2008-08-27 00:16:09 +00:00
lukem a6de443cac Default MKHTML to no, as per bsd.README.
(The default and documentation may change to yes in the near future,
as the build infrastructure for HTML man pages is fixed.)
2008-08-26 23:47:14 +00:00
lukem aa9ba46b38 Change the message when creating BUILDSYMLINKS from "create" to "symlink".
(Arguably more meaningful)
2008-08-25 08:11:04 +00:00
lukem 6cedae1847 Always link with: -Wl,-rpath-link,${DESTDIR}/usr/lib -L${DESTDIR}/usr/lib
Fixes problem with MKDYNAMICROOT=no triggered by libraries that depend
on other libraries.
Related to PR 33503.

Clean up setting of _CCLINK to always add the appropriate -B options.

Simplify the link rule for a program.
2008-08-25 08:03:14 +00:00
gmcgarry ce206e318d Honour HAVE_PCC 2008-08-24 06:27:00 +00:00
christos 4b67625a5e fix debugging library build. 2008-08-13 16:36:15 +00:00
lukem 01ca4a276a Fix installed symlinks for LIBISMODULE=yes.
Further fixes to support for SHLIB_MAJOR set without SHLIB_MINOR.
2008-08-10 11:06:43 +00:00
lukem e24bdb26eb When building a .so, don't require the library to have a minor version.
Prevents a "stat: Too many levels of symlinks" build error.
2008-08-10 10:42:01 +00:00
lukem b88ccbbf16 Implement LIBISMODULE:
If not "no", install as ${LIB}.so (without the "lib" prefix),
	and act as "MKDEBUGLIB=no MKLINT=no MKPICINSTALL=no
	MKPROFILE=no MKSTATICLIB=no".
	Default: no
2008-08-10 09:25:04 +00:00
joerg 9259cd05bd When compiling C++ sources and BUILDSEED is set, pass down
-frandom-seed with a reduced version of .ALLSRC and .TARGET
as argument.  This allows bit-identical builds of C++ files.
2008-08-04 16:02:25 +00:00
mrg f0245e7653 add X11SRCDIR.* for xf86-{video,input}*. 2008-08-02 06:59:24 +00:00
mrg f4766ba44d add X11FLAGS.DIX and X11INCS.DIX for use with Xorg.
fix the version to 1.4.2.
2008-08-02 04:36:12 +00:00
mrg bf84f2d816 add X11SRCDIR.pixman 2008-08-02 04:35:41 +00:00
pooka 4b68af9947 Prevent amd64 compiler flag -mcmodel=kernel for rump kernel code.
This allows to compile rump libraries as shared libraries also on mad64.

Problem spotted by Greg Oster.  I guess his build broke or something ...
2008-07-29 20:18:25 +00:00
pooka bdf6e0b034 Install rump libraries and utilities to the base system and remove the
private non-installed build infrastructure from sys/rump.

breakdown of commit:
  * install relevant headers into /usr/include/rump
  * build sys/rump/librump/rumpuser and sys/rump/librump/rumpkern
    from src/lib and install as librumpuser and librump, respectively
    + this retains the ability to test a librump build with just the
      kernel sources at hand
  * move sys/rump/fs/lib/libukfs and sys/rump/fs/lib/libp2k to src/lib
    for general consumption, they are not kernel-space dwellers anyway
  * build and install sys/rump/fs/lib/lib$fs as librumpfs_$fs
  * add chapter 3 manual pages for rump, rumpuser, ukfs and p2k
  * build and install userspace kernel file system daemons if MKPUFFS=yes
    is spexified
  * retire fsconsole for now, it will make a comeback with an actually
    implemented version shortly
2008-07-29 13:17:40 +00:00
mrg def7d522c2 begin to add support for cross-built Xorg:
- add MKXORG
- default to DRI-on for Xorg
- add paths for 192 Xorg packages that will exist in
  xsrc/external/mit/<package>/dist
- add some more X11FLAGS.* variables if MKXORG.

this is somewhat based on the xorg work rtr@ did a couple of years ago.

XXX: seriously need to fix the XORG_RELEASE value, it is still set to
XXX: 6.8.1 from when rtr was working on this.
2008-07-29 04:40:14 +00:00
christos ee372c7d11 Disable PIE for kernel builds. Some architectures pass -mcmodel to gcc and
this is incompatible with PIE. And we don't really want pic objects in the
kernel
2008-07-23 23:21:56 +00:00
dogcow ce62ce6187 add MKNVI to vivified MK* variables. (HI, DYOUNG!) 2008-07-23 00:45:39 +00:00
dyoung 6b01f88146 Document MKNVI. 2008-07-22 21:09:52 +00:00
wiz e5ad05320e Consistent spelling. 2008-07-22 08:01:54 +00:00
lukem 63c843cdd1 Rewrite the introduction.
NOGCCERROR also prevents -Wa,--fatal-warnings.
2008-07-21 23:39:55 +00:00
lukem 9ceb85ca59 If WARNS>0 and !defined(NOGCCERROR), add
-Wa,--fatal-warnings
to CFLAGS to set assembler warnings to be fatal.
(Done via CFLAGS instead of AFLAGS so that all assembling, not just
that of .S/.s files, uses the option.)
2008-07-21 23:30:48 +00:00
lukem 3035c3a0cc Document NOGCCERROR.
Improve PAXCTL_FLAGS & WARNS.
2008-07-21 23:23:42 +00:00
lukem 314fddd639 AFLAGS is actually options to ${CC} (not ${AS}) when compiling .s/.S files.
(For gcc, this means that flags to as(1) need to be passed as -Wa,flag)
2008-07-21 12:12:57 +00:00
gmcgarry eedccd9862 Add and document knobs to turn off building ATF and libm complex support.
Also add knobs for PCC which parallel GCC ones.
2008-07-12 12:15:43 +00:00
dyoung eeabda7de2 Fix two bugs to make MKMODULAR=yes builds will work again, for the
first time.

share/mk/bsd.kmodule.mk: only set _INST_DIRS if KMODULEDIR is not
    set.  That we we avoid installing some bogus directories in
    the DESTDIR and in $DESTDIR/METALOG.

tests/modules/k_helper/Makefile: add missing .include <bsd.own.mk>,
    and set the KMODULEDIR that the author seems to have intended.
2008-05-31 19:58:35 +00:00
lukem bb2d78e387 add LIBLDAR_R (for completeness) 2008-05-28 11:23:26 +00:00
wiz d07f1e1727 Sort variables. 2008-05-23 13:06:40 +00:00
lukem 050d9aaef4 Add MKLDAP, USE_LDAP, LIBLBER, LIBLDAP 2008-05-22 13:40:30 +00:00
he 775e29197c Do ${INSTALL_DIR} on all the intermediate directory levels from
the top of the tree down to where the kernel modules are installed,
so that unprivileged builds have a chance at working again.

Note, to use this fix in a tree where you've already hit on this
problem, you need to manually remove the kernel modules in
$DESTDIR/stand/<arch/, and then reinstall them from sys/modules/.
2008-05-21 19:56:30 +00:00
jmcneill 70932cf82f Don't echo 'hello sh' when installing modules :-) 2008-05-21 03:48:42 +00:00
ad 14cd43625f Install kernel modules into the proper locations, taking machine and
kernel version into account.
2008-05-20 19:01:10 +00:00
ad 575673e1ce fno-zero-initialized-in-bss no longer required. 2008-05-20 12:18:45 +00:00
ad 0b78a6ea64 Use an ldscript to merge kernel modules' .bss sections into .data. Passing
-fno-common -fno-zero-initialized-in-bss to gcc does not work, and objcopy
refuses to expand the bss section.
2008-05-20 12:17:48 +00:00
ad 64be07548a Kill the tramp stuff, since it can be handled with lkm_map. 2008-05-20 12:08:05 +00:00
skrll 1f81e345f4 Add TOOL_HP700MKBOOT 2008-05-10 19:01:14 +00:00
uwe 5e2fa55b72 For sh3 set default DBG to "-Os -freorder-blocks" which is almost like -O2
but without -falign-* that is too zealous for low-memory sh3 machines.
2008-05-06 22:19:11 +00:00