Commit Graph

2193 Commits

Author SHA1 Message Date
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
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
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 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 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 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 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 5e6550b28e working mips support (mipsel runs fine, mipseb compiles, untested so far) 2003-07-26 18:41:26 +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 2b1bcb2757 oops, don't need this one here. 2003-07-25 18:58:44 +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
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
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
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
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
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
wiz 7245847e34 Update for 4.6. 2003-07-03 15:39:59 +00:00
wiz 60e3307ec0 Install Romanian locale too. 2003-07-03 15:17:47 +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 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 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
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 34e25a94c7 Fix one option in option list. 2003-06-27 08:25:04 +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
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
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
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 95a4fbc55c Only do the nbcompat dance is USETOOLS == yes.
Should fix PR bin/20997.
2003-04-04 00:25:07 +00:00
wiz d965c0314d VAX, not Vax. Igor Sobrado in PR 19678. 2003-03-30 20:55:47 +00:00
wiz da8cf668e4 Fix spelling of acknowledgement. From Soren Jacobsen in PR 20726. 2003-03-15 22:04:56 +00:00
thorpej 61f1ee2222 Link back-end helper host tools against libnbcompat. 2003-03-14 03:44:11 +00:00
mrg bcc7fbc456 regenerate all this files with correct man_MANS and TEXINFO, and 'generated
from' lines.  this should fix set lists problems with missing binutils man
pages and info manual.
2003-03-05 07:19:13 +00:00
jdolecek d3e0e12a79 move gawk to separate line, so that it's easier to comment the entry out 2003-03-02 18:22:01 +00:00
mrg 331f9d9c1a update / regenerate for binutils 2.13.2.1 2003-03-01 13:09:11 +00:00
mrg 866f7891df update / regenerate for binutils 2.13.2.1 2003-03-01 13:09:09 +00:00
mrg f2f9754b55 update / regenerate for binutils 2.13.2.1 2003-03-01 13:08:42 +00:00
wiz cd2db110c5 Add IDIST variable to avoid having to duplicate paths. 2003-02-14 08:25:36 +00:00
wiz e759cc834f Update for 4.5. 2003-02-13 09:01:13 +00:00
wiz 657e871433 Update for grep-2.5.1. 2003-02-13 07:55:08 +00:00
perry 8a49ec08e4 "Utilize" has exactly the same meaning as "use," but it is more
difficult to read and understand. Most manuals of English style
therefore say that you should use "use".
2003-02-04 23:07:28 +00:00
wiz 024a7d26ca Build and install gzip.info. 2003-01-27 09:07:13 +00:00
wiz 42ca888796 Add gzip.texi and gpl.texinfo from gzip-1.2.4a [needed for building
gzip.info].
2003-01-27 09:06:55 +00:00
wiz bbaec56433 Sync with gzip-1.2.4a (typo fixes and email address changes). 2003-01-27 00:44:14 +00:00
wiz 2a76369fee Build structure update for grep-2.5. 2003-01-26 23:53:44 +00:00
elric f344b59521 Point to an existing dist dir. 2003-01-26 06:51:04 +00:00
wiz 68e059531a Remove old diffutils-2.7 build structure. 2003-01-26 00:53:28 +00:00
wiz 6b9deacc5d Descend into diffutils instead of diff, diff3, and sdiff (for new
diffutils-2.8.1 build structure).
2003-01-26 00:49:51 +00:00
wiz 488efef5d4 Import build structure for diffutils-2.8.1. Reviewed by christos. 2003-01-26 00:40:40 +00:00
wiz c46e8627bc Sync a bit more with default output -- these do not need to be defined (no change in build):
HAVE_LOGIN, HAVE_LOGOUT (will only add #defines if cvs's login/logout conflict)
HAVE_SELECT, HAVE_USLEEP (only used if nanosleep() is not found).
2003-01-23 21:06:50 +00:00
wiz b9537c9578 Update strings for 1.11.5, noted by rafal. 2003-01-23 20:41:01 +00:00
thorpej c50dc4c8fc Add port-sh5, port-evbsh5, port-x86_64, port-hppa, and port-hp700. 2003-01-20 17:48:59 +00:00
simonb 276fd1665c The Double-Semi-Colon Police. 2003-01-20 05:29:53 +00:00
martin 8124b6df6c Link and initialize thread support for alpha and arm. 2003-01-19 18:50:21 +00:00
martin 01313c857c Thread support for sparc and sparc64. 2003-01-19 18:33:25 +00:00
christos fe59493187 merge nathanw_sa 2003-01-18 21:36:47 +00:00
thorpej 456af78ad8 Merge the nathanw_sa branch. 2003-01-18 21:13:03 +00:00
grant 82c28ff066 fix some Unix -> UNIX, Posix -> POSIX and some typos.
From Igor Sobrado in PR pkg/19666.
2003-01-18 18:54:10 +00:00
wiz db3fba8dd0 Remove GNU cpio and GNU tar, replaced by pax frontends. 2003-01-18 01:11:23 +00:00
wiz c73b0887c0 Add ${IDIST}/makeinfo to .PATH for texinfo.dtd and texinfo.xsl. 2003-01-17 21:52:10 +00:00
wiz a3d77729f3 Add infokey utility; install more locales and texinfo.dtd and texinfo.xsl. 2003-01-17 16:04:15 +00:00
wiz 15a719d303 Preliminary update for 4.3.
Define IDIST and use it instead of ${DIST}/texinfo.
2003-01-17 15:32:23 +00:00
wiz 680c69437a Changes to build 1.11.4. 2003-01-16 02:37:00 +00:00
matt 6fdfb50787 sim depends on bfd so make it is in front of bfd in the library list. 2003-01-13 07:09:53 +00:00
wiz 7157d2da1c ouput -> output, from Igor Sobrado in PR 19667. 2003-01-04 11:05:22 +00:00
jschauma 432d470724 Fix typos pointed out by Igor Sobrado in PR misc/19621. 2003-01-02 00:22:29 +00:00
lukem 144b55005f Rework METALOG manipulation:
- add '-D ${DESTDIR}' to INSTPRIV, so install(8) removes the leading
  ${DESTDIR} from the metalogged path
- provide ${METADB.add} variable (for "${CAT} -l >> ${METALOG}"), to make
  it easier to replace manual metalog manipulation in the future.
- with manual metalog additions, don't add the leading ${DESTDIR} in the path
- in maketars, use "mtree -C ..." instead of
  "mtree -D ... | sed -e 's,\(.*\) \(\..*\),\2 \1,";

Benefits:
- maketars "Parsing METALOG" step speeds up from 29 seconds to 1.2 seconds
  on a P3-600.
  (This also benefits "make installworld" at the top level.)
- ${DESTDIR}/METALOG is easier to read without the leading "${DESTDIR}"
  on all the pathnames, and it's smaller as well.
2002-12-23 06:52:48 +00:00
wiz e9bf1ab238 compatibility, not compatability. From Adrian Mrva. 2002-12-21 13:10:54 +00:00
christos 71a5c52102 we have mkstemp 2002-11-28 22:03:11 +00:00
christos 6040caeaed add annotate.c and remove rtag.c for 1.11.2 2002-11-28 05:57:55 +00:00
wiz 30d6695239 Comment out cross-references to man pages that don't exist.
Closes PR 18862 by rtr at wasabisystems com.
2002-10-31 02:51:06 +00:00
christos 706c1ce906 Flip the pax switch 2002-10-16 15:23:59 +00:00
enami 9fdb1e7ba1 Restore other symlink attributes. 2002-10-13 22:58:55 +00:00
martin 14cde9f60d Add a few dependencies to make sure libtar/fnmatch.h is generated before
anything includes <fnmatch.h>. Using our native /usr/include/fnmatch.h is
no good idea, they are incompatible.

XXX - why is tar using it's own implementation?

I'm not sure this is the right way to handle the problem, but it made
a "make cleandir && make" here possible again.
2002-10-13 18:41:48 +00:00
drochner 3dd7978358 add a dummy pattern rule to avoid yacc invocation
(which fails with r/o src tree)
2002-10-10 13:03:19 +00:00
itojun 4384c54c01 switch to GNU tar 1.13.25 with security fixes. 2002-10-10 08:22:22 +00:00
itojun 34c781b6f4 sync with latest --help output. 2002-10-09 17:01:34 +00:00
itojun b8621000a9 correct LDADD/DPADD 2002-10-09 16:17:45 +00:00
itojun b33ebc5522 no file in .CURDIR 2002-10-09 16:14:55 +00:00
itojun d9bffe1f20 split internal library build into subdir. 2002-10-09 16:13:07 +00:00
itojun d67562c763 new GNU tar based on gnu/dist/tar. (to replace gnu/usr.bin/tar in the
near future - hopefully)
2002-10-09 11:55:02 +00:00
wiz 3a300f71f9 Re-add, it is still used, but one only sees it in a full build, not a tools
build.
2002-09-22 13:06:44 +00:00
wiz e751d90149 Now that the old toolchain is gone, rename gdb.new to gdb, as requested
in a comment in gdb.new's Makefile. Remove that comment.
2002-09-22 12:58:23 +00:00
wiz ed5d7e73eb Remove some survivors of the old-toolchain removal. 2002-09-22 10:31:16 +00:00
lukem 0ac69ffac4 - use NETBSDSRCDIR as appropriate
- makefile lint (moving NOxx to top of file,
  include <bsd.own.mk> as necessary, ...)
2002-09-19 03:09:31 +00:00
lukem 1addf6d6b3 makefile delint and reorg 2002-09-19 01:58:06 +00:00
thorpej 3b08abd277 * Eliminate the USE_NEW_TOOLCHAIN variable. Instead, split it into
two variables:

  TOOLCHAIN_MISSING -- set to "yes" on platforms for which there is
  no working in-tree toolchain (hppa, ns32k, sh5, x86_64).

  EXTERNAL_TOOLCHAIN -- if defined by the user, points to the root of
  an external toolchain (e.g. /usr/local/gnu).  This enables the cross-build
  framework even for TOOLCHAIN_MISSING platforms.

  If TOOLCHAIN_MISSING is set to "yes", MKGDB, MKBFD, and MKGCC are all
  unconditionally set to "no", since the bits are not there to build.

  If EXTERNAL_TOOLCHAIN is set, MKGCC is unconditionally set to "no",
  since the external toolchain's compiler is not in-sync with the
  in-tree compiler support components (e.g. libgcc).

* Set MACHINE_CPU much earlier in bsd.own.mk, so that more tests in
  that file can use it.
2002-09-17 23:18:25 +00:00
thorpej 4ae80dbd09 Delete the egcs/binutils 2.9 toolchain. Remove USE_NEW_TOOLCHAIN
conditionals.
2002-09-16 16:22:15 +00:00
lukem ed401558f2 Implement MKDYNAMICROOT, which currently defaults to "no", but will
be changed in the future to "yes".

If MKDYNAMICROOT == "no", there is no change from existing behaviour
of a static /bin and /sbin (and a few programs in elsewhere).

If MKDYNAMICROOT == "yes", the following changes occur:
    in <bsd.own.mk>:
	SHLIBDIR?=     /lib
	SHLINKDIR?=	/lib
    in various Makefiles, the following entry is DISABLED.
	LDSTATIC?=-static
This results in all programs (except those "standalone" programs built
in sys/arch/*/stand) are linked dynamically, the shared linker is moved
from /usr/libexec to /lib (with a compat symlink), and the shared
libraries used by /bin and /sbin programs are moved from /usr/lib to
/lib (with compat symlinks).
2002-08-27 14:46:11 +00:00
wiz c33e4efde0 Remove superfluous Ns. 2002-08-20 15:28:11 +00:00
mjl 7fc6ed7c11 Correct obviously wrong memset() args. OK'd by itojun. 2002-07-20 16:51:43 +00:00
itojun dafaf1ab18 build tree for full-featured binutils. usually not visited.
(sysdump and srconv are omitted)
2002-06-18 08:21:58 +00:00
lukem 6f9558487e use ` | ${CAT} -l >> ${METALOG} ' to serialise writes to the metalog 2002-06-11 15:50:05 +00:00
thorpej 0fc2511716 Make this work with an ISO C preprocessor. 2002-05-30 05:53:38 +00:00
thorpej d0a26f03be Add native toolchain bits for "armeb" (big-endian ARM). 2002-05-20 15:05:07 +00:00
thorpej 2b3592c48e Add armelfb_nbsd linker emulation. 2002-05-20 14:53:54 +00:00
thorpej 1556ff869b Mative GDB build glue for NetBSD/sh3. 2002-05-05 02:39:37 +00:00
lukem bb2f4a8f06 s/BSDSRCDIR/NETBSDSRCDIR/ 2002-04-26 15:54:41 +00:00
lukem 2c1cfc8e8c - in <bsd.files.mk>, don't clear FILES after using it, as that prevents
make -V FILES
  from being useful (and given that every other variable can be
  extracted using make -V, the behaviour was unusually inconsistent
  given that the original reason for clearing it doesn't seem to be
  relevant anymore)
- use <bsd.prog.mk> instead of directly including <bsd.files.mk>
  (and possibly <bsd.man.mk> or <bsd.own.mk>)
- remove obsolete NOPROG
2002-04-24 08:18:45 +00:00
tv 4a9a0fb64f Get m68k-parse.y, not m68k-parse.c, to get proper .NOPATH handling for RO
source tree.
2002-04-13 03:31:56 +00:00
thorpej a74d497074 MKKERBEROS -> USE_KERBEROS 2002-04-10 22:04:51 +00:00
bjh21 586fe2903b Put port-acorn26 in the right place in the list. 2002-04-07 14:23:26 +00:00
bjh21 c43c79f541 Rename port-arm26 -> port-acorn26.
Add port-shark.
2002-04-07 14:17:26 +00:00
matt 2374dc24ce Add a hack for VAX ELF: compile with -O1 2002-03-30 22:31:13 +00:00
jmc 1347ab1b90 Remove check for sparc64 which adds -msoft-quad-float as that is now the
default for the compiler on sparc64.
2002-03-28 09:58:09 +00:00
bjh21 41c1f3f785 MACHINE_ARCH can't be "arm26" any more, so don't even try to support it. 2002-03-24 22:24:41 +00:00
thorpej 2198b55512 Add arm/xm-netbsd.h 2002-03-24 18:25:55 +00:00
fredette 99db91e2e0 Add m68000-specific `toolchain2netbsd' generated toolchain build/config files. 2002-03-22 00:07:45 +00:00
billc addff245d7 Remove the 'admin' category. This didn't turn out the way we
had planned, and users are confused what this category was for.
2002-03-21 03:04:00 +00:00
simonb ad911f7801 Oops, Tracy had already added evbmips and sbmips - delete the double-ups. 2002-03-13 04:11:41 +00:00
simonb acda7e7437 Add port-{acorn32,evbmips,playstation2,sbmips}. 2002-03-13 04:08:54 +00:00
gendalia 310cee1fde added sbmips & evbmips 2002-03-13 04:04:22 +00:00
jdolecek e44bd33760 version[] 5.0-nb1 --> 5.0nb1, as other archs use 2002-03-06 19:17:09 +00:00
wiz 872e77e22e Remove some unnecessary lines. 2002-03-06 02:40:06 +00:00
gendalia b9e5a44a38 Added port-mvmeppc 2002-03-02 22:25:15 +00:00
jmc 32f6aaf031 Use sh to invoke move-if-change and don't depend on it being +x in the
repository
2002-03-01 06:06:50 +00:00
jmc f6ce7f3293 Put the infodir-meta rule here (and wrap it) to allow it to be called from the
top level Makefile
2002-03-01 06:03:20 +00:00
tv ac1299bdfb New toolchain infrastructure for sh3eb, generated with mknative. 2002-02-27 18:45:14 +00:00
tv b69d8cc8b2 New toolchain framework for sh3el platforms, generated with mknative. 2002-02-27 17:10:09 +00:00
tv 3cf9139573 When configured via mknative, G_HOST_* filenames are prefixed with "l-".
Strip the prefix.
2002-02-26 22:30:46 +00:00
tv 66c4fd196e Make hconfig.h common as simply a redirect to config.h; these are
identical on a native build.  (Simplifies mknative for generating the
arch-dependent bits.)
2002-02-26 20:56:29 +00:00
tv 80c7fa68d5 Use MACHINE_GNU_PLATFORM to identify the machine. 2002-02-26 20:45:34 +00:00
matt b5355576f3 Change TARGET_NAME to use ${GNU_ARCH_PLATFORM} instead of
${GNU_ARCH_MACHINE}-netbsd.  This allows platforms to that were
formerly a.out but ELF to be foo--netbsdelf.  It also adds the
missing 2nd "-" which was missing in the former definition.
2002-02-24 22:15:39 +00:00
jmc b32effcb8e Add some more dependencies so this builds as "make all" also without
requiring a make depend first.
2002-02-21 04:13:45 +00:00
thorpej b669a91187 Make sure _initialize_vaxnbsd_nat() is called (added manually). 2002-02-19 05:05:38 +00:00
tv 92140a7683 Skip building if the target's .mk file is missing. 2002-02-11 21:45:18 +00:00
tsutsui b1e673bc5e Include bsd.subdir.mk unconditionally so that make obj works
with old toolchain.
2002-02-10 17:38:24 +00:00
mrg e694f74c6e pull across kcore_fetch_registers() from gnu/dist/gdb/sparcnbsd-nat.c, and
add kcore-nbsd.c to NATDEPFILES in nbsd{,elf}.mh.  regen defs.mk and init.c.

pity kcore-nbsd.c isn't in the FSF tree yet...
2002-02-10 01:32:56 +00:00
lukem e2311f6fa0 use ${INSTALL_FILE} as appropriate 2002-02-09 09:21:47 +00:00
ross dc5571b22e Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:21:55 +00:00
thorpej 07e8c5c63c Define TARGET_CPU_DEFAULT. From Matthias Drochner. 2002-02-07 16:52:37 +00:00
wiz c0acf9a5ea Punctuation nits, sort sections, sort SEE ALSO. 2002-02-06 19:24:52 +00:00
fair e02de0ae6d Patch from PR 15218 to document some options. 2002-02-04 10:35:39 +00:00
mrg 5f3d6c38d0 build sim before gdb. 2002-02-02 03:04:22 +00:00
tv 6061a17df3 itbl-parse ends in .y; itbl-lex in .l. 2002-01-31 21:15:08 +00:00
reinoud f3413b0e75 Back out change on Perry's request... PR 15303 is open again. 2002-01-30 17:43:52 +00:00
reinoud d4d4c95b9e The config file mentiones that if off_t isnt defined its defined in gcc as
`long'. This gives rise to defining `off_t' to a signed 64 bit on LP64
machines giving rise to cross compiling errors.

By explicitly setting it to int32_t its forced to use signed 32 bits
integers as required and expected on the ILP32 ARM processor.

This aparently fixes PR 15303
2002-01-30 17:11:44 +00:00
thorpej 0b621a0221 It's a C program, but it uses libgroff, which uses C++, so we
need to use PROG_CXX here as well.
2002-01-22 23:57:19 +00:00
thorpej a3d761116e Fix some MKGDB=no bugs. 2002-01-22 21:16:28 +00:00
mrg 7cda1e8c92 don't install psim 2002-01-22 17:02:08 +00:00
mrg 47d0b44e4f add PSIM support to gdb and install the stand alone in /usr/bin/psim. this
fixes the rest of port-powerpc/14307.
2002-01-22 16:55:19 +00:00
mrg 6bdbccbb59 regenerate. 2002-01-22 15:52:53 +00:00
thorpej aaa59fa5b0 Need to set NOOBJ= before bsd.own.mk is included. 2002-01-22 00:59:46 +00:00
itojun 815ede9ef4 gzip long filename buffer overrun vulnerability. from 1.2.4 -> 1.2.4b fix
http://www.securityfocus.com/bid/3712
2002-01-15 09:18:15 +00:00
wiz ca93d68d44 then -> than. 2002-01-07 14:47:37 +00:00
thorpej 2135cbaadd Oops, this is NOT a C++ program. 2002-01-01 05:16:18 +00:00
thorpej d68ee9d8e3 Per a suggestion from matthew green, PROG_CXX takes the place of
PROG for C++ programs.
2002-01-01 01:38:25 +00:00
thorpej a156b86123 Set PROG_CXX since these are C++ programs. 2002-01-01 00:27:33 +00:00
thorpej 89b1a9ca73 Introduce 3 new MK* variables that have effect in the USE_NEW_TOOLCHAIN
case:

	MKBFD	If set to "no", disables building of libbfd, libiberty,
		and all things that depend on them (binutils/gas/ld, gdb,
		dbsym, mdsetimage).

	MKGDB	If set to "no", disables bulding of gdb.

	MKGCC	If set to "no", disables building of gcc and the
		gcc-related libraries (libg2c, libgcc, libobjc, libstdc++).

These are useful for building platforms for which either of the following
situations are true:

	(1) You have no userland from which to run toolchain2netbsd
	    in order to build the appropriate toolchain build framework.

	(2) The platform which you are building requires a newer set
	    of tools than are currently in the tree (e.g. x86-64, ia64).
2001-12-31 23:04:11 +00:00
thorpej 0146257365 Set NOMAN correctly. From Andrew Brown. 2001-12-21 08:06:15 +00:00
thorpej 3778dfc4fd Build as "protoize" and "unprotoize" respectively, not "gcc" (!!). 2001-12-21 08:03:35 +00:00
thorpej 38b00971f1 Update for Alpha emulation change. 2001-12-21 02:03:20 +00:00
thorpej 1c899ee8d9 Update for changes to alphanbsd-nat.c. 2001-12-21 01:57:42 +00:00
tv 4c9a2ef7d3 * Add protoize and unprotoize. (Closes PR 6894.)
* Regen files with proper OS names and version numbers.

* Clean up toolchain2netbsd somewhat, to get it ready to be cross-host
  compatible (more work to be done here, but it's getting closer).

* Add framework for gdbreplay and gdbserver, but hold off on enabling these
  by default until low-nbsd.c is verified to work everywhere.
2001-12-19 23:54:16 +00:00
tv 14691f972b Remove COPTS+=-g. This should be set by the builder, not this Makefile. 2001-12-19 21:55:48 +00:00
thorpej 3faae759ba Allow a new-toolchain build to be done without actually building
the target "native toolchain" if BOOTSTRAP_NEW_TOOLCHAIN is set.

This is important if you don't have any userland at all, and you're
trying to make one from which you can run toolchain2netbsd.
2001-12-15 03:37:36 +00:00
thorpej 74ed46fbb4 Commit the results of running toolchain2netbsd on the Alpha. 2001-12-14 07:12:09 +00:00
thorpej 4c49d5310f No need to explicitly pull in bsd.own.mk. 2001-12-13 00:31:39 +00:00
thorpej 2152080e67 No need to pull in bsd.own.mk explicitly. 2001-12-13 00:30:28 +00:00
lukem 1b6c4afd64 move NOxxx= 2001-12-12 23:53:31 +00:00
lukem ad15078862 move NOxxx= 2001-12-12 23:46:45 +00:00
lukem b0b0a32ad7 Set NOxxx= before <bsd.own.mk> is pulled in (even indirectly).
Otherwise the appropriate MKxxx=no won't be defined .
2001-12-12 12:24:19 +00:00
tv 8e6f7afb5b MKfoo=no -> NOfoo 2001-12-12 01:48:43 +00:00
thorpej 59ee8a3dfb Update for new sparcnbsd-nat.c 2001-12-11 04:04:35 +00:00
thorpej ed865aec36 Make absolutely sure that MACHINE is no in the environment when
the linker scripts are generated.
2001-12-11 03:56:24 +00:00
thorpej 4cb0691e2a Set G_EMUL to elf32lmip. 2001-12-11 03:55:47 +00:00