summaryrefslogtreecommitdiff
path: root/share/mk
AgeCommit message (Collapse)Author
2013-02-02m68k ports are now ELF citizens.Miod Vallat
2013-01-31Enable shared libraries on m88k platforms.Miod Vallat
And there was much rejoicing.
2013-01-31welcome to 5.3-BETAMiod Vallat
2013-01-05Switch m88k ports to ELF.Miod Vallat
2012-12-01Switch m88k ports to gcc 3.Miod Vallat
2012-10-19Document the current situation with who is PIE, and who is not.Theo de Raadt
2012-10-15old stuff:Marc Espie
- moved to realdepend with success, finish the old subdirdepend. - .LIBS: doesn't mean anything any more, and it had broken semantics when it meant something anyways. okay millert@
2012-09-16Add support for building non-PIE libraries.Mark Kettenis
ok deraadt@
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)