Commit Graph

515 Commits

Author SHA1 Message Date
ross 08d3e70e4f Define a LIBBZ2?=... for use in DPADD=... lines. 1998-09-10 00:40:33 +00:00
tsubai 3318a12385 UVM is now standard on macppc. 1998-09-03 15:13:51 +00:00
sakamoto f36e74b371 UVM is the default on bebox,ofppc. 1998-09-03 01:51:43 +00:00
matthias bfc51b47d0 UVM/PMAP_NEW are now the standard for the pc532. 1998-09-02 19:25:33 +00:00
mrg 77e8bc0d0f really turn UVM on on the atari... 1998-09-02 14:28:58 +00:00
mrg fab7ebb042 UVM is the default on sparc64 1998-09-02 14:12:04 +00:00
thorpej 4e705c4d21 Switch the i386 port to UVM+PMAP_NEW. 1998-08-31 17:55:26 +00:00
tv 16a9e147f7 Create a STRIPPROG definition to specify a (target) strip program. Later,
STRIPPROG could be used in preference to "-s" on "install".
1998-08-27 23:26:37 +00:00
tv e340b4da07 Rename show-objdir to print-objdir to be consistent with existing
convention.
1998-08-27 20:33:45 +00:00
tv 22f41e92ef Add pseudo-target "show-objdir", which will print the value of ${.OBJDIR}
and nothing else.  Intended target: cleaning up the ugly "echo | make"
constructs to find files from another directory's objdir.
1998-08-27 16:54:59 +00:00
tv c95c8e1504 Alpha is now egcs by default (now all that's left is as and ld). 1998-08-27 14:05:58 +00:00
tv 4e2285a407 Allow -Werror to be turned off with CWARNFLAGS=-Wno-error ... 1998-08-26 19:36:37 +00:00
tv eb6956eecf Introduce CWARNFLAGS, idea from kernel Makefiles, which goes after "-Wall
..." in the CFLAGS and can be set in directory Makefile or mk.conf.
1998-08-25 14:57:21 +00:00
tv 450705382c Back out previous. -Wuninitialized is disabled in the latest egcs
sources, and -Wno-format-y2k is inserted into the proper Makefiles only
(as this is likely to become a permanent option).
1998-08-25 12:04:59 +00:00
ross 57b46db5d1 Add -Wno-uninitialized -Wno-format-y2k, with an attached XXX 1998-08-25 07:46:23 +00:00
tv aefeb9110b Fix the .c.a brokenness with libbfd the "right" way - nuke everything but
*o from .ALLSRC.
1998-08-22 18:59:40 +00:00
tv 82561cf391 Kill spaces in the $$files check introduced by borrowing the C++ rule for
ObjC.
1998-08-18 19:12:42 +00:00
tv da32b76d1f Add dependency rule for Objective-C files. 1998-08-18 17:31:21 +00:00
tv cf98a967de "oops": .c.lo rule missed the "-o ${.TARGET}". 1998-08-17 00:03:32 +00:00
tv b32ba95d4e Add .c.lo, .l.lo, and .y.lo rules for automatic use of ${HOST_COMPILE.c}. 1998-08-16 23:55:04 +00:00
lukem 24bd0530c9 add distclean as a synonym for cleandir 1998-08-09 14:46:19 +00:00
frueauf ba61dd0d54 SYS_INCLUDE=symlinks should not be enabled by default. I guess it was done
by accident.
1998-08-07 20:31:56 +00:00
ragge f6fd0956f2 Put in that vax uses PMAP_NEW as default. 1998-08-04 19:21:26 +00:00
mycroft 7b36bd4442 If AUDIT is defined, compile with -D__AUDIT__. 1998-07-27 13:16:52 +00:00
tv aaafdd394a - Add MACHINE_GNU_ARCH entries for mipseb and mipsel. Temporarily remap
mips to mipsel.
- Remove the unused definition of NOSHLIB for powerpc.  NOPIC is being
  used for this purpose.
1998-07-27 00:58:05 +00:00
perry f0ba699cac Remove obsolete note that NOLINT is set by default. 1998-07-22 18:22:35 +00:00
perry 9ae8946508 Get rid of NONOLINT, and unset NOLINT. We now build lint libraries by default. 1998-07-22 18:21:39 +00:00
mark b5eb8eb72c Define NONOLINT for arm32. 1998-06-27 20:56:49 +00:00
cgd 2125120c77 add bsd.kinc.mk, a template to support the new kernel include file
installation mechanism.
1998-06-12 23:28:53 +00:00
agc 67d4dd8792 Delete (duplicate) setting of UVM if the MACHINE_ARCH is "sparc" - this
is done earlier in the file, with the other platforms on which it's
standard.
1998-05-29 10:15:17 +00:00
tv caf92c9d92 SPARC was missing from the list of GNU_ARCHs. 1998-05-25 23:40:22 +00:00
tv cff69f3322 Add the ability to map a MACHINE_ARCH to a GNU architecture name:
- ${GNU_ARCH.${TARGET_ARCH}} will produce a target architecture name in
  mainline sources
- ${MACHINE_GNU_ARCH} is equivalent to ${GNU_ARCH.${MACHINE_ARCH}}
1998-05-22 16:43:42 +00:00
tv bace91cb64 Apply same .c.a workaround from alpha to arm32 1998-05-22 13:52:52 +00:00
simonb 6126819df6 Fix typo (s/OBJECT_FMAT/OBJECT_FMT/) 1998-05-13 13:58:00 +00:00
thorpej bcaf433561 If DESTDIR is set, tell lint to use "-d ${DESTDIR}/usr/include" (the equiv.
of "-nostdinc -idirafter ${DESTDIR}/usr/include".  Fixes PR #5399.
1998-05-11 22:12:59 +00:00
kleink bfdeed0774 Set NONOLINT on sparc. 1998-05-10 14:58:09 +00:00
tv 0c1cd4f4bc Fix definition for SRCS: "If PROG is not defined" -> "If SRCS is not
defined" as noticed by prlw1@cam.ac.uk
1998-05-05 17:15:05 +00:00
mrg 445283dc37 make UVM the default on the sparc 1998-05-05 01:15:05 +00:00
thorpej d1abd27c70 Make UVM standard procedure on hp300, mac68k (per scottr), and mvme68k. 1998-05-04 05:03:52 +00:00
thorpej dae01890b2 Add a mechanism for specifying which platforms use UVM and which use
PMAP_NEW, and enable both for NetBSD/alpha.
1998-05-04 04:37:33 +00:00
ross 62a5b4b89c English. 1998-05-03 16:39:45 +00:00
christos 62017450ca fix lint library rule bug; use ${.ALLSRC} as suggested. 1998-05-02 15:19:04 +00:00
tv 8ab6713503 Fix symlinks creation in the build directory: create the symlinks there,
not in ${DESTDIR}.
1998-04-17 13:34:55 +00:00
tv aea014c22a Braindead pmake conditionals. 1998-04-15 12:07:10 +00:00
tv 820dd24a68 Create the ELF symbolic links in the build tree, too. Needed for libamu
and egcs libcc1 to make sure linking is done against the correct shared
object.
1998-04-15 02:39:53 +00:00
tv 7484409ac2 Compare ${LDSTATIC} against ""; don't check for definition. Make this
DTRT on setups with a global setting of LDSTATIC= (nothing)
1998-04-15 01:38:27 +00:00
agc 001ce9107b Move bsd.port.mk and bsd.port.subdir.mk into pkgsrc/mk (by CVS
repository copy), which is a much better place for them.  Update the
Makefile to reflect these changes.
1998-04-14 07:56:56 +00:00
lukem 2dbeb85dde only read /etc/mk.conf once (stops += variables getting double assignments) 1998-04-13 12:03:07 +00:00
tv c97729d6b8 Also build a static library regardless of NOSTATICLIB if LDSTATIC is
defined.  In situations where a "private library" is being built, a static
library is needed to link binaries statically (LDSTATIC=-static).
1998-04-12 21:22:20 +00:00
fair 2e28a338e3 a link installation performance optimization: only fire off "ln -f", not "rm -f; ln" for each link created 1998-04-09 22:08:36 +00:00
hubertf 271a6b74a8 Don't creade dirs mode 444, inspired by fvdl's last commit. 1998-04-09 12:47:02 +00:00
tv 854cea27cc New flag, NOSTATICLIB, prevents build and install of the standard static
library unless NOPIC is set.
1998-04-09 00:51:06 +00:00
tv 3b468e7a9b The C++ compiler is "c++", not "g++"; that is more compatible with non-GCC
based C++ compilers.
1998-04-09 00:45:10 +00:00
tv 482063559a .y.c <sys.mk> rule fixes. Don't create a y.tab.h file unless asked for,
and use smarter creation of the header file.
1998-04-09 00:32:31 +00:00
fvdl 1c1df51751 INSTALL_DATA_DIR should not install directories with mode 444 1998-04-08 22:27:41 +00:00
agc 80bf789853 Correct a definition name in a comment. 1998-04-03 09:56:00 +00:00
enami 6e80cfe67f Test target __initialized__ instead of .MAIN to see if inclusion
of ../Makefile.inc is necessary.
1998-04-03 04:40:42 +00:00
tv 875f72aa79 Revert. This broke too much in the build tree, and a better solution
needs to be created.  (The existing situation breaks a lot too.)
1998-04-01 16:58:33 +00:00
tv 755c261508 Fix .y rules to DTRT with possibly generated .h files. See mail on
tech-toolchain for a very detailed explanation of this.  In short, add
a .y.h rule identical to the .y.c rule and make the .y.c rule rename
the .h file; also, clean the .h file in CLEANFILES.
1998-04-01 15:23:36 +00:00
cgd c0ac8bae67 GC alpha's ECOFF_TOOLCHAIN make variable, and related bits. Nobody
should be using an ECOFF toolchain on NetBSD/alpha any more.
1998-03-28 00:50:41 +00:00
tron 4388c70018 Add "ftp.uni-paderborn.de" and "ftp.x.org" to "${MASTER_SITE_XCONTRIB}". 1998-03-24 10:27:44 +00:00
hubertf 12ef5de7af Document ALL_TARGET and INSTALL_TARGET, as per PR 5186. 1998-03-23 07:42:50 +00:00
agc b34c2c6ed2 Temporarily revert to using GNU tar, until pax is bug-compatible with
gtar.  pax has problems extracting certain archives which were made by
gtar and contain trailing trash at the end - gtar ignores this dross,
pax thinks it's valid, and prompts for the second volume.
1998-03-09 18:36:51 +00:00
hubertf e7625fb46f Make definition of OBJMACHINE in mk.conf work. 1998-03-08 14:55:04 +00:00
frueauf bc2108c741 Introduce "Arch:" field in INDEX to handle the ONLY_FOR_ARCHS case better. 1998-03-08 14:25:52 +00:00
hubertf 44cef8723d Add INSTALL_*_DIR macros. 1998-03-07 21:19:00 +00:00
jonathan 6fbfecba04 Use the new binutils-compatible ld commandline syntax to build
shared-library .so files on both ELf and  a.out platforms.
1998-03-07 02:02:58 +00:00
tron 3b568e620a MANZ now handles symlinks properly. 1998-03-01 13:38:03 +00:00
hubertf 6aa991c6a1 Cleanup fetch-list change reported by Bernd Ernesti.. 1998-02-28 16:02:21 +00:00
tron 10c0ddaf25 Fix merge problem with last commit. 1998-02-28 10:39:19 +00:00
tron e97ed99680 Fix problem with registering foreign language manual pages. 1998-02-28 10:14:41 +00:00
agc 4c570e1c28 Patches from Matthew Green to use pax if it's present, in preference
to tar.
1998-02-27 13:22:59 +00:00
lukem a771a1c39a change default ownership from bin:bin to root:wheel 1998-02-26 08:46:09 +00:00
perry 5e2ed85c88 set NONOLINT on i386. Other ports on which building with lint is okay should
be added to this list until we get all ports okay.
1998-02-25 18:30:11 +00:00
jonathan 5e0e8cec39 More table-driven changes for different toolchains:
* new bsd.own.mk variable OBJECT_FMT with values "a.out" or "ELF".
  * use OBJECT_FMT in Makefile tests that depend on toolchain.
  * Add new bsd.own.mk variable NOSHLIB that, if set indicates a given
    port doesnt yet do shared libraries. Set on powerpc.
  * Document new feature-test variables in src/share/mk/bsd.README.
Tested on i386, mips, fakedup Alpha environment.
1998-02-23 10:09:31 +00:00
hubertf 4abf2e5151 Enhance look & feel of the generated README.html's. 1998-02-20 22:06:18 +00:00
hubertf 289e97d3a8 Recursively print /bin/sh code for all dependent package as well as the
current package (IF called from a package dir and not via bsd.port.subdir.mk;
in the latter case it's assumed that the dependent packages will be scanned
later anyways).

This fixes PR 4992 by Mario Kemper <magick@bundy.lip.owl.de>.
1998-02-20 21:31:20 +00:00
hubertf 34f7405909 Kill line forgotten during PATH extension (in MAKE_ENV). 1998-02-20 21:01:09 +00:00
jonathan b947725fbb Fix dyslexic typo. 1998-02-18 08:14:31 +00:00
jonathan 4cbc9ecd8e Make bsd.lib.mk rules to build ELF vs a.out shlibs more table-driven.
No more .if in solib link rule.
1998-02-18 03:14:31 +00:00
agc 3fde44b046 Add a deinstall target, so that packages can be removed easily.
This implementation was taken from FreeBSD.
1998-02-17 15:07:02 +00:00
thorpej 4d8ed30c33 Make the .N.catN rules depend on the troff macros used in manpage builds. 1998-02-15 01:07:46 +00:00
agc 31ff3c7ebb When generating the PLIST, if a manual page name has to have .gz added
or removed using sed, don't add the g at the end of the substitution
expression - there will only be one substitution per line.
1998-02-13 15:16:43 +00:00
hubertf 450b3dd272 Fix PR 4884 by replacing STRIP with STRIPFLAG.
This addes yet another step towards bsd.pkg.mk. :)
1998-02-09 00:47:23 +00:00
mikel d317b4789d STRIP -> STRIPFLAG; from Jim Bernard in PR pkg/4884 1998-02-04 07:08:56 +00:00
hubertf 3089cbdaf0 Introduce TRUE?=/usr/bin/true, and use it. 1998-02-02 08:11:49 +00:00
agc 0e1796ddf0 Echo the directory name when doing a "make readme", so that progress
can be monitored.
1998-01-30 14:33:48 +00:00
agc 0ecdcb24d1 Remove the requirement that a LIB_DEPENDS name must have any '.'
characters escaped with a backslash, but recognise the backslashes for
backwards compatibility. When matching names, do any escaping of
the regexp '.' metacharacter automatically, if needed.

When a shared object dependency is printed out, use a form that does
not have the backslashes in it, for readability.

Print out the full pathname of the matching shared object, for clarity.
1998-01-30 13:53:53 +00:00
hubertf f3234b8314 Replace "<$ARCH"> by "${MACHINE_ARCH}", keep "<$ARCH>"
(in bsd.port.mk) for backward compatibility.
1998-01-28 15:36:31 +00:00
hubertf 0c86a9c11e add mirror-distfiles target also here 1998-01-27 23:04:48 +00:00
agc 66d0028ab9 Rename the `mirror' target to be `mirror-distfiles'. This describes
the action better, and works around problems with the mirror package.

Document the mirror-distfiles target, and also the readme target.
1998-01-27 13:14:07 +00:00
hubertf e134d92e49 use __ARCH_OK=yes and NO_IGNORE=yes at the mirror-target to get ALL distfiles 1998-01-25 14:50:47 +00:00
hubertf 3f9baf7ddc Re-move .if!defined(__ARCH_OK) to fix use of NO_IGNORE; document some .endif's 1998-01-25 14:46:10 +00:00
hubertf af94a7e9dc MAINTAINER = packages@NetBSD.ORG 1998-01-25 14:39:49 +00:00
hubertf 8e4b1a4ffe From OpenBSD's bsd.port.mk rlog (Mmm, AnonCVS :-):
revision 1.21
date: 1997/12/20 01:26:57;  author: joey;  state: Exp;  lines: +2 -2
openbsd maintainer changed from imp to me
1998-01-24 23:06:33 +00:00
hubertf 6c7a7eefde Echo "" instead of nothing in CKSUMFILES computation..
Fixes PR 4877 by Manuel Bouyer <bouyer@antioche.lip6.fr>
1998-01-23 16:48:23 +00:00
agc bf08ec7da8 In the shell script to find an executable upon which this package
depends, break out of the loop when you find one.  Also print the name
of the executable found.
1998-01-23 09:47:57 +00:00
agc 01906e318c Ignore the return code from rm when removing the ${WRKDIR} symbolic
link, when doing a "make clean" with WRKOBJDIR defined.  From Thorsten
Frueauf.
1998-01-22 11:27:54 +00:00
agc 4872d27a15 Add a MIRROR_DISTFILE variable; defaults to "yes", and should be set
to "no" in a package's Makefile when the authors have placed
restrictions on the redistribution of the distfiles.  (Thanks to Jason
Thorpe for the idea).

Add a `mirror' target, which will do a "make fetch" if the package's
distfile is allowed to be redistributed.  This is for use on sites
which mirror package distfiles.  (Thanks to Charles Hannum for the
idea).
1998-01-22 10:20:48 +00:00
hubertf 87feef5fe5 Fix comment for FETCH_CMD wrt non-NetBSD-systems 1998-01-16 09:07:46 +00:00