summaryrefslogtreecommitdiffstats
path: root/share/mk
Commit message (Collapse)AuthorAgeFilesLines
* Restore the BINFORMAT?= in sys.mk, or it's painfully difficult to usepeter1997-09-052-4/+10
| | | | | | | | .if in Makefiles. bsd.prog.mk and bsd.lib.mk do not depend on it however. Allow overriding of the -soname arg when building the lib*crypt.so* libs since libdescrypt.so and libscrupt.so both need a -soname of libcrypt.so so that the symlink is obeyed at runtime rather than at compile time.
* Change the BINFORMAT definitions so that they do not depend on sys.mk,peter1997-09-053-6/+9
| | | | | | since 2.1.x make(1) apparently does not have the -m switch to set both the the bsd.*.mk and sys.mk location, and this breaks 'make world' from a 2.1.x system.
* A first cut at some rules for building elf shared libs. Of particularpeter1997-08-303-3/+53
| | | | | | | | note, using "-Wl,-f" to generate a library objects list doesn't work anymore since the hack to ld hasn't been incorporated into binutils-2.8. (and the -f switch is used for something else already) This is disabled by default, don't panic! :-)
* Fixed cleandepend target. Subdirectories weren't handled unless SRCSbde1997-08-261-2/+2
| | | | was defined.
* Add "distclean" to list of targets to descend into subdirs for.asami1997-08-221-2/+2
|
* (1) Be nicer about mtree file missing. (Actually, just suggest whereasami1997-08-201-3/+13
| | | | | | | | | | you can get one from.) (2) Use "reinstall" as DEPENDS_TARGET if target is "reinstall". In particular, this will make it possible to do a "make reinstall" on several NFS clients and have them install all dependencies correctly. Tested by: davidn
* Merge buildworld/installworld patch to Makefile from RELENG_2_2. Patchasami1997-08-052-3/+5
| | | | | | | a couple *.mk files to enable -current world building on really old machines (e.g., 2.1.5). Reviewed by: too many many people to list here, special thanks to bde
* Do not set the application variable LDDESTDIR. Note that it is still honoredasami1997-07-311-6/+1
| | | | | | | | | | in a few places (in bsd.lib.mk and bsd.prog.mk); this merely fixed part of the brokenness by not setting it here. This fixes building of secure telnetd when DESTDIR is defined. (Otherwise, it will try to link libtelnet from ${DESTDIR}/usr/lib.) Reviewed by: bde, jkh
* Don't use !empty() on the potentially unset variable MANBUILDCAT. Usingbde1997-07-251-8/+8
| | | | it broke "everything" unless MANBUILDCAT was set.
* Removed a stray `.if' that broke everything.bde1997-07-251-2/+1
|
* Allow optional building of preformatted manual pages.pst1997-07-241-2/+80
| | | | Reviewed by: wosch
* Added ${KMOD} to CLEANFILES. ${KMOD} gets created if you run `make load'.bde1997-07-211-2/+2
|
* Changes for perl-5.004_01markm1997-07-171-3/+3
|
* (1) Add preliminary support for architecture/operating system-dependentasami1997-07-101-6/+55
| | | | | | | | | | patches and files. Note this is just for testing -- I don't expect "patches.OpenBSD" or "Makefile.alpha" start cropping up on our ports tree just yet! Pretty much ignored by: the ports/committers list (2) Add "SH?=/bin/sh" to the list of command-name macros. Use it. Checked by: recompiling all packages
* Removed temporary SMP header fix.bde1997-06-301-16/+1
|
* ``-C ${WRKDIR} -xzf'' are no longer the default args for EXTRACT_BEFORE_ARGSobrien1997-06-291-2/+2
|
* Make NOSHARED = no / NOSHARED = NO do what you'd expect.pst1997-06-281-2/+2
|
* Add new variable USE_PERL5. It is similar to USE_GMAKE, except thatasami1997-06-241-2/+7
| | | | | | | | | | | it also sets RUN_DEPENDS (USE_GMAKE is BUILD_DEPENDS only). The (immediate) purpose of this is to avoid having to change 70 zillion ports when the version of perl changes. Also, when perl5 is pulled into -current, this will become a no-op in -current's bsd.port.mk. Reviewed by: jfitz
* Change the distribute targets so that a given item in our source treejkh1997-06-217-15/+28
| | | | can place itself into n distributions, where n >= 1.
* Add `B' to list of flags to pass through from C*FLAGS when using mkdepasami1997-06-182-11/+11
| | | | | | | | | (bsd.dep.mk) and compiling assembly language sources (bsd.lib.mk). This doesn't change anything for our current source tree, but if you want to use the -B switch in C*FLAGS to specify the location of compiler subprograms, now you can do it. Reviewed by: bde (implicitly)
* Move the "umask ?= 0022" check (a warning only) from the defaultasami1997-06-181-6/+6
| | | | | | | | "do-install" target to the beginning of the "install" meta-target, so that ports that define their own do-install will also run it without having to duplicate it themselves. Tested by: rebuilding all packages
* Add "-I${DESTDIR}/usr/include" to CFLAGS if DESTDIR is defined, justasami1997-06-181-1/+4
| | | | | | | | like bsd.lib.mk and bsd.prog.mk. It doesn't add it to CXXINCLUDES, I don't think anybody has written a kernel module with C++. (Not that I think DavidG will allow it anyway. :) Reviewed by: bde
* (1) Use the new BSD.x11.dist mtree file to create directories underasami1997-06-041-55/+51
| | | | | | | | | | | | | | | | /usr/X11R6 if USE_IMAKE or USE_X11 is set. It is mostly designed after the XFree86 distribution, but also includes some of our own goodies (libexec, share/doc, etc/rc.d). (2) Full support for per-port dependency target. An optional ":<target>" can be added to any of the *_DEPENDS variables. Do not attempt to print out anything about dependencies if NO_DEPENDS is set (there was already too much code duplication, and this extra colon has really pushed it over the limit). Requested by: jfitz (3) Make "reinstal" pmake-safe. Reminded in an e-mail from: jkh
* Add a `strip' target which remove the ^H from plain text files.wosch1997-05-251-7/+18
|
* Add "-assert pure-text" to the link line. The warnings about RRSdfr1997-05-231-2/+2
| | | | relocations in text sections are now dependant on this flag.
* Change CXXINCLUDES to use "g++" explicitly. CXXINCLUDES was definedasami1997-05-232-4/+4
| | | | | with ${CXX} at the end; the only problem was, the directory name is "g++" and ${CXX} is defined as "c++" in sys.mk.
* Add LIBALIAS.brian1997-05-231-1/+2
|
* Add variable LPR for printer command.wosch1997-05-111-3/+18
| | | | | | | Murphy's Law: define LPR=true in /etc/make.conf if you don't want tomorrow find 3 paper copies (ascii, latin1, postscript) of the handbook in your printer (or someone else printer on the other half of the world).
* Support compressed output. Default is uncompressed output format.wosch1997-05-111-10/+46
| | | | Fix print target.
* Add SMPHDRS to CLEANFILES instead of replacing its current value.dfr1997-05-061-2/+2
|
* Use "gcc -shared" instead of "ld -Bshareable" for building sharedjdp1997-05-041-11/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | libraries. Remove the now-unneeded CPLUSPLUSLIB hack. I will also remove the CPLUSPLUSLIB definitions from the Makefiles that use it, after the dust settles. Use gcc's LIBRARY_PATH environment variable to handle DESTDIR, instead of -L flags in LDDESTDIR. LIBRARY_PATH is documented in the gcc info pages. It is better than using -L flags, because it modifies the search for start-up files as well as for libraries. A new variable LDDESTDIRENV is used to contain the normally-empty LIBRARY_PATH environment setting. LDDESTDIR is no longer set in <bsd.lib.mk>. It is still honored for the time being, because a couple of userland Makefiles still (wrongly) set it. These should be fixed, and LDDESTDIR should vanish. Removed the commented-out "LDDESTDIR+=-nostdlib", because "gcc -shared" doesn't link in any standard libraries anyway. Removed the ".if defined(LDADD)" around the _EXTRADEPEND target for shared libraries. This target is always necessary now, because c++rt0.o is linked into every shared library. Don't merge this into -2.2 without first merging the support for "gcc -shared".
* Add ascii to comment describing default FORMATS value tooache1997-05-021-2/+2
| | | | (see previous commit)
* Add ascii to default formats list.ache1997-05-021-2/+2
| | | | | | latin1 looks very ugly on Russian screens/printers and users should be able to print/view handbook first without inner knowledge of bsd.sgml.mk tuning.
* Put the "grossness" back; it had a purpose and anyone screwing aroundjkh1997-05-011-1/+5
| | | | | | | | with these files MUST understand what a `make release' does before making changes like this or get nasty-grams from me when my builds start falling over. In fact, if they can't test "make release" after making such changes then they *should leave these files completely alone*. Thank you.
* removed:fsmp1997-04-301-2/+2
| | | | | | | | | opt_smp_invltlb.h from: SMPHDRS= opt_smp.h opt_smp_invltlb.h SMP_INVLTLB is no longer a valid config option, the invalidation of the TLB via inter-CPU IPIs is now standard when APIC_IO is used.
* Fixed the SMP fixes:bde1997-04-301-7/+10
| | | | | | - fixed dependencies so that `make depend' isn't necessary. - added new files to CLEANFILES. - fixed style.
* Added trailing slash to ${CANONICALOBJDIR} in tests for directories,bde1997-04-301-7/+7
| | | | so that /usr/obj can be a symlink to an existing directory.
* Oops. The previous change duplicated the grossness instead of removing it.bde1997-04-301-9/+1
|
* Removed gross dir file bootstrap rule. Keep depending on the dirbde1997-04-301-1/+5
| | | | | | | | file so that we fail if it isn't already installed. The bootstrap is now done by `make install' in the top-level src directory. As well as being gross, the rule didn't actually work for src trees other than /usr/src, and this is difficult to fix since the whole src tree may not exist.
* bugfix: 'make depend' cause all LKMs rebuildache1997-04-301-2/+6
|
* (1) Change logic for dependency: instead of defining "is_depended"asami1997-04-301-47/+54
| | | | | | | | | | | | | | | | | | | | | | | (default: IS_DEPENDED?=install) target on the depended port, call DEPENDS_TARGET (default: install) from the depending port. Other than being more flexible (some ports don't require the dependency to be fully installed: see ghostscript4), this seems like a more natural thing to do. (I never understood the convoluted logic that was used before.) By building packages with "DEPENDS_TARGET=package", I can avoid file-sharing problems (like gs3 binary going into the gs4 package). (2) Add new variable PATCH_SITE_SUBDIR and separate it from MASTER_SITE_SUBDIR. Fixes linuxls port and is a correct thing to do anyway. Initially suggested and reviewed by: fenner (3) Add new variable MASTER_SITE_LOCAL for local ports. Defaults to LOCAL_PORTS subdir on ftp.freebsd.org's distfiles dir. Submitted by: jkh
* Submitted by: Wolfgang Helbig <helbig@MX.BA-Stuttgart.De>fsmp1997-04-281-1/+9
| | | | | | | | | | | | make world fails when it tries to build LKMs because the files opt_smp.h opt_smp_invltbl.h are missing. This patch to /usr/src/share/mk/bsd.kmod.mk is a temporary workaround. Note that LKMs built in this way may or may NOT work properly with an SMP kernel.
* Pass everything in ${LDADD} directly to the linker for `make depend'bde1997-04-231-2/+2
| | | | to prevent complaints from the compiler about nonexistent libraries.
* Fixed missing strip step in .S.o and .S.po rules.bde1997-04-231-5/+7
| | | | | | | | Fixed back to front -X and -x strip flags in .m.o and .m.po rules. Fixed disordered .m.o and .m.po rules. What is .m? Stripping probably should be removed. It makes problems in library functions hard to debug...
* Merge from 2.2.asami1997-04-211-8/+13
|
* Updated comment about MANDEPEND (it was misplaced in bsd.prog.mk).bde1997-04-191-1/+3
|
* Removed unused (and almost unusable) support for LDONLY. See ld/rtldbde1997-04-191-27/+1
| | | | | | | | | | | for how to use gcc to invoke the linker only. Removed `.if 0'ed support for not creating intermediate object files. Removed unused include of bsd.libnames.mk (LDONLY had the last reference to it). Removed stale misplaced comment about MANDEPEND.
* (1) Change comment for USE_X11 to be more explicit about what itasami1997-04-151-10/+12
| | | | | | | | | | | | | | | | | means. (2) Change MASTER_SITE_GNU etc. to use += instead of ?=, so users can specify a local mirror in /etc/make.conf and still get the full fallback in case something is missing. Submitted by: Narvi <narvi@haldjas.folklore.ee> (3) Skip port if USE_X11 or USE_IMAKE is defined and /usr/X11R6 doesn't exist. Submitted by: imp (4) Add "-" in front of rmdir of ${DISTDIR}/${DIST_SUBDIR} in distclean target; the directory might not be empty because the subdir is shared with some other ports' distfiles.
* Support GLOBAL style tags.jkh1997-04-136-22/+72
|
* Use "-pg" instead of "-p" for generating profiled object files.jdp1997-04-091-5/+5
| | | | | | The two options differ only when linking, but "-p" is incorrect because it is associated with the old-style "prof" command, which we do not support.
OpenPOWER on IntegriCloud