Commit Graph

124 Commits

Author SHA1 Message Date
Bruce Evans
b02cab92aa Use `mk' files in share/mk (relative to the top level of the source
tree) instead of the system default ones in /usr/share/mk.  This
only works for makes run from the top level, and a few not too out
of date system makefiles must be present to start up.  Bootstraps
from can still be done from scratch by giving the path to an up to
date share/mk on the command line.

Removed bootstrap `mk' target and use of it.  The bootstrap didn't
actually work for the non-null DESTDIR case.
1997-05-10 06:53:40 +00:00
John Birrell
cb6e7ccbea Change default build to include libc_r, but allow disadvantaged souls
to turn off the build.
1997-05-03 02:51:59 +00:00
Bruce Evans
594f943d52 Bootstrap the info `dir' file from here. 1997-04-30 16:02:03 +00:00
John Polstra
598c1e5004 Process "lib/csu/i386" at the beginning of the "libraries" target,
instead of in the middle of it.  Soon, "c++rt0.o" will be linked
into all shared libraries.  An up-to-date version of it must be in
place before any shared libraries are built.

This is one piece of the solution for PR gnu/3035 (gcc -shared).
1997-04-09 18:59:36 +00:00
Andrey A. Chernov
0017e6c0ba Back out csu fix, because it was just fixed differently 1997-04-02 17:10:16 +00:00
Andrey A. Chernov
05266ef44d For csu/i386 add "all" before "beforeinstall", because "beforeinstall"
wants to install "all" targets which not exist at this stage
1997-04-02 16:44:06 +00:00
Peter Wemm
4ffab4447e Revert $FreeBSD$ to $Id$ 1997-02-23 15:50:34 +00:00
Jordan K. Hubbard
5342201a6d Add uudecode to lib-tools so that the -p option is available for
the later build in lib/compat/* for those systems upgrading from source.

Pointed-Out-By: John Hay <jhay@zibbi.mikom.csir.co.za>
1997-01-21 13:12:10 +00:00
Jordan K. Hubbard
1130b656e5 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
John Polstra
225e93b66d Add "lib/csu/i386" to the "includes" target, so that <dlfcn.h> is
installed before it is needed.
Noticed by:	David Conran <lucifer@maths.uq.oz.au>
1997-01-12 18:32:53 +00:00
Steve Price
35d98ca782 Remove yacc from the lib-tools target since it is now
back to its original form.

Requested by: jkh
1997-01-12 05:33:24 +00:00
Joshua Peck Macdonald
9abd8172b6 Add -DNOINFO to MK_FLAGS, that's okay right? The comment says
MK_FLAGS contains -DNOMAN and -DNOPROFILE for speed, so I assume
NOINFO is okay as well.

Add gnu/usr.bin/texinfo to build-tools so everything does the right
thing.
1997-01-11 10:53:01 +00:00
Jordan K. Hubbard
17440902a7 Add yacc to lib-tools target, now that it's been changed. 1997-01-07 02:28:57 +00:00
Satoshi Asami
df183ef18e Add comment on -DALLLANG.
Suggested by:	max
1996-12-20 08:18:47 +00:00
Andrey A. Chernov
8d558e03ec Use LC_TIME=C instead of LC_TIME= (POSIX) 1996-11-26 03:26:31 +00:00
Adam David
32ec48a5bc use NOSHARE variable to skip 'share' directory, useful for shared installations
or for faster make of executables.
1996-11-01 19:03:33 +00:00
Bruce Evans
f3c4dd0d4c Improved comment about `all' target.
Use a for loop instead of massive duplication in the build-tools target.
1996-10-25 14:22:50 +00:00
Peter Wemm
bd4739cb12 oops, how did this get into the reinstall target? :-]
Must have been a cut/paste foulup...  The whole idea of 'make reinstall'
is that it doesn't build anything from the source server mount.
1996-10-14 12:58:47 +00:00
Jordan K. Hubbard
81beb58a1a Add awk to build target.
Submitted-By: jhay
1996-10-06 02:17:43 +00:00
Andrey A. Chernov
a42830afaa Use SUP and SUPFLAGS variables to change them to cvsup if needed 1996-10-05 18:36:38 +00:00
Peter Wemm
e178250902 Add some 'world' hooks for libg++-2.7.2, specifically the new libstdc++
directory.  Also, add gnu/usr.bin/as to the lib-tools target since libgcc
generates weak symbols, and libstdc++/libg++ use them.  ie: coming from a
2.1.x system will fail without 'as'.
1996-10-04 08:48:27 +00:00
Andrey A. Chernov
5ae1e22008 Unlocalize date 1996-09-21 06:06:41 +00:00
Peter Wemm
c2e40bdea4 Hooks to attempt to get 'make world' working with gcc-2.7.2.1. It's
worked for me, but no guarantees yet.

Basically, move cc earlier to lib-tools target, before libraries are
built.  libgcc is built at the same time, so it's special entry is
removed from the libraries target.  Also, add bison/gperf immediately
before cc, since they are needed to build cc and are not present on an
earler-than-2.2 system.  (libgcc is partly built with the freshly compiled
gcc-2.7.2.1, since it uses __attribute__'s that were not present until now)

This _should_ be enough to get running from older releases, perhaps as far
back as 2.0.5.
1996-09-19 16:36:24 +00:00
Jordan K. Hubbard
6fcd2a4757 Add 3 small lines which add to the utility of the "finished on date"
output in the world target.
1996-09-18 18:14:37 +00:00
John Fieber
1e76740a30 Add usr.bin/sgmls to the build-tools target.
This should prevent make world from falling over in share/doc.
1996-09-10 04:21:36 +00:00
Peter Wemm
b7a48796ce - cosmetic change to 'make world'
- do an explicit 'make all' in include/rpcsvc in 'make includes' as
  a 'make install' is not supposed to build anything.
1996-08-30 22:35:30 +00:00
Jordan K. Hubbard
ae04a796b0 Revert all the make depend changes. 1996-08-25 05:17:49 +00:00
Jordan K. Hubbard
5f87a4a8a6 Get rid of all the explicit calls to make depend. 1996-08-23 16:50:27 +00:00
Nate Williams
e452601bed Removed extraneous .endif that was left during OBJDIR cleanup.
Noticed by:	phk
1996-08-07 19:28:09 +00:00
Peter Wemm
2f15594269 Move tsort back to lib-tools where it belongs, and add a "specially
for bootstrap" tweak to the lex Makefile to stop it building the library
too early.

This untangles things a bit more, it stops new bootstraps failing because
libl/libfl uses 'ld -O' before ld is updated.
1996-08-07 13:25:59 +00:00
Peter Wemm
e326fc73b9 Correct spelling of NOOBJDIR (I mistakenly wrote NOOBJ).
Closes PR#1451 (Ph. Charnier <charnier@xp11.frmug.org>) and
PR#1453 (Peter Mutsaers <plm@xs4all.nl>)
1996-08-07 13:21:43 +00:00
Jordan K. Hubbard
0f802bcd51 The bootstrap target in src/Makefile has the wrong order for lex/tsort
because lex has a library (libln.a) and bsd.lib.mk has been modified to use
'tsort -q'. Tsort has not been build yet...

tsort should be before lex.  [Whoops! Thanks! -jkh]

Submitted-By: roberto@keltia.freenix.fr (Ollivier Robert)
1996-08-03 13:00:35 +00:00
Jordan K. Hubbard
5f354572b7 Add tsort to bootstrap targets. 1996-08-03 06:44:46 +00:00
Peter Wemm
a962de47ad General tidy-up of Makefile. The objective was to make it clear and
readable, as well as fix up some of the warts along the way.  Among the
things fixed is the infamous "cd foo && make depend all install" bogon,
which is particularly important for users of the -DNOCLEAN option.

Also, a few typo and DESTDIR fixes and a -DNOGAMES hack from Gary Jennejohn.
1996-07-27 21:47:42 +00:00
James Raynard
89f044eb97 Fix typo in Makefile.
Reviewed (informally!) by jkh.
1996-07-21 00:05:31 +00:00
Jordan K. Hubbard
caf93ef534 Add make to the bootstrap targets (I thought I committed this 3 days ago -
sheesh!).
1996-07-01 06:13:31 +00:00
Poul-Henning Kamp
5e72817c93 Add beforeinstall decent into libtcl 1996-06-28 05:36:00 +00:00
Peter Wemm
c12745e172 Comment out the:
.if exists(contrib)
 SUBDIR+= contrib
 .endif
because it now tries to decend into the new contrib dir which doesn't
have a Makefile.
1996-06-27 06:00:52 +00:00
Nate Williams
2edcca74cb Added libftpio to 'includes'. 1996-06-26 22:47:52 +00:00
Jordan K. Hubbard
cd9a2f5c28 Bring in my changes for removing the pestilent obj links (unless you
really want them) from /usr/src.  This is the final version of the
patches, incorporating the feedback I've received from -current.
1996-06-24 04:26:21 +00:00
Paul Traina
ba16a6766c Ask CVS to run in quiet mode, which makes it easier to see what the
update actually did.
1996-06-22 17:58:44 +00:00
Jordan K. Hubbard
16a34ebd54 Add pre-world and post-world hooks so that people can do site specific
cleanup or preinitializion of /usr/src before and after the world target
is run.
1996-06-20 18:47:04 +00:00
Adam David
faa0e467b2 libforms is no more 1996-06-20 13:38:15 +00:00
Nate Williams
32c1db0624 Don't try to do a 'make bootstrap all install' in one commend. Break it
into two make commands so that make will recognize that it doesn't need
to buid scan.c w/lex.
1996-06-19 21:19:56 +00:00
Nate Williams
d7d0ca4c97 Added lex to the bootstrap target. 1996-06-19 20:48:48 +00:00
Mark Murray
6a8d432dee 1) make -DCLOBBER not remove most of /usr/lib
2) make all the 'pre-targets' not install profiled libraries and man pages
   to speed up the bootstrap in a 'make world'
1996-05-04 07:12:07 +00:00
Paul Richards
03130ccadf Re-instate the bootstrap target which can be used to build tools
that can't be built by older OS versions.

Use it to install the lint binaries.
1996-03-24 13:16:45 +00:00
Jordan K. Hubbard
0b802df847 Add a hint that a make world is done so people don't think that the last
command (makewhatis) is running forver. :)
1996-03-11 14:59:10 +00:00
Peter Wemm
5b16f1c546 do the 'include-tools' as part of the world target (like lib-tools and
build-tools) so that a "make includes" doesn't spam your build tree.
1996-02-17 14:23:25 +00:00
Mark Murray
0a40049352 Remove reference to old des library. 1996-02-11 08:58:01 +00:00