summaryrefslogtreecommitdiff
path: root/share/mk
AgeCommit message (Collapse)Author
2012-09-11sh can move to PIE, for better or worse. maybe it becomes slower, maybeTheo de Raadt
it hits more gcc bugs. or even better -- maybe we learn something which benefits the other platforms. ok miod
2012-09-02We need big PIE on powerpc because the GOT gets too big for some bloatwareMark Kettenis
like GCC. ok deraadt@, pascal@
2012-09-02take hppa to PIE as well; ok kettenis pascalTheo de Raadt
2012-09-02enable PIE on alpha, and document the situation for otherTheo de Raadt
architectures not running PIE yet.
2012-09-01avr32 did not happenTheo de Raadt
2012-08-31Don't treat zaurus special; everybody gets libraries with debug info now.Mark Kettenis
We just savd a bunch of space anyway by no longer creating _pic.a libraries. ok deraadt@
2012-08-31Enable PIE on amd64, mips64(el) and sparc64.Pascal Stumpf
Most work done by kurt@ some years ago; also, most work committed over the last weeks was based on a diff by him. Cheers, kurt@! Lots and lots of helpful input, comments, feedback and diffs from deraadt@, kettenis@ and matthew@, miod@ and others. Thanks! Bulk builds done by naddy@, sthen@, landry@ and in progress from pea@ and jasper@. Pending architectures are alpha, i386, hppa, arm, sparc and landisk. ok deraadt@
2012-08-31use subdir realtarget => target recursion (for subdir.mk .USE macro)Marc Espie
will scrap the subdirdepend case later. okay millert@
2012-08-31No longer create lib*_pic.a files. Nothing uses them anymore.Theo de Raadt
grep help from sthen; discussion with brad ok guenther pascal
2012-08-28We can't add -nopie to LDFLAGS yet, since cc doesn't understand it. UsePascal Stumpf
NOPIE_LDFLAGS instead. Noticed by matthew@ and deraadt@. Sorry for the breakage ...
2012-08-28LDFLAGS will be -nopie for the NOPIE case, change GCC_PIE_DEFAULT -> PIE_DEFAULTPascal Stumpf
since it will affect binutils too. ok deraadt@
2012-08-23turn off AFSTheo de Raadt
2012-08-22share/mk bits for PIE, currently disabled.Pascal Stumpf
ok matthew@ deraadt@ kettenis@, manpage prodding and ok jmc@
2012-08-22Convert cpp | as rules in bsd.lib.mk and lib/libc/sys/Makefile.inc to pure ccPascal Stumpf
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@
2012-08-20add -Wdeclaration-after-statement to the default CDIAGFLAGS (used whenStuart Henderson
WARNINGS=yes is set) on gcc4 arch. ok haesbaert@ deraadt@.
2012-08-18allow other targets to work like install -> realinstallMarc Espie
(to be used in xenocara for build) okay matthieu@
2012-08-17Add a default CDIAGFLAGS, so that programs may be enable warnings byChristiano F. Haesbaert
making "make WARNINGS=Yes" without having to add a bunch of CDIAGFLAGS to its makefile. sure deraadt@
2012-08-14Garbage collect the USE_GCC variables; everything usesMatthew Dempsky
COMPILER_VERSION now. From Brad.
2012-08-14Add framework support for controlling symbol visibility in sharedMatthew Dempsky
objects, inspired by NetBSD. Discussed with kurt, kettenis, and millert. ok kettenis
2012-07-08remove unneeded and error-prone :: rulesMarc Espie
okay guenther@
2012-07-04remove old arm bootstrap scaffold.Marc Espie
checked this was no longer necessary by miod@ ok miod@, deraadt@
2012-06-20move to 5.2-betaTheo de Raadt
2012-04-12move sh to gcc4Jonathan Gray
ok miod@
2012-04-08unhook lint from the tree. The parser is incomplete and difficultJonathan Gray
to fix and there are several alternatives that don't tell quite so many dangerous lies. enthusiastic agreement from a bunch of people
2012-01-11crank to 5.1-betaTheo de Raadt
2012-01-06Make mandoc show all warnings when WARNINGS=yes. Discussed with jmc@ andNicholas Marriott
schwarze@. ok schwarze deraadt
2011-11-25Switch alpha to gcc4 (and there was much rejoicing)Miod Vallat
2011-11-12- add avr32 which'll use gcc4/binutils-2.17Jasper Lievisse Adriaanse
- remove BINUTILS217_ARCH from Makefile.cross as bsd.own.mk is included there (requested by drahn@) ok drahn@ deraadt@
2011-11-11hppa64 uses binutils 2.17.Joel Sing
ok kettenis@
2011-09-24create a new "bounce" file for ports infrastructure.Marc Espie
clean up ancient comments in the existing ones, and use bsd.own.mk's guard against multiple includes.
2011-09-19remove the /usr/share/man/ps* hierarchy and supporting variables; MANPSOkan Demirmen
disappeared during the source manuals switch. no objections from schwarze@ jmc@ deraadt@
2011-07-18take us to 5.0-betaTheo de Raadt
2011-07-18Pass install the -S option to avoid a window where the target isn'tPhilip Guenthe
executable (by mode or content), which can trip up builds with 'make -j' ok millert@
2011-07-16The /g flag is unneeded when the pattern in ${var:S/pattern/sub/g} canPhilip Guenthe
only match once per word, such as when it's anchored with '$' ok espie@
2011-07-10Switch arm ports to gcc4. ok deraadt@Miod Vallat
2011-07-08Switch sparc to gcc4. No source upgrade possible (well, it obviously can beMiod Vallat
done, but it's so tedious it will sing you to sleep, so we'll conveniently not bother documenting the steps), please upgrade from binary snapshots dated July 8th or more recent. Grunt work by kettenis@ who suffered a machine failure; ok deraadt@
2011-07-06Make sure typing "make install" twice in a rowIngo Schwarze
installs manuals twice, not only the first time. Admittedly, marking real target files as .PHONY is ugly, but this is the least complex fix found so far. If somebody comes up with something better, i will gladly improve this. Problem originally reported and some prodding by deraadt@.
2011-07-06Do not use wildcards in GCC4_ARCH, they do not play well with make's :MMiod Vallat
modifier. Found the hard way...
2011-07-06Make sure ${BEFOREMAN} is finished before ${MANLINT} is started;Ingo Schwarze
otherwise, stuff gets done in the wrong order in make -j. While here, also make sure ${BEFOREMAN} is finished before any manual source code is generated. tested in make build / make release by krw@
2011-07-05Allow parallel linting of manuals,Ingo Schwarze
by using one mandoc process and one timestamp file per man page. This might be slightly slower on single-processor machines, but it's considerably faster with make -j. "I think so" deraadt@
2011-07-05Allow switching between binutils and binutils 2.17.Dale Rahn
NOTE: binutils-2.17 has not been tested on any archs. ok pirofti@
2011-07-04Simplfy GCC decision by making the list of archs instead a hugeDale Rahn
list if ${MACHINE_ARCH} == "xx" tests ok deraadt@ pirofti@ (with fixes mentioned from kettenis)
2011-06-28Less ugly MANSUBDIR handling, not needing '' any longer.Ingo Schwarze
ok espie@ Note: This does not yet fix the issue noted by deraadt@ that two consecutive make install invocations install only once. Both of my proposed solutions are not nice, and espie@ is searching for a cleaner way.
2011-06-24Replace the .PHONY manlint target by an empty timestamp file, so man pagesChristian Weisgerber
are only re-linted after an actual change. Tweaked from schwarze@'s diff; ok schwarze@
2011-06-23switch to installing source manuals (base part)Ingo Schwarze
discussed with lots of people, tested by naddy@, "move fast" deraadt@
2011-04-22do not mention the now gone PSD/USD directories; ok miodJason McIntyre
2011-03-12bsd.doc.mk is dead. long live bsd.doc.mkTheo de Raadt
discussed with ingo
2011-01-13move to 4.9-currentTheo de Raadt
2010-11-18Sync the LIBFOO defines with the current set of libraries we build andMiod Vallat
install. Also define LIBARCH on arm platforms. ok millert@ deraadt@
2010-10-17Build tbl(1) pages with mandoc(1), not groff.Ingo Schwarze
Xenocara build checked myself, base build also by jmc@, thanks! "don't wait for me" deraadt@ Pages in base using tbl mostly look good already except for the rare .T{ macros; there may still be a few formatting issues in xenocara, please speak up when you run into them. Eventually, mandoc will catch up.