christos
b339c21257
Add ${LIBNTP}
1997-04-18 14:30:24 +00:00
thorpej
a585fb7042
Add several HOST_* variables. These identical to their non-HOST_
...
counterparts, and are used to compile programs that are needed to
compile other programs (see src/bin/sh for an example use). These
facilitate cross-compiling.
Define an NM variable - the program to use for nm(1)
1997-04-17 06:43:32 +00:00
thorpej
985170db35
- Properly depend on crtbegin.o and crtend.o for platforms that use
...
them (currently Alpha and PowerPC)
- STRIP -> STRIPFLAG
1997-04-17 06:40:32 +00:00
thorpej
9377c557b2
Rename STRIP -> STRIPFLAG - this is a flag passed to install(1) to
...
indicate whether or not the program should be stripped. This rename
allows the user to set STRIP as an alternative to /usr/bin/strip,
helping cross-compiling.
1997-04-17 06:34:15 +00:00
thorpej
2e6057dd39
Pass the program to use for nm(1) to lorder(1), helps cross-compiling.
1997-04-17 06:32:23 +00:00
christos
c9ba10ae4a
Annotate missing directories as [skipped: missing] (from Christoph Badura)
1997-04-16 14:09:16 +00:00
christos
9a7df3e0e4
Skip missing subdirectories to enable builds in partial source trees.
...
Directories being skipped are mentioned as '===> dir [skipped]'
1997-04-15 21:32:40 +00:00
christos
a2a43b1836
Make the obj' target
.PHONY', so that does not get affected by .PATH/VPATH
...
This is not hurting things right now, and it will help things when path
searching for target nodes is enabled for make.
1997-04-15 21:29:09 +00:00
perry
138bcc102f
fix 3497 from Manuel Bouyer -- install source man pages with proper suffix.
1997-04-15 16:57:46 +00:00
mikel
43ba9b9b69
don't allow override of all: target
1997-04-03 06:53:18 +00:00
thorpej
043fb41aec
Set NOPIC and NOPROFILE on PowerPC.
1997-03-29 21:17:22 +00:00
mikel
76cfd073e9
merge lite-2 changes (mostly SCCSids)
1997-03-29 08:02:45 +00:00
christos
f897bfdce7
Don't make bogus dependencies with symlinks sources.
1997-03-28 15:07:28 +00:00
christos
22d479a4a8
Don't generate an include target if we don't have INCS set, because SUBDIRS
...
can make one too. This will break on Makefiles that have both INCS and SUBDIRS,
so then we'll need to change includes: to includes::, but we don't have any
yet.
1997-03-27 17:39:31 +00:00
christos
6c7d983258
Add bsd.files.mk
1997-03-27 17:35:58 +00:00
christos
cef52070f9
Put the FILES generated rules in a separate .mk file since both bsd.prog.mk
...
and bsd.lib.mk use them.
1997-03-27 17:33:34 +00:00
mycroft
5fa188a26f
Make the SCRIPTS case mimic the FILES case more closely, so we can override
...
the destination direectory, etc.
1997-03-27 11:05:32 +00:00
mycroft
0d6b2973f3
Remove knowledge of HIDEGAME from here.
1997-03-27 09:10:09 +00:00
christos
790c4693cc
Add the bsd.links.mk and bsd.inc.mk
1997-03-25 18:20:55 +00:00
christos
7600672517
put the 'r' back in archive.
1997-03-24 23:19:12 +00:00
christos
25f6ec749f
make rules update:
...
- add UPDATE and BUILD features
- add new FILES, INCS, SCRIPTS variables
- allow man pages source installation
1997-03-24 21:54:12 +00:00
cgd
d46cdace76
add SHLIB_LDSTARTFILE and SHLIB_LDENDFILE variables for a.out shared lib
...
architectures, for consistency. (For a.out shared libs, they're empty.)
Make the shared library target depend on them.
1997-03-23 00:52:20 +00:00
perry
1d624f4f7e
Fix SYMLINKS not to include DESTDIR in the link itself
1997-03-22 22:33:53 +00:00
cgd
30f6cf581e
changes to allow "make -j N" to more easily parallelize many subdirs
1997-03-21 00:53:02 +00:00
jonathan
d012191d6d
Use table-driven rules for linking shared libraries on a.out or ELF systems.
1997-03-15 11:35:04 +00:00
cgd
b7e0994151
pull crtbeginS.o and crtendS.o in from DESTDIR
1997-03-14 00:52:50 +00:00
perry
de40e6afd4
add SYMLINKS, by analogy to LINKS. Vetted by Christos.
1997-03-13 02:45:58 +00:00
gwr
ef90c20081
Allow mkdep to exist as a different name (fixes PR#3302)
1997-03-07 23:10:18 +00:00
cgd
1d8b2c2fdd
turn Alpha's ELF_TOOLCHAIN checks to ECOFF_TOOLCHAIN checks
1997-02-23 20:53:56 +00:00
cgd
3fbd378aa4
fix botch in the last checkin.
1997-02-18 18:38:39 +00:00
cgd
f8c02ac2a7
clean up Alpha (ELF) shared library build and install rules. The latter
...
are now more like what's "normal" for ELF.
1997-02-17 19:24:47 +00:00
jonathan
eec1518cf0
Change bsd.own.mk to build shared libs on mips CPUs by default.
1997-02-10 21:08:58 +00:00
mikel
ffba261ec0
add support for COPTS, as in bsd.prog.mk
1997-01-28 03:38:40 +00:00
cgd
1d20ab5d2e
if 'clean' is not already defined, rather than simply defining it with
...
a bunch of rules, define a clean{kmod,lib,prog} target with the rules,
and have both clean and cleandir depend on that. That eliminates a bug
where 'cleandir' in a directory which included e.g. bsd.prog.mk but which
also had subdirs would 'make clean' all the subdirs and then 'make cleandir'
all ofthe subdirs. It also allows Makefiles to add more dependencies
to 'clean' after inclusion of the make template.
If 'clean' is already defined, the behaviour is the same as it used to be.
1997-01-22 01:34:11 +00:00
perry
57e986e85a
add NODOC -- if set, prevents installation of doc files
...
contributed by Brian de Alwis <bsdealwi@undergrad.math.uwaterloo.ca>
closes pr-2290 (per thorpej)
1997-01-17 01:15:55 +00:00
mark
ed0c7a8de5
The arm32 architecture also needs to set NOPIC.
1997-01-13 00:54:23 +00:00
christos
398a0a033b
Don't use @echo "${command}" to echo commands, because if ${command} contains
...
double quotes we generate shell syntax errors. Use @echo ${command:Q} instead
which properly quotes shell metacharacters.
1996-12-29 19:14:32 +00:00
cgd
414b38f4b2
add an afterdepend target (a la the one in bsd.lib.mk) that processes
...
the .depend file to add <filename>.ln for each <filename>.o as an
object file which has the given dependencies (in addition to
<filename>.po and <filename>.so, which were already there).
1996-12-20 16:39:03 +00:00
cgd
6cd7e38583
change the afterdepend target so that its sed script adds <filename>.ln
...
for each <filename>.o as an object file which has the given dependencies
(in addition to <filename>.po and <filename>.so, which were already there).
1996-12-20 16:36:56 +00:00
cgd
2dbbba03f0
remove outdated XXX comment (mine)
1996-12-19 07:51:59 +00:00
cgd
cbff9abf27
undo (or actually, do differently) that last: On the Alpha, build shared
...
libraries with LD, but add /usr/lib/crtbegin.o and /usr/lib/crtend.o
before and after the rest of the stuff being linked. This is a losing
situation all-around: for correct 'DESTDIR' builds, it should be including
them from ${DESTDIR}/usr/lib. However, since those objects should be
included for all shared libraries, including them from ${DESTDIR} won't work,
because they won't be installed by normal builds by the time they need to
be used.
1996-12-17 23:14:23 +00:00
cgd
47b997f2e0
build Alpha shared libraries with ${CC} rather than ${LD}, because cc
...
understands how to do the c run-time startup magic necessary for shared
libraries and ld doesn't.
1996-12-17 21:05:40 +00:00
mikel
6d303ec98e
add missing LIBPCAP definition.
1996-12-13 08:02:52 +00:00
jtc
43a3714539
Define GPROF when assembling *.S files
1996-11-30 02:18:54 +00:00
mrg
b081de7226
add libz and libwrap
1996-11-26 17:37:39 +00:00
mikel
4620721b06
Remove extra ".o"s; fixes PR misc/2883.
1996-11-05 05:40:28 +00:00
explorer
9b140c8554
Update to make the sys/lkm tree compile on i386 and most likely others
1996-10-22 19:41:47 +00:00
thorpej
150c33e60b
Use ${INSTALL}.
1996-10-18 05:55:26 +00:00
thorpej
416caa144c
Use ${INSTALL} rather than "install".
...
From Simon J. Gerraty <sjg@zen.void.oz.au>, PR #1458 .
1996-10-18 02:34:42 +00:00
thorpej
f2bb1e120e
Define an INSTALL make variable, and default it to "install". Suggested
...
by Simon J. Gerraty <sjg@zen.void.oz.au>, PR #1458 .
1996-10-18 02:33:38 +00:00