Commit Graph

28 Commits

Author SHA1 Message Date
lukem 1f560b89c0 Append to AFLAGS rather than setting AINC. 2004-04-18 04:26:15 +00:00
lukem 6dbd72c053 MAKEVERBOSE messages 2004-02-08 22:52:41 +00:00
lukem a93ea220fc Rework how dependency generation is performed:
* DPSRCS contains extra dependencies, but is _NOT_ added to CLEANFILES.
  This is a change of behaviour.  If a Makefile wants the clean semantics
  it must specifically append to CLEANFILES.
  Resolves PR toolchain/5204.

* To recap: .d (depend) files are generated for all files in SRCS and DPSRCS
  that have a suffix of: .c .m .s .S .C .cc .cpp .cxx

* If YHEADER is set, automatically add the .y->.h to DPSRCS & CLEANFILES

* Ensure that ${OBJS} ${POBJS} ${LOBJS} ${SOBJS} *.d  depend upon ${DPSRCS}

* Deprecate the (short lived) DEPENDSRCS


Update the various Makefiles to these new semantics; generally either
adding to CLEANFILES (because DPSRCS doesn't do that anymore), or replacing
specific .o dependencies with DPSRCS entries.

Tested with "make -j 8 distribution" and "make distribution".
2003-08-01 17:03:41 +00:00
christos a99e10df08 Use ${HOST_SH} 2003-05-08 13:23:14 +00:00
thorpej 2dcac9e4eb Make the generated .S files depend on ${.CURDIR}/sys/Makefile.inc. 2003-01-28 00:33:23 +00:00
thorpej 3fba05d66e Set LLIBS to nothing; no sense in warning about the routines from
libc that we know we are replacing.
2002-09-14 21:18:20 +00:00
thorpej 6363558907 Invoke makelintstub with CPP in the environment. 2002-09-14 21:16:43 +00:00
lukem ebb6fc9eb8 Use ${NETBSDSRCDIR}/some/path instead of ${.CURDIR}/../../some/path (etc).
(Reduces make output by ~ 20%)
2002-08-19 09:41:27 +00:00
tv 83d13930d0 Don't run makelintstub if MKLINT=no. 2002-01-29 19:03:01 +00:00
tv 4f2487f123 Update to match libc's new .S build rules. 2001-11-13 18:55:00 +00:00
itojun 99b0df5333 use MACIHNE_CPU to determine architecture-dependent source code directory.
is use of exists(foo) safe enough?
TODO: many other places to fix
2001-01-08 08:29:59 +00:00
itojun 8145e73c70 sh3 split 2001-01-04 08:59:24 +00:00
is cff7bedd54 Actually profile system calls.
Problem and most of the fix reported by Anders Hjalmarsson in PR 4976; libposix
mentioned by Chris G. Demetriou.
1999-10-27 14:58:28 +00:00
sommerfeld 520b575ce0 Fix build with DESTDIR set in mk.conf.. 1999-08-21 03:28:54 +00:00
kleink 2175038069 Some cleanup; g/c unneeded lint stub files. 1999-07-05 15:54:18 +00:00
abs edc1a24a56 Add a note to update src/distrib/sets/lists/base/shl.*, and add a missing
RCS Id.
1999-02-25 08:02:19 +00:00
drochner 3654576f9f make this build again after the mips->mipse? transition 1999-02-24 15:10:16 +00:00
kleink 2323c86415 Bump libposix minor version to 1: addition of chown(), fchown() and lchown(). 1998-02-14 20:44:54 +00:00
kleink 2182dd6195 Generate PSEUDO-stubs for chown(), fchown() and lchown(). Also, change the
prefix of the actual syscall from "posix_" to "__posix_".
1998-02-14 20:44:06 +00:00
perry 93db5caa95 RCSID Police. 1998-01-05 07:41:06 +00:00
cgd 6a1e9744f2 sh makelintstub, rather than trying to execute it directly 1997-11-06 22:34:01 +00:00
thorpej 66abcf57d6 Instead of creating a .ln for each syscall stub, create one (big) .ln
per class of syscall stubs.  This is much more efficient (though it's still
pretty inefficient).

This also fixes a problem with syscall.h and DESTDIR which was pretty
well buried in the old implementation.

From Chris Demetriou <cgd@pa.dec.com>.
1997-11-05 05:46:18 +00:00
lukem 4d327fc09d use CPPFLAGS instead of CFLAGS 1997-10-23 02:53:50 +00:00
cjs 7a66732d34 Back out BUILDDIR and NOINSTALL changes. 1997-05-31 21:21:13 +00:00
cjs 7b9ee5e56e DESTDIR -> BUILDDIR 1997-05-30 21:47:34 +00:00
cjs 47dba1e5a2 DESTDIR -> BUILDDIR 1997-05-30 14:16:59 +00:00
jonathan fbae7af166 Use toolchain-driven PIC flags to build .so files from assembler source,
instead of inline tests on ${arch} and duplicate rules.
1997-05-24 03:29:22 +00:00
kleink 805ff80049 Add POSIX compatibility library. 1997-05-18 20:14:21 +00:00