Commit Graph

1890 Commits

Author SHA1 Message Date
christos 6e861e80dc don't forget to install bsd.ioconf.mk 2010-08-07 21:50:51 +00:00
jmmv eed27dd4f1 Move the TESTSBASE definition from bsd.test.mk to bsd.own.mk. Per joerg@'s
suggestion.
2010-08-02 07:08:26 +00:00
tsutsui d10a5f9ef8 Cleanup and sort if-clause lines for X11FLAVOUR per ${MACHINE}. 2010-07-31 16:23:15 +00:00
tsutsui d3d7f5a993 Switch hpcarm, hpcmips, and hpcsh to using X11FLAVOUR=Xorg. 2010-07-31 12:54:35 +00:00
mrg 8d81f5c19e add some more transforms to the hacky ugly sed script for pkg-config files,
and note a few more that are not yet handled but should be.
2010-07-18 07:05:39 +00:00
mrg 4f2c95e76d - add X11SHAREDIR definition
- X11SRCDIR's for libxcb, xcb-proto and xcb-utils
2010-07-17 22:53:29 +00:00
jmmv dad604ce0c Implement Atffile automatic generation.
This change adds the ATFFILE variable, which can take the following values:
- yes: The source directory contains a static Atffile to be installed.
- auto: The Atffile is automatically generated.
- no: Do not install any Atffile (replaces the previous NOATFFILE variable).

The ugly bit of this is that I have to add a TESTS_SUBDIRS variable that
lists the subdirectories that contain test cases (so that they can be listed
in the Atffiles, without including auxiliary directories without tests).
This is a subset of SUBDIR.

Addresses a minor part of PR bin/43394.
2010-07-13 21:11:41 +00:00
kiyohara 299d82b760 Support xserver for prep.
It tested only s3(864).
2010-07-12 07:54:11 +00:00
mrg 6479f6e5b4 ldap is configured to depend upon MKCRYPTO no, so force MKLAP=no if
MKCRYPTO=no.
don't build pkg_install, libcrypto tests or rump_smbfs if MKCRYPTO=no.
mark librumpcrypto, rump_smb, pkg_*

fix set lists as appropriate.
2010-07-11 06:16:54 +00:00
mrg 4c92852a80 remove almost all the ability to build netbsd with an a.out target.
we're ELF now, and there are many missing checks against OBJECT_FMT.
if we ever consider switching, the we can figure out what new ones
we need but for now it's just clutter.

this doesn't remove any of the support for exec_aout or any actually
required-for-boot a.out support, only the ability to build a netbsd
release in a.out format.  ie, most of this code has been dead for
over a decade.

i've tested builds on vax, amd64, i386, mac68k, macppc, sparc, atari,
amiga, shark, cats, dreamcast, landisk, mmeye and x68k.  this covers
the 5 MACHINE_ARCH's affected, and all the other arch code touched.
it also includes some actual run-time testing of sparc, i386 and
shark, and i performed binary comparison upon amiga and x68k as well.


some minor details relevant:
- move shlib.[ch] from ld.aout_so into ldconfig proper, and cut them
  down to only the parts ldconfig needs
- remove various unused source files
- switch amiga bootblocks to using elf2bb.h instead of aout2bb.h
2010-07-06 05:59:50 +00:00
mrg 88d56f4c97 - note that if MKINET6 is "no", MK11 must also be "no". we don't support
building X11 without inet6 support.  the support to maintain patches to
  generated files and other files is too great.  PR#42856
- add TOOL_PIGZ, which defaults to the (not yet default) built tools/pigz.
2010-06-20 06:54:23 +00:00
mrg 1909f84b1c - always install pigz. hooary!
- kill MKPIGZ.
- add MKPIGZGZIP.  if it is "no", then only install pigz as pigz.  if it is
  not "no", don't install mrgzip, install pigz as gzip.

in all cases, the z* scripts.


i don't like the name MKPIGZGZIP so if anyone has a better name, feel free
to replace it.  i don't care enough since killing the ugly name is just
more incentive to get pigz doing .bz2, .Z and .z.
2010-06-19 03:50:30 +00:00
jmmv 6fd7d9f8b8 Prevent build breakage if TESTSDIR is not defined (as in tests/modules/k_helper). 2010-06-18 13:14:21 +00:00
jmmv 92a7fda174 Add a experimental "make test" target
make test may yield misleading results but should work in many cases.  This
target is supposed to simplify the execution of tests but does not preclude
developers from running the installed versions.

Addresses PR misc/38326.
2010-06-18 10:10:57 +00:00
mrg 42a9c5d4fe default MKPIGZ to "no", for now. 2010-06-17 06:17:02 +00:00
mrg b6aa233709 ugh. this needs a real fix, but for now just update it to reality.
the diff -u is more obvious than a description:

-X11FLAGS.VERSION=      -DOSMAJORVERSION=1 -DOSMINORVERSION=6           # XXX
+X11FLAGS.VERSION=      -DOSMAJORVERSION=5 -DOSMINORVERSION=99          # XXX
2010-06-17 03:10:21 +00:00
riz a4259da5ea Note that MKZFS is actually "yes" on i386/amd64. 2010-06-08 22:22:25 +00:00
joerg 3ace57c17b Add definitions for TOOL_MANDOC_* for standalone users. Requested by
dyoung.
2010-06-04 20:19:39 +00:00
jmmv 727dd8cd9e Simplify build of shell-based test cases: atf-compile is gone. 2010-06-04 08:35:09 +00:00
joerg 2d399c649e Needs additional single quotes to keep the double qoutes. Magic... 2010-06-03 10:08:34 +00:00
joerg 826b0b1f17 XORGVERSION should be a single quoted expression as it represents a
single argument for .TH
2010-06-02 19:40:12 +00:00
joerg e4c9126b4d Install mdocml's default CSS as /usr/share/man/style.css. Switch HTML
man pages to use mandoc unconditional as it gives reasonable output for
all man pages, not only a subset of mdoc(7).  Use the newly installed
style.css for formatting and produce hyperlinks for .Xr.
2010-06-01 23:29:09 +00:00
mrg 9a93ccfecc add / retire some xf86-video drivers. 2010-05-28 06:24:59 +00:00
njoly 9a6aefa72e Small typo. 2010-05-26 14:52:10 +00:00
uwe 94642857bf bsd.subdir.mk - don't mention "make subdir" where subdir is any
directory listed in ${SUBDIR} as ${dir}: all-${dir} alias was removed
from 11 years ago (revision 1.31)

PR bin/43356
2010-05-26 01:10:10 +00:00
uwe 869e556be3 Fix typo in comment. 2010-05-26 00:48:15 +00:00
veego 7f287d45d8 Remove a / between a ${DESTDIR}${X11USRLIBDIR} which would result in a
double /
2010-05-23 21:23:59 +00:00
lukem 0aad54fe04 Support MKDEBUG for shared libraries. 2010-04-27 14:32:14 +00:00
lukem 781e18114c fix comment (so bracket matching works as intended) 2010-04-26 03:46:00 +00:00
lukem 6405962d8a When extracting separate debug symbols with MKDEBUG, there's no need
to leave the original file unstripped...
2010-04-24 07:57:04 +00:00
joerg 22c838d332 Add MKBSDTAR, defaulting to no. It switching cpio and tar to the
libarchive based frontends.
2010-04-23 19:41:02 +00:00
pooka 1ceaafde2e dial . for operator 2010-04-21 16:09:11 +00:00
christos 21003f688c don't try to build PIE binaries when LDSTATIC 2010-04-21 15:07:20 +00:00
pooka 11815d9c1d Depend ioconf.c on config (if doing a USETOOLS==yes build).
While this is not strictly sensible, it keeps UPDATE=1 builds
rolling if I change some aspect of config (such as adding the
cfdriver/cfattach lists now).  This is going away eventually.
2010-03-25 20:37:36 +00:00
pooka 4f4d4d6450 deal with ioconf.h 2010-03-22 14:42:01 +00:00
mrg a394b5afe8 set MACHINE_CPU to powerpc for MACHINE_ARCH of powerpc64.
from pooka via PR#43021.
2010-03-22 03:35:26 +00:00
pooka 40bb87a667 Move make snippets for use with config(1) ioconf functionality from
rump into share/mk.  This is to make it useful for all kernel
builders.

Note: we have waaay too many weird and wonderful ways of making
kernel code (monolithic kernel, modules, rump).  There should be
only one way to build kernel code instead of a maze of twisty little
.mk files, all not quite alike.  When that is fixed, this snippet can go
into the more generic .mk file.
2010-03-21 06:55:44 +00:00
christos 25f9b712f0 don't make links to directories that don't exist 2010-03-13 22:05:49 +00:00
mrg 4accc351a3 revert the previous:
- the default for ZFS on x86 already was "yes".

- this left MKZFS unset for other platforms, which breaks the build.
2010-03-13 19:31:51 +00:00
haad ef69f4224c Enable MKZFS by default on i386 and amd64 now when it compiles. 2010-03-13 17:07:28 +00:00
he 6017724458 Fix the setting of MKZFS for amd64 and i386, so that the set lists
match up again, and it matches with the comment a few lines above.
2010-03-08 09:32:18 +00:00
darran 61fb3737eb DTrace: Add CTF generation to the make framework. Only enabled when
MKDTRACE=yes.
2010-03-02 20:49:18 +00:00
joerg fa1daced3e Make lintmanpages not depend on MKMANDOC, it is built by default now.
Use -Wall to increase usefulness.
2010-03-01 22:00:07 +00:00
haad 0b46b1b518 As a preparation for zfs sources update disable MKZFS for some time. 2010-02-27 22:42:54 +00:00
njoly e9915f3b1e Change shared object file extension from .so to .pico, to avoid
conflicts with shared libaries names libXX.so; as recently seen with
MKUPDATE=yes builds for libelf and libnvpair.

All now stalled regular .so files need to be manually removed from
object directories.
2010-02-22 12:33:22 +00:00
darran 1bf14d4eef Add a MKDTRACE build knob for DTrace, off by default. 2010-02-21 01:48:03 +00:00
macallan 264656d782 add suncg14 2010-02-11 00:20:50 +00:00
roy 98eb889579 Userland now builds and uses terminfo instead of termcap.
OK: core@, jdc@
2010-02-03 15:34:37 +00:00
christos 8dd41afecc PR/42658: Geoff Wing: Quote directory variables to deal with spaces in the
source pathname.
2010-01-25 00:43:00 +00:00
jmmv 874cd0d0c1 Generate long calls in modules for arm32 and powerpc to avoid unsupported
relocations by the module loader in the kernel.  This makes modules work
in, at least, shark and macppc respectively.

This is obviously a workaround that results in slower code, but at least
makes modules work.  I'm adding a comment detailing what the real solution
would be so that the whole thing can be revisited in the future.  (Read:
I don't have time now to dig the details of how to implement trampoline
generation.)

(Based on the old bsd.kmod.mk file, I understand that hppa needs this
workaround too, but I can't check this platform.)
2010-01-18 23:39:07 +00:00