summaryrefslogtreecommitdiffstats
path: root/share/mk
Commit message (Collapse)AuthorAgeFilesLines
* Fixed style bugs in previous commit (151 characters of trailing whitespace).bde2004-06-211-1/+1
|
* - Missing trailing slash for a kern directory check.pjd2004-06-211-3/+5
| | | | | | | - Check in both places if ${_dir}/conf/kmod.mk exists. - Style fixes (lines too long). Submitted by: bde
* Check if ${_dir}/kern exists as well, because if it doesn't existspjd2004-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/.
* Define MACHINE_CPU for arm.cognet2004-05-141-0/+3
|
* Moved FreeBSD build pollution (/etc/make.conf) and zombie aout supportbde2004-05-121-4/+6
| | | | (OBJFORMAT) into a non-POSIX section.
* Removed conditional include of /etc/make.conf.local and the error for thebde2004-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.
* -W{missing,strict}-prototypes do not make sense for C++, and gcc34 willdes2004-05-101-1/+1
| | | | complain about them, so remove them from CXXFLAGS.
* Add SHLIB as a shortcut for shared-only libraries.des2004-05-071-2/+5
| | | | Not objected to by: bde, ru
* g++(1) is unhappy with -Wnested-externs.ru2004-04-201-1/+1
| | | | Prodded by: des
* Mark the "obj" target with the .PHONY attribute.ru2004-04-131-1/+1
|
* Add ${CPUTYPE} support for crusoe processors (cribbed from Linux kerneldfr2004-04-051-1/+4
| | | | | settings). Pretend that a crusoe is an i686 which doesn't like alignment padding.
* Add a reference to the ia64 options to gcc. While here, sort the list.marcel2004-03-211-2/+3
|
* Remove whitespace at EOL.trhodes2004-03-151-1/+1
|
* Fix some style bugs in previous commit.trhodes2004-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
* This are the build infrastructure changes to allow to use thetrhodes2004-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
* Fixed indentation of conditionals.bde2004-03-051-5/+5
| | | | Submitted by: Rostislav Krasny <rosti_bsd@yahoo.com>
* Remove -Wbad-function-cast. Its main purpose is to catch bugs that wedes2004-02-161-1/+1
| | | | | already catch with -Wstrict-prototypes, and it causes spurious warnings for some perfectly legitimate constructs.
* Register libarchive in bsd.libnames.mk and mdoc.localkientzle2004-02-131-0/+1
| | | | Submitted by: ru
* Two changes to aid in cleaning up sys/boot/ makefiles:ru2004-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.
* First round of cleanups to sys/boot/ makefiles:ru2004-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
* Temporarily put STRIP back; bsd.port.mk still needs it.ru2004-02-051-0/+4
|
* Don't define STRIP in bsd.own.mk.ru2004-02-052-15/+3
|
* make(1) can now handle spaces surrounding parenthesis correctly.ru2004-02-051-1/+1
|
* GC port.mkversion.des2004-02-051-3/+0
|
* Fixed breakage of POSIX support in rev.1.31. -pipe was added tobde2004-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.
* Nothing in libypclnt depends on librpcsvc.ru2004-02-041-2/+2
| | | | Reported by: lorder(1) (modified to work with libraries)
* A shorter version of keeping all -std= options out of CXXFLAGS.ru2004-02-031-1/+1
|
* Fixed MINUSLPAM:ru2004-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
* GC LIBPC and LIBPLOT: they never existed in unencumbered BSD versions.ru2004-02-021-2/+0
| | | | Reviewed by: bde
* Add LIBPTHREAD.marcel2004-01-311-0/+1
|
* 1. Garbage-collected LIBDES (now in a different library), LIBPERL (banishedbde2004-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)
* Fixed insertion sort errors for LIBBLUETOOTH and LIBSDP.bde2004-01-311-2/+2
|
* Removed XXX comments about some libraries only being in the securebde2004-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
* Fixed some style bugs (long lines).bde2004-01-311-2/+5
|
* Drop -mcpu=pentiumpro from the default CPU flags for i386 as it doesn'tjhb2004-01-301-1/+1
| | | | | | perform better than the default setting for most i386 CPUs. Requested by: bde
* Fixed bogus ${FOO:Mbar} tests where the actual intent is to checkru2004-01-275-13/+13
| | | | | if the result set is empty. While here, replaced non-bogus empty string comparisons with equivalent empty() checks.
* Guess better the source for object files in case .depend file isru2004-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
* Introduce DPSRCS, that holds the list of source files which areru2004-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.
* - Replaced several := ops with their += equivalents; the oldru2004-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.
* Put the warning flags to where they belong (into CWARNFLAGS).ru2004-01-111-10/+10
| | | | | This allows us to easily override them when necessary, e.g., to selectively disable warnings in libc/ contributed sources.
* Keep up with sys/conf/ changes.ru2004-01-101-1/+1
|
* Fix a very corner case when you want to make cleandir SUBDIRs whichgreen2004-01-021-2/+2
| | | | | | are built using a ${MAKE} that's not just "make". Test by: make universe (followed by cleandirs)
* Add a define for libbsnmp.harti2003-11-101-0/+1
|
* Add a definition for libngatm.harti2003-10-271-0/+1
| | | | Reviewed by: ru
* Update Bluetooth code.emax2003-10-121-0/+2
| | | | | Reviewed by: M. Warner Losh <imp@bsdimp.com>; John Hay <jhay@freebsd.org> Approved by: M. Warner Losh <imp@bsdimp.com> (mentor)
* Update build infrastructure for Heimdal 0.6.nectar2003-10-091-0/+1
|
* Removed the ancient .LIBS setting that causes non-existentru2003-10-031-2/+0
| | | | | | | | | | | | | | | | libraries to be reported as up-to-date. Before: # make -f /dev/null nonexistent.a `nonexistent.a' is up to date. After: # make -f /dev/null nonexistent.a make: don't know how to make nonexistent.a. Stop PR: bin/44137 (part of)
* - Support for multibyte charsets in LIBICONV.fjoe2003-09-261-0/+1
| | | | | | | | - CD9660_ICONV, NTFS_ICONV and MSDOSFS_ICONV kernel options (with corresponding modules). - kiconv(3) for loadable charset conversion tables support. Submitted by: Ryuichiro Imura <imura@ryu16.org>
* Separate out userland linting and kernel linting a bit more. Thismarkm2003-09-261-0/+1
| | | | | make things a bit easier for folks using lints other than the "base" lint.
* - No need to create libfoo.so -> libfoo.so.X symlinks in /lib,ru2003-09-071-3/+8
| | | | | | | | | | | | as it was decided that our toolchain will revert to looking for libraries in /usr/lib only. - Make /usr/lib/libfoo.so -> /lib/libfoo.so.X symlinks absolute so that they still work if /usr is symlinked. - Remove stale /usr/lib/libfoo.so.X libraries during install. Discussed with: gordon, obrien, peter
OpenPOWER on IntegriCloud