OpenBSD CVS

CVS log for src/share/mk/bsd.lib.mk


[BACK] Up to [local] / src / share / mk

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.102 / (download) - annotate - [select for diffs], Sun Jan 9 16:39:06 2022 UTC (2 years, 4 months ago) by robert
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, HEAD
Changes since 1.101: +1 -7 lines
Diff to previous 1.101 (colored)

do not call ranlib -t anymore because it does nothing except wasting time;

ok jca@, millert@

Revision 1.101 / (download) - annotate - [select for diffs], Tue May 26 17:44:23 2020 UTC (3 years, 11 months ago) by tb
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8
Changes since 1.100: +4 -4 lines
Diff to previous 1.100 (colored)

The EXCLUDE_REGEX needs some tweaking for 6.6 and 6.7 syspatch builds.

ok robert

Revision 1.100 / (download) - annotate - [select for diffs], Tue Apr 2 12:55:05 2019 UTC (5 years, 1 month ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5
Changes since 1.99: +3 -1 lines
Diff to previous 1.99 (colored)

new variable NOLIBSTATIC= prevents installation of a static library,
in cases where you don't want it installed, or it isn't built.
ok jsg

Revision 1.99 / (download) - annotate - [select for diffs], Tue Apr 2 11:30:07 2019 UTC (5 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.98: +1 -3 lines
Diff to previous 1.98 (colored)

Remove commented-out historical ranlib operation, which would be
duplicate work.

Revision 1.98 / (download) - annotate - [select for diffs], Sun Feb 24 12:57:14 2019 UTC (5 years, 2 months ago) by kn
Branch: MAIN
Changes since 1.97: +5 -5 lines
Diff to previous 1.97 (colored)

Remove -S from install commands

As of usr.bin/xinstall/install.c revision 1.68, -S is a no-op and
install(1) will always create files safely, thus clean the option usage
from the tree.

Diff from Lauri Tirkkonen <lotheac at iki dot fi>, thanks.

Revision 1.97 / (download) - annotate - [select for diffs], Wed Feb 20 08:51:09 2019 UTC (5 years, 2 months ago) by robert
Branch: MAIN
Changes since 1.96: +9 -2 lines
Diff to previous 1.96 (colored)

when building syspatches with lld exclude more non-existent object files

ok ajacoutot@, tb@

Revision 1.96 / (download) - annotate - [select for diffs], Mon Feb 11 17:53:00 2019 UTC (5 years, 3 months ago) by deraadt
Branch: MAIN
Changes since 1.95: +5 -1 lines
Diff to previous 1.95 (colored)

During build, delete all old library relink files to save disk space.
It is not typical for "make build" to do pruning of the base system, but
... not sure where else we can do this
ok kettenis

Revision 1.95 / (download) - annotate - [select for diffs], Sun Dec 30 21:55:07 2018 UTC (5 years, 4 months ago) by guenther
Branch: MAIN
Changes since 1.94: +3 -3 lines
Diff to previous 1.94 (colored)

Define SOLIB when assembling for a shared-object library

ok tedu@

Revision 1.94 / (download) - annotate - [select for diffs], Thu Oct 18 14:25:14 2018 UTC (5 years, 6 months ago) by naddy
Branch: MAIN
Changes since 1.93: +1 -3 lines
Diff to previous 1.93 (colored)

Ensure that the install media are built with a consistent set of
compiler flags.  Pass DIST_CFLAGS from the crunchgen-generated .mk
file.

Compile the install media with -fno-unwind-tables to avoid emitting
.eh_frame sections.  This saves substantial space on amd64.

with/ok kettenis@

Revision 1.93 / (download) - annotate - [select for diffs], Wed Jun 6 00:14:29 2018 UTC (5 years, 11 months ago) by mortimer
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE, OPENBSD_6_4
Changes since 1.92: +2 -2 lines
Diff to previous 1.92 (colored)

Add RETGUARD to clang for amd64. This security mechanism uses per-function
random cookies to protect access to function return instructions, with the
effect that the integrity of the return address is protected, and function
return instructions are harder to use in ROP gadgets.

On function entry the return address is combined with a per-function random
cookie and stored in the stack frame. The integrity of this value is verified
before function return, and if this check fails, the program aborts. In this way
RETGUARD is an improved stack protector, since the cookies are per-function. The
verification routine is constructed such that the binary space immediately
before each ret instruction is padded with int03 instructions, which makes these
return instructions difficult to use in ROP gadgets. In the kernel, this has the
effect of removing approximately 50% of total ROP gadgets, and 15% of unique
ROP gadgets compared to the 6.3 release kernel. Function epilogues are
essentially gadget free, leaving only the polymorphic gadgets that result from
jumping into the instruction stream partway through other instructions. Work to
remove these gadgets will continue through other mechanisms.

Remaining work includes adding this mechanism to assembly routines, which must
be done by hand. Many thanks to all those who helped test and provide feedback,
especially deaadt, tb, espie and naddy.

ok deraadt@

Revision 1.92 / (download) - annotate - [select for diffs], Tue Nov 14 10:02:56 2017 UTC (6 years, 6 months ago) by kettenis
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE, OPENBSD_6_3
Changes since 1.91: +4 -4 lines
Diff to previous 1.91 (colored)

Set soname when building shared libraries.

ok guenther@

Revision 1.91 / (download) - annotate - [select for diffs], Sun Nov 5 10:29:24 2017 UTC (6 years, 6 months ago) by rpe
Branch: MAIN
Changes since 1.90: +4 -2 lines
Diff to previous 1.90 (colored)

Consolidate lib.so.*.a, ld.so.a and the kernel relink kit into
one location under /usr/share/relink.

Be more specific in src/etc/rc reorder_libs() what filesystems
need r/w remount and ensure that their mount state is restored.

Idea and positive feedback from deraadt@
OK aja@ tb@

Revision 1.90 / (download) - annotate - [select for diffs], Wed Aug 9 06:15:29 2017 UTC (6 years, 9 months ago) by robert
Branch: MAIN
CVS Tags: OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.89: +3 -3 lines
Diff to previous 1.89 (colored)

switch the order of substitutions for syspatch object file order to avoid
deleting ../ in the path

Revision 1.89 / (download) - annotate - [select for diffs], Tue Jul 25 13:32:14 2017 UTC (6 years, 9 months ago) by robert
Branch: MAIN
Changes since 1.88: +2 -2 lines
Diff to previous 1.88 (colored)

change -Os to -Oz all around the tree

clang optimizes better for size with -Oz so use that as a default to avoid
overflowing the ramdisk floppies. gcc now accepts -Oz as an alias for -Os.

ok kettenis@

Revision 1.88 / (download) - annotate - [select for diffs], Tue Jul 11 18:16:48 2017 UTC (6 years, 10 months ago) by robert
Branch: MAIN
Changes since 1.87: +4 -3 lines
Diff to previous 1.87 (colored)

use the previous syspatch's fake root for getting the link order
instead of using / where the libraries are re-ordered on reboot

ok aja@

Revision 1.87 / (download) - annotate - [select for diffs], Tue Jul 4 00:59:11 2017 UTC (6 years, 10 months ago) by espie
Branch: MAIN
Changes since 1.86: +7 -2 lines
Diff to previous 1.86 (colored)

let BUILDFIRST just build first, using the same trick guenther@ did in
kernel Makefiles (thank you!), also add lex and yacc generated files to
that list.

Let those lex/yacc variables be defined for bsd.lib.mk as well.

Complete the SRCS -> OBJS hints with the library dependency

This should fix most dependency problems.

Commit now, so that people can check if something else is still amiss.
krw@ agrees

Revision 1.86 / (download) - annotate - [select for diffs], Sun Jul 2 17:55:14 2017 UTC (6 years, 10 months ago) by espie
Branch: MAIN
Changes since 1.85: +2 -2 lines
Diff to previous 1.85 (colored)

somehow, I did NOT commit the patch I sent to tb@. Matthieu noticed it.
commit the right DEPS definition.

Revision 1.85 / (download) - annotate - [select for diffs], Sat Jul 1 14:41:54 2017 UTC (6 years, 10 months ago) by espie
Branch: MAIN
Changes since 1.84: +36 -22 lines
Diff to previous 1.84 (colored)

effectively kill depend as an independant target (there are a few corners
where a separate depend step is still needed, mostly gcc3 and mesa).

Use of BUILDFIRST is mostly enough to make sure important stuff is built
first.

Otherwise, this makes use of -M* compiler options to generate dependencies
on the fly.  There is a bit of behind-the-scene for targets with several
steps (like yacc and/or libraries) and the compiler needs extra hand-holding
with assembler files (don't know why, don't care).

Idea based on guenther@'s initial kernel work, loads of input from
drahn, aoyama, tb, etc.

okay tb@

"why wait" deraadt@

Revision 1.84 / (download) - annotate - [select for diffs], Fri Jun 16 10:20:52 2017 UTC (6 years, 11 months ago) by espie
Branch: MAIN
Changes since 1.83: +7 -1 lines
Diff to previous 1.83 (colored)

introduce a BUILDFIRST/BUILDAFTER mechanism:
record every standard component built in bsd.lib.mk/bsd.prog.mk in BUILDAFTER
and have BUILDAFTER depend on BUILDFIRST, thus making possible to build
some stuff early without relying on "make depend"

okay tb@ millert@

Revision 1.83 / (download) - annotate - [select for diffs], Wed Jun 7 16:01:07 2017 UTC (6 years, 11 months ago) by robert
Branch: MAIN
Changes since 1.82: +2 -2 lines
Diff to previous 1.82 (colored)

make sure there are no duplicate object files linked when building syspatches

Revision 1.82 / (download) - annotate - [select for diffs], Mon Jun 5 09:51:27 2017 UTC (6 years, 11 months ago) by robert
Branch: MAIN
Changes since 1.81: +2 -2 lines
Diff to previous 1.81 (colored)

exclude more objects from the readelf output when building syspatches (needed on i386)

Revision 1.81 / (download) - annotate - [select for diffs], Thu Apr 27 17:41:47 2017 UTC (7 years ago) by robert
Branch: MAIN
Changes since 1.80: +7 -1 lines
Diff to previous 1.80 (colored)

syspatch needs to create shared libs with the same object sequence instead
of randomizing the order so let's read the libs on the system and link the
same way in case a syspatch is being built

Revision 1.80 / (download) - annotate - [select for diffs], Sun Mar 26 18:50:37 2017 UTC (7 years, 1 month ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.79: +6 -6 lines
Diff to previous 1.79 (colored)

The support in 'ar' for 'D'eterministic builds has been in for weeks,
so start using it to make archives (mostly) detereministic for syspatch

ok millert@ deraadt@ kettenis@

Revision 1.79 / (download) - annotate - [select for diffs], Tue Nov 8 19:04:49 2016 UTC (7 years, 6 months ago) by natano
Branch: MAIN
Changes since 1.78: +2 -8 lines
Diff to previous 1.78 (colored)

Use sed -i to post-process .depend. This avoids permission issues caused
by the file being created in /tmp.

tweaks and ok tb

Revision 1.78 / (download) - annotate - [select for diffs], Sat Oct 15 13:00:07 2016 UTC (7 years, 7 months ago) by espie
Branch: MAIN
Changes since 1.77: +8 -9 lines
Diff to previous 1.77 (colored)

unify tmp depend generation.
- simpler uniform pattern
- put the tmpfile in OBJDIR, so that mv doesn't whine about groups
when using a separate builduser.

okay millert@

Revision 1.77 / (download) - annotate - [select for diffs], Mon Jul 4 18:01:44 2016 UTC (7 years, 10 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.76: +3 -46 lines
Diff to previous 1.76 (colored)

DEBUGLIBS has been broken since the gcc4 switch, so delete it.  CFLAGS
contains -g by default anyway

problem noted by Edgar Pettijohn (edgar (at) pettijohn-web.com)
ok millert@ kettenis@ deraadt@

Revision 1.76 / (download) - annotate - [select for diffs], Sun May 15 03:44:32 2016 UTC (8 years ago) by guenther
Branch: MAIN
Changes since 1.75: +2 -2 lines
Diff to previous 1.75 (colored)

make 'make clean' clean up the .ldadd file, in case LIBREBUILD was set

ok deraadt@

Revision 1.75 / (download) - annotate - [select for diffs], Tue Apr 26 14:49:15 2016 UTC (8 years ago) by deraadt
Branch: MAIN
Changes since 1.74: +21 -2 lines
Diff to previous 1.74 (colored)

provide support for a library setting LIBREBUILD, in which case a ar(1)
file is created of all the subsidiary .so files

Revision 1.74 / (download) - annotate - [select for diffs], Mon Oct 26 10:43:42 2015 UTC (8 years, 6 months ago) by bluhm
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.73: +1 -5 lines
Diff to previous 1.73 (colored)

Nothing in base uses native language support anymore.  Remove NLS
support from the makefiles.
OK naddy@

Revision 1.73 / (download) - annotate - [select for diffs], Sun Jul 19 20:45:30 2015 UTC (8 years, 10 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.72: +12 -7 lines
Diff to previous 1.72 (colored)

Add infrastructure for specifying a "version script" for the shared library
being built.

ok kettenis@ zhuk@ millert@

Revision 1.72 / (download) - annotate - [select for diffs], Thu May 14 02:56:01 2015 UTC (9 years ago) by jsg
Branch: MAIN
Changes since 1.71: +2 -1 lines
Diff to previous 1.71 (colored)

Stop including CFLAGS in CXXFLAGS it creates problems when mixing
C and C++ when wanting to pass flags to only the C compiler.

Tested in a ports bulk build by naddy and the handful of problems
found were fixed by naddy, jca and pascal.

Revision 1.71 / (download) - annotate - [select for diffs], Tue Oct 15 22:40:00 2013 UTC (10 years, 7 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.70: +2 -2 lines
Diff to previous 1.70 (colored)

We do not produce "core" files, so they do not need to be deleted.  they
have been *.core files for a very long time.  That's a lot of unlink()
calls saved.

Revision 1.70 / (download) - annotate - [select for diffs], Sun Oct 13 23:30:12 2013 UTC (10 years, 7 months ago) by guenther
Branch: MAIN
Changes since 1.69: +42 -3 lines
Diff to previous 1.69 (colored)

Make it possible to build to reduced version of a library, including
just specific objects that are compiled with additional options to
reduce their size.  For use by distrib/ and crunchgen.

style and naming assistance from espie@

Revision 1.69 / (download) - annotate - [select for diffs], Mon Mar 18 10:51:35 2013 UTC (11 years, 2 months ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.68: +6 -6 lines
Diff to previous 1.68 (colored)

Recognize and treat files with .cpp extension like any other C++ file.
This will help me reduce some xenocara Makefiles and as millert@ pointed
out, .cpp has won over .C or .cxx ;)

Tested in a bulk by landry@, ok espie@, sthen@

Revision 1.68 / (download) - annotate - [select for diffs], Sun Sep 16 20:41:16 2012 UTC (11 years, 8 months ago) by kettenis
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3
Changes since 1.67: +6 -1 lines
Diff to previous 1.67 (colored)

Add support for building non-PIE libraries.

ok deraadt@

Revision 1.67 / (download) - annotate - [select for diffs], Fri Aug 31 20:13:09 2012 UTC (11 years, 8 months ago) by kettenis
Branch: MAIN
Changes since 1.66: +1 -3 lines
Diff to previous 1.66 (colored)

Don't treat zaurus special; everybody gets libraries with debug info now.
We just savd a bunch of space anyway by no longer creating _pic.a libraries.

ok deraadt@

Revision 1.66 / (download) - annotate - [select for diffs], Fri Aug 31 00:11:26 2012 UTC (11 years, 8 months ago) by deraadt
Branch: MAIN
Changes since 1.65: +2 -20 lines
Diff to previous 1.65 (colored)

No longer create lib*_pic.a files.  Nothing uses them anymore.
grep help from sthen; discussion with brad
ok guenther pascal

Revision 1.65 / (download) - annotate - [select for diffs], Wed Aug 22 17:19:34 2012 UTC (11 years, 8 months ago) by pascal
Branch: MAIN
Changes since 1.64: +13 -17 lines
Diff to previous 1.64 (colored)

Convert cpp | as rules in bsd.lib.mk and lib/libc/sys/Makefile.inc to pure cc
invocations.  This allows us to use the compiler builtin define __PIC__ to check
for PIC/PIEness rather than passing -DPIC.  Simplifies PIE work a lot.

ok matthew@, conceptually ok kurt@

Revision 1.64 / (download) - annotate - [select for diffs], Sun Jul 8 08:44:55 2012 UTC (11 years, 10 months ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE, OPENBSD_5_2
Changes since 1.63: +5 -5 lines
Diff to previous 1.63 (colored)

remove unneeded and error-prone  ::  rules

okay guenther@

Revision 1.63 / (download) - annotate - [select for diffs], Wed Jul 4 09:01:56 2012 UTC (11 years, 10 months ago) by espie
Branch: MAIN
Changes since 1.62: +1 -6 lines
Diff to previous 1.62 (colored)

remove old arm bootstrap scaffold.
checked this was no longer necessary by miod@
ok miod@, deraadt@

Revision 1.62 / (download) - annotate - [select for diffs], Sun Apr 8 15:56:28 2012 UTC (12 years, 1 month ago) by jsg
Branch: MAIN
Changes since 1.61: +3 -22 lines
Diff to previous 1.61 (colored)

unhook lint from the tree.  The parser is incomplete and difficult
to fix and there are several alternatives that don't tell quite so many
dangerous lies.

enthusiastic agreement from a bunch of people

Revision 1.61 / (download) - annotate - [select for diffs], Sat Jul 16 23:34:21 2011 UTC (12 years, 10 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.60: +2 -2 lines
Diff to previous 1.60 (colored)

The /g flag is unneeded when the pattern in ${var:S/pattern/sub/g} can
only match once per word, such as when it's anchored with '$'

ok espie@

Revision 1.60 / (download) - annotate - [select for diffs], Fri Jul 30 19:23:38 2010 UTC (13 years, 9 months ago) by ckuethe
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8
Changes since 1.59: +6 -6 lines
Diff to previous 1.59 (colored)

Add "-S" to library installs to avoid breakage when one
"make -j8 build" job is installing libc and another job
is expecting to use libc (for example). ok phessler

Revision 1.59 / (download) - annotate - [select for diffs], Wed Feb 3 20:49:01 2010 UTC (14 years, 3 months ago) by miod
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.58: +3 -3 lines
Diff to previous 1.58 (colored)

Use MACHINE_CPU instead of MACHINE_ARCH to pick the correct machine dependent
files or directories when applicable.
The inspiration and name of MACHINE_CPU come from NetBSD, although the way to
provide it to Makefiles is completely different.
ok kettenis@

Revision 1.58 / (download) - annotate - [select for diffs], Thu Feb 5 19:15:21 2009 UTC (15 years, 3 months ago) by miod
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.57: +2 -2 lines
Diff to previous 1.57 (colored)

Revert 1.54 and build debug libs on hp300 too.

Revision 1.57 / (download) - annotate - [select for diffs], Thu Jan 4 11:51:26 2007 UTC (17 years, 4 months ago) by otto
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.56: +2 -2 lines
Diff to previous 1.56 (colored)

actually echo what's being executed; ok espie@

Revision 1.56 / (download) - annotate - [select for diffs], Mon Jun 26 03:12:37 2006 UTC (17 years, 10 months ago) by brad
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.55: +2 -2 lines
Diff to previous 1.55 (colored)

remove extraneous brackets and list the architecures in alphabetic order.

no objection from miod@ and krw@

Revision 1.55 / (download) - annotate - [select for diffs], Fri Feb 3 19:24:52 2006 UTC (18 years, 3 months ago) by bernd
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.54: +4 -4 lines
Diff to previous 1.54 (colored)

Consistency fix. Use ${} instead of $() for variables.

ok millert@

Revision 1.54 / (download) - annotate - [select for diffs], Wed Jan 11 23:53:32 2006 UTC (18 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.53: +2 -2 lines
Diff to previous 1.53 (colored)

skip -g libs on hp300 too, it is too heavy

Revision 1.53 / (download) - annotate - [select for diffs], Fri Dec 30 16:40:08 2005 UTC (18 years, 4 months ago) by grange
Branch: MAIN
Changes since 1.52: +3 -3 lines
Diff to previous 1.52 (colored)

Allow to disable lint by setting WANTLIB=no

ok deraadt@ espie@

Revision 1.52 / (download) - annotate - [select for diffs], Thu Dec 29 14:44:05 2005 UTC (18 years, 4 months ago) by espie
Branch: MAIN
Changes since 1.51: +6 -1 lines
Diff to previous 1.51 (colored)

allows a shared library version to be set using LIBname_VERSION=major.minor
This overrides the major/minor contents of an shlib_version.

Useful for overriding version numbers in ports.

after discussion with bernd@, millert@, deraadt@

Revision 1.51 / (download) - annotate - [select for diffs], Fri Dec 16 19:45:19 2005 UTC (18 years, 5 months ago) by kettenis
Branch: MAIN
Changes since 1.50: +2 -2 lines
Diff to previous 1.50 (colored)

Fix typo.  Spotted by hannah at schlund dot de.

Revision 1.50 / (download) - annotate - [select for diffs], Fri Dec 16 02:29:49 2005 UTC (18 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.49: +3 -1 lines
Diff to previous 1.49 (colored)

zaurus cannot fit -g on standard drive, total bummer

Revision 1.49 / (download) - annotate - [select for diffs], Thu Dec 8 19:56:56 2005 UTC (18 years, 5 months ago) by kettenis
Branch: MAIN
Changes since 1.48: +27 -32 lines
Diff to previous 1.48 (colored)

Compile all libraries with -g; -g1 has some issues and isn't widely used;
-g is much more useful anyway.
welcomed by many, ok deraadt@

Revision 1.48 / (download) - annotate - [select for diffs], Thu Dec 1 22:08:43 2005 UTC (18 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.47: +1 -2 lines
Diff to previous 1.47 (colored)

remove some crud

Revision 1.47 / (download) - annotate - [select for diffs], Thu Dec 1 22:07:26 2005 UTC (18 years, 5 months ago) by kettenis
Branch: MAIN
Changes since 1.46: +26 -19 lines
Diff to previous 1.46 (colored)

Build lib.a, lib_p.a and lib.so.x.y with -g1.
This should give us meaningful backtraces through system libraries.
ok deraadt@

Revision 1.46 / (download) - annotate - [select for diffs], Wed Nov 30 13:04:55 2005 UTC (18 years, 5 months ago) by steven
Branch: MAIN
Changes since 1.45: +26 -1 lines
Diff to previous 1.45 (colored)

support for Fortran 77 libraries

"go ahead" espie@, "looks reasonable" kettenis@

Revision 1.45 / (download) - annotate - [select for diffs], Wed Nov 23 18:34:33 2005 UTC (18 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored)

change NOLINT into opposite sense; WANTLINT, since it lets us built
lint libraries for those libraries which want them (and can have them)
ok millert

Revision 1.44 / (download) - annotate - [select for diffs], Mon Sep 12 17:10:40 2005 UTC (18 years, 8 months ago) by espie
Branch: MAIN
Changes since 1.43: +2 -2 lines
Diff to previous 1.43 (colored)

give a full pathname to the installed library, so we don't get a WTF? error
if the directory does not yet exist.

okay millert@

Revision 1.43 / (download) - annotate - [select for diffs], Mon Sep 20 18:52:38 2004 UTC (19 years, 8 months ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.42: +2 -2 lines
Diff to previous 1.42 (colored)

pass CPPFLAGS to CLINT. ok deraadt@, millert@

Revision 1.42 / (download) - annotate - [select for diffs], Wed Aug 11 09:43:12 2004 UTC (19 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.41: +3 -3 lines
Diff to previous 1.41 (colored)

mips -> mips64; pefo ok

Revision 1.41 / (download) - annotate - [select for diffs], Thu Jul 8 02:35:51 2004 UTC (19 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (colored)

for the arm workaround, include CPPFLAGS; ok drahn

Revision 1.40 / (download) - annotate - [select for diffs], Thu Jul 8 01:29:23 2004 UTC (19 years, 10 months ago) by pvalchev
Branch: MAIN
Changes since 1.39: +1 -12 lines
Diff to previous 1.39 (colored)

again: move PICFLAG into bsd.own.mk with the rest of the shlib handling,
and thus simplify logic.  now including bsd.own.mk will override
any current setting in PICFLAG, which is desired.  ok deraadt drahn

Revision 1.39 / (download) - annotate - [select for diffs], Thu Jun 24 04:35:13 2004 UTC (19 years, 10 months ago) by pvalchev
Branch: MAIN
Changes since 1.38: +11 -0 lines
Diff to previous 1.38 (colored)

undo tree breakage, sorry

Revision 1.38 / (download) - annotate - [select for diffs], Tue Jun 22 19:50:01 2004 UTC (19 years, 10 months ago) by pvalchev
Branch: MAIN
Changes since 1.37: +1 -12 lines
Diff to previous 1.37 (colored)

move PICFLAG into bsd.own.mk where the rest of the lib stuff is
(don't ask why) and simplify logic; needed soon

Revision 1.37 / (download) - annotate - [select for diffs], Sun Feb 1 06:02:13 2004 UTC (20 years, 3 months ago) by drahn
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.36: +6 -1 lines
Diff to previous 1.36 (colored)

arm support. ok espie@

Revision 1.36 / (download) - annotate - [select for diffs], Tue Sep 25 14:33:44 2001 UTC (22 years, 7 months ago) by drahn
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4, OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2, OPENBSD_3_1_BASE, OPENBSD_3_1, OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.35: +3 -3 lines
Diff to previous 1.35 (colored)

change another -k to ${ASPICFLAGS} missed in the previous commit.
ok jason@ art@.

Revision 1.35 / (download) - annotate - [select for diffs], Sun Jul 22 13:37:29 2001 UTC (22 years, 10 months ago) by espie
Branch: MAIN
Changes since 1.34: +9 -9 lines
Diff to previous 1.34 (colored)

belt-and-suspenders: define SHLIB_* from major/minor, then use
SHLIB_* exclusively.

Revision 1.34 / (download) - annotate - [select for diffs], Sat Jul 21 16:04:03 2001 UTC (22 years, 10 months ago) by espie
Branch: MAIN
Changes since 1.33: +3 -1 lines
Diff to previous 1.33 (colored)

Define SHLIB_MAJOR and SHLIB_MINOR from major/minor, so that perl library
does install.

Revision 1.33 / (download) - annotate - [select for diffs], Fri Jul 20 23:02:21 2001 UTC (22 years, 10 months ago) by espie
Branch: MAIN
Changes since 1.32: +16 -30 lines
Diff to previous 1.32 (colored)

One BINDIR too many, I don't know how I pulled that one.

Revision 1.32 / (download) - annotate - [select for diffs], Fri Jul 20 19:48:26 2001 UTC (22 years, 10 months ago) by mickey
Branch: MAIN
Changes since 1.31: +29 -15 lines
Diff to previous 1.31 (colored)

undo broken changes, i dunno a fix for these; how many times you gonna repeat the same mistake espie@ and millert@ ?

Revision 1.31 / (download) - annotate - [select for diffs], Thu Jul 19 23:16:17 2001 UTC (22 years, 10 months ago) by espie
Branch: MAIN
Changes since 1.30: +16 -30 lines
Diff to previous 1.30 (colored)

Minor speed-up tweaks.
- use .for a b in   new syntax for make  to handle links.
- kill mips
- .include shlib_version, since its contents is happy as a Makefile
fragment (avoids 10 shell escapes per lib directory, roughly)

okay millert@

Revision 1.30 / (download) - annotate - [select for diffs], Wed Jul 18 13:23:03 2001 UTC (22 years, 10 months ago) by espie
Branch: MAIN
Changes since 1.29: +6 -1 lines
Diff to previous 1.29 (colored)

CDIAGFLAGS, added to CFLAGS if WARNINGS=Yes
Symetrize C++ situation: add CXXOPTS, CXXDIAGFLAGS.

Revision 1.29 / (download) - annotate - [select for diffs], Sat May 5 17:44:49 2001 UTC (23 years ago) by espie
Branch: MAIN
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored)

Synch with bsd.prog.mk.
The only client won't see the difference.

Revision 1.28 / (download) - annotate - [select for diffs], Tue Apr 3 23:00:09 2001 UTC (23 years, 1 month ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.27: +1 -4 lines
Diff to previous 1.27 (colored)

Minor clean-ups:
- document some more things (MANPS, make oddities)
- put all PHONY targets in bsd.own.mk, since it's included by everything
that uses it.
- remove them from bsd.lib.mk, since it includes bsd.own.mk.
- ... except for load/unload, which are only in bsd.lkm.mk.
- fix spell target, so that it actually depends on the generated file.

okay niklas@

Revision 1.27 / (download) - annotate - [select for diffs], Wed Oct 18 11:35:50 2000 UTC (23 years, 7 months ago) by brad
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE, OPENBSD_2_8
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored)

hardcoded "gcc" -> ${CC}; ok espie@

Revision 1.26 / (download) - annotate - [select for diffs], Mon Oct 9 15:50:31 2000 UTC (23 years, 7 months ago) by espie
Branch: MAIN
Changes since 1.25: +12 -14 lines
Diff to previous 1.25 (colored)

Use gcc -shared -fpic to build shared libraries on all arches.
This repairs objective C.

Revision 1.25 / (download) - annotate - [select for diffs], Tue Oct 3 23:17:07 2000 UTC (23 years, 7 months ago) by mickey
Branch: MAIN
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored)

allow ../Makefile.inc to overwrite mk.conf settings; millert@ ok

Revision 1.24 / (download) - annotate - [select for diffs], Sun Sep 3 18:41:23 2000 UTC (23 years, 8 months ago) by espie
Branch: MAIN
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored)

Boring...  Add :L modifier to all tweakable variables tests.

Closes PR 1246

Revision 1.23 / (download) - annotate - [select for diffs], Sat Jul 15 12:45:04 2000 UTC (23 years, 10 months ago) by rahnds
Branch: MAIN
Changes since 1.22: +13 -6 lines
Diff to previous 1.22 (colored)

Build shared libraries as expected for the new libexec/ld.so. Currently
this is only used for the powerpc.
The difference between this and the mips (both ELF) is that powerpc expects
the soname field to be libX.{major}.{minor} and is to be built from
the _pic version of the library.

Revision 1.22 / (download) - annotate - [select for diffs], Tue May 16 06:15:00 2000 UTC (24 years ago) by niklas
Branch: MAIN
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored)

DEBUGLIBS=no still makes defined(DEBUGLIBS) true, ;-)

Revision 1.21 / (download) - annotate - [select for diffs], Mon May 15 06:10:21 2000 UTC (24 years ago) by niklas
Branch: MAIN
Changes since 1.20: +44 -5 lines
Diff to previous 1.20 (colored)

Add support for building libraries with debugging information in them.
Enable by setting DEBUGLIBS=yes in /etc/mk.conf, then -g libraries will get
installed in /usr/lib/debug.  This directory will be searched first if
gcc is given the -g flag during the link stage.

Revision 1.20 / (download) - annotate - [select for diffs], Wed May 26 19:10:28 1999 UTC (24 years, 11 months ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE, OPENBSD_2_7, OPENBSD_2_6_BASE, OPENBSD_2_6
Changes since 1.19: +3 -2 lines
Diff to previous 1.19 (colored)

Add .m files, necessary to compile libobjc.

Revision 1.19 / (download) - annotate - [select for diffs], Wed Jan 27 03:28:51 1999 UTC (25 years, 3 months ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_2_5_BASE, OPENBSD_2_5
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

Fix confusing typo

Revision 1.18 / (download) - annotate - [select for diffs], Thu Dec 31 23:49:45 1998 UTC (25 years, 4 months ago) by millert
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

Add ${PIPE} in sys.mk so we do no need to add all over the places; evanc@concer.to

Revision 1.17 / (download) - annotate - [select for diffs], Sat Dec 19 19:07:33 1998 UTC (25 years, 5 months ago) by millert
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

add PIPE variable, suitable for /etc/mk.conf, to enable gcc -pipe mode

Revision 1.16 / (download) - annotate - [select for diffs], Wed Nov 5 09:51:06 1997 UTC (26 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_4_BASE, OPENBSD_2_4, OPENBSD_2_3_BASE, OPENBSD_2_3
Changes since 1.15: +5 -5 lines
Diff to previous 1.15 (colored)

.cxx support from Mathieu.Herrb@mipnet.fr

Revision 1.15 / (download) - annotate - [select for diffs], Mon Sep 8 11:16:10 1997 UTC (26 years, 8 months ago) by niklas
Branch: MAIN
CVS Tags: OPENBSD_2_2_BASE, OPENBSD_2_2
Changes since 1.14: +8 -1 lines
Diff to previous 1.14 (colored)

Do not do function CSE on PIC code for m68k, gas does not handle it
correctly, making spurious "undefined symbol" errors turn up without reason
occasionally.

Revision 1.14 / (download) - annotate - [select for diffs], Thu Jun 12 15:06:34 1997 UTC (26 years, 11 months ago) by grr
Branch: MAIN
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored)

make bsd.lib.mk a bit more consistant about the lies it echo's

Revision 1.13 / (download) - annotate - [select for diffs], Sun Apr 27 21:38:28 1997 UTC (27 years ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.12: +9 -9 lines
Diff to previous 1.12 (colored)

COPY -> INSTALL_COPY and STRIP -> INSTALL_STRIP changes.
For some reason the previous commit did not grab these.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Feb 6 10:49:17 1997 UTC (27 years, 3 months ago) by niklas
Branch: MAIN
Changes since 1.11: +4 -4 lines
Diff to previous 1.11 (colored)

Add a LORDER make symbol and use it

Revision 1.11 / (download) - annotate - [select for diffs], Sun Jan 26 00:22:28 1997 UTC (27 years, 3 months ago) by deraadt
Branch: MAIN
Changes since 1.10: +8 -4 lines
Diff to previous 1.10 (colored)

use mktemp(1) to avoid /tmp race; spotted by dholland@eecs.harvard.edu

Revision 1.10 / (download) - annotate - [select for diffs], Sun Dec 8 14:42:28 1996 UTC (27 years, 5 months ago) by downsj
Branch: MAIN
Changes since 1.9: +6 -6 lines
Diff to previous 1.9 (colored)

install -> ${INSTALL}, -c -> ${COPY}

Revision 1.9 / (download) - annotate - [select for diffs], Thu Nov 14 14:21:22 1996 UTC (27 years, 6 months ago) by mickey
Branch: MAIN
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

correct LINKS usage

Revision 1.8 / (download) - annotate - [select for diffs], Mon Aug 5 16:56:55 1996 UTC (27 years, 9 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.7: +7 -1 lines
Diff to previous 1.7 (colored)

Don't do "ranlib -t" if installed with "-p" since that preserves
the timestamp so things are already in sync.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Jul 22 09:11:32 1996 UTC (27 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.6: +3 -1 lines
Diff to previous 1.6 (colored)

make COPTS work in bsd.lib.mk too

Revision 1.6 / (download) - annotate - [select for diffs], Sat May 25 09:03:43 1996 UTC (27 years, 11 months ago) by pefo
Branch: MAIN
Changes since 1.5: +13 -3 lines
Diff to previous 1.5 (colored)

Added support for Mips ELF shlib build. Snapshot status.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Mar 5 11:12:41 1996 UTC (28 years, 2 months ago) by mickey
Branch: MAIN
Changes since 1.4: +2 -1 lines
Diff to previous 1.4 (colored)

Labeling style changed ($OpenBSD$).
POSTINSTALL added to the <bsd.lkm.mk> (see bsd.README for details).

Revision 1.4 / (download) - annotate - [select for diffs], Sun Feb 25 19:02:33 1996 UTC (28 years, 2 months ago) by mickey
Branch: MAIN
Changes since 1.3: +1 -1 lines
Diff to previous 1.3 (colored)

Added <bsd.lkm.mk> file. Correspondent changes made to the bsd.README.
All the rest changed to be $OpenBSD$.
Dedicated to Suzi Quatro (she must be alive still, so best wishes to here).

Revision 1.3 / (download) - annotate - [select for diffs], Fri Feb 2 20:30:48 1996 UTC (28 years, 3 months ago) by niklas
Branch: MAIN
Changes since 1.2: +4 -4 lines
Diff to previous 1.2 (colored)

from netbsd: Use the `-q' option to tsort(1).  From der Mouse

Revision 1.2 / (download) - annotate - [select for diffs], Thu Dec 14 03:47:21 1995 UTC (28 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.1: +2 -1 lines
Diff to previous 1.1 (colored)

update from netbsd

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:44:46 1995 UTC (28 years, 7 months ago) by deraadt
CVS Tags: netbsd_1_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of NetBSD tree

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:44:46 1995 UTC (28 years, 7 months ago) by deraadt
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.