mycroft
4a6da470ba
When handling ELF library symlinks, rather than removing and recreating the
...
symlink, instead create a temporary one ending in `.tmp' and `mv -f' it.
This way there is no window where libc isn't loadable (and thus
`make -j 100 install' works for libc).
2000-12-05 22:12:37 +00:00
itojun
caf7b11063
add ${LIBINTL} for use with DPADD.
2000-10-31 10:49:01 +00:00
thorpej
99de26f4ee
Repair a dual-.if construct that certainly didn't work with
...
any version of make(1) on my systems...
2000-10-11 05:45:50 +00:00
is
2e08b549a5
Format string cleanup, by sommerfeld.
2000-10-10 20:41:20 +00:00
deberg
ad0e0b565c
fix typos, PR 11159
2000-10-07 20:26:36 +00:00
sommerfeld
abff7e84fd
If FORMAT_AUDIT is set, and WFORMAT is set and > 1, turn on
...
-Wnetbsd-format-audit for extra-stringent format checking.
WFORMAT belongs in individual makefiles and/or Makefile.inc files.
FORMAT_AUDIT should go in mk.conf if you're doing format-string auditing.
(set WFORMAT=1 in individual makefiles if a program is
not security critical and is doing bizarre things with
format strings which would be even uglier if rewritten)
FORMAT_AUDIT may go away in time (i.e., default to on)
2000-10-04 19:27:45 +00:00
itojun
5b88ba6121
remove obsoleted crypto-related variables.
2000-09-30 12:27:35 +00:00
itojun
e5e807d114
always compile RSA into libcrypto.
...
MKCRYPTO disables the whole crypto tree, and in that case,
we will not have RSA (nor libcrypto) with us.
2000-09-30 12:21:51 +00:00
itojun
8d26d03189
repair openssl (libcrypto) for non-32bit architecture.
...
don't use unsigned long where 32bit unsigned variable is asked for.
use u_int32_t. (not sure if uint32_t is better or not, but anyway,
u_int32_t <-> uint32_t should not raise binary compatibility issue)
PR10921.
TODO: have arch-dependent Makefiles where we supply -DFOO for optimization.
(do not change size of variable though)
XXX: we should actually nuke all other #ifdef in /usr/include/openssl/*.h,
however, that needs a lot of work and will make future openssl upgrade harder.
remove RC5 and IDEA by default. build them separately as
libcrypto_{rc5,idea}.a. put dummy function, which is "warning to stderr
and exit(1)". NOCRYPTO_{RC5,IDEA} are obsoleted.
PR10883.
2000-09-30 00:23:28 +00:00
phil
fe4560a9a3
Get the correct command line using groff instead of nroff.
2000-09-26 15:33:28 +00:00
phil
ec49e039c2
Add rules to make and install html pages in /usr/share/man/html*
2000-09-22 05:37:57 +00:00
jlam
8edf0a98a0
Correct description of when "NOPIC" is set.
2000-09-10 19:10:50 +00:00
bjh21
b5279973df
Switch arm26 to -O2. Most of my kernels are compiled with this anyway,
...
and gcc's code generation should be the same as for arm32, so I think this
is safe.
2000-08-22 17:38:49 +00:00
itojun
424b5f77fb
MLINK optimization based on timestamp.
2000-08-13 06:56:25 +00:00
itojun
531e380d08
do not test $UPDATE nor file existence, on "MLINKS" installation.
...
the check will leave original manpage and linked manpage unsynchronized,
as we use hard link instead of symlinks.
this backs out 1.37 -> 1.38 change.
2000-08-13 06:36:29 +00:00
gmcgarry
68e607a368
Remove executable permission from src/lib/checkver.
2000-08-09 23:41:24 +00:00
msaitoh
d5567fbc4d
sh3 port is incomplete, so add NOLINT=1 and NOPROFILE=1
...
(and NOPIC=1 if OBJECT_FMT==COFF)
2000-08-02 20:04:45 +00:00
mycroft
320dc0b012
Build shared libraries on sparc64.
2000-07-26 02:21:21 +00:00
cgd
4bf5f7086b
${RPCGEN}, not hard-coded rpcgen
2000-07-25 06:29:44 +00:00
mrg
01875cae18
simplify previous.
2000-07-19 14:16:22 +00:00
eeh
04de183b83
Tell gas how to make PIC objects on sparc64.
2000-07-17 16:49:30 +00:00
christos
4c668e29d9
PR/10556: Veego: Shared library support was broken if shlib_version file
...
was not present.
2000-07-14 19:53:04 +00:00
cgd
4aa53dcd31
test -h, not test -L.
2000-07-07 04:35:35 +00:00
matt
3b3ee7da25
Add NetBSD/vax ELF hook.
2000-07-06 16:48:48 +00:00
christos
921df2e6f1
add support for teeny dewey numbers; cleanup duplicated variables.
2000-07-03 21:08:55 +00:00
bjh21
f42e9888c5
Add GNU_ARCH.arm26
2000-06-27 21:12:42 +00:00
erh
c2256d0630
For the case when DESTDIR is set: move the -L${DESTDIR}/usr/lib after ${LDADD} so any -L directories set in LDADD are searched first to avoid possibly linking against old versions of libraries.
2000-06-25 05:07:22 +00:00
thorpej
cdc96f602d
Garbage-collect old KERBEROS* switches.
2000-06-23 06:14:33 +00:00
thorpej
acc9b0f304
Remove the bsd.crypto.mk section, and describe the new MK... switches
...
related to system crypto support.
2000-06-23 06:11:05 +00:00
thorpej
df83a2a3cd
Add MK... variables to enable/disable various aspects of building
...
crypto support into the system. See share/mk/bsd.README for more
a full description.
2000-06-23 06:01:10 +00:00
thorpej
e7d6b96938
Merge a bunch of things from crypto-us and crypto-intl into basesrc,
...
adding support for Heimdal/KTH Kerberos where easy to do so. Eliminate
bsd.crypto.mk.
There is still a bunch more work to do, but crypto is now more-or-less
fully merged into the base NetBSD distribution.
2000-06-20 06:00:24 +00:00
thorpej
78d67d6053
Add print-shlib-major and print-shlib-minor targets.
2000-06-19 19:35:05 +00:00
thorpej
c55e4231ce
Sync up the LIB* list.
2000-06-19 19:00:14 +00:00
mycroft
750b27b82a
Use ${.ALLSRC:T} when doing the generated variable name lookups, so that it
...
DTRT for generated files in and obj directory (or accessed via .PATH).
2000-06-10 14:12:03 +00:00
mycroft
27bcc551c6
Do `install-info --remove' after installing the info file.
2000-06-10 04:56:59 +00:00
mycroft
2eaf9707e2
Rearrange slightly to get rid of unneeded conditionals (and make this
...
*slightly* less painful to trace through, though not much).
2000-06-08 03:51:56 +00:00
mycroft
dfad196789
Rework to not use the `files' crap. It requires far too much klugery to
...
actually get the semantics right. As a bonus, the info directory is not
reordered when using UPDATE any more, if files are not actually reinstalled.
2000-06-08 03:30:58 +00:00
mycroft
78e7ae14b9
The previous commit was *definitely* wrong. It indicates an out of date
...
make(1).
2000-06-08 03:05:17 +00:00
matt
84ad7d0a8d
More lossage. You need to make the directory each catalog will go into.
2000-06-07 17:28:52 +00:00
matt
ce4415cde0
Don't know if this is a side effect of the recent makes changes but
...
set FILESDIR_${F} for info files.
2000-06-07 16:29:11 +00:00
mycroft
b124cdf163
Abuse .USE some more.
2000-06-06 09:53:29 +00:00
mycroft
befa5650d3
Minor rearrangement.
2000-06-06 09:22:00 +00:00
mycroft
9994843c59
Fix some breakage with directory that have no subdirectories.
2000-06-06 08:54:06 +00:00
mycroft
602ebf1e8d
Oops; fix a subtle bit of semantics that was broken in the previous.
2000-06-06 06:49:39 +00:00
mycroft
34e1bda46a
Use ODE make(1) features to eliminate extra variables and move several things
...
outside of .for loops. (Needs more work to completely eliminate .for.)
XXX Don't look at this stuff. It will make your head hurt.
2000-06-06 05:40:47 +00:00
mycroft
58b1f972c2
Oops. DTRT with directory names with dashes (e.g. for crypto-*).
2000-06-06 05:39:26 +00:00
mycroft
d1460458fc
A few changes to decrease parsing time and memory usage.
2000-06-06 05:33:58 +00:00
thorpej
84543d59da
Make the fact that we disable -Wuninitialized explcicit in the Makefile,
...
rather than relying on a compiler hack to do it for us.
2000-05-09 00:15:55 +00:00
sjg
3540a44721
correct description of KERNSRCDIR and others
2000-05-07 01:20:47 +00:00
sjg
d14a51faf9
Document bsd.kernobj.mk
2000-05-07 01:19:58 +00:00
sjg
940f61650e
if make(obj) then use MAKEOBJDIRPREFIX regardless
2000-05-06 07:41:59 +00:00
matt
b5db9f5e6e
Implement my MKLINKLIB=yes fix a bit differently. Don't include ${OBJS}
...
in ${ALLOBJS} if MKLINKLIB=yes. This allows Makefiles to continue to
modify ${OBJS}.
2000-05-03 15:15:50 +00:00
matt
1fef86f176
rework slightly so that when MKLINKLIB=no only the shared objects are built.
...
(building normal objects when they are never used really sucks on slow build
machines).
2000-05-03 03:44:12 +00:00
sjg
45fb67b360
remove/change missleading comments
2000-05-03 00:10:33 +00:00
simonb
b155979066
Add HTMLDOCDIR pointing to /usr/share/doc/html.
2000-05-02 11:44:20 +00:00
sjg
44f0af2b1f
Allow optimizer/debug flags to be changed on command line without
...
breaking everything. Eg. use DBG="-O0 -g" when debugging something.
2000-05-02 03:44:36 +00:00
sjg
a434bb7045
Added bsd.kernobj.mk to centralize the magic for the location
...
of kernel configs and compiles. Relies on BSDSRCDIR being set
which is now handled by src/Makefile.inc if need be.
2000-05-02 03:43:15 +00:00
dmcmahill
7d8f383dc6
Change -fpic to -fPIC. Change was approved by mycroft.
2000-04-29 17:41:11 +00:00
tron
8427714121
Add "dependall" target.
2000-04-28 10:47:34 +00:00
simonb
1177aeba7c
White space bogons (double spaces, spaces instead of tabs).
2000-04-24 14:22:05 +00:00
simonb
db352c9bba
Change SYMLINKS so that the link isn't recreated if it already points
...
to the right place (much the same as bsd.obj.mk already does).
2000-04-23 07:58:17 +00:00
mrg
72cbcc0079
fix an error in the previous
2000-04-16 08:37:27 +00:00
mrg
114bdbd5eb
use -rpath-link rather than -R when linking objects using a DESTDIR.
...
this replaces the previous change as that ended up adding
$DESTDIR/usr/lib to the runtime path of every binary created, which
is bogus and dangerous.
2000-04-14 03:36:13 +00:00
mrg
1ae7478b2a
fix long standing bug in `make build' with $DESTDIR:
...
- during `make build' after /usr/share/mk has been installed, call
make with `-m $DESTDIR/usr/share/mk'.
2000-04-10 14:47:22 +00:00
mycroft
1f813e767e
When linking with $DESTDIR, use an explicit -R to get library dependencies
...
correct.
2000-03-25 23:15:13 +00:00
aidan
64f6f24aa6
Allow absolute directories in SUBDIR. There's probably a better fix that
...
can go in 'make'.
2000-03-11 14:51:40 +00:00
veego
70b32a2849
Remove unused libahdi.
...
It will be replaced in the future with a more generic libdisklabel.
2000-03-07 20:54:57 +00:00
mycroft
dc75306e58
Make sure the `rm' and `ln' for a link are in the same shell command.
...
(The reason for this is obscure...)
2000-02-26 19:02:40 +00:00
wiz
9b73fe4714
removed 'UVM?= YES'
2000-02-20 06:50:54 +00:00
erh
a2802fd5fa
Add NOPATH to prevent files in the serach path from interfering with what we're building.
2000-02-19 23:57:12 +00:00
erh
0d07e9caed
Add NOPATH to keep *.cat files in the search path from interfering with the build.
2000-02-19 23:02:17 +00:00
erh
ad351344c0
Add NOPATH to prevent .cat* files in the search path from interfering.
2000-02-19 22:54:08 +00:00
erh
6092e1aa2a
Add NOPATH for all output files to prevent their presence in the search path from causing problems.
2000-02-19 05:36:23 +00:00
tsutsui
7c3ebc156a
pica no longer exists, and arc has already switched to UVM.
...
XXX We still need "UVM?= yes" ?
2000-02-19 02:10:31 +00:00
itohy
62efa4eac6
s/MAKOBJDIR/MAKEOBJDIR/
...
Pointed out by Katsuomi Hamajima.
2000-02-18 06:09:11 +00:00
drochner
72db33dc5a
fix link creation:
...
-put "echo"s for the daughter Makefile into a subshell to get them all
into the Makefile (instead of stdout - should fix PR misc/9336 by
Bernd Ernesti)
-change operator for "realall" back to ":" - rules are supposed to
accumulate, and "::" clashes with the definition in <bsd.own.mk>
-call sub-make with the "all" target to make sure we don't get just
the first rule
2000-02-10 18:18:01 +00:00
sjg
5c4b588d66
Fixed handling of MAKEOBJDIR so that it matches make(1)'s expectations.
...
Added handling of MAKEOBJDIRPREFIX.
In both cases we simply need to mkdir the appropriate path if it does not
exists.
2000-02-08 12:38:16 +00:00
jdc
2133a0f528
Add libahdi entries.
2000-02-05 20:54:12 +00:00
tsutsui
c539ff5d84
STRIPPROG -> STRIP
2000-02-01 06:00:35 +00:00
mycroft
6235a29e6b
Fix a bogon that caused some symlinks to not be installed.
2000-01-24 06:54:27 +00:00
eeh
5d315f245c
Add some support for FCode binaries.
2000-01-23 19:38:53 +00:00
mycroft
43244e5049
Do the NEED_OWN_INSTALL_TARGET klugery for depend and all, too, so this works
...
with pkgsrc.
2000-01-22 19:53:53 +00:00
mycroft
fe5f9c4b53
Adjust symlink crap for all/realall changes.
2000-01-22 19:45:41 +00:00
mycroft
3e13200b73
Make `dependall' play nicely with SUBDIR, using a hack similar to `realinstall'
...
for both `depend' and `all'.
Also, remove the old hack that invokes an extra shell for .depend, now that
make(1) has been fixed.
2000-01-22 19:31:00 +00:00
jlam
f4b2073531
bsd.prog.mk doesn't define/use STRIP anymore -- it's now STRIPFLAG
2000-01-17 21:21:55 +00:00
abs
a4cc9c62f3
remove duplicate += of OBJS, introduced in 1.158 - fixes PR #8487
2000-01-17 18:37:23 +00:00
assar
39e002e7ea
all: depend on ${SCRIPTS} so that they get generated if they need to
2000-01-16 03:34:27 +00:00
sommerfeld
7a458244ef
improve text describing BSDSRCDIR/BSDOBJDIR
2000-01-08 01:41:13 +00:00
drochner
84ed277b8d
correct confusing example, closes PR misc/9135 by Andreas Gustafsson
2000-01-06 19:09:35 +00:00
sommerfeld
26d13bd6c3
When building obj symlinks, if there's already a link pointing at the right target,
...
do nothing rather than deleting and recreating an identical link.
1999-12-04 02:44:07 +00:00
sommerfeld
3e76523ff8
Attempt to document what bsd.obj.mk does.
1999-12-01 03:33:52 +00:00
sommerfeld
1b914a5db2
Add MKOBJDIRS make variable to bsd.own.mk, defaulting to "no" but
...
overrideable in mk.conf
Document in bsd.README; this is distinct from "MKOBJ", which controls
whether "make obj" does anything.
In the top-level makefile, if MKOBJDIRS != "no", do a "make obj" at an
appropriate point during a "make build".
1999-11-30 16:16:41 +00:00
simonb
3047c747cf
Add a MKPICLIB variable. If set to "no", don't build an _pic.a library
...
and build shared objects from the .a library. A symlink is installed
in /usr/lib so that the name "libfoo_pic.a" still exists for third party
software that explicitly wants an _pic.a library.
1999-11-28 04:50:41 +00:00
blymn
38bd927ca8
Added libmenu library.
1999-11-23 13:22:37 +00:00
tron
e6896dc7c0
Add missing "\" in two line shell command.
1999-11-16 13:15:09 +00:00
minoura
094fe1d972
Pass -traditional-cpp to mkdep for assembler files,
...
as in the actual compilation (${COMPILE.S} rule in sys.mk).
1999-11-16 08:18:34 +00:00
matt
999a010a4b
VAX should use -O2. (why don't all ports?)
1999-11-15 06:14:23 +00:00
jdolecek
3ab0a83b70
merge build rules for files ending .cc and .C
...
add support for C++ source files ending .cpp and .cxx
1999-11-13 14:53:09 +00:00
jdolecek
13c9f44ec9
don't depend on ${PROG} for ``unload'' target - we don't need the lkm compiled
...
to do the unload
1999-11-02 22:42:51 +00:00
msaitoh
e49b15da29
add GNU_ARCH.sh3=sh
1999-10-06 18:24:00 +00:00