summaryrefslogtreecommitdiff
path: root/share/mk/bsd.lib.mk
AgeCommit message (Collapse)Author
2007-01-04actually echo what's being executed; ok espie@Otto Moerbeek
2006-06-26remove extraneous brackets and list the architecures in alphabetic order.Brad Smith
no objection from miod@ and krw@
2006-02-03Consistency fix. Use ${} instead of $() for variables.Bernd Ahlers
ok millert@
2006-01-11skip -g libs on hp300 too, it is too heavyTheo de Raadt
2005-12-30Allow to disable lint by setting WANTLIB=noAlexander Yurchenko
ok deraadt@ espie@
2005-12-29allows a shared library version to be set using LIBname_VERSION=major.minorMarc Espie
This overrides the major/minor contents of an shlib_version. Useful for overriding version numbers in ports. after discussion with bernd@, millert@, deraadt@
2005-12-16Fix typo. Spotted by hannah at schlund dot de.Mark Kettenis
2005-12-16zaurus cannot fit -g on standard drive, total bummerTheo de Raadt
2005-12-08Compile all libraries with -g; -g1 has some issues and isn't widely used;Mark Kettenis
-g is much more useful anyway. welcomed by many, ok deraadt@
2005-12-01remove some crudTheo de Raadt
2005-12-01Build lib.a, lib_p.a and lib.so.x.y with -g1.Mark Kettenis
This should give us meaningful backtraces through system libraries. ok deraadt@
2005-11-30support for Fortran 77 librariesSteven Mestdagh
"go ahead" espie@, "looks reasonable" kettenis@
2005-11-23change NOLINT into opposite sense; WANTLINT, since it lets us builtTheo de Raadt
lint libraries for those libraries which want them (and can have them) ok millert
2005-09-12give a full pathname to the installed library, so we don't get a WTF? errorMarc Espie
if the directory does not yet exist. okay millert@
2004-09-20pass CPPFLAGS to CLINT. ok deraadt@, millert@Marc Espie
2004-08-11mips -> mips64; pefo okTheo de Raadt
2004-07-08for the arm workaround, include CPPFLAGS; ok drahnTheo de Raadt
2004-07-08again: move PICFLAG into bsd.own.mk with the rest of the shlib handling,Peter Valchev
and thus simplify logic. now including bsd.own.mk will override any current setting in PICFLAG, which is desired. ok deraadt drahn
2004-06-24undo tree breakage, sorryPeter Valchev
2004-06-22move PICFLAG into bsd.own.mk where the rest of the lib stuff isPeter Valchev
(don't ask why) and simplify logic; needed soon
2004-02-01arm support. ok espie@Dale Rahn
2001-09-25change another -k to ${ASPICFLAGS} missed in the previous commit.Dale Rahn
ok jason@ art@.
2001-07-22belt-and-suspenders: define SHLIB_* from major/minor, then useMarc Espie
SHLIB_* exclusively.
2001-07-21Define SHLIB_MAJOR and SHLIB_MINOR from major/minor, so that perl libraryMarc Espie
does install.
2001-07-20One BINDIR too many, I don't know how I pulled that one.Marc Espie
2001-07-20undo broken changes, i dunno a fix for these; how many times you gonna ↵Michael Shalayeff
repeat the same mistake espie@ and millert@ ?
2001-07-19Minor speed-up tweaks.Marc Espie
- 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@
2001-07-18CDIAGFLAGS, added to CFLAGS if WARNINGS=YesMarc Espie
Symetrize C++ situation: add CXXOPTS, CXXDIAGFLAGS.
2001-05-05Synch with bsd.prog.mk.Marc Espie
The only client won't see the difference.
2001-04-03Minor clean-ups:Marc Espie
- 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@
2000-10-18hardcoded "gcc" -> ${CC}; ok espie@Brad Smith
2000-10-09Use gcc -shared -fpic to build shared libraries on all arches.Marc Espie
This repairs objective C.
2000-10-03allow ../Makefile.inc to overwrite mk.conf settings; millert@ okMichael Shalayeff
2000-09-03Boring... Add :L modifier to all tweakable variables tests.Marc Espie
Closes PR 1246
2000-07-15Build shared libraries as expected for the new libexec/ld.so. CurrentlyDale S. Rahn
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.
2000-05-16DEBUGLIBS=no still makes defined(DEBUGLIBS) true, ;-)Niklas Hallqvist
2000-05-15Add support for building libraries with debugging information in them.Niklas Hallqvist
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.
1999-05-26Add .m files, necessary to compile libobjc.Marc Espie
1999-01-27Fix confusing typoMarc Espie
1998-12-31Add ${PIPE} in sys.mk so we do no need to add all over the places; ↵Todd C. Miller
evanc@concer.to
1998-12-19add PIPE variable, suitable for /etc/mk.conf, to enable gcc -pipe modeTodd C. Miller
1997-11-05.cxx support from Mathieu.Herrb@mipnet.frTheo de Raadt
1997-09-08Do not do function CSE on PIC code for m68k, gas does not handle itNiklas Hallqvist
correctly, making spurious "undefined symbol" errors turn up without reason occasionally.
1997-06-12make bsd.lib.mk a bit more consistant about the lies it echo'sgrr
1997-04-27COPY -> INSTALL_COPY and STRIP -> INSTALL_STRIP changes.Todd C. Miller
For some reason the previous commit did not grab these.
1997-02-06Add a LORDER make symbol and use itNiklas Hallqvist
1997-01-26use mktemp(1) to avoid /tmp race; spotted by dholland@eecs.harvard.eduTheo de Raadt
1996-12-08install -> ${INSTALL}, -c -> ${COPY}Jason Downs
1996-11-14correct LINKS usageMichael Shalayeff
1996-08-05Don't do "ranlib -t" if installed with "-p" since that preservesTodd C. Miller
the timestamp so things are already in sync.