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
mycroft
b81d43c325
Fix typo.
1997-05-07 17:17:20 +00:00
mycroft
b2a77a6aa4
Don't use _SUBDIRUSE outside of bsd.subdir.mk.
1997-05-07 17:06:16 +00:00
mycroft
b89441bd06
Always define cleanman.
1997-05-07 16:45:40 +00:00
mycroft
78f9e94dd2
Always define cleandepend. Don't use a .depend target if SRCS is empty.
1997-05-07 16:44:04 +00:00
mycroft
b475e889d8
Introduce a separate cleandoc target.
1997-05-07 16:35:44 +00:00
mycroft
bb8827f7d1
Various simplifications.
1997-05-07 15:53:28 +00:00
mycroft
1bd348b5f9
Shuffle some .PHONYs around, to work better with `-t'.
1997-05-07 08:42:18 +00:00
mycroft
6a00bc76f3
Set the .MAKE attribute for all recursive targets.
1997-05-06 23:53:40 +00:00
mycroft
2da111c521
Make most of the install targets .PRECIOUS.
1997-05-06 21:29:33 +00:00
mycroft
5acae7b6ea
Add a pile of missing .PHONYs.
1997-05-06 20:54:31 +00:00
christos
b69d8d5561
Update for incremental make changes.
1997-04-19 22:24:30 +00:00
christos
b339c21257
Add ${LIBNTP}
1997-04-18 14:30:24 +00:00
thorpej
a585fb7042
Add several HOST_* variables. These identical to their non-HOST_
...
counterparts, and are used to compile programs that are needed to
compile other programs (see src/bin/sh for an example use). These
facilitate cross-compiling.
Define an NM variable - the program to use for nm(1)
1997-04-17 06:43:32 +00:00
thorpej
985170db35
- Properly depend on crtbegin.o and crtend.o for platforms that use
...
them (currently Alpha and PowerPC)
- STRIP -> STRIPFLAG
1997-04-17 06:40:32 +00:00
thorpej
9377c557b2
Rename STRIP -> STRIPFLAG - this is a flag passed to install(1) to
...
indicate whether or not the program should be stripped. This rename
allows the user to set STRIP as an alternative to /usr/bin/strip,
helping cross-compiling.
1997-04-17 06:34:15 +00:00
thorpej
2e6057dd39
Pass the program to use for nm(1) to lorder(1), helps cross-compiling.
1997-04-17 06:32:23 +00:00
christos
c9ba10ae4a
Annotate missing directories as [skipped: missing] (from Christoph Badura)
1997-04-16 14:09:16 +00:00
christos
9a7df3e0e4
Skip missing subdirectories to enable builds in partial source trees.
...
Directories being skipped are mentioned as '===> dir [skipped]'
1997-04-15 21:32:40 +00:00