cgd
11cbea7c88
librpc doesn't exist anymore
1993-11-10 03:32:48 +00:00
cgd
9cf550f92a
ad LDSTATIC flag, so static linking can be made one-stop shopping.
...
use "setenv LDSTATIC" to make *everything* dynamically linked,
setenv LDSTATIC -static for everything statically linked, or unset
it for default behavior.
1993-11-08 02:18:41 +00:00
cgd
47b2efdc10
define BSDOBJDIR and BSDSRCDIR to have make think of the src and obj
...
trees as rooted someplace other than /usr/src and /usr/obj.
1993-11-07 09:45:04 +00:00
cgd
2b2415ec15
make libfoo.so.m.n depend on libfoo_pic.a, and also explain
...
what we're doing when building libfoo.so.m.n.
1993-11-02 23:14:50 +00:00
cgd
1f88f697c0
MAJOR -> SHLIB_MAJOR, MINOR -> SHLIB_MINOR
1993-11-02 23:08:20 +00:00
pk
8982f4f808
Add `-Bshareable' to shared library rule.
1993-11-02 22:59:06 +00:00
pk
f7f25f3486
Don't try to build things when installing.
1993-11-02 22:02:12 +00:00
pk
80ee143924
`-Bshareable' added to link rule for shared libs.
1993-10-27 00:58:31 +00:00
pk
8b65437bb1
Install shared library with version numbers from `shlib_version'.
1993-10-24 00:05:31 +00:00
cgd
5104915994
add support to make obj.${MACHINE} dirs, if the user so requests.
...
note that not all makefiles in the tree will work with them, yet.
1993-10-23 02:32:55 +00:00
cgd
670644d93b
'obj' was missing in echo which informed of symlink creation
1993-10-21 05:27:40 +00:00
pk
f1e94cd5cd
Added rule for installing PIC archives (not the shared libraries themselves).
1993-10-17 01:09:01 +00:00
pk
a451477f66
Removed `ld -r -X' line from the .cc.so and .C.so rule, as ld does
...
not yet support it.
1993-10-11 21:49:06 +00:00
cgd
f74961d747
LIBTERM pointed at nothing, but was meant to point to libtermcap.a...
1993-10-07 02:12:18 +00:00
cgd
cf4f8c1089
always define LIBCRYPT
1993-10-07 01:35:30 +00:00
cgd
d415bba2d7
rm _pic libs on clean, too.
1993-10-07 01:34:07 +00:00
pk
6dd02c67e8
Added .so to `.depend' (Thanks to Andrew Wheadon for poiting this out).
1993-10-06 17:54:01 +00:00
cgd
c5a97edc94
add .so rules for c++ files.
1993-10-04 20:54:33 +00:00
cgd
c08d5bf7a5
set NOPIC on machines which don't know how to build PIC libraries.
1993-10-04 19:52:53 +00:00
pk
5a4a780b36
Support for building PIC libraries.
...
Given a library name `x', an archive `libx_pic.a is built, unless NOPIC
is defined (like NOPROFILE).
1993-09-29 01:02:21 +00:00
brezak
5393be966e
Add .S.o rule
1993-09-08 13:13:46 +00:00
mycroft
d5a906d8ea
Depend .s files.
1993-09-05 17:46:15 +00:00
mycroft
d079c3bdfc
Add empty depend',
tags', and `lint' targets.
1993-08-23 16:44:18 +00:00
mycroft
30beb79c09
Make sure we don't recurse into subdirectories if Makefile specified `install'
...
target. (It's usually blank and is specifically to avoid doing this...)
1993-08-17 17:00:39 +00:00
mycroft
121103eb35
Don't define afterdepend if no SRCS.
1993-08-16 01:41:01 +00:00
mycroft
3e94657cf6
Automatically include bsd.subdir.mk for backward compatibility.
1993-08-15 21:53:05 +00:00
mycroft
2d450b7ef3
Oops. DOCOWN and DOCGRP were recursive.
1993-08-15 21:36:10 +00:00
mycroft
0266c40ac7
Get rid of empty targets; the defaults are now correct.
1993-08-15 21:35:31 +00:00
mycroft
24ee64add1
I completely blew that...
1993-08-15 21:27:26 +00:00
mycroft
8aa48639fb
Don't do tags and cleandepend if no SRCS.
1993-08-15 21:14:45 +00:00
mycroft
781e25808c
Makefile: Use `install -d' to create directory.
...
bsd.dep.mk: Add defaults for `beforedepend' and `afterdepend'.
sys.mk: 8 tabs --> space
1993-08-15 21:09:20 +00:00
mycroft
f5b2ed3238
Don't automatically include bsd.subdir.mk in bsd.prog.mk and bsd.lib.mk.
...
Put back .MAIN in bsd.man.mk, and be careful not to include ../Makefile.inc
a second time.
1993-08-15 20:59:36 +00:00
mycroft
18a7ed8e5b
Install bsd.dep.mk and bsd.obj.mk.
1993-08-15 20:49:25 +00:00
mycroft
3eebe31396
Move man rules to sys.mk.
...
Use bsd.subdir.mk for building subdirectories.
Don't forget to remove x.cc and x.C when using SHAREDSTRINGS.
Make ${PROG} always depend on ${LIBCRT0}.
Don't duplicate code between cleandir and clean.
Move tags target to bsd.dep.mk.
Move STRIP to bsd.own.mk.
Remove redundant definitions of {BIN,MAN}{DIR,GRP,OWN,MODE}.
Move {LIB,DOC}{DIR,GRP,OWN,MODE} defaults to bsd.own.mk.
1993-08-15 20:42:39 +00:00
mycroft
6a1bdd6fc0
Abstract out dependency stuff, and add RCS identifiers.
1993-08-15 19:37:04 +00:00
mycroft
0c9bbcf68c
Create target directories with install -d', and move
obj' targets into one
...
file.
1993-08-15 19:26:05 +00:00
mycroft
28e6c71e70
Put LINKS handling in `install' target, so it's the last thing executed, and
...
happens even if `realinstall' is user-defined.
1993-08-10 16:46:58 +00:00
mycroft
ab127e8ac7
Don't remove obj dir (or link) when doing `make cleandir'.
1993-08-03 23:01:06 +00:00
mycroft
690cae8181
Add RCS indentifiers.
1993-07-31 15:17:49 +00:00
mycroft
01094e51c2
When generating a default OBJS, ignore .h files.
1993-07-30 03:40:07 +00:00
mycroft
8846a74782
Don't print the `making ...' message if an obj dir already exists.
...
Also, a minor cleanup.
1993-07-29 22:04:53 +00:00
mycroft
8d7d3883e3
Fix C++ dependencies for good. `make depend' is now done in two passes--one
...
of C files and one for C++ files. No need to specify `-+' in your Makefile,
as it is now done automatically.
1993-07-17 13:43:50 +00:00
mycroft
3a5556e27f
Combine some suffix rules.
1993-07-17 12:29:17 +00:00
cgd
870dd3b285
do c++ dependencies the right way...
1993-07-17 12:18:12 +00:00
mycroft
b761d4a97c
Add suffix rules for C++ files.
1993-07-17 12:09:51 +00:00
brezak
c17cb39f9c
Allow SYS_INCLUDES={copies,symlinks} choice in bsd.own.mk.
1993-07-10 03:56:10 +00:00
cgd
b84e2217a4
allow docs to make an obj dir and build properly with it.
1993-07-04 13:01:30 +00:00
mycroft
30b696c981
Add global CXX and CXXFLAGS for compiling C++ programs. (These names are used
...
by some GNU stuff; if you have a better suggestion, please tell me.)
1993-06-17 03:48:59 +00:00
mycroft
6eb3e7bd66
Never mind. I was being led astray.
1993-06-17 03:45:08 +00:00
mycroft
55acb95fdb
We use ranlib; we don't need lorder.
1993-06-17 03:37:23 +00:00