Commit Graph

1369 Commits

Author SHA1 Message Date
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