aboutsummaryrefslogtreecommitdiff
path: root/share/mk
Commit message (Collapse)AuthorAgeFilesLines
* Removed COPTS support from kmod.mk and kern.pre.mk.Ruslan Ermilov2004-08-132-1/+2
| | | | | | | COPTS support in bsd.prog.mk is preserved but discouraged. Notes: svn path=/head/; revision=133653
* Add more aliases for common CPUTYPE spellingsDavid E. O'Brien2004-08-111-1/+9
| | | | Notes: svn path=/head/; revision=133525
* The last commit had one too many libs.David E. O'Brien2004-08-111-1/+0
| | | | Notes: svn path=/head/; revision=133516
* Use the '+' flag to make make recurse into sub-directories even whenHartmut Brandt2004-08-092-5/+11
| | | | | | | | | | | given -n. For POLA reasons this behaviour is switched on only when at least two -n flags are given to make. One -n flag keeps the old behaviour of showing the shell command that would recurse into the sub-directories. Discussed with: ru Notes: svn path=/head/; revision=133369
* Bmake the library containing and processing the magic.David E. O'Brien2004-08-091-0/+2
| | | | Notes: svn path=/head/; revision=133362
* Consistently list _CPUCFLAGS.David E. O'Brien2004-08-021-10/+10
| | | | Notes: svn path=/head/; revision=133000
* Enable testing of customized variants of bsd.port.mk andOliver Eikemeier2004-07-022-2/+4
| | | | | | | | | | | | | | | | bsd.port.subdir.mk, without the overhead of an additional ports tree. Use make BSDPORTMK='${PORTSDIR}/My.Mk/bsd.port.mk' target and make BSDPORTSUBDIRMK='${PORTSDIR}/My.Mk/bsd.port.subdir.mk' target to build with the alternate versions. MFC after: 3 days Notes: svn path=/head/; revision=131482
* Fixed style bugs in previous commit (151 characters of trailing whitespace).Bruce Evans2004-06-211-1/+1
| | | | Notes: svn path=/head/; revision=130854
* - Missing trailing slash for a kern directory check.Pawel Jakub Dawidek2004-06-211-3/+5
| | | | | | | | | | - Check in both places if ${_dir}/conf/kmod.mk exists. - Style fixes (lines too long). Submitted by: bde Notes: svn path=/head/; revision=130835
* Check if ${_dir}/kern exists as well, because if it doesn't existsPawel Jakub Dawidek2004-06-181-1/+1
| | | | | | | | | | we will fail later and we can miss good kernel source tree directory. I found this trying to compile kld module and it finds 'conf/kmod.mk' in '../..', but it fails later, because there is no 'kern' directory, but there is valid kernel source tree still in /usr/src/sys/. Notes: svn path=/head/; revision=130693
* Define MACHINE_CPU for arm.Olivier Houchard2004-05-141-0/+3
| | | | Notes: svn path=/head/; revision=129217
* Moved FreeBSD build pollution (/etc/make.conf) and zombie aout supportBruce Evans2004-05-121-4/+6
| | | | | | | (OBJFORMAT) into a non-POSIX section. Notes: svn path=/head/; revision=129163
* Removed conditional include of /etc/make.conf.local and the error for theBruce Evans2004-05-121-5/+0
| | | | | | | | | | existence of this file. This stopped working more than 4 years ago when the generation of the error was added in rev.1.44. The .error directive gives fatal errors, so stale /etc/make.conf.local files must have been gone away more than 4 years on systems where make(1) works. Notes: svn path=/head/; revision=129162
* -W{missing,strict}-prototypes do not make sense for C++, and gcc34 willDag-Erling Smørgrav2004-05-101-1/+1
| | | | | | | complain about them, so remove them from CXXFLAGS. Notes: svn path=/head/; revision=129086
* Add SHLIB as a shortcut for shared-only libraries.Dag-Erling Smørgrav2004-05-071-2/+5
| | | | | | | Not objected to by: bde, ru Notes: svn path=/head/; revision=129024
* g++(1) is unhappy with -Wnested-externs.Ruslan Ermilov2004-04-201-1/+1
| | | | | | | Prodded by: des Notes: svn path=/head/; revision=128480
* Mark the "obj" target with the .PHONY attribute.Ruslan Ermilov2004-04-131-1/+1
| | | | Notes: svn path=/head/; revision=128188
* Add ${CPUTYPE} support for crusoe processors (cribbed from Linux kernelDoug Rabson2004-04-051-1/+4
| | | | | | | | settings). Pretend that a crusoe is an i686 which doesn't like alignment padding. Notes: svn path=/head/; revision=127888
* Add a reference to the ia64 options to gcc. While here, sort the list.Marcel Moolenaar2004-03-211-2/+3
| | | | Notes: svn path=/head/; revision=127258
* Remove whitespace at EOL.Tom Rhodes2004-03-151-1/+1
| | | | Notes: svn path=/head/; revision=127027
* Fix some style bugs in previous commit.Tom Rhodes2004-03-142-5/+2
| | | | | | | | | | | | Fix 'broken' ifdefs. icc does not support profiling yet so remove unfinished code which was supposed to help. Submitted by: netchild (original version) Reviewed by: ru Notes: svn path=/head/; revision=126938
* This are the build infrastructure changes to allow to use theTom Rhodes2004-03-124-12/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Intel C/C++ compiler (lang/icc) to build the kernel. The icc CPUTYPE CFLAGS use icc v7 syntax, icc v8 moans about them, but doesn't abort. They also produce CPU specific code (new instructions of the CPU, not only CPU specific scheduling), so if you get coredumps with signal 4 (SIGILL, illegal instruction) you've used the wrong CPUTYPE. Incarnations of this patch survive gcc compiles and my make universe. I use it on my desktop. To use it update share/mk, add /usr/local/intel/compiler70/ia32/bin (icc v7, works) or /usr/local/intel_cc_80/bin (icc v8, doesn't work) to your PATH, make sure you have a new kernel compile directory (e.g. MYKERNEL_icc) and run CFLAGS="-O2 -ip" CC=icc make depend CFLAGS="-O2 -ip" CC=icc make in it. Don't compile with -ipo, the build infrastructure uses ld directly to link the kernel and the modules, but -ipo needs the link step to be performed with Intel's linker. Problems with icc v8: - panic: npx0 cannot be emulated on an SMP system - UP: first start of /bin/sh results in a FP exception Parts of this commit contains suggestions or submissions from Marius Strobl <marius@alchemy.franken.de>. Reviewed by: silence on -arch Submitted by: netchild Notes: svn path=/head/; revision=126890
* Fixed indentation of conditionals.Bruce Evans2004-03-051-5/+5
| | | | | | | Submitted by: Rostislav Krasny <rosti_bsd@yahoo.com> Notes: svn path=/head/; revision=126657
* Remove -Wbad-function-cast. Its main purpose is to catch bugs that weDag-Erling Smørgrav2004-02-161-1/+1
| | | | | | | | already catch with -Wstrict-prototypes, and it causes spurious warnings for some perfectly legitimate constructs. Notes: svn path=/head/; revision=125884
* Register libarchive in bsd.libnames.mk and mdoc.localTim Kientzle2004-02-131-0/+1
| | | | | | | Submitted by: ru Notes: svn path=/head/; revision=125762
* Two changes to aid in cleaning up sys/boot/ makefiles:Ruslan Ermilov2004-02-091-3/+9
| | | | | | | | | | - Don't put libc.a as a dependency if program is linked with -nostdlib. - Added INTERNALPROG (by analogy to INTERNALLIB) for programs which are built only for its side effect and shold not be installed. Notes: svn path=/head/; revision=125620
* First round of cleanups to sys/boot/ makefiles:Ruslan Ermilov2004-02-061-0/+1
| | | | | | | | | | | | | | | - do not use PROG for what's not a real C program, - use sys.mk transformation rules where possible, - only create the "machine" symlink on AMD64, - removed MAINTAINER lines in individual makefiles, - added the LIBSTAND defitinion to <bsd.libnames.mk>, - somewhat better contents in .depend files. Tested on: i386, amd64 Prodded by: bde Notes: svn path=/head/; revision=125537
* Temporarily put STRIP back; bsd.port.mk still needs it.Ruslan Ermilov2004-02-051-0/+4
| | | | Notes: svn path=/head/; revision=125494
* Don't define STRIP in bsd.own.mk.Ruslan Ermilov2004-02-052-15/+3
| | | | Notes: svn path=/head/; revision=125493
* make(1) can now handle spaces surrounding parenthesis correctly.Ruslan Ermilov2004-02-051-1/+1
| | | | Notes: svn path=/head/; revision=125474
* GC port.mkversion.Dag-Erling Smørgrav2004-02-051-3/+0
| | | | Notes: svn path=/head/; revision=125462
* Fixed breakage of POSIX support in rev.1.31. -pipe was added toBruce Evans2004-02-041-1/+2
| | | | | | | | | CFLAGS in all cases, but POSIX requires a default of -O. Adding -pipe unconditionally still is still broken for non-gcc compilers in the non-POSIX case. Notes: svn path=/head/; revision=125445
* Nothing in libypclnt depends on librpcsvc.Ruslan Ermilov2004-02-041-2/+2
| | | | | | | Reported by: lorder(1) (modified to work with libraries) Notes: svn path=/head/; revision=125427
* A shorter version of keeping all -std= options out of CXXFLAGS.Ruslan Ermilov2004-02-031-1/+1
| | | | Notes: svn path=/head/; revision=125382
* Fixed MINUSLPAM:Ruslan Ermilov2004-02-031-13/+12
| | | | | | | | | | | | | | | | | | | | | | | - Added missing NOCRYPT and NO_OPENSSL checks for Kerberos. - Don't depend on -lcrypto and -lcrypt in pam_ssh to resolve dependencies in pam_krb5 and pam_ksu -- the former may not be compiled at all if NO_OPENSSH knob is enabled. - Added missing -lcrypt to pam_ssh dependencies. - Moved librpcsvc after libypclnt. (The last two aren't strictly speaking necessary to resolve the dependencies of static versions of pam_ssh and pam_unix, respectively, but they correspond to dynamic dependencies of libssh and libypclnt, and are put here for consistency.) In collaboration with: bde Reviewed by: des Notes: svn path=/head/; revision=125381
* GC LIBPC and LIBPLOT: they never existed in unencumbered BSD versions.Ruslan Ermilov2004-02-021-2/+0
| | | | | | | Reviewed by: bde Notes: svn path=/head/; revision=125344
* Add LIBPTHREAD.Marcel Moolenaar2004-01-311-0/+1
| | | | Notes: svn path=/head/; revision=125269
* 1. Garbage-collected LIBDES (now in a different library), LIBPERL (banishedBruce Evans2004-01-311-5/+2
| | | | | | | | | | | to ports) and LIBRESOLV (now in a different library. 2. Added comments about nonexistent libraries LIBPC and LIBPLOT. Submitted by: ru (1) Notes: svn path=/head/; revision=125257
* Fixed insertion sort errors for LIBBLUETOOTH and LIBSDP.Bruce Evans2004-01-311-2/+2
| | | | Notes: svn path=/head/; revision=125256
* Removed XXX comments about some libraries only being in the secureBruce Evans2004-01-311-15/+15
| | | | | | | | | | distribution. This is not the place to document this, especially now that the secure distribution is the normal one. Reviewed by: ru Notes: svn path=/head/; revision=125255
* Fixed some style bugs (long lines).Bruce Evans2004-01-311-2/+5
| | | | Notes: svn path=/head/; revision=125254
* Drop -mcpu=pentiumpro from the default CPU flags for i386 as it doesn'tJohn Baldwin2004-01-301-1/+1
| | | | | | | | | perform better than the default setting for most i386 CPUs. Requested by: bde Notes: svn path=/head/; revision=125252
* Fixed bogus ${FOO:Mbar} tests where the actual intent is to checkRuslan Ermilov2004-01-275-13/+13
| | | | | | | | if the result set is empty. While here, replaced non-bogus empty string comparisons with equivalent empty() checks. Notes: svn path=/head/; revision=125119
* Guess better the source for object files in case .depend file isRuslan Ermilov2004-01-172-0/+18
| | | | | | | | | | | | | | | missing and there are multiple choices using multiple inference (suffix transformation) rules. This is known to fix compilation of s_log1p.o in lib/msun on i386, as otherwise it attempted to use s_log1p.S as the source (which is marked broken) instead of legal s_log1p.c which is in CFLAGS. The normal case where .depend file exists is not affected. Reviewed by: bde Notes: svn path=/head/; revision=124637
* Introduce DPSRCS, that holds the list of source files which areRuslan Ermilov2004-01-131-5/+8
| | | | | | | | | | | | needed for generating dependencies. SRCS are always part of it, and normally only they. This can be useful in some random cases where it's necessary to have something in .depend that isn't part of SRCS. This will be used to replace a hack in lib/libpam/libpam/Makefile. Notes: svn path=/head/; revision=124490
* - Replaced several := ops with their += equivalents; the oldRuslan Ermilov2004-01-121-9/+8
| | | | | | | | | | | | | | | | form became unnecessary with the bsd.prog.mk,v 1.69 change. - Eliminated duplicate y.tab.h in SRCS. Reviewed by: bde - Complementary to the said bsd.prog.mk change, use the fact that inner .for loops are not real loops but a tricky form of a local macro for the outer loop's variable, and switch to using faster variable modifiers to replace extensions. Notes: svn path=/head/; revision=124435
* Put the warning flags to where they belong (into CWARNFLAGS).Ruslan Ermilov2004-01-111-10/+10
| | | | | | | | This allows us to easily override them when necessary, e.g., to selectively disable warnings in libc/ contributed sources. Notes: svn path=/head/; revision=124372
* Keep up with sys/conf/ changes.Ruslan Ermilov2004-01-101-1/+1
| | | | Notes: svn path=/head/; revision=124347
* Fix a very corner case when you want to make cleandir SUBDIRs whichBrian Feldman2004-01-021-2/+2
| | | | | | | | | are built using a ${MAKE} that's not just "make". Test by: make universe (followed by cleandirs) Notes: svn path=/head/; revision=124061
* Add a define for libbsnmp.Hartmut Brandt2003-11-101-0/+1
| | | | Notes: svn path=/head/; revision=122404