Commit Graph

306 Commits

Author SHA1 Message Date
agc
0ee4409cbe Don't assume we're on NetBSD when setting LOCALBASE i.e.
test the OSNAME first.

Change the name of the mtree file to match NetBSD's.
1997-08-20 16:02:48 +00:00
agc
5d9fc2b5dd Document the import of FreeBSD's <bsd.port.mk> and <bsd.port.subdir.mk>,
as used in their `ports' system.
1997-08-20 10:53:04 +00:00
agc
3709f02cd5 Change a path for NetBSD. Our PORTSDIR is /usr/pkg/src 1997-08-20 10:51:40 +00:00
agc
4a7d7317e2 Change paths for NetBSD. We have our PORTSDIR at /usr/pkg/src,
and our PREFIX is /usr/pkg.
1997-08-20 10:50:26 +00:00
agc
a1ac59e36e Initial import of FreeBSD's ports makefiles. 1997-08-20 10:21:05 +00:00
christos
cd59f75df4 Enable extra warnings if WARNS is set 1997-07-01 21:42:55 +00:00
phil
69edc948f4 Some man pages need tbl to make their man page. This adds support for
tbl in building man pages.  If the variable USETBL is defined, the
rules for making the man pages include tbl before nroff.

This supports at least 3 man pages in the tree.
(Related to PR 3144.)
1997-06-30 19:26:21 +00:00
christos
14b5e8dbc9 PR/3801: NAKAJIMA Yoshihiro: some documents are installed as executable 1997-06-28 01:22:59 +00:00
pk
19d4236655 Put `-DPIC' back in CPICFLAGS (a.out section); at least one C source
file (sparc/include/profile.h) relies on this.
1997-06-04 08:38:45 +00:00
cgd
521240796e declare ${DESTDIR}${INCSDIR}/$I .PHONY if UPDATE isn't defined, so that
headers will be installed properly in the !UPDATE case.  From Christos.
1997-06-03 16:00:30 +00:00
cjs
7a66732d34 Back out BUILDDIR and NOINSTALL changes. 1997-05-31 21:21:13 +00:00
cjs
54084592c2 Set or unset OBJDIR before we determine BUILDDIR. 1997-05-30 21:46:02 +00:00
cjs
ab09e2a45e Fix quoting yet again; reformat. 1997-05-30 15:11:03 +00:00
cjs
a71bce3f88 Don't add MACHINE to BUILDDIR if it's already added to BSDOBJDIR. 1997-05-30 05:50:16 +00:00
cjs
c6a0de99f8 Add NOINSTALL option for libraries that are used only during the build
of a program, and not installed into the final system.
1997-05-30 01:54:42 +00:00
cjs
1cb525c1e0 Quote it properly this time. 1997-05-29 19:53:32 +00:00
cjs
2707a099a6 Forgot to quote a variable. 1997-05-29 19:35:23 +00:00
cjs
68d423f17b If BUILDDIR is the same as DESTDIR, we aren't really using an object
file tree, so undef OBJDIR and install includes, etc. the old way.
Also, don't use OBJDIR at all if we're not under BSDSRCDIR.
1997-05-29 19:06:26 +00:00
veego
933397a44f Fix pr#3679 a little different.
Remove the '-nostdlib' flag for ELF systems and keep it for a.out systems.
1997-05-29 15:37:11 +00:00
mikel
5817cfa122 fix typo 1997-05-29 06:26:35 +00:00
cjs
bda4c93e92 Append ${MACHINE} to ${BUILDDIR} if USR_OBJMACHINE is not set. 1997-05-28 23:52:37 +00:00
veego
2fbf728651 Add '-nostdlib -L${BUILDDIR}/usr/lib' for ${LDADD} so it links a shared
library with the correct shared library.
1997-05-28 11:16:19 +00:00
mycroft
d5e3cfc07a Add a missing / in SHLIB_LD*FILE. 1997-05-27 18:51:12 +00:00
cjs
058d54e069 Always look in usr/lib for crtbegin/crtend; LIBDIR is the destination
directory of the library we're currently compiling.
1997-05-27 18:21:16 +00:00
cjs
b73b99ed41 Put include information in CPPFLAGS only (not in CFLAGS or MKDEPFLAGS).
Add note that CPPFLAGS is (or should be) passed to all programs that
pass input through cpp.
1997-05-27 18:09:00 +00:00
cjs
2fc3406301 Re-add other folks' changes that I accidently reverted when I did my
build system changes commit.
1997-05-27 17:45:57 +00:00
cjs
f66891a189 Make sure mkdep gets correct include directories. 1997-05-27 17:01:56 +00:00
pk
9e91a31967 Remove bogon. 1997-05-26 20:53:28 +00:00
cjs
b3b931acf8 Patch for yesterday's batch of `new build system' commits that I forgot
to commit.
1997-05-26 16:36:41 +00:00
cjs
5fd7ce7066 These updates to the build allow building against include files
and libs in the object tree, if you use a separate object tree,
while maintaining backward compatability with other build methods.
See the notes in src/share/mk/bsd.README for full details. Note
that the `make includes' target now only installs the include files
in the build directory (if you use one--otherwise they go in DESTDIR
just like before); `make install' will install include files in
DESTDIR.
1997-05-26 03:55:19 +00:00
jonathan
346af6eeff More table-driven changes: split CPICFLAGS into separate flags, to
support the two different incompatible rules for build .so files from
.S source on both NetBSD and binutils toolchains:

	 ${CPP} | ${AS} for syscalls
	 ${CC}   	for non-syscalls
for which the different toolchains's ${AS}  requires diffferent flags.
1997-05-24 01:42:36 +00:00
kleink
4c60ea6dc2 Add libposix. 1997-05-18 20:21:53 +00:00
christos
67c5f6f8ee Add a realinstall target so that we recurse to subdirectories making install,
before the our afterinstall target fires.
1997-05-17 16:59:28 +00:00
mycroft
a9b9dbd457 Do LINKS and SYMLINKS after FILES and INCS. 1997-05-17 16:43:31 +00:00
mycroft
e30142d40d Remove unneeded .SUFFIXES lines, and move .s and .S closer to .o to give the
right preferences.
1997-05-17 02:01:07 +00:00
mycroft
fb74da89f9 Add another .PHONY. 1997-05-10 14:19:02 +00:00
mycroft
e5ae95698c Always rebuild links, since dependencies don't DTRT. 1997-05-10 10:55:19 +00:00
mycroft
bb84c33ebb Add some .NOTMAINs. 1997-05-10 10:54:27 +00:00
mycroft
3ae4ef8d4c Fix typo in previous. 1997-05-09 13:40:34 +00:00
mycroft
4e5d05c9cc Automatically add the .c files corresponding to .l and .y files to DPSRCS.
Automatically add DPSRCS to CLEANFILES.
1997-05-09 13:25:46 +00:00
mycroft
83a6d8a106 Get the install dependencies in the right order, for the first time. 1997-05-09 09:18:23 +00:00
mycroft
fde14a0e77 Remove cruft. 1997-05-09 07:56:00 +00:00
mycroft
a6b93bb66a Don't empty the suffix list. 1997-05-09 06:19:55 +00:00
mycroft
ca03cbbd4d Oops; rearrange dependencies to get things built early enough. 1997-05-09 05:43:41 +00:00
mycroft
f0a00ea4d3 Make sure INCS and SRCS are built if necessary. 1997-05-09 05:17:29 +00:00
gwr
386c8864bc Set the .NOPATH flag for ${OBJS} (from Christos). 1997-05-08 21:21:25 +00:00
gwr
1f53401903 Set the .NOPATH flag for the .depend target. 1997-05-08 21:18:59 +00:00
mycroft
8350f2906b Fix the MACHINE and MACHINE_ARCH links. 1997-05-07 19:34:16 +00:00
mycroft
2189b1da42 Make $S default to /sys. 1997-05-07 19:25:16 +00:00
mycroft
413d34c758 Add some dummy targets. 1997-05-07 19:09:47 +00:00