Commit Graph

4452 Commits

Author SHA1 Message Date
mrg 6ba749b625 install a "cccp" man page for now. 2003-09-02 05:23:06 +00:00
wiz 866f598bcb Fix a parallel-build problem reported by Chuck Silver with
the patch from the groff repository created by Werner Lemberg.
2003-09-01 17:15:34 +00:00
matt 9de4f868de Regenerated. 2003-08-31 19:45:25 +00:00
tls be39aeba77 Fix .include to reflect move of this Makefile. 2003-08-29 03:54:46 +00:00
mrg 277fd0e642 build libfrtbegin 2003-08-29 01:57:04 +00:00
mrg 58aefb674b oops, move this to the right location 2003-08-29 01:00:49 +00:00
mrg f4b7364d5d build libfrtbegin.a with GCC3.3 2003-08-29 00:53:22 +00:00
mrg 1a086c6b25 introduce an additional switch to enable building GCC3 instead of GCC2:
HAVE_GCC3.  if this is set, we also set USE_TOOLS_TOOLCHAIN=no.  change
the definition of the former to be restricted to whether tools/toolchain
is used or not.
2003-08-27 16:03:17 +00:00
mrg 33eed2cc61 regenerate 2003-08-25 06:09:11 +00:00
martin c3181b5741 Shifts with >= 32 bit used to generate illegal code for 64bit targets,
fix by using for example "sllx" instead of "sll" in this cases.
Submitted to the gcc maintainers as attachment to [Bug c/11965] in their
bugzilla.
2003-08-23 10:19:02 +00:00
mrg bde3717628 regenerate. 2003-08-22 16:01:12 +00:00
mrg 74cfa6bb4b regenerate 2003-08-22 09:46:57 +00:00
kim b7ab4147f6 Document the canonicalize_envelope_recipient variable. 2003-08-22 04:43:21 +00:00
kim e75f2ec987 The functional part of the var_canon_env_rcpt patch had been
inadvertently left out during an update.
2003-08-22 04:25:26 +00:00
uwe 96538bcf9e * add ${GCCARCH} to .PATH to make hconfig.h a real file target.
* use ${G_HCONFIG_H} instead of hconfig.h as a dependency.
* hconfig.h: auto-build.h dependency is bogus, remove.
* misc cleanup of ".c depends on .h" -> ".o depends on .h"
* options.h was missing from CLEANFILES.

With these changes running make in this directory doesn't do a
*complete* rebuild anymore.  Still not foolproof, because gen* host
tools do not overwrite generated files that are not changed, so we
really need to use stamp file style dependencies for those, like gcc
makefile does.

Ok by Matthew Green <mrg@netbsd>.
2003-08-22 03:06:32 +00:00
mrg 87e3390b36 build with GCC3 - string literals can't use literal new lines. 2003-08-22 02:59:50 +00:00
mrg ee74cc4c6b find ppc-asm.h via "rs6000/ppc-asm.h". 2003-08-22 02:46:17 +00:00
mrg 023ae3cdb4 regenerate 2003-08-22 02:45:22 +00:00
mrg a827e79b49 patch from <sdegler@degler.net> to add /usr/include/g++/backward to the
default C++ include path so that one can find old headers without any
special help.  (using them still generates warnings though.)
2003-08-22 02:41:15 +00:00
mrg 22660a6384 add a patch from <sdegler@degler.net> to build .asm files by copying them
to .S files first.
2003-08-22 02:39:56 +00:00
itojun 379deb2b1a use %llu for unsigned long long printing; PR bin/22552 2003-08-20 13:58:08 +00:00
uwe acd641f87d Add -I${BACKENDOBJ} to HOST_CPPFLAGS so that `fini' host program can
find auto-build.h.

Fixes PR/22497.
Ok by mrg@.
2003-08-19 01:13:25 +00:00
christos eb60ee7b60 Do not install the libraries (from Stephen Degler) 2003-08-18 22:49:16 +00:00
christos dfb81d79ab undo previous accidental commit. 2003-08-18 16:46:55 +00:00
martin 17e3c1d4f1 Add sparc64 support.
XXX - lint does not yet work - it undefines __GNUC__ and this breaks bfd.h.
2003-08-18 00:28:11 +00:00
martin 0fffc3d101 Move bfd.h to arch dependend directory - the generated bfd.h differs
slightly between 64bit and 32bit archs.
2003-08-18 00:25:23 +00:00
martin 8f6cdf024b Remove accidently commited (generated) files that "make distclean" fails
to remove.
2003-08-17 23:51:12 +00:00
christos f399648bb7 forgot to add this one too. 2003-08-17 23:00:20 +00:00
christos a550ab6960 forgot to commit this. 2003-08-17 22:54:56 +00:00
martin f4d6f4dfb8 Rumors say there are archs where int != long. 2003-08-17 22:17:03 +00:00
christos 83a51582a8 try to commit again 2003-08-17 18:03:25 +00:00
christos 2e12e80a85 avoid PARAMS redefinition. 2003-08-16 21:57:20 +00:00
christos 1cfd40eacc remove generated files. 2003-08-16 21:56:36 +00:00
christos f068e22a9f fix lint errors. 2003-08-16 21:56:23 +00:00
christos 03a450b1a6 update for multiple dir build. 2003-08-16 21:53:58 +00:00
christos baa8a63141 Remove unused lines. 2003-08-16 16:03:05 +00:00
matt b7cc9ef509 Correctly decode the switchframe *and the two callframes above it* which
contain the real information.
2003-08-15 16:58:15 +00:00
hannken d64c1acb07 Register `fill' was renamed to `lr'.
See sys/arch/powerpc/include/frame, rev 1.16.
2003-08-15 10:36:49 +00:00
christos df57fab11f Adjust to 5.3 2003-08-14 18:20:47 +00:00
christos f412635e2b Move MI stuff into the Makefile 2003-08-14 18:18:05 +00:00
christos 52548ed6ed Adjust to 5.3... 2003-08-14 18:10:09 +00:00
christos f2fb83f010 x86 gdb-5.3 support. 2003-08-14 17:40:54 +00:00
christos 744531991e a couple more additions. 2003-08-14 16:54:54 +00:00
christos 6dc8ebe23c Add auto-gen'ed files. 2003-08-14 16:50:53 +00:00
christos 7b11b526b4 Fix a compiler warning. 2003-08-14 16:49:37 +00:00
christos b71227cf2b - merge changes from gdb-5.0 2003-08-14 14:22:27 +00:00
christos 88a26652e1 Undo previous change and introduce ugly makefile hack. 2003-08-14 14:17:01 +00:00
christos 2fd435b3f0 - fix IS_THREAD
- fix typo ptid_equals
2003-08-14 01:12:26 +00:00
christos 230eaa023f gdb has signals.c too; rename the file. 2003-08-14 01:08:23 +00:00
christos 3b342f088b avoid gcc-3 warning. 2003-08-14 01:07:59 +00:00
christos 5aa0e076c6 do mechanical pid to ptid conversion. it now compiles. 2003-08-14 00:24:10 +00:00
christos fcb15df895 ansify 2003-08-13 23:38:50 +00:00
christos 34fb5d34da initial checking of the 5.0 version. 2003-08-13 23:30:34 +00:00
christos 8229ffad82 Re-add dead files. 2003-08-11 20:58:34 +00:00
christos b36d5146cd Import gdb-5.3 2003-08-11 20:31:36 +00:00
christos 4084bd69eb Import gdb-5.3 2003-08-11 20:21:35 +00:00
mrg b66a12790c - delete generated-for-i386--netbsdelf auto-build.h
- generate an auto-build.h at build time the same way ./configure does
- add dozens of missing dependancies
2003-08-11 07:34:03 +00:00
uwe 5b9717919b In sh.h, ASM_OUTPUT_LABELREF - const'itfy lname.
Pull the fix for RETURN_ADDR_RTX from gcc-current:
sh-protos.h - 1.45; sh.h - 1.217 (partial); sh.c - 1.230 (partial).

Pertinent parts of the gcc changelog follows.

prologue / epilogue / warning patches:

2003-07-16  J"orn Rennecke <joern.rennecke@superh.com>
    Con Bradley <con.bradley@superh.com>

* sh-protos.h (sh_get_pr_initial_val): Declare.
[...]
* sh.h [...]
(RETURN_ADDR_RTX): Use sh_get_pr_initial_val.
2003-08-11 00:45:34 +00:00
mrg 62340ef2af document -isystem-cxx. 2003-08-10 01:57:50 +00:00
mrg 7fb34d4e7b merge gcc3.3.1 2003-08-09 12:59:00 +00:00
mrg 032a2c7f24 add dependancies "make depend" needs to know about. fixes PR#22389 2003-08-09 12:04:55 +00:00
mrg adab0762e5 initial import of (final) GCC 3.3.1 sources 2003-08-09 11:11:09 +00:00
tron 21a040eb6c Provide a default for "TOOL_M4" so that a manual "make" in
"/usr/share/sendmail/cf" still works.
2003-08-06 17:09:26 +00:00
mrg 3b9c25da9b install cpp.1 and now that g++.1 is just ".so man1/gcc.1", instead link
g++.1 (and c++.1) to gcc.1 in our install tree.
2003-08-04 06:58:19 +00:00
mrg 2fe59400d5 bump the major on these 2003-08-04 01:53:51 +00:00
uwe cb445c2c44 #define NO_PROFILE_COUNTERS as we don't need them. Otherwise both the
code to emit profile counters and the FUNCTION_PROFILER macro in this
file emit/define the same label.  For gcc 2.95.3 it used to work
because FUNCTION_PROFILER used local numeric labels instead of using
LABELNO, so it caused no conflict.

This makes -pg code compilable.
2003-08-04 00:52:43 +00:00
lukem 64b5a0fe7b Add INCSYMLINKS to <bsd.inc.mk> and <bsd.kinc.mk>, and use that instead of
SYMLINKS to install symlinked header files.  INCSYMLINKS are installed with
'make includes'.  This avoids using SYMLINKS and hacks with the 'linkinstall'
target in <bsd.links.mk>, as linksinstall occurs in 'make install' and hacks
to get it to occur in 'make includes' weren't robust, as seen in lib/libdes.

Yet more improvements to bsd.README.
2003-08-03 09:23:14 +00:00
matt 4e5cf29ef5 Add new files for gcc3 from native-gcc build. (alpha distribution builds
now successfully build).
2003-08-02 18:47:40 +00:00
christos 14ba79e309 Make this compile with gcc-3 2003-08-01 21:28:14 +00:00
lukem a93ea220fc Rework how dependency generation is performed:
* DPSRCS contains extra dependencies, but is _NOT_ added to CLEANFILES.
  This is a change of behaviour.  If a Makefile wants the clean semantics
  it must specifically append to CLEANFILES.
  Resolves PR toolchain/5204.

* To recap: .d (depend) files are generated for all files in SRCS and DPSRCS
  that have a suffix of: .c .m .s .S .C .cc .cpp .cxx

* If YHEADER is set, automatically add the .y->.h to DPSRCS & CLEANFILES

* Ensure that ${OBJS} ${POBJS} ${LOBJS} ${SOBJS} *.d  depend upon ${DPSRCS}

* Deprecate the (short lived) DEPENDSRCS


Update the various Makefiles to these new semantics; generally either
adding to CLEANFILES (because DPSRCS doesn't do that anymore), or replacing
specific .o dependencies with DPSRCS entries.

Tested with "make -j 8 distribution" and "make distribution".
2003-08-01 17:03:41 +00:00
mrg 95cc5b8954 regenerate 2003-08-01 13:56:59 +00:00
mrg 391773a711 - fix several build problems
- regenerate for most platforms.  missing:
	m68000, alpha, sh3eb.
2003-08-01 13:55:36 +00:00
mrg 774d0597a5 new (old) -isystem-cxx flag to set a C++ system include directory.
* c-opts.c: Document -isystem-cxx.
* cppinit.c (new_pending_directive): Add -isystem-cxx entry.
* gcc.h. (DEFAULT_WORD_SWITCH_TAKES_ARG): add -isystem.


XXX: possibly can use $CPLUS_INCLUDE_DIR.
2003-08-01 13:37:28 +00:00
lukem d913007a1a Explicitly add dependencies for foo.cpp from foo.y.
Ensures that foo.d is correctly built from foo.cpp and not foo.y->foo.c.
2003-08-01 10:36:42 +00:00
lha a6393a1286 libkrb depends on libdes (add)
libkrb5 depends on libcrypto (move from comon part)
2003-07-31 10:02:22 +00:00
matt 5166de08fb back out inadvertant commit (however, -D_PTHREADS needs to be supplied
somewhere so that gthr-posix.h is included).
2003-07-30 21:21:46 +00:00
matt e379d89a35 Remove the alpha specific -mieee flag 2003-07-30 21:20:33 +00:00
matt 774cd5317a Remove the alpha specific -mieee 2003-07-30 21:19:35 +00:00
matt 53808daf5c Regenerate gcc3 configuration for alpha 2003-07-30 06:22:54 +00:00
mrg 2c5b77b2d3 - find gthr-default.h for libgcc3
- adapt for gcc3/libiberty change
- regenerate
2003-07-30 05:33:25 +00:00
uwe bd362fbfba Adapt to bsd.dep.mk changes. 2003-07-29 23:31:46 +00:00
mrg 4c2873d8a0 define DEFAULT_TARGET_VERSION and DEFAULT_TARGET_MACHINE again. 2003-07-29 07:26:23 +00:00
mrg 952f507549 pull across a patch from .../toolchain/gcc/gcc.c that removes a whole
bunch of unrequired (and problem-causing) paths from various lists.

set (new) TOOLDIR_BASE_PREFIX and STANDARD_BINDIR_PREFIX defines in the
#ifdef NETBSD_NATIVE case as well as several other *_PREFIX defines.
2003-07-29 07:20:21 +00:00
mrg 9f1ca98b0a regenerate with --enable-threads 2003-07-29 06:49:53 +00:00
uwe 7c38c5c675 Adapt to bsd.dep.mk changes. 2003-07-29 00:13:21 +00:00
lukem eb51573bd7 Use ${DEPENDSRCS} as a target instead of .depend, now that
<bsd.dep.mk> builds .depend from .dep files.
2003-07-28 15:25:02 +00:00
lukem a9eaf614a5 replace MKCXXSUPCXX=yes with USE_LIBSTDCXX=no 2003-07-28 08:54:39 +00:00
lukem d706431f82 change from CXX_SUPCXX=1 to MKCXXSUPCXX=yes 2003-07-28 07:04:17 +00:00
mrg b7a9236e8e set GNUHOSTDIST 2003-07-28 02:53:24 +00:00
mrg 975645453d *correctly* regenerate with correct non-hardcoded paths 2003-07-28 02:39:34 +00:00
mrg 30c88832e7 regenerate with correct non-hardcoded paths 2003-07-28 01:31:15 +00:00
mrg 3335e363cf turn back on profiling - thanks luke 2003-07-28 01:10:51 +00:00
mrg 30e5f75620 rework an expression to avoid 32 bit overflow 2003-07-27 15:16:54 +00:00
mrg 127fd99434 avoid redefining a symbol differently 2003-07-27 15:13:39 +00:00
mrg 57dc195231 build-tested support for m68000, m68k, sh3el and sh3eb.
XXX: sun2 seems to be currently generally busted but most of the world
     builds.  of course it is untested..
XXX: sh3* and -pg goes BOOM with gcc3.3... it generates code that uses
     the same labels twice... need to set NOPROFILE for now.
2003-07-27 14:41:32 +00:00
mrg 5a8170433a actually build libstdc++-v3 now.
XXX NOPROFILE has been set as for some very very very strange reason i
don't understand yet this is causing the compiler to barf...
2003-07-27 14:38:57 +00:00
mrg 0d07d92566 regenerate 2003-07-27 14:34:43 +00:00
mrg a2a84f63a0 regen 2003-07-27 14:17:02 +00:00
mrg 354caa5839 add working alpha support - including working cross builds from x86 2003-07-27 05:10:47 +00:00
mrg 6a0101cabe #if 0 an assert that is always false. XXX not really always... 2003-07-27 05:03:51 +00:00
mrg 5e6550b28e working mips support (mipsel runs fine, mipseb compiles, untested so far) 2003-07-26 18:41:26 +00:00
dsl f2eecf77ab Define and use xasprintf() so that memory allocate errors are reported. 2003-07-26 16:06:44 +00:00
mrg 9654542bdb working gcc3 support 2003-07-26 15:23:19 +00:00
mrg 18fe568bf8 set CXX_SUPCXX if we're using gcc3 2003-07-26 15:03:27 +00:00
mrg 2aad222f64 need a host rule for dummy-conditions.c 2003-07-26 15:02:52 +00:00
mrg 5a9a1bb768 - build/install a libsupc++.a
- clean up commented & wrong rules
- find the right bits/ headers for sparc64 & arm
- make sure libsupc++/libstdc++ have all the symbols from libiberty they want
- disable the build of libstdc++ for now (but keep the includes installing)
2003-07-26 14:55:12 +00:00
mrg 9a2ca8e117 working arm & sparc64 support 2003-07-26 14:48:06 +00:00
dsl d1fbc02d92 This should fix the recent cvs breakage - PR bin/22276
Use asprintf() instead of malloc(), sprintf() pairs.
Now that CVSADM_xxx is getCVSdir("xxx"), sizeof CVSADM_xxx isn't quite right!
(Who knows why gcc doesn't error 'sizeof function()' though?)
Note this compiles, but isn't tested (yet).
2003-07-26 14:36:18 +00:00
lukem d028397570 Disable rules that attempt to update parse.c from parse.y.
Implemented using a method recommended by Chris Demetriou on source-changes.
2003-07-26 12:02:21 +00:00
christos 0f6cc2d0c8 Document -D 2003-07-25 20:39:25 +00:00
christos e6a5f61128 Add -D dir option to be able to specify where cvs stores its bookkeeping files
(default to CVS as usual).
2003-07-25 20:37:31 +00:00
mrg 82dc526688 make sure tconfig.h exists before .depend 2003-07-25 19:20:07 +00:00
mrg 2b1bcb2757 oops, don't need this one here. 2003-07-25 18:58:44 +00:00
mrg e70774a5af oops, we need the generated-manpages target still. 2003-07-25 18:38:18 +00:00
mrg 5e7d44a059 comment some more rules that update read-only source trees 2003-07-25 18:33:19 +00:00
mrg 80b751809f - comment the rules to rebuild .info files into $srcdir.
- don't try to link the (not yet built!) target libiberty.a for host programs(!)
2003-07-25 18:06:03 +00:00
mrg 20c6cdf6dc make `cpp -gcc' the default on NetBSD. 2003-07-25 17:57:41 +00:00
mrg bad540d079 clean up and fix a couple of build-from-cleandir problems 2003-07-25 17:19:22 +00:00
mrg ae9855d2fe maybe build gcc3 instead of gcc2 2003-07-25 16:57:06 +00:00
mrg a9fc136dbd new reach-over infrastructure (largely based on GCC2.95 one) that (mostly)
works.  sparc & i386 support is included here.  libstdc++-v3 does not yet
properly build for some strange reasons (that may be due to broken netbsd
header files, it's not yet clear) but i have been able to compile, link and
run both i386 & sparc hello.c.
2003-07-25 16:32:23 +00:00
mrg 731484776c merge import conflicts. 2003-07-25 09:04:06 +00:00
simonb f8d975a54e Add rev 1.48 from binutils:
date: 2003/03/14 21:07:54;  author: drow;  state: Exp;  lines: +1 -0
	ppc-opc.c (powerpc_opcodes): Readd tlbre for PPC403.
2003-07-24 03:40:17 +00:00
lha 2004b22e25 -DENCRYPTION is for both krb4 and gssapi support, so move it to shared section 2003-07-24 00:25:24 +00:00
itojun 1747522bb0 split MKKERBEROS4 and MKKERBEROS (forgot to commit) 2003-07-23 23:20:35 +00:00
mrg 1da79fd671 initial import of GCC 3.3 sources. (this is the latest GCC 3.3.1
prerelease snapshot, 3.3.1-20030720, we will update to 3.3.1 when
it becomes available.)
2003-07-23 02:40:42 +00:00
lukem 70e86ffb8d add more rules to disable default '.cc -> NULL' transforms,
because the default rules cause problems if "valarray.cc" is newer
than "valarray" (for example)
2003-07-22 02:52:37 +00:00
wiz fade40fe67 Add patch from groff repository:
revision 1.5
date: 2003/07/18 07:00:47;  author: wlemb;  state: Exp;  lines: +38 -21

Don't ignore grotty's command line options if \X'tty: sgr ...' is
used to change the drawing scheme.

* src/devives/grotty/tty.cpp (bold_flag_option,
underline_flag_option, italic_flag_option, reverse_flag_option,
bold_underline_mode_option): New global variables.
(update_options): New function.
(tty_printer::special): Call update_options.
(main): Don't set xxx_flag but xxx_flag_option, then call
update_options.
2003-07-20 13:01:08 +00:00
lukem f134f3dc38 Add MKUNPRIVED; if not no has the same semantics as if UNPRIVED was defined.
Replace defined(UNPRIVED) tests with ${MKUNPRIVED} != "no"

Add MKUPDATE; if not no has the same semantics as if UPDATE was defined.
Replace defined(UPDATE) tests with ${MKUPDATE} != "no"

Improve documentation for these and other make flags.
2003-07-18 08:26:01 +00:00
atatat ccf314363b Move the libmilter headers to where they belong. 2003-07-10 13:07:24 +00:00
lukem 001c68bd94 Rename a large chunk of the make(1) variables which refer to a
program/tool from "FOO" to "TOOL_FOO".  The new variables are:
	TOOL_ASN1_COMPILE  TOOL_CAP_MKDB  TOOL_CAT  TOOL_CKSUM  TOOL_COMPILE_ET
	TOOL_CONFIG  TOOL_CRUNCHGEN  TOOL_CTAGS  TOOL_DB  TOOL_EQN  TOOL_FGEN
	TOOL_GENCAT  TOOL_GROFF  TOOL_HEXDUMP  TOOL_INDXBIB  TOOL_INSTALLBOOT
	TOOL_INSTALL_INFO  TOOL_M4  TOOL_MAKEFS  TOOL_MAKEINFO  TOOL_MAKEWHATIS
	TOOL_MDSETIMAGE  TOOL_MENUC  TOOL_MKCSMAPPER  TOOL_MKESDB
	TOOL_MKLOCALE  TOOL_MKMAGIC  TOOL_MKTEMP  TOOL_MSGC  TOOL_MTREE
	TOOL_PAX  TOOL_PIC  TOOL_PREPMKBOOTIMAGE  TOOL_PWD_MKDB  TOOL_REFER
	TOOL_ROFF_ASCII  TOOL_ROFF_DVI  TOOL_ROFF_HTML  TOOL_ROFF_PS
	TOOL_ROFF_RAW  TOOL_RPCGEN  TOOL_SOELIM  TOOL_SUNLABEL  TOOL_TBL
	TOOL_UUDECODE  TOOL_VGRIND  TOOL_ZIC

For each, provide default in <bsd.sys.mk> of the form:
	TOOL_FOO?=	foo
and for the ${USETOOLS}=="yes" case in <bsd.own.mk>, provide override:
	TOOL_FOO=	${TOOLDIR}/bin/${_TOOL_PREFIX}foo

Document all of these in bsd.README.

This cleans up a chunk of potential (and actual) namespace collision
within our build infrastructure, as well as improves consistency in
the share/mk documentation and provision of appropriate defaults for
each of these variables.
2003-07-10 10:33:58 +00:00
drochner 994673f63c As already done in binutils-2.14:
Use the "LL" suffix for 64-bit constants.

Now gcc-3.3 doesn't warn about "constants too large
for "long"" or so anymore.
2003-07-09 14:43:24 +00:00
drochner 82df414328 Fix another case where the %{R*} in LINK_SPEC got lost.
Should resolve PR toolchain/22098 by Richard Earnshaw.
2003-07-09 14:34:47 +00:00
itojun 861516eeb7 install more postfix README files. based on PR 22086 2003-07-08 05:17:12 +00:00
martin 096118cb48 Move the local "dependall" target to Makefile.dev, since not all subdir
Makefiles include Makefile.tty. Hint from seb.
2003-07-06 18:43:36 +00:00
wiz 11ec0bca58 Commit fix from ru@freebsd (already in groff CVS) to fix a problem
discovered by jmc@openbsd:
.Pp
.Bd -literal
had more whitespace than plain
.Bd -literal
without a .Pp directly before.
2003-07-06 02:23:45 +00:00
martin 6b51cb5150 Explicit dependencies for y.tab.h handling. Without this, parallel builds
break.
If someone finds a better way to do this (especially without modifying
this imported makefiles) please feel free to redo this differently.
2003-07-05 22:09:03 +00:00
martin 19f1f93fa0 There is no ${RPOG} or ${SCRIPT} in here, so bsd.prog.mk doesn't realy
build anything for the "dependall" target. Explicitily let it do the
same as the "all" target.
2003-07-05 22:02:59 +00:00
martin ef6eddfd4c Fix obvious, very stupid bugs, that made compilation fail on 64 bit systems.
(unfriendly remarks removed before leaving editor)
2003-07-05 15:08:59 +00:00
christos 671e251af7 PR/21819: Jeremy Reed: znew and gzexe create/use unsafe tmp files. Replaced
with the FreeBSD current version.
2003-07-05 02:34:28 +00:00
wiz 04fb23b84a Add libevent. 2003-07-04 12:20:11 +00:00
atatat 14aac0ed62 Make "make includes" descend into the sendmail tree. 2003-07-04 04:53:50 +00:00
atatat 3fe5d819ac Enable MILTER support in the in-tree sendmail. This entails
installing two new libraries (and two lint thingys, but no shared or
pic stuff) and two headers files (into /usr/include/milter).

Shared libraries (etc) could be built, but as I'm currently unsure of
the ABI/API stability, I'm going to examine it more closely before
enabling it, as opposed to finding out later that it's volatile and
disabling it.

NOTE!  We really ought to have a generic rc.d script to start the
milters (before sendmail or any other MTA that you have that uses
them), but I haven't finished it yet.  The milter support here is
being enabled to satisfy current popular demand.  I'll come up with a
script soon.  Unless someone feels like beating me to it.  So until
then, you're on your own.
2003-07-04 04:52:59 +00:00
wiz 22b7dfef23 Add a note about updating config.h. 2003-07-03 15:41:37 +00:00
wiz 7245847e34 Update for 4.6. 2003-07-03 15:39:59 +00:00
wiz 336f920cb0 Reduce diff to texinfo-4.6. 2003-07-03 15:35:34 +00:00
wiz f6bd3ce762 ``autoreconf -f'' generates better output -- use that instead. 2003-07-03 15:24:01 +00:00
wiz 60e3307ec0 Install Romanian locale too. 2003-07-03 15:17:47 +00:00
wiz 5852c21fa6 Merge 4.6 (includes aclocal/autoheader/autoconf/automake run
for local AM_MAINTAINER_MODE change).
2003-07-03 15:09:13 +00:00
wiz 501ee3dffd Import of texinfo-4.6. 2003-07-03 14:58:40 +00:00
wiz cdcc2dcba2 Remove another local patch: all fields of the NODE structure are
initialized manually, so no zeroing is necessary.
2003-07-03 12:59:54 +00:00
wiz 3fbb8762e8 Match 4.5 better (no functional change). 2003-07-03 12:53:07 +00:00
wiz 18f0270abb Remove local patch that was (supposedly) a work-around for
libedit-emulating-readline problems, which appear fixed; at least
texinfo compiles just as well without the patch.
2003-07-03 12:50:09 +00:00
wiz b12e18c6e7 No point in allocating x*2 if only x+2 is used (reverts local patch
pulled up from 3.12).
2003-07-03 12:47:32 +00:00
tron 1d37b173ee Uncomment "CLEANFILES" assignment accidently disabled by the last commit. 2003-07-03 11:46:46 +00:00
lukem d35c969759 Use FILESDIR_foo=${TMACDIR} instead of FILESNAME_foo=../foo .
Fixes problem with UNPRIVED builds.
2003-07-03 07:10:45 +00:00
wiz dd008107d1 Add 'signed' in some places so this compiles on platforms where
char by default is unsigned.
2003-07-03 06:27:50 +00:00
wiz 3377068dd2 Add missing .endif. Noted by Juan RP. 2003-07-01 13:58:37 +00:00
wiz 689ab69cfe Remove traces of psroff (obsoleted during groff-1.16 import) 2003-07-01 13:49:29 +00:00
wiz 22f5bf9166 Remove some unused code. 2003-07-01 13:48:24 +00:00
agc 36175775de Make this work for unprivileged installation, too. With thanks to wiz, mrg
and simonb.
2003-07-01 13:45:45 +00:00
wiz 7f9ffda65e Remove 1.5K (pfil(9) changed). 2003-07-01 13:04:32 +00:00
mrg 7651047e58 give lex.cpp expclit dependancies for generated files so that "make all" as
well as "make dependall" works.
2003-07-01 12:38:09 +00:00
mrg 314a2bbe7a add .WAIT after libs... 2003-07-01 12:29:08 +00:00
wiz 761f6b4f67 Add 1.5K for pfil(9) -- we should probably reword that instead. 2003-07-01 10:30:22 +00:00
wiz d8cc6c605d The default section names are fine; remove overrides. 2003-07-01 09:59:50 +00:00
wiz 67d5c6a49b Remove generated files. 2003-07-01 08:26:33 +00:00
wiz 1d6bda4770 Generate eqn_tab.h and eqn.cpp. 2003-07-01 08:26:30 +00:00
mrg f7e28a013d fix a cutnpaste error in previous comment. 2003-07-01 08:20:37 +00:00
mrg ab3bb21eb4 note why YHEADER is not appropriate here. 2003-07-01 08:19:29 +00:00
mrg bc2e3e8318 pic/refer:
- set YFLAGS=-d
pic:
- remove pic_tab.h from SRCS.
2003-07-01 08:16:54 +00:00
mrg 68a081c5e1 delete these generated files 2003-07-01 08:15:28 +00:00
wiz 45404addfe Add @SHELL@ before mkinstalldirs call, in case mkinstalldirs does
not have the right permissions.
2003-06-30 19:18:21 +00:00
wiz 31624bb944 Re-add (for now). 2003-06-30 19:05:32 +00:00
wiz cfb68b0dce Add NetBSD RCS Id. 2003-06-30 18:47:40 +00:00
wiz 25ef1dbed7 Add man.local. 2003-06-30 18:41:24 +00:00
wiz bf7bd150bb Make groff-1.19 build on NetBSD. 2003-06-30 18:40:50 +00:00
wiz 97a4aa1713 Replace old build structure with FreBSD one (local changes in next commit). 2003-06-30 18:34:08 +00:00
wiz 606591d35c Import groff-1.19 build structure from FreeBSD. 2003-06-30 18:19:53 +00:00
wiz fa3255d80d Disable SGR output; patch from Werner Lemberg (wl at gnu org). 2003-06-30 18:10:23 +00:00
wiz 95ed1d3161 Add patch from groff's CVS repository removing two superfluous lines
before the NAME header.
2003-06-30 18:08:51 +00:00
wiz 68ac378cc2 Comment out locale call, since sh(1) doesn't redirect "program not found"
errors to stdout, even if asked nicely.
2003-06-30 18:07:38 +00:00
wiz 3064bb2cdf Remove versioned subdir from datasubdir to make tools/ building easier. 2003-06-30 18:05:20 +00:00
wiz afcefcd756 Updated import script. 2003-06-30 18:02:48 +00:00
wiz 10663b019b Update to 1.19. 2003-06-30 17:59:43 +00:00
wiz 5220bc5f6e Import groff-1.19. Changes since 1.16.1: too many to list here (> 1000 lines
in the abridged version). Please read the included NEWS file for details.
2003-06-30 17:51:41 +00:00
wiz 1a6d2307a3 These man pages are not from the Berkeley distribution -- remove ".UC". 2003-06-30 14:09:51 +00:00
wiz 34e25a94c7 Fix one option in option list. 2003-06-27 08:25:04 +00:00
drochner 12d153b126 fix LINK_SPEC to pass "-R" to the linker
(approved by tv)
2003-06-26 19:16:21 +00:00
drochner c712f01409 link shared objects against libgcc_pic also in the !native
(ie tools/cross) case, as already done in the native configuration
2003-06-26 17:50:32 +00:00
uwe b659db9760 When MKPIC is "no" and we force MKLINKLIB to "yes" to provide
something for BFD-using programs to link against, also provide an
empty libinstall target so that libbfd.a does not get installed.
2003-06-26 02:49:31 +00:00
itojun 9053ad0b31 make the defafult value of CVS_RSH to "ssh". 2003-06-20 03:28:56 +00:00
thorpej 1d99a54efe Bring in the following patch from FSF binutils mainline:
2003-06-13  Richard Earnshaw  <rearnsha@arm.com>

	* tc-arm.c (FPU_DEFAULT, case TE_LINUX): Default to FPU_ARCH_FPA.
	(FPU_DEFAULT, case TE_NetBSD): Default to FPU_ARCH_VFP for ELF,
	FPU_ARCH_FPA for AOUT.
	(md_begin): Don't try to guess the floating point architecture from
	the CPU if the OS ABI (Linux, NetBSD) mandates a particular form.

...per Richard's suggestion.
2003-06-14 16:02:57 +00:00
atatat f554d2662a Pull sendmail 8.12.9 to the head, resolve the import conflict, and
make it build.  Now we have $NetBSD$ tags.
2003-06-01 14:06:40 +00:00
atatat 7af571cc1a sendmail 8.12.9 2003-06-01 14:01:14 +00:00
atatat d507fc11c2 Rewrite sendmail source conversion script to remove tags in a cleaner
way, and also to add $NetBSD$ tags where possible/practical/sensible.
2003-06-01 13:59:56 +00:00
thorpej 4563b128e1 * If MKGCC == no, don't build this library, which is bundled with the
compiler.
* Set GNUHOSTDIST (transitional, for use with new mknative).
* Add -I${.CURDIR} to CPPFLAGS (to support a future change).
2003-06-01 02:09:31 +00:00
thorpej a20987422e If MKGCC == no, don't build these libraries (which are bundled with
the compiler).
2003-06-01 02:08:07 +00:00
thorpej 21d9a5cb94 Change --redefine-syms-file to --redefine-syms for consistency with
e.g. --keep-symbols, and to match the patch which was submitted to FSF.
2003-06-01 02:01:09 +00:00
perry cd2741bcae Re-remove admin, port-arm32.
They were removed intentionally the first time.
2003-05-30 13:42:18 +00:00
fair 1f49a3d273 Add many missing categories. 2003-05-29 01:22:19 +00:00
thorpej 9ece9fecbc Run mknative to regenerate for binutils 2.13.2.1. 2003-05-26 02:18:01 +00:00
thorpej 0a1127cb30 Run mknative to regenerate for binutils 2.13.2.1. 2003-05-26 01:03:05 +00:00
kristerw 66cf1d6099 Handle comments in macros when the -C flag is specified to the
pre-processor.

This makes code of the form

   #define FOO(X) (BAR(X))
   #define BAR(X) (X)
   #define BAZ    23 /* comment, comment. */
   int foo(void) { return FOO(BAZ); }

be output as expected. (The old behaviour got confused by the ','
within the comment.)
2003-05-26 00:03:50 +00:00
thorpej a4d47e67c8 Back-port a patch from GCC mainline:
2003-04-26  Ben Elliston  <bje@wasabisystems.com>

	* config/arm/arm.c (arm_adjust_cost): Correct logic that tests the
	return values from recog_memoized().
2003-05-23 00:20:21 +00:00
lukem 826a14607a Now that <bsd.prog.mk> DTRT if HOSTPROG is defined (i.e, it is a no-op),
there's no need to special-case .include-ing it.
2003-05-18 07:57:31 +00:00
itojun 0ba5684be4 possible scanf overrun 2003-05-17 15:05:19 +00:00
wiz a85b205894 Remove port-arm32. 2003-05-10 09:11:10 +00:00
salo b8f5bcd816 Sync ports with reality. 2003-05-10 00:06:09 +00:00
petrov 55e9455400 elf_fake_sections: fix cast sh_name. 2003-05-09 22:15:17 +00:00
thorpej b24126f5e6 Include <string.h>. From Ian Lance Taylor. 2003-05-06 02:31:06 +00:00
wiz c42e1fac66 Management, not managment. Mostly from jmc@openbsd. 2003-04-26 22:07:12 +00:00
matt 0aa3fc4996 Make sure to supply the PS_REGNUM (as a fixed value) so that
read_register_bytes doesn't complain.
2003-04-25 20:13:47 +00:00
david 02a77f951b Missing ':', noted by Thomas T. Thai 2003-04-22 16:17:39 +00:00
christos 18262fc53f PR/2970: D'Arcy J.M. Cain: Eliminate trailing slashes in mkdir(2) 2003-04-19 21:46:17 +00:00
wiz a491d673dd Fix some xrefs. 2003-04-16 10:11:55 +00:00
wiz 4fad16dc12 services(5), not (4). 2003-04-16 09:29:38 +00:00
jdolecek 32fe26329b fix a minor formatting bug - use "@var{fmt}, @var{expr-list}",
not "@var{fmt, expr-list}"

probably only matters when the output is something else than info
file
2003-04-15 19:41:16 +00:00
thorpej 590fe82698 Use MKPICLIB to determine if we should have a dependency on the .a or
_pic.a version of the library.
2003-04-11 22:46:02 +00:00
skrll 707c1872d8 Add netbsdaout.c to BFD32_BACKENDS_CFILES and netbsdaout.lo to
BFD32_BACKENDS so that the correct dependencies are registered.

Parallel builds now work as a result. Fixes PR 20602 and PR 21081.

I'll leave the bigger question of if this stuff is still needed and why it
hasn't been fed back to the binutils people to someone more qualified than
myself.
2003-04-11 09:02:25 +00:00
thorpej 9c04149fde If ${MKPIC} is not "no", then depend on the _pic versions of libbfd
and libopcodes.  Otherwise, depend on the regular library.
2003-04-09 22:38:24 +00:00
thorpej a63a02e3b9 If MKPIC is "no", then we need to provide *something* for BFD-using
programs to link against, so reset MKLINKLIB to "yes" in that case.
2003-04-09 22:33:26 +00:00
wiz 07d13217f3 Some e.g. cleanup: replace "eg" with "e.g.,". From Igor Sobrado in PR 19692. 2003-04-07 06:56:38 +00:00
wiz b511884ea9 Correct some SPARC tradenames. From Igor Sobrado in PR 19820. 2003-04-06 20:48:24 +00:00
thorpej 95a4fbc55c Only do the nbcompat dance is USETOOLS == yes.
Should fix PR bin/20997.
2003-04-04 00:25:07 +00:00
christos 36b76d04a0 there is no need for the afterinstall stuff. 2003-04-03 19:13:31 +00:00
christos ffb515e2dc Don't use suffix rules while building, because the installed sources get
added to ${.ALLSRCS} confusing things.
2003-04-03 19:13:17 +00:00
perry 946b7ec114 add a missing backslash.
patch supplied in PR toolchain/20062 from Jed Davis
2003-04-02 02:50:07 +00:00
atatat 1e7fee3c2f Include ../m4/cf.m4 here as well, since all the other mc files do so. 2003-04-01 03:19:19 +00:00
atatat 7bc42aaab1 Put the DIST and .PATH settings back where they were and separate out
the actual mc -> cf build machinery into a small Makefile that we can
(a) include and (b) install instead of the main Makefile (that really
shouldn't be installed in as it is).

Reviewed by lukem.
2003-04-01 03:16:53 +00:00
atatat 7da213dc5f Only set DIST and .PATH if we are actually in the source tree. This
solves the problem of trying to do a "make submit.cf" in the
/usr/share/sendmail/cf directory where make gets confused by the out
of date target in the .PATH, removes it (bad!) and then fails to make
a new submit.cf file.
2003-03-31 20:57:30 +00:00
perry 570bad51bb bessel->Bessel (Igor Sobrado, PR misc/19700) 2003-03-31 02:43:38 +00:00
wiz d124f274cf VAX, not Vax. 2003-03-30 20:56:46 +00:00
wiz d965c0314d VAX, not Vax. Igor Sobrado in PR 19678. 2003-03-30 20:55:47 +00:00
atatat d17d46630e Apply new patch from sendmail.org to address the new buffer overflow
in address parsing.  This takes us to 8.12.8p1.
2003-03-29 21:55:28 +00:00
cjep 64b9a0f283 penalty, not penality. 2003-03-29 14:33:49 +00:00
lukem f6668849f5 regenerate for AM_MAINTAINER_MODE, using "autoreconf -f" ... 2003-03-27 06:24:55 +00:00
lukem 0a0d66e6cd add AM_MAINTAINER_MODE 2003-03-27 06:16:02 +00:00
tron b95a7206b1 Use "DOMAIN(NetBSD.org)" before "MAILER()" statements to activate features
before defining mailers.
2003-03-25 12:01:32 +00:00
tron 0676b7cc12 "confAUTO_REBUILD" is no longer valid, so don't try to define it. 2003-03-25 11:57:26 +00:00
tron a6df592f3f Install "submit.mc". 2003-03-25 11:51:29 +00:00
atatat 2b9ca9cfbe Fix the $NetBSD$ tag. 2003-03-25 03:55:38 +00:00
atatat 28da15dac4 Mail submission program config file template. 2003-03-24 15:15:13 +00:00
atatat 5cb7f51bd6 Missed conflict from 8.12.8 import. 2003-03-24 15:14:43 +00:00
atatat da8968cc48 Pull sendmail 8.12.8 to the head, resolve the import conflicts, and
make it build.
2003-03-24 15:03:59 +00:00
atatat f580f7ff12 Pull sendmail 8.12.8 to the head, resolve the import conflicts, and
make it build.
2003-03-24 15:03:37 +00:00
atatat 29b190bd81 sendmail 8.12.8 2003-03-24 14:47:07 +00:00
mycroft 2add147359 Actually rerun mknative on these... 2003-03-20 14:47:36 +00:00
mycroft f63d692921 Build COFF targets. Some embedded tools really, really want this. 2003-03-17 15:53:50 +00:00
martin c43762a960 Don't access memory before the start of a file. 2003-03-16 17:44:15 +00:00
wiz da8cf668e4 Fix spelling of acknowledgement. From Soren Jacobsen in PR 20726. 2003-03-15 22:04:56 +00:00