summaryrefslogtreecommitdiffstats
path: root/share/mk
Commit message (Collapse)AuthorAgeFilesLines
* Install libusbhid, and use it instead of libusb.joe2002-03-281-1/+1
| | | | MFC after: 6 days
* Install static and profiled libraries with -C.des2002-03-221-2/+2
|
* Make lint(1) a cross-tool.ru2002-03-201-1/+1
| | | | | | | | | (See commit log for usr.bin/xlint/Makefile,v 1.11 for what was wrong with enabling build of lint libraries in rev. 1.12.) This fixes cross-arch compiles (running binaries for a different arch when generating lint.7 and lint libraries) and cross-branch compiles (4.x -> 5.0 buildworld should be working again).
* Removed bogus env(1) commands. make(1) uses a real shell, sobde2002-03-192-5/+5
| | | | | | | | "env name=value ... cmd ..." was just a pessimized way of doing "name=value ... cmd ...". Note that make(1) can't optimize either of these to an exec of env(1) or "cmd" even if the second "..." is simple, since it can't tell that the shell metacharacter in "name=value" is actually handled by env(1).
* lint the previous lint commit.ru2002-03-181-14/+12
| | | | Reviewed by: markm
* __MAKE_CONF?=/etc/make.confimp2002-03-181-2/+3
| | | | | | | | | | | | | | Use this where we are now using /etc/make.conf. This allows people to override the current default of always including /etc/make.conf. Setting __MAKE_CONF to /dev/null disables it completely, while setting it to something else allows one to override what is on the system. This can be desirable in situations where a machine has many users and some of them want different defaults, or defaults appropriate to cross building to be different than those for normal building. Not objected to by: arch@
* Allow "make lint" to mostly work. Our sources are very unclean WRTmarkm2002-03-172-8/+38
| | | | | | | lint, so this is turned off by default. Setting WANT_LINT will turn on generation of lint libraries for /usr/libdata/lint/*.ln. Reviewd by: silence in -audit.
* Pass our idea of `CC' down to mkdep.obrien2002-03-151-1/+1
| | | | Tested on: sparc64
* Consistently use $PICFLAG.obrien2002-03-121-2/+2
|
* Spell pic "PIC" for sparc64.obrien2002-03-121-0/+4
|
* . Add support for making NLS linksphantom2002-03-041-1/+22
| | | | . Target definitions tweaks
* Slightly relax requirements to set per-file variablesphantom2002-03-041-3/+8
|
* Add basic infrastructure for building and installing Message Catalogs (NLS ↵phantom2002-03-042-1/+107
| | | | | | | Catalogs) Idea obtained from: NetBSD Reviewed by: silence at -hackers
* Obviate the need to set the COMPILER_PATH and LIBRARY_PATH in Makefile.inc1ru2002-02-212-18/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to pick up the correct cross-tools (the compiler executables and binutils) and special linker files (crt*.o). This is now controlled by a single knob, TOOLS_PREFIX, when building cross-tools. Fixed regression in Makefile.inc1,v 1.203 (-nostdinc). This clobbered target architecture's CFLAGS with building host's CPUTYPE setting in /etc/make.conf, and had a nice but nasty side effect of exposing some (normally hidden) bugs in system headers. (Attempt to move the "-nostdinc -I..." part of CFLAGS into the new CINCLUDES (modeled after a similar CXXINCLUDES) eventually failed because hard-coding ${WORLDTMP}/usr/include to be the first in the include list does not always work, e.g. lib/libbind.) Compensate the -nostdinc removal by making cpp(1) built in the cross-tools stage to not look for <> header files in the building host's /usr/include (already committed as gnu/usr.bin/cc/cc_tools/freebsd-native.h, revisions 1.10-1.12, STANDARD_INCLUDE_DIR). : $ /usr/obj/usr/src/i386/usr/bin/cpp -v /dev/null : : Before: : : #include <...> search starts here: : /usr/obj/usr/src/i386/usr/include : /usr/include : End of search list. : : After: : : #include <...> search starts here: : /usr/obj/usr/src/i386/usr/include : /usr/obj/usr/src/i386/usr/include (Disabling the use of GCC_INCLUDE_DIR in the FREEBSD_NATIVE case would fix the duplicate above.) Get rid of the (now unneeded) -I${DESTDIR}/usr/include magic in bsd.prog.mk and bsd.lib.mk. Finish the removal of LDDESTDIR in bsd.lib.mk,v 1.55 -- we no longer have users of it. The required changes to gcc were already committed as contrib/gcc.295/gcc.c, revisions 1.23 and 1.24. Basically, this allows for the changes above plus makes gcc(1) persistent about path configuration, whether it's configured as a native or a cross compiler: : $ /usr/obj/usr/src/i386/usr/bin/cc -print-search-dirs : install: /usr/obj/usr/src/i386/usr/libexec/(null) : programs: /usr/obj/usr/src/i386/usr/libexec/elf/:/usr/obj/usr/src/i386/usr/libexec/ : libraries: /usr/obj/usr/src/i386/usr/lib/ : : $ /usr/obj/alpha/usr/src/i386/usr/bin/cc -print-search-dirs : install: /usr/obj/alpha/usr/src/i386/usr/libexec/(null) : programs: /usr/obj/alpha/usr/src/i386/usr/libexec/elf/:/usr/obj/alpha/usr/src/i386/usr/libexec/ : libraries: /usr/obj/alpha/usr/src/i386/usr/lib/ Reviewed by: bde, obrien
* Add two new libraries which are part of sendmail 8.12. libsm is used onlygshapiro2002-02-171-0/+3
| | | | | for building sendmail and the associated utilities. libmilter is a new mail filtering API for sendmail.
* Correct comment: mklocale(1) and NLS are absolutely independentphantom2002-02-131-1/+1
|
* Correct NLSOWN and NLSGRP values.phantom2002-02-131-4/+4
|
* Neither .depend nor ${DEPENDFILE} depend on _SUBDIR.ru2002-02-061-1/+1
| | | | (One step closer to _SUBDIR <-> _SUBDIRUSE merge.)
* Back out revision 1.23 (SUBDIR_CHANGE).ru2002-02-061-37/+12
| | | | Not objected to by: bde, eivind
* Add pam_ssh support to the static PAM library, libpam.a:ru2002-01-231-6/+9
| | | | | | | | | | | - Spam /usr/lib some more by making libssh a standard library. - Tweak ${LIBPAM} and ${MINUSLPAM}. - Garbage collect unused libssh_pic.a. - Add fake -lz dependency to secure/ makefiles needed for dynamic linkage with -lssh. Reviewed by: des, markm Approved by: markm
* Add the necessary dependencies and linker flags for linking with ades2002-01-211-3/+6
| | | | | | static PAM library that includes pam_ssh. Sponsored by: DARPA, NAI Labs
* Put -Wno-uninitialized at the end of the warns flags as it may be enabeleddwmalone2002-01-051-3/+5
| | | | | | by several flags (in this case -W and -Wall). Reviewed by: bde
* Add LIBSMB.ru2001-12-181-0/+1
|
* FILES support for bsd.prog.mk. See bsd.README for details.ru2001-12-173-7/+38
| | | | Stolen from: NetBSD
* Removed a no-op FILES from bsd.doc.mk.ru2001-12-171-1/+0
|
* Add some granularity to the WARNS levels.obrien2001-12-151-5/+10
| | | | | | | 1: add -Werror 2: -Wall [only], as this is the most used warnings setting by developers 3: our old `1' 4: our old `2'
* Unbreak "make lint" for programs and "make llib-l${LIB}.ln" forbde2001-12-032-2/+2
| | | | | | | | | | | libraries a little by not passing all of ${CFLAGS} to lint. Pass only options matching -[DIU]*. The important -nostdinc option can't be passed like I first thought because lint misinterprets as "-n -o stdinc". The unimportant -B* option can't be passed because lint doesn't support it. Otherwise, we pass the same options as to mkdep, exept for a bug in the latter: -U* is not passed. All this depends on option args not being separated from option flags by a space.
* Support the "install.debug" and "reinstall.debug" targets for kernel modules.des2001-10-271-1/+2
| | | | | | | | | Small tweaks to kldxref may be necessary to avoid the surprising (but harm- less) behaviour of 'kldload foo' loading foo.ko.debug instead of foo.ko if it is present in the kernel directory. Approved by: a week of silence on -arch MFC after: 2 weeks
* Fix cross-building, etc:ru2001-09-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. To cross-build, one now needs to set TARGET_ARCH, and not the MACHINE_ARCH. MACHINE_ARCH should never be changed manually! 2. Initialize DESTDIR= explicitly for bootstrap-tools, build-tools, and cross-tools stages. This fixes broken header and library dependencies problem. We build them in the host environment, and obviously want them to depend on host headers and libraries. The problem with broken header dependencies for bootstrap-tools and cross-tools was already partially solved (see BOOTSTRAPPING tests in bsd.prog.mk and bsd.lib.mk), but it was still there for build-tools if the user ran "make world DESTDIR=/foo". Also, for all of these stages, the library dependencies were broken because of how bsd.libnames.mk define DPADD members. We still provide a glue to install bootstrap- and cross-tools under the ${WORLDTMP}. Removed PATH overrides for bootstrap-, build-, and cross-tools stages. There is just no reason why we would need to override it, and the hacks to clean up the ${WORLDTMP} in the -DNOCLEAN case are no longer needed with fixes from this step. That is, we now never use ${WORLDTMP} headers and libraries, and we don't use any ${WORLDTMP} installed binaries during these stages. Again, these stages depend solely on the host environment, including compiler, headers, and libraries. 3. Moved "miniperl" back from cross-tools (it has nothing to do with a cross-compiler) to build-tools where it belongs. The change from step 1 let to do this. Also, to make this work, build-tools targets of "cc_tools" and "miniperl" were modified to call "depend". Here follow the detailed explanations. There are two categories of build tools, for now. In the first category there are "cc_tools" and "miniperl". They occupy the whole (sub)directory, and nothing needs to be done in this subdirectory later during the "all" stage. They are also constructed using system makefiles. We must build the .depend early in the build-tools stage because: 1) They use (and depend on) the host environment. 2) If we don't do this in build-tools, the "depend" stage of buildworld will do this for us; wrong library and header dependencies will be recorded (DESTDIR=${WORLDTMP}) and, what's worse, the "all" stage may then clobber the build-architecture format tools (that we built in the build-tools stage) with the target-architecture format ones, breaking cross build. In the second category there are all other build-tools. They share their directory with the "main" module that needs them in the "all" stage, and they don't show up themselves in the .depend file. The portion of this fix was already committed in gnu/usr.bin/cc/cc_tools/Makefile,v 1.52. 4. "libperl" is no longer a build tool, and "miniperl" is the stand-alone application. I had to make this change because build-tools and "all" stages share the same object directory. Without this change, if we cross compile, libperl.a is first built for the build architecture during the build-tools stage (for the purposes of immediate linkage with "miniperl"). Later on, the "all" stage sees this library as up-to-date, and doesn't rebuild it. The effect is that the wrong format static libperl library is installed with installworld. 5. Fixed "includes" to install secure/lib/libtelnet headers if required. Reviewed by: bde
* When bootstrapping (build-tools and cross-tools), avoidru2001-09-212-2/+2
| | | | | | | including the ${WORLDTMP}/usr/include headers that may not match the installed host libraries. This should fix the 20010919 UPDATING entry.
* This will have to be revised, but allow putting 'makeoptions GCC3=true'peter2001-09-101-0/+15
| | | | | in a kernel config file. This should minimize the tearing-out-hair process while updating the kernel for gcc-3 compliance.
* There is a better way to suppress groff(1) output.ru2001-09-051-2/+2
| | | | Submitted by: okazaki
* Implement the `manlint' target, for minimal validity checking ofru2001-09-052-2/+19
| | | | | | the manual pages. Mostly useful with mdoc(7) formatted manuals. Requested by: murray
* Final way: Don't include /etc/defaults/make.conf at all. It wasn'talex2001-08-311-4/+0
| | | | | | | | supposed to be edited by the user and didn't define important things, thus we can just skip it (that's where it differs from the make.conf.local change). Submitted by: ru
* Don't .error, if /etc/defaults/make.conf exists. This breaks -CURRENTalex2001-08-311-1/+0
| | | | | | buildworlds on a -STABLE machine. Reminded by: ru
* Move /etc/defaults/make.conf to /usr/share/examples/etc/make.conf asalex2001-08-301-1/+2
| | | | | | | | | | | | | | discussed on the arch@ mailinglist (after repo-copy). sys.mk will .error if it finds /etc/defaults/make.conf but include it anyways (this is the same behaviour as with the make.conf.local removal). /usr/share/examples/etc/make.conf has BDEFLAGS commented out now, since it's only an example file. Adjust all textes that talk about make.conf or defaults/make.conf to match the new situation.
* Fixed world breakage in ftpd, rshd, login, su, telnetd and telnet. LIBPAMbde2001-08-291-3/+3
| | | | | | | | and MINUSLPAM must be kept in sync with the libraries linked to by libpam to support static linkage. Moved libmd to the end of LIBPAM and MINUSLPAM. It was before libopie, but libopie references it, so static linkage only worked accidentally.
* Removed some garbage (LIBGMP, LIBSKEY). Using LIBSKEY in LIBPAM shouldbde2001-08-291-5/+2
| | | | | | | | have been fatal since it gave a dependency on a nonexistent file, but it worked because of an undocumented bugfeature in make(1): missing source files named *.a are silently assumed to be up to date. Fixed some style bugs (formatting).
* Zap LIBSSkris2001-08-191-1/+0
|
* revert previous accidental commitassar2001-07-221-1/+5
|
* get rid of some printf and pointer type warningsassar2001-07-221-5/+1
|
* Always preprocess manpages with tbl(1).ru2001-07-121-1/+1
|
* Add LIBBZ2.obrien2001-07-091-0/+1
|
* Add the ".FreeBSD" symbol so we can do things like ".if define(.FreeBSD)"obrien2001-06-161-0/+1
| | | | in Makefile's shared with NetBSD.
* Style nits:ru2001-06-141-2/+2
| | | | | | | GBINDIR -> ORIGBINDIR GBINGRP -> ORIGBINGRP Submitted by: bde
* Games ownership cleanup.ru2001-06-132-4/+2
| | | | Urged by: bde
* Clean up the PAM lib lists. Particularly relevant to the KRB5 case.markm2001-06-071-6/+6
|
* Add the single suffix rules for FORTRAN.obrien2001-06-061-0/+4
|
* Add the single suffix rules for C++.obrien2001-06-061-3/+6
| | | | | | | | (While there, I also moved the single suffix C rules beside the double suffix ones so they are easier to find) PR: 24438 Submitted by: Georg-W. Koltermann <gwk@sgi.com>
* Change the ownership of the symbolic link for hidden gameru2001-05-311-1/+1
| | | | | | | rather than /usr/games/dm wrapper. Spotted by: bde Reviewed by: bde
OpenPOWER on IntegriCloud