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
cgd
a23bd4576c
if ${MACHINE_ARCH} is "alpha" build shared libs with the 'normal' GNU
...
linker's command line args, rather than the NetBSD linker's command
line args. This is a hack, and should go away in favor of something
more general when that something is developed. In the mean time, it
might be appropriate for the various mips ports to do the same thing.
1996-10-13 20:39:36 +00:00
cgd
7dc2d2b3fe
define NOPIC on the alpha only if ELF_TOOLCHAIN is not defined.
...
(This is a hack.)
1996-10-13 20:33:59 +00:00
thorpej
b479977348
Add "-traditional-cpp" to the COMPILE.S command, so that assembler
...
syntax (specifically, use of # to indicate an immediate value) isn't
misinterpreted as a CPP directive.
1996-09-30 23:37:22 +00:00
abrown
795306043d
Add missing quote (") in @echo line of .S.o rule, to prevent sh from
...
getting confused in certain cases.
1996-09-23 20:23:05 +00:00
jtc
a66b1cae00
Fix from Aaron Brown that fixes some typos
1996-09-23 18:15:48 +00:00
jtc
3d592bf5cd
Use `${COMPILE.S}' instead of `${CPP} ..... | ${AS} ....' to compile
...
assembly language source.
1996-09-20 19:51:50 +00:00
cgd
ea52c85b3a
use -pg rather than -p when compiling profiled objects.
1996-09-05 19:12:33 +00:00
explorer
c3d35c35af
Do the symlinks added by mrg correctly
1996-08-27 23:31:47 +00:00
explorer
497b575ce6
Fix a missing dollar sign, and move paths and modes
...
to bsd.own.mk for KMOD* vars
1996-08-27 22:15:52 +00:00
mrg
8cc0c9583c
make lkm's work. still need to worry about options defines...
1996-08-23 06:14:36 +00:00
explorer
85656a00df
Add a file needed for the lkm stuff I committed
1996-08-22 20:33:02 +00:00
scottr
4aca2bf529
If DESTDIR is defined, look for includes in ${DESTDIR}/usr/include,
...
instead.
1996-05-15 19:46:51 +00:00
thorpej
c238d2b94e
Add the ability to override defaults in bsd.own.mk more easily, by
...
looking for "${MAKECONF}", or failing that, "/etc/mk.conf" and including
the first one it finds, if it exists. From Chris Demetriou <cgd@netbsd.org>,
PR #1970 .
1996-04-13 02:08:08 +00:00
thorpej
5eb08a6790
Get the current working directory from "/bin/pwd" rather than "pwd".
...
Changes to the shell make the behavior of "make obj" inconsistent
with previous behavior, depending on the login shell used by the user.
See PR #2200 for details. PR remains open while further analysis is
done. This at least restores the previous semantics for us csh(1) users.
1996-04-10 21:08:05 +00:00
mycroft
a86feda616
Remove broken hack that attempted to do the same as the previous.
1996-04-10 05:47:19 +00:00
mycroft
198877f9dc
Fix COMPILE.s so the output file is named correctly.
1996-04-10 05:44:49 +00:00
jtc
4a437cf6dd
Sort LIBFOO definitions and add LIBY; Reported by Mike Long <mike.long@analog.com> in PR #2301 .
1996-04-08 21:19:26 +00:00
jtc
f9ff89048b
Added new standard target "includes" (used to install header files) to
...
bsd.subdir.mk. Added some documentation to bsd.README.
1996-04-04 02:05:03 +00:00
jtc
f1938eb0d0
Removed special handling of CPPFLAGS if DESTDIR is set. Third party
...
makefiles may use DESTDIR for something completely different.
1996-02-29 19:06:57 +00:00
jtc
4e24a7f97e
Default .s.o and .S.o left output in wrong file
1996-02-28 23:45:16 +00:00
pk
cb632f2035
Use shell internal substring matching, like bsd.man.mk.
1996-02-21 10:02:00 +00:00
jtc
24af95d976
Use ksh-style substring parameter expansion expressions instead of
...
calling expr when constructing manpage directory and file names.
Much, much faster.
1996-02-10 07:49:33 +00:00
cgd
93542f4a98
clean up bits that state which man page section numbers are allowed (section
...
9 now exists). Document that variables in bsd.own.mk that were not previously
documented.
1996-01-22 22:46:06 +00:00
mycroft
fceadcfbd1
Use the `-q' option to tsort(1). From der Mouse, PR 1204.
1996-01-17 20:39:26 +00:00
thorpej
5ba712a21d
Allow override of nroff program, requested by Masanobu Saitoh
...
<msaitoh@spa.is.uec.ac.jp> in PR #1741 .
1996-01-15 01:56:09 +00:00
cgd
4297bc2d3a
don't include the .c.a rule on the alpha. see p.r. 1488 for an
...
example of how make breaks when it's present. In particular, it causes
build of the compiler toolchain to fail if present, which keeps
a complete system from building, on the alpha.
1995-12-18 02:53:20 +00:00
cgd
8c917568da
add "CFLAGS += -Werror" to bsd.sys.mk, and update various bits of
...
documentation to explain bsd.sys.mk's purpose more clearly.
1995-12-13 01:25:05 +00:00
perry
3baad3ca17
Add support for Section 9 (kernel internals) manpages
1995-11-25 19:53:33 +00:00
cgd
4b84367c40
NetBSD/Alpha now supports profiling
1995-11-03 23:33:33 +00:00
christos
70174eb6fe
Added include file <bsd.sys.mk> that contains lex and yacc "parallel aware"
...
rules. These rules are not turned on by default; they are enabled by setting
the PARALLEL variable.
1995-10-22 00:45:53 +00:00
cgd
079c0ee400
install -s now works properly on the alpha, so don't redefine STRIP
...
(to kill the -s).
1995-10-12 06:22:18 +00:00
cgd
9544e255ed
correct an alpha-specific comment
1995-10-02 20:30:28 +00:00
pk
ba51c14e09
Use CPPFLAGS in .S rules.
1995-09-30 12:21:33 +00:00
cgd
2357fc71b1
alpha no longer needs NOMAN=
1995-09-27 13:34:11 +00:00
christos
6e591491c3
- make sure the afterdepend rule fires `after' .depend gets created.
...
[fixed for parallel make]
- make depend prettier printing.
1995-09-27 01:15:09 +00:00
jtc
7065a25cef
Fix .cc.o .C.o rule; PR #1522
1995-09-26 23:48:24 +00:00
christos
03d121f492
- Actually commit the bsd.lib.mk changes mentioned above...
1995-09-25 00:53:09 +00:00
christos
e3a69c3c19
- In preparation for parallel makes fix the library rules so that they
...
don't use a.out as intermediate output.
- Note in the README file that we cannot fix the xstr stuff.
We still need to fix lex and yacc.
- Allow overriding of the variables in sys.mk
1995-09-24 23:49:06 +00:00
cgd
d136b73088
show the directory depth, by printing out the hierarchy name.
...
Suggested by Ty Sarna, implemented by me. Useful, because it tells you
how deep you are, and allows you to paste the pathname in to 'cd' to the
directory.
1995-07-24 04:22:29 +00:00
ragge
5f4e40d8af
NOPIC option added, so that we don't try to generate it.
1995-07-22 20:50:41 +00:00
cgd
73037ca2b0
oops
1995-06-29 17:43:13 +00:00
cgd
7d5b9a0d95
fix a paste-o
1995-06-27 20:37:29 +00:00
cgd
aebda19c0b
fix more possibly-empty 'rm's, here. kill long-dead {profiled,...}/* cleans
1995-06-26 00:19:44 +00:00
cgd
6ae995da62
oops; fix an rm that might be empty
1995-06-25 22:29:02 +00:00
cgd
f386420eb0
update lint rules, but keep linting disabled
1995-06-24 08:27:37 +00:00
mycroft
03a9334875
Explicitly remove obj link before creating it.
1995-06-10 20:46:35 +00:00
mycroft
27d2a9e05f
Define LIBEDIT.
1995-06-10 20:21:05 +00:00
cgd
741ffd7de0
make this work whether or not MANZ is defined. also, clean it up a bit,
...
remove some extra cruft, and make the way compressed man pages are installed
a bit more sane. (DON'T blow away uncompressed man pages of the same name,
if they're also there...)
1995-06-07 01:15:20 +00:00
brezak
f44a5710f1
define MANZ=1 in bsd.own to get compressed man pages installed
1995-06-02 02:52:04 +00:00
jtc
db8496095b
Only set NLSALL if NLS is defined and not empty.
1995-04-27 18:05:38 +00:00
jtc
ea563874e2
install bsd.nls.mk
1995-04-26 22:30:57 +00:00
jtc
e3c663eb4c
.include <bsd.nls.mk> unless NONLS is defined.
1995-04-21 20:29:40 +00:00
cgd
1939c12486
special hacks for alpha; mostly: some things aren't supported.
1995-04-21 02:56:24 +00:00
jtc
a04634e01b
First cut of makefile header that builds and installs message catalogs.
1995-04-20 05:09:34 +00:00
cgd
622d3ff963
don't ranlib read-only files. patch for bug 977, from Greg Hudson
...
(ghudson@MIT.EDU ). He doesn't think this patch is particularly
beautiful, but i'm not sure much can be done about that.
in particular:
(1) installing to a different file name, then chowning that
and using 'mv' brings up a couple of bugs that
can't reasonably be tested for (and shouldn't have to be),
(2) you don't particularly want people trying to use the libraries
until they've been successfully installed, anyway.
1995-04-19 06:26:50 +00:00
jtc
b83cf82eb5
Define NLSDIR, NLSGRP, NLSOWN, and NLSMODE (for message catalogs).
1995-02-20 21:26:33 +00:00
jtc
f3fb76cdde
Removed sentance that stated that each *.mk file had a cooresponding
...
*.rd file. All the documentation is in bsd.README. Fixes PR #681 .
1995-01-13 00:27:49 +00:00
cgd
7367bf16c1
add info about LIB, as pointed out by jhawk@MIT.EDU
1995-01-02 23:59:01 +00:00
mycroft
eacba7d3f3
Insert a missing ${MANSUBDIR}.
1994-12-28 21:46:29 +00:00
mycroft
16f1ef6125
Install links after, not before the pages.
1994-12-28 21:34:23 +00:00
phil
d9b81c1c3c
Enable shared libs on the pc532.
1994-12-28 04:32:45 +00:00
cgd
3bcbf9fb79
fix up a botch, defining MANALL when there weren't any MANs.
1994-12-23 11:19:21 +00:00
cgd
a95ea97ca7
oops; fix a bogon.
1994-12-22 12:22:59 +00:00
cgd
dbcf91bb89
specify man pages differently, and document how.
1994-12-22 09:20:40 +00:00
mycroft
97978a8f0b
Remove `-+' arg to mkdep.
1994-12-13 11:14:56 +00:00
mycroft
6f9568d22b
Slight simpliciation.
1994-12-13 08:46:22 +00:00
mycroft
5d8e3d6329
Add CPPFLAGS to mkdep lines, for cross-compilation.
1994-12-13 08:40:04 +00:00
mycroft
2055209f92
Stop if cd fails.
1994-10-09 16:44:01 +00:00
mycroft
c0f9a2266e
Add SKEY (defined) and KERBEROS (commented out) variables.
1994-09-28 15:59:28 +00:00
mycroft
6df8c5e52c
Include bsd.own.mk earlier.
1994-08-24 19:10:48 +00:00
cgd
02ee725315
include bsd.own.mk early on, to get NOPIC definition.
1994-08-19 15:48:12 +00:00
pk
0e7e1e9127
Don't keep local symbols in a shared library symbol table.
1994-08-09 13:04:28 +00:00
mycroft
101c02e6db
Move the inclusion of bsd.own.mk to a better place.
1994-07-26 19:42:37 +00:00
cgd
65e0c25657
fix from christos, for progs w/o objects
1994-07-20 04:57:12 +00:00
mycroft
2bc3c3a671
Pull libraries from ${DESTDIR} if set. Kill LDONLY, which is unused and
...
probably not useful anyway.
1994-07-06 04:13:37 +00:00
mycroft
624e7c0ad8
Use CPPFLAGS (previously defined but unused) to yank in include files from
...
${DESTDIR}/usr/include.
1994-07-06 04:12:24 +00:00
mycroft
753b97a485
Include ${CPPFLAGS} when compiling .c and .cc files.
1994-07-06 04:09:55 +00:00
deraadt
ec891b096e
.m4 files are sources too
1994-06-30 06:47:38 +00:00
cgd
f0fb7b6706
fix modify-info-nothingness-then-substitute probelm that broke genclass build
1994-06-30 06:35:50 +00:00
cgd
61d2ae79f4
RCSID frobbing, and minor sanity adjustments.
1994-06-30 05:31:04 +00:00
cgd
b233f19e46
don't be careless with _SUBDIRUSE
1994-06-30 05:21:28 +00:00
jtc
293b4a9e72
Strip *.sh when constructing OBJS from SRCS.
...
This will allow us to clean up makefiles that build a script by munging
a template (uusched, genclass, neqn, etc.).
1994-06-28 05:16:12 +00:00
cgd
7e8a221a9d
Lite doc macros
1994-06-19 01:07:24 +00:00
cgd
9f7c821782
don't chown the symlink, when HIDEGAME causes a symlink to be made to dm.
...
4.4-based FS code _follows_ the symlinks on a chown(2) call.
1994-06-18 20:57:49 +00:00
jtc
ab01da01c5
Change BINOWN -> BINGRP where appropriate.
1994-06-02 23:40:06 +00:00
cgd
53d6c3f81d
fix the last to do the right thing for dependencies
1994-05-24 09:37:30 +00:00
deraadt
1b67bc1b3c
LIBSKEY
1994-05-24 06:30:57 +00:00
jtc
1e65a5b9e8
Single source file programs are now compiled into object files before they
...
are linked. This change halves the time it takes to rebuild all of the
NetBSD sources when only the C library is "touched"; but only takes about
one percent more disk space.
1994-05-22 23:03:58 +00:00
chopps
568355ca48
relink (recompile) single source programs when crt0.o is updated.
1994-04-06 06:37:38 +00:00
cgd
71c681ab9c
kill a bogosity
1994-03-27 02:30:42 +00:00
cgd
183803dfad
add back inclusion of bsd.own.mk
1994-03-27 01:42:35 +00:00
mycroft
41172b0ea8
Remove *.core on clean.
1994-03-24 16:11:38 +00:00
jtc
4051de5f84
Added various COMPILE.? & LINK.? macros and changed suffix rules to use
...
them (Like Sun & GNU make).
1994-03-24 16:01:24 +00:00
jtc
85f2beb3d3
Now that single suffix rules work, uncomment them.
1994-03-24 01:39:28 +00:00
cgd
003c0d16f4
cleandepend should happen on 'cleandir' not 'clean', from michaelv@iastate.edu
1994-02-27 22:27:18 +00:00
cgd
38a3d1726d
kill install -d's.
1994-02-09 23:50:32 +00:00
cgd
c0793f717f
have _SUBDIRUSE done in 'realinstall', not in 'install' so that
...
'afterinstall' actually happens *after* the real install!
since this entire section is in a "!target(install)", having
it done the other way was wrong and unnecessary (i.e. the
previous change/comment was bogus).
1994-02-09 07:55:08 +00:00
jtc
894ae428ab
Moved manpage formatting rules from sys.mk to bsd.man.mk.
...
Some programs (like ispell) use *.[0-8] for non-manpage things, and having
the manpage rules in sys.mk really messes things up.
1994-01-31 18:40:10 +00:00
cgd
e83349cd3f
add LIBKVM
1994-01-28 00:16:29 +00:00
jtc
0ff921a0c4
Change regular expressions used by expr in MLINKS processing so we can have
...
manpages with more than one dot. For example, resolve.conf(5)
1994-01-25 23:35:36 +00:00
cgd
ff6c523a64
oops; kill two extra spaces.
1994-01-25 21:56:52 +00:00
cgd
92bc1538f5
do the right thing if nroff doesn't work
1994-01-25 21:56:04 +00:00
cgd
cbb274d091
change "PRINTER" to "PRINTER_TYPE" because people setenv PRINTER
1994-01-24 22:30:32 +00:00
jtc
4870e69226
Change MANOWN, MANGRP, DOCOWN & DOCGRP to _not_ be initialized from
...
BINOWN or BINGRP. Otherwise manual pages and documentation installed
from the same directories as suid or sgid programs will have incorrect
user or group ownership. (Uucico manpage owned by uucp, su manpage owned
by root, etc.)
1994-01-19 21:26:11 +00:00
pk
ea692b4d19
Archive member names need no longer be truncated.
1994-01-07 00:52:44 +00:00
mycroft
27f957c30b
`ld -x -r' on .so files really does work now. Maybe it will continue to for
...
a little while.
1994-01-06 04:32:35 +00:00
mycroft
0f7e1c4931
ld -x -r for .so files clearly does not work yet.
1994-01-05 23:29:39 +00:00
mycroft
928cf6a75f
Use ${DPADD} and ${LDADD} only when building shared library.
1994-01-04 20:26:52 +00:00
mycroft
28c41313e6
Reinstate `ld -x -r' for .so.
1994-01-04 19:08:55 +00:00
jtc
eaffcffaa5
Comment out single suffix rules (until I can get a debugger that works).
1993-12-30 18:53:02 +00:00
jtc
da46ebe7eb
Fixed documentation for DPADD and LDADD.
1993-12-29 19:30:15 +00:00
jtc
92b7de73a4
Added single suffix implicit rules. Rules for *.c & *.f files are required
...
by POSIX.2 --- I added the others (*.p, *.l, *.y, etc.) to be consistant
with all the other default rules.
1993-12-29 18:44:36 +00:00
cgd
6a129be327
get rid of definitions of *OBJMACHINE which charles (hopefully)
...
accidentally added...
1993-12-08 23:10:33 +00:00
mycroft
8bcf49f1ea
Only disable shared libs on 32k, for now.
1993-12-07 00:18:40 +00:00
cgd
8389bbb900
do .S files, too
1993-12-05 02:42:42 +00:00
cgd
e501423fab
allow .S; keep .s around for now
1993-12-04 01:28:39 +00:00
pk
c1420efe26
Always install lib*_pic.a archives.
1993-11-14 16:45:05 +00:00
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
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