Commit Graph

1049 Commits

Author SHA1 Message Date
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
cgd
d2f1cebe30 make documentation build into ps files. this works, mostly... 1993-06-09 22:00:27 +00:00
brezak
b429b80b0c Add LIBRPCSVC variable. 1993-06-04 14:47:21 +00:00
cgd
ef3308e903 add ability to specify c++ dependencies, by setting CFLAGS+=-+ for
the dependency make.
1993-06-02 14:56:51 +00:00
cgd
70d0145d0f get make depend right, so that it depends .po's too. 1993-06-02 14:56:16 +00:00
cgd
23b910276a change libraries to use ${RANLIB} rather than "ranlib" explicitly,
also, ranlib them when they're made, so /usr/obj can be read-only
1993-05-26 11:51:49 +00:00
cgd
0150a07cf8 if NOPROFILE defined, don't try to install the profiled libs. 1993-05-26 11:48:40 +00:00
cgd
5c6b56771f added definition for DPADD library variable LIBCRYPT. 1993-04-26 13:07:57 +00:00
mycroft
899ea388c7 Don't redefine `realinstall' target if already defined. 1993-04-26 03:26:17 +00:00
mycroft
4da01efae2 Link with LDFLAGS even if one source module. 1993-04-25 05:53:48 +00:00
mycroft
2b2941c3cf Don't lose if we include bsd.prog.mk only to build man pages. 1993-04-25 05:36:13 +00:00
mycroft
f11199f811 Add afterinstall and make maninstall not lose if bsd.man.mk not included (i.e. NOMAN set). 1993-04-25 05:21:08 +00:00
mycroft
fe6a529dc1 Fix error in last change. (Oops.) 1993-04-25 04:55:52 +00:00
mycroft
483a165ed5 Don't build man pages if NOMAN set. 1993-04-25 04:15:26 +00:00
mycroft
448e87b39f Don't build man pages if NOMAN set. 1993-04-25 02:51:01 +00:00
cgd
63c070a4bb get make clean[dir] to work right. fixes /bin/sh: not found problem 1993-04-20 03:29:36 +00:00
cgd
f5b89009cb get rid of damned "d"foo 1993-04-10 06:26:15 +00:00
cgd
2e8c7ad45b oops; got rid of obj target -- that wasn't sensible! 1993-04-09 21:01:12 +00:00
cgd
62da9a5ad0 various changes to default make rules. from patch 101.
note that only the "sensible" changes in patch 101 are implemented.
1993-04-09 20:05:56 +00:00
cgd
8619bdc913 try to do the right thing, in terms making directories before we
install into them, and get the manpage cleans _OUT_ of "clean".
they don't belong there, only in cleandir, WFJ be damned.
1993-04-08 17:18:42 +00:00
cgd
d870cfd2bd fixed typos... 1993-04-08 14:10:30 +00:00
cgd
e74ea3abfa (silently) make sure we have directories before installing 1993-04-08 14:02:00 +00:00
cgd
9c998b0a59 make `install' of libraries copy rather than move. 1993-04-04 15:31:38 +00:00
cgd
19bcea81d2 make LIBRPC point to the right place 1993-04-04 15:30:16 +00:00
nate
40de8de197 Fixed the doc macros to call troff, eqn,and tbl instead of ditroff,
deqn, and dtbl.
Fixed make clean to remove the man pages (Bill fixed this in the distribution,
but not in the original source)
Changed install to leave the original file around, by using 'cp' instead of
'mv'. "install -c ..."
1993-03-27 12:17:32 +00:00
cgd
883c20ae5a made .CURDIR be absolute, not relative, thereby eliminating
the need for some of the makefile trickery when making objects,
and fixing a few .PATH bugs
1993-03-23 07:26:38 +00:00
cgd
0b11fb114d added obj target so that docs make (well, actually don't make) obj dirs 1993-03-23 03:01:41 +00:00
cgd
d384beb878 fixed "make obj" for cases when sources not in /usr/src/...
if sources not there, it now mkdirs obj, but some trickery
is necessary, to avoid deleting cwd.
1993-03-22 08:09:36 +00:00
cgd
61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00