Commit Graph

112 Commits

Author SHA1 Message Date
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
Nate Williams
72ef2e6080 Added 'install' to the inclde-tools target, as it has a new options "-C"
which is used when installing the include files.

Submitted by:	John Hay -- John.Hay@csir.co.za
1996-01-30 05:46:35 +00:00
Nate Williams
b201f16674 Kludge alert!
Add new 'include-tools' target, which the 'includes' target depends on.
Currently, it consists of rpcgen.
1996-01-30 05:22:00 +00:00
Peter Wemm
358a579f84 Add libutil/beforeinstall to the includes target 1996-01-01 08:33:17 +00:00
Paul Traina
99924d36cf Add rpcgen to build-tools target. 1995-12-27 05:36:20 +00:00
Nate Williams
3344d6f2a6 Added 'install' to the lib-tools target since it is uses the new '-C' flag
to install libraries to avoid messing up dependencies.
1995-11-28 20:04:19 +00:00
Jordan K. Hubbard
c2e6431816 Bring forward libkadm change from 2.1 1995-11-26 07:31:13 +00:00
Peter Wemm
4620010dfc Add -DNOCLEAN option which totally and utterly disables any form of
cleaning during a make.  This may give you more rope to hang yourself if
you are caught with some subtle dependency on installed binaries in your
build, but if you are doing daily 'make -DNOCLEAN world' it's not too bad
at all.  It could take as little as 30 minutes to do an entire sync-up of
your binaries if everything's up to date, especially if you are using
'INSTALL=install -C' in /etc/make.conf (highly recomended!).

Also, add a "reinstall" target. You can do a 'make DESTDIR=/mnt reinstall'
where /mnt is the nfs root of a machine and you get the install parts of
the make world run on it.

I saw this on -hackers quite some time ago and included it in my Makefile
and have been using it on and off for a while. Alas, I cannot find the
actual message with the author's name...
1995-11-25 01:28:07 +00:00
Jordan K. Hubbard
a95f76aa8c Add: cd ${.CURDIR}/eBones/lib/libkrb && ${MAKE} beforeinstall
to includes target.  Now the world will build on a new 2.1 system again.
1995-11-09 09:58:17 +00:00
John Fieber
6e16e5defa Add sgmlfmt to build-tools target so a make world with current source
on a <= 2.0.5 system does not fall over.
1995-11-05 18:42:23 +00:00
Poul-Henning Kamp
2e10cdcd82 Changed "tools" to "build-tools".
Suggested by: Peter Wemm
1995-10-26 09:24:59 +00:00
Nate Williams
7c0553d98c Build all of the libraries: targets libs in the same manner. Append the
optional ${CLEANDIR} and ${OBJDIR} targets to those missng them.

Also, check for the existance of all library targets before building
them to follow convention.
1995-10-24 18:51:08 +00:00
Poul-Henning Kamp
adc1189458 Added symorder to tools target.
Suggested by: rgrimes.
1995-10-24 08:37:28 +00:00