Commit Graph

1500 Commits

Author SHA1 Message Date
christos 907dfbe7a9 Add libradius 2005-02-20 00:35:02 +00:00
wiz ae20c95c70 MKHTML defaults to no; fix documentation (which claimed it defaults to yes). 2005-02-07 01:38:44 +00:00
rtr 8c050b7c06 + cleanup removal of -DUSE_NBSD_THREADLIB usage 2005-01-21 05:15:36 +00:00
thorpej ed6d501758 Back out previous. The intent is for MKPAM to be "yes" and USE_PAM to
be "no".  The su(1) Makefile has been fixed to test the correct variable.
2005-01-13 00:15:21 +00:00
manu b77a9f1e15 Put back PAM to disabled by default and add a notice explaining why it
is disabled and why it should not be re-enabled until it gets stable.
2005-01-13 00:03:56 +00:00
lukem 6ea8d362d6 Rework PAM defaults:
MKPAM=yes	# provide infrastructure by default (unless MKPIC=no)
	USE_PAM=no	# don't compile PAM support in by default
2005-01-12 00:39:48 +00:00
lukem aa8cb2a456 If RESCUEDIR is defined, automatically add that to CPPFLAGS 2005-01-12 00:32:59 +00:00
he ccb78245cb Add a default setting of MKPAM to "yes". 2005-01-11 16:20:49 +00:00
tron 1f93f9857c Don't define "USE_NBSD_THREADLIB" because "threadlib.h" was removed. 2005-01-11 10:39:47 +00:00
manu f98741225d Disable PAM by default until it gets properly integrated.
Now have MKPAM=yes in /etc/mk.conf if you want to experiment with PAM.
2005-01-10 21:06:39 +00:00
lukem 7157011597 Only compile in IPv6 support if ${USE_INET6} != "no"
MKINET6 is for providing IPv6 infrastructure.
USE_INET6 is for compiling IPv6 support into the programs (needs MKINET6).
2005-01-10 02:58:58 +00:00
lukem 1227550528 Revert previous (1.258): we don't want to link .so libraries against
(non-PIC) .a libraries, and the problem which triggered the addition
of the previous has been fixed by providing librpcsvc as a .so.
2005-01-10 02:42:34 +00:00
he 67d66c86bb Don't build libpam and associated bits if the target platform doesn't
support shared libraries (sun2 and evbsh5 at it would seem), or if the
user has specified MKPIC=no.  Also introduce a new tag to the set lists
("pam"), so that the non-shlib ports can once again complete a release
build.

Discussed with christos and lukem.
2005-01-10 00:20:21 +00:00
lukem 7af4913b70 Implement <bsd.prog.mk> vars:
LIBASN1 LIBBSDMALLOC LIBG2C LIBPAM LIBSSH
2005-01-08 09:53:38 +00:00
tron 71d6312747 EOL of XFree86 3.3.6, approved by core@NetBSD.org 2005-01-07 18:56:40 +00:00
lukem a207248574 Provide MKPAM and USE_PAM 2005-01-06 00:42:58 +00:00
lukem 72352e0662 document LIBDPLIBS 2004-12-29 14:46:24 +00:00
lukem e0f9049e4d When setting DPADD based on LIBDPLIBS, only add the .so if it exists
and fallback to the .a instead.  This allows the use of libraries
which are .so only, have both .so & .a, and are .a only.
2004-12-29 14:41:05 +00:00
fredb 45a5ad686f Mirror Rev 1.6 in Imake.rules, addressing PR misc/28444. This implements
Thomas Dickey's idea to work around a standards mandated change to the
C pre-processor to avoid having to change dozens of ancient X man pages,
appending a space to any line in a man page that ends in backslash "\".
2004-12-02 16:33:47 +00:00
simonb 0f9fca4682 Add COPTS to AFLAGS so assembly files pick up flags like -msoft-float. 2004-12-02 00:00:41 +00:00
jmc 9bfe9b9970 Convert mkboot into a full cross tool. Last hurdle for hp300 to building on
non NetBSD/bsd hosts.
2004-11-28 11:14:41 +00:00
jmc c7464d49db Convert remaining host tools for amiga to correct cross tools. Now allows
complete amiga builds on non netbsd/bsd hosts
2004-11-28 07:00:52 +00:00
jmc 9a999c376a Convert bebox's remaining host tools over to cross tools scheme. Builds to sets
w/o error now.
2004-11-25 08:09:14 +00:00
simonb 6c2e9fc212 Add CPUFLAGS to AFLAGS as well as CFLAGS so that CPUFLAGS is used for
assembly files.
2004-10-19 01:05:40 +00:00
tron 1263e27807 Update commt about "OBJECT_FMT": only ns32k uses "a.out" these days. 2004-09-19 08:56:22 +00:00
chs 44c95f81ec turn on -O2 for hppa. 2004-08-07 21:43:18 +00:00
chs 2129a366ed turn on lint and profiling for hppa. 2004-08-07 21:42:52 +00:00
lukem 600b0d8d67 Implement LIBDPLIBS, which is a list of the tuples:
libname  path-to-srcdir-of-libname

For each tuple;
     *	LIBDO.libname contains the .OBJDIR of the library `libname', and
	if it is not set it is determined from the srcdir and added to
	MAKEOVERRIDES (the latter is to allow for build time optimization).
     *	LDADD gets  -L${LIBDO.libname} -llibname    added.
     *	DPADD gets  ${LIBDO.libname}/liblibname.so  added.
2004-08-04 08:00:27 +00:00
lukem a606b4af8b Revert most of previous, and move the LIB<libname>?= assignments
back to bsd.prog.mk from bsd.own.mk.

pkgsrc uses <bsd.own.mk>, and setting LIB<libname> in it causes
problems with various package builds.
This should fix PR #26542 submitted by Jim Bernard.

(I'll be implementing the DPADD for shared libraries in a different
manner that generally won't depend upon ${LIB<libname>}.)
2004-08-04 05:32:47 +00:00
lukem d57516168e Move the LIB<libname>?= assignments from bsd.prog.mk to bsd.own.mk so
that they may be used by non PROGs (e.g., LIBs).

Improve some comments.
2004-07-30 04:18:48 +00:00
thorpej 52aef894d6 Assign STOBJS the value of OBJS, and use that when referring to static
library objects, rather than using OBJS to refer to them.  This gives us
a separate variable to refer to static library objects that does not affect
profile library objects (which has POBJS) or shared library objects (which
has SOBJS).
2004-07-29 03:14:04 +00:00
sekiya 0a541ba0ea Enable "loadable module" dlopen() scheme. Necessary to crossbuild the XFree86
server on platforms that are not supported by the Metrolink module loader
(i.e., MIPS).

Enabled for sgimips in bsd.x11.mk.
2004-07-13 09:29:45 +00:00
mycroft 7c8b7720b2 Add a missing .PHONY. 2004-07-06 12:07:34 +00:00
christos c4d334e77e check for defined before checking for empty to ease a 1.6 transition 2004-06-25 02:05:39 +00:00
jmc 567190270a If USETOOLS != yes then depend on the system tmac directory, not DESTDIR since
USETOOLS=no/never means the system groff is being used so depending on
anything except it's tmac files makes no sense (and prevents builds with
USETOOLS=no/never from working as PR#23067 points out)
2004-06-23 15:28:19 +00:00
jmc b2f782612f Completely rework how tools/compat is done. Purge all uses/references to
_NETBSD_SOURCE as this makes cross building from older/newer versions of
NetBSD harder, not easier (and also makes the resulting tools 'different')

Wrap all required code with the inclusion of nbtool_config.h, attempt to
only use POSIX code in all places (or when reasonable test w. configure and
provide definitions: ala u_int, etc).

Reviewed by lukem. Tested on FreeBSD 4.9, Redhat Linux ES3, NetBSD 1.6.2 x86
NetBSD current (x86 and amd64) and Solaris 9.

Fixes PR's: PR#17762 PR#25944
2004-06-20 22:20:14 +00:00
jmc 3ca8952a49 Note default for MANINSTALL 2004-06-13 08:17:22 +00:00
jmc bfd6078e17 Clean up HOST_OSTYPE a bit more and turn any spaces into _'s as well as
stripping paren'd values from HOST_ARCH. Fixes PR#25586 for uname -p output
on linux hosts which return multi-word values
2004-06-11 07:14:16 +00:00
lukem 4fbb0461b9 Be consistent in handling YHEADER, similar to Christos' fix in bsd.lib.mk 1.253 2004-06-10 00:29:58 +00:00
christos d3b5333e6b PR/25887: Peter Bex: Missing yacc dependency in bsd Make system 2004-06-09 22:45:24 +00:00
abs a43917f536 Add TOOL_SPARKCRC. Need to clean up what happens in the non tools case. 2004-06-08 21:46:52 +00:00
lukem 2308454342 * Add MKPRIVATELIB; if not "no", act as "MKPROFILE=no MKPIC=no MKLINT=no"
and don't install the (.a) library.
  This is useful for "build only" helper libraries.
* Add some  #{  [...]  #}  comments around large conditional statements.
2004-05-23 01:45:21 +00:00
lukem bf8a5f304d Document: CONFIGFILES CONFIGLINKS CONFIGSYMLINKS
Correct the documentation for FILES*_<fn>.
2004-05-22 16:04:58 +00:00
ross b95d15a372 If you add a library, you need to define its DPADD symbol here.
Add LIBMAGIC.
2004-05-21 21:13:57 +00:00
lukem 466d8fda9a In UUDECODE_FILES, always use -p to a temporary file and then rename
appropriately.  This simplifies the rule (IMHO), and removes the use
of :? which is buggy on older makes...
2004-05-17 12:58:17 +00:00
lukem 5be4460d43 Support CONFIGLINKS, which is similar to LINKS, except that they're installed
with the 'configinstall' target instead of the 'install' target.
2004-05-16 09:44:38 +00:00
cl 4dd8e2b2cf use relative links: using $S fails if $S is relative to another dir
than the one where it's used
2004-05-14 14:07:46 +00:00
lukem 95820dab0e Add CONFIGFILES & CONFIGSYMLINKS; similar semantics to FILES & SYMLINKS
yet installed by 'configinstall' not 'install'.
(CONFIGFILES uses FILES{DIR,MODE,OWN,GRP,NAME}{,_*} as per FILES)
2004-05-13 13:05:53 +00:00
cl 885c0b6fc9 ``build.sh -m xen-i386 release'' now builds a release for NetBSD/xen
for i386.  The resulting release consists of:
- NetBSD/xen for i386 kernel, loader and docuemntation
- NetBSD/i386 userland sets
2004-05-12 16:56:41 +00:00
christos ff2dfdbba5 Add rules for RPC_CLNTFILES; suggested by Ian Zagorskih 2004-05-12 16:38:01 +00:00
lukem e79f0736d4 define X11ETCDIR (as /etc/X11) 2004-05-12 13:49:01 +00:00
skrll ac705457db GDB doesn't work on hppa at the moment. 2004-04-30 08:10:22 +00:00
lukem 9004725f99 When creating man pages, provide a defintion for __adminmansuffix__.
(This is a new feature in XFree86 4.4.x)
2004-04-29 00:48:04 +00:00
lukem 180444c2a0 Rework .s.{o,po,so} and .S.{o,po,so} to be more like the <bsd.sys.mk> rules:
- support ${COPTS.<fn>} ${CPUFLAGS.<fn>} ${CPPFLAGS.<fn>}
  (deficiency noted by Tyler Retzlaff <rtr@NetBSD.org>)
- use ${COMPILE.s} for .s.o .s.po .s.so (instead of ${COMPILE.S})
- don't support AINC anymore; append to AFLAGS instead

Remove .c.ln - it was a duplicate of the rule in <bsd.sys.mk>
2004-04-18 13:11:31 +00:00
lukem 7c178de782 document AS and AFLAGS. document default for CPUFLAGS 2004-04-18 13:07:00 +00:00
lukem 6d15c512f3 remove AINC support; it is now unnecessary 2004-04-18 04:32:51 +00:00
lukem 019cfb87ee add a blank line to improve readability 2004-04-18 03:19:02 +00:00
drochner 78fc5676ae always #define __AMD64__ on and64 -- xfree86 depends on it 2004-04-15 14:48:41 +00:00
rtr fb373b43a6 + define a proper variable/knob for building XFree86 as loadable or non.
let the breakage begin...
2004-04-13 12:37:29 +00:00
lukem c6ab7e7128 Add MAKEDIRPREFIX shell macro to <bsd.own.mk>.
Usage:  ${MAKEDIRTARGET} dir target [params]
		Runs "cd $${dir} && ${MAKE} [params] $${target}",
		displaying a "pretty" message whilst doing so.

Use MAKEDIRPREFIX to implement the __recurse .USE macro in <bsd.subdir.mk>
2004-04-13 12:25:03 +00:00
jmc eca50dd4bd Also pull in bsd.obj.mk for something which is just using files to install a
uuencoded file
2004-03-29 22:26:21 +00:00
christos b1b156ce46 include <bsd.sys.mk> because uue files need TOOL_UUDECODE and in the
USETOOLS=no case this never gets defined.
2004-03-29 21:44:07 +00:00
fredb 3dcd362c80 Update ${X11TOOL_UNXCOMM} to XFree86 4.4.0's "CppSedMagic". From the comments
in Imake.rules:

 * Allow XCOMM to be preceded by whitespace and provide a means of generating
 * output lines with trailing backslashes.
 * Allow XHASH to always be substituted, even in cases where XCOMM isn't.

In particular, this fixes an issue pointed out by wiz on tech-x11, where "@@"
remains unsubstituted for "\" in "startx".
2004-03-27 20:16:16 +00:00
fredb 158d2f19f3 Enable IPv6 in XFree86 4.4.0 reachover build. Usage is describe
in "/usr/X11R6/lib/X11/doc/RELNOTES". Note particularly that "tcp",
as in "X -nolisten tcp" or "xhost +tcp/host:0", now means *both*
IP transport protocols. Use "inet" or "inet6", instead, to specify
only one or the other.

XDMCP support for IPv6 -- such as it is -- is disabled, just as
it is in the native, out-of-the-box build. XDM-AUTHORIZATION-1
does not really support IPv6 addresses, in any case. (It is
possible to build "xdm" with -DIPv6, but that presumes support
for IPv6-mapped IPv4 addresses in the default installation, for
one thing, and there are unexplored issues with all that.)
2004-03-26 21:29:54 +00:00
jmc c952e07861 Make sure clean rules pick up all uudecode output 2004-03-19 06:10:27 +00:00
jmc 934c6a9eb2 If performing a rename with uudecode, touch the expected output so make tracks
the dependency.
2004-03-18 03:32:03 +00:00
jmc c667587326 Add UUDECODE_FILES_RENAME_fn so the output from a uudecode can be renamed
potentially (usually when the .uue has a pathname contained within it)
2004-03-18 03:26:55 +00:00
jmc ee24a149f4 Add a central method to deal with uuencoded files in the source tree.
Files will be stored as .uue and the name sans .uue will be added to
UUDECODE_FILES to extract them.
2004-03-18 02:00:00 +00:00
matt 1a1ed06bfd Make the assumption that all MACHINE_ARCH'es ending in 'el' are little
endian and all ending in 'eb' are big endian.
2004-03-17 20:16:21 +00:00
he 574847ed6f Add sh3el and sh3eb MACHINE_ARCHs. 2004-03-17 19:57:49 +00:00
he 788aab2192 Add m68000 MACHINE_ARCH (for sun2) to big-endian list. 2004-03-16 14:46:44 +00:00
perry 05e1e2f0e7 Handle XHASH properly -- from Nicolas Joly 2004-03-16 00:24:47 +00:00
soren 3efacde2ee Wow, I was more confused still. The former bsd.endian.mk wasn't actually
using the little/big values.
I wonder how this happened to work..
2004-03-14 20:43:20 +00:00
matt f6513452e5 Don't use loadable modules for sgimips. XF86 doesn't understand mips
relocs at this time.
2004-03-14 16:59:00 +00:00
matt 09b62d7310 Make the sgimips XF86 server use loadable modules. 2004-03-14 06:22:32 +00:00
skrll 0a5647e7a8 Fix another silly error. 2004-03-13 13:07:37 +00:00
christos 5cf9849bc3 What happened to testing trivial changes?
Fix extra || at the end of the elif
2004-03-13 02:36:43 +00:00
soren 1265776d4e Replace the <sys/endian.h> hack with a table based on MACHINE_ARCH.
This makes src/x11 build without USETOOLS.
2004-03-12 23:43:41 +00:00
lukem d1600c8ff8 We're now using XFree86 4.4.0; update manual page generation accordingly.
Noted by Kouichirou Hiratsuka in PR misc/24725.
2004-03-10 23:41:20 +00:00
rtr f52be06c26 Update reachover to build XSUN for sun3 2004-03-10 16:21:16 +00:00
skrll efa76e17ec Correct the "Default:" text for MKPIC 2004-03-09 19:08:17 +00:00
jmc add0ecfaa7 Turn off MKKERBEROS4 if MKKERBEROS==no. 2004-03-08 06:30:33 +00:00
rtr e53122f357 + += extension flags for dri components if X11DRI != "no" 2004-03-04 13:14:57 +00:00
rtr cf1f75909b + add switch for DRI components of X11 build. 2004-03-04 13:10:28 +00:00
skrll e6fbf37618 hppa can uses the standard flags so remove the unnecessary special case. 2004-02-23 21:12:13 +00:00
uwe 1e2e037e02 Flip HAVE_GCC3 switch for sh3 ports. 2004-02-22 01:41:39 +00:00
skrll b263dbdd73 Be more gcc like in the way we deal with libgcc so that sh3/hppa millicode
and exception handling have a chance of working properly.

        - creates libgcc, libgcc_eh and libgcc_s

        - updates LIBGCC_SPEC to use them appropriately.

          There's a hack in here at the moment with respect to libgcc_so in that it
          is preferable to link against libgcc_so will only when -shared-libgcc is
          specified (the c++ frontend does this automatically.) Configurations where
          LINK_EH_SPEC is defined already do this. The gcc configuration for
          NetBSD/alpha and another NetBSD platform (I forget which) actually define
          LINK_EH_SPEC probably by accident rather than design.

        - updates share/mk to use the compiler's knowledge of what needs linking into
          libraries and executables. This removes an hppa hack.

        - updates the sets for the newly created libgcc* files.

	- support for linking against the _pg version of libgcc has been removed.
2004-02-15 19:52:27 +00:00
lukem 803c713ae9 Change STRIPFLAG from "-s" to ""; we now don't strip binaries with install(1).
The benefits of having the symbol table available by default (easier
debugging of core dumps, etc) outweigh the minor (3%) increase in
the size of the distribution, and end-users can always strip(1) their
systems if they're concerned about that 3% of disk space.
2004-02-13 05:13:37 +00:00
rtr 5310db3656 oops, FOOBAR= foo shouldn't be in here 2004-02-11 11:28:17 +00:00
lukem 68edea2915 Revert previous; install -l r doesn't appear to work correctly when
DESTDIR is a symlink.
(Yet another reason why "-l r" looks good on paper but sucks in practice).
2004-02-09 06:35:18 +00:00
jwise e0a5c89252 Document LPREFIX variable, as adding -P${DESIRED_PREFIX} to LFLAGS does not
do the expected.
2004-02-06 22:13:58 +00:00
lukem eee88ffea0 Convert the /usr/lib/libfoo.so -> /lib/libfoo.so.M.N link into a relative link.
This simplifies using ld with ${DESTDIR}/usr/lib whilst retaining the
(slightly faster) absolute links for the run-time libraries.
Per discussion on tech-toolchain.

(Side note;  install(1) -l r  needs the source to be prefixed with ${DESTDIR}
to operate correctly, which makes it non trivial to enable '-l r' by default
for all ${INSTALL_SYMLINK}s)
2004-02-06 12:34:11 +00:00
rtr a7e3a7b9ff PRINTX11VERSION contains command for automated extraction of
major,minor,patch,snap passed to some sourc during build.
2004-02-06 11:52:48 +00:00
lukem 20f6090de0 Add '-h sha1' to INSTPRIV.unpriv, so that SHA-1 hashes for installed files
are calculated and written to the METALOG.
2004-01-30 08:48:18 +00:00
lukem 7f363470cf oops in previous; can't call cleanhtml in cleandir at this time 2004-01-29 05:25:51 +00:00
lukem 84a4748659 Cosmetically tweak how .PHONY is used by (generally) providing it as a source,
instead of using it as a target with all the rules as its sources.
2004-01-29 01:48:45 +00:00
lukem cb61dc463d fix thinko in previous 2004-01-29 00:21:31 +00:00
lukem cf3f737042 add some missing .PHONYs 2004-01-29 00:02:04 +00:00
lukem af85ccad70 Replace
:M-[IDU]*
with
	:C/-([IDU])[  ]*/-\1/Wg:M-[IDU]*
so that arguments with whitespace after them work correctly.
Resolves [toolchain/18248] from Andrew White at Motorola.

Be consisent in this syntax; previously we'd sometimes we'd just have :M-[ID]*
which would ignore -Ufoo ...

(This needs :C///W support in make(1) that Simon Gerraty added for me :)
2004-01-27 03:31:48 +00:00
lukem 460eec09d4 There's no need to use :N-c with ${INSTALL_FILE}. 2004-01-27 02:52:19 +00:00
rtr e152935468 We always build glx ext, so for 64-bit archs we define -D__GLX_ALIGN64 2004-01-25 02:15:51 +00:00
simonb 842124b391 crt0.o lives in /usr/lib even on a.out. 2004-01-23 05:09:58 +00:00
jmmv b792bb087e Fix typo: XFree86XDGA -> XFreeXDGA. This adds support for DGA (as intended). 2004-01-20 16:40:11 +00:00
rtr a28d5cecb2 + escape new lines
+ remove extra ||
2004-01-18 08:24:16 +00:00
matt ddd7e4a306 Change _XSERVER64 to depend on MACHINE_ARCH, not MACHINE.
Disable XF86VIDMODE for vax.
Format MACHINE .if's nicer (and alphabetize).
2004-01-18 06:38:16 +00:00
rtr ad1c114818 Don't build XDGA, VIDMODE and XINPUT extensions for alpha, pmax, acorn32.
XXX There should probably be more archs/machines that do not build these.
2004-01-18 05:43:16 +00:00
matt a14c93f141 Export the symbols in addition to the relocation records when making LKMs. 2004-01-16 00:36:39 +00:00
rtr 9007e5a454 + no vid mode ext or dga for amiga
+ amd64 & alpha need X11FLAGS.SERVER+=	_XSERVER64
+ pass loadable defines for amd64 & cats
2004-01-13 03:26:09 +00:00
rtr 90b9a61928 control undefine of DDXTIME through Xserver/Makefile.common vars 2004-01-10 16:44:57 +00:00
fredb 62eaaceeea Don't define DDXTIME on mac68k. This will let us use GetTimeInMillis()
of ".../Xserver/os/utils.c", instead of supplying our own home-rolled
(yet identical) function.
2004-01-10 03:28:19 +00:00
skrll 6d86e95627 Correct a comment 2004-01-07 15:27:08 +00:00
lukem e0d82d7dce Add MKX11 to control if src/x11 is traversed during the build. (default: no)
Document <bsd.x11.mk>.
2004-01-07 12:06:34 +00:00
lukem 736517ca81 document MKCVS MKGCCCMDS MKPOSTFIX MKSENDMAIL MKUUCP 2004-01-03 01:06:55 +00:00
lukem 6d242d8a5e sort list 2004-01-03 01:05:42 +00:00
lukem 02e913d52d Consistently test all variables that support a "yes"/"no" value with
${VAR} == "no"
or
	${VAR} != "no"
(instead of against "yes").  Variables affected:
	TOOLCHAIN_MISSING
	HAVE_GCC3
	USE_TOOLS_TOOLCHAIN
	NEED_OWN_INSTALL_TARGET
	USE_SHLIBDIR

Improve the documentation.
2004-01-02 16:12:36 +00:00
rtr 775af37840 back out hpcmips changes accidently committed in prev. noticed by lukem@ 2004-01-01 12:36:14 +00:00
rtr 27a87afc78 grr typo .manN -> .man.N 2004-01-01 09:30:31 +00:00
rtr 6e780472a5 section 4 and 5 man/cat pages do get installed 2004-01-01 07:02:27 +00:00
lukem 2eba2bbab6 correct __vendorversion__ to match xsrc/xfree 2004-01-01 01:19:36 +00:00
christos e57d25d652 no-traditional is not a valid warning for c++ programs. 2003-12-26 17:27:01 +00:00
christos 80f77a3c2c Add libstdc++ 2003-12-26 17:22:43 +00:00
rtr 24acc15bee remove endian selection hack - from lukem 2003-12-26 08:24:33 +00:00
rtr 1967c90241 endian table for X_BYTE_ORDER= 2003-12-23 15:36:45 +00:00
rtr 6c80347d07 sparc64 defines 2003-12-23 11:12:35 +00:00
rtr 57bab08096 Need to provide alternate definitions of __archive{build,install} for x11.
approved by lukem
2003-12-23 10:30:02 +00:00
rtr 8c82867db3 Remove duplicate -DPIXPRIV from X11FLAGS.SERVER
Don't define -DXINPUT -DXFree86XDGA -DXF86VIDMODE -DDXTIME for sparc
Add X11FLAGS.LOADABLE for for module control/module flags.
2003-12-20 14:24:29 +00:00
matt abd06d37ef Add TOOL_MACPPCFIXCOFF 2003-12-11 00:28:08 +00:00
rtr fa397391ec No such thing as NONBINOWN, use NONBINMODE instead. 2003-12-08 10:10:46 +00:00
simonb 83f816d555 Disable native gdb for ns32k (but cross-gdb works). 2003-12-07 23:07:37 +00:00
scw a26234a268 And the monkey flicks the switch ...
Enable the in-tree toolchain on sh5, at least for the time being so I
can evaluate the situation.

There are still numerous problems with gcc3's sh5 support, not least
of which is the fact that a native gcc3 doesn't work at all. As a
cross-compiler, it works reasonably well. Certainly enough to build
userland and kernel code.

Binutils also has problems dealing with shared libraries on sh5, so
we're back to static userland for now.
2003-12-07 22:52:56 +00:00
matt 36d03f8064 Fix fumble-fingers && && -> && 2003-12-07 22:33:16 +00:00
matt aa713b97fe Turn on NOPIC= if using GCC3 for VAX. 2003-12-07 22:23:00 +00:00
simonb 0921f67df2 No shared libraries on ns32k at the moment - set *PICFLAGS to nothing. 2003-12-07 12:56:45 +00:00
simonb b18e40ea85 Use -O2 for ns32k now. 2003-12-07 12:53:58 +00:00
simonb 9ec0c6aa88 ns32k doesn't have a missing toolchain anymore, does support
gcc3 and always uses static libraries (for now...)
2003-12-05 12:14:42 +00:00
matt 2996b43a0a Add MKINET6/USE_INET6 support. 2003-12-05 02:35:24 +00:00
lukem cd017885ef Ensure that ${TOOL_STAT} is executable before trying to run it;
it may not be available when performing "make obj" in tools/
when using BSDSRCDIR & BSDOBJDIR (instead of MAKEOBJDIR{,PREFIX}).
2003-12-04 12:15:20 +00:00
mrg ce29aa2370 build lib{opcodes,bfd,iberty} back in gnu/lib instead of gnu/usr.bin/binutils
as they are needed earlier than when gnu/usr.bin/binutils is built when
"make -j" is used.
2003-12-04 09:29:31 +00:00
mrg 2aa1a44c7a switch everyone to binutils 2.14. it's confirmed to work on all the
platforms that actually build at the moment...
2003-12-03 10:26:45 +00:00
mrg 629f68a11b oops, really force 2.13 2003-11-27 13:10:00 +00:00
mrg d16bc966af remove the GDB53 section.
change the polarity of the GCC3 section - list missing ports.
add a binutils 2.14 knob, forced to 2.13 for now.
2003-11-27 13:09:37 +00:00
jwise a04b30960c APPDEF files should be installed with mode ${NONBINMODE}, not mode ${BINMODE}.
Picked up via /etc/security:

Checking setuid files and devices:
Setuid additions:
-r-sr-xr-x 1 root wheel 252016 Nov 26 02:27:32 2003 /home/NetBSD/build/dest/i386/usr/X11R6/bin/xterm
-r-sr-xr-x 1 root wheel 4822 Nov 25 23:36:45 2003 /home/NetBSD/build/dest/i386/usr/X11R6/lib/X11/app-defaults/XTerm
-r-sr-xr-x 1 root wheel 828 Nov 25 23:36:45 2003 /home/NetBSD/build/dest/i386/usr/X11R6/lib/X11/app-defaults/XTerm-color
2003-11-26 15:18:00 +00:00
lukem 185c65a241 In _MKTARGET_*, use ${.CURDIR:T} instead of ${.OBJDIR:T}, because that's more
useful when using actual 'obj' dirs.  Suggested by Alan Barrett, with some
tweaks by me.
2003-11-24 05:44:59 +00:00
lukem 6d246880fb In the various _MKTARGET macros, prepend "${.OBJDIR:T}/" to the ${.TARGET},
to provide more context about the operation.  Especially useful for crunched
binaries and kernel builds.  Idea suggested by David Laight <dsl@>
2003-11-22 21:53:28 +00:00
lukem 2f6833c22a Provide X11FLAGS.OS_DEFINES.
Add some comments
2003-11-17 05:14:21 +00:00
lukem ec71eec11f .c.lo: support per-target COPTS, CPPFLAGS, CPUFLAGS 2003-11-16 16:10:50 +00:00
lukem abdaf2f3be simplify with _MKTARGET_LINK 2003-11-16 14:09:00 +00:00
matt ac869c13c5 Add a AWK for awk. 2003-11-14 05:22:02 +00:00
matt 9e7bfda285 Use ${HOST_LN}
Fix how hppa gets to -lgcc_pic
2003-11-13 05:56:30 +00:00
matt 707e787138 Add a HOST_LN. 2003-11-13 05:54:44 +00:00