Commit Graph

19 Commits

Author SHA1 Message Date
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
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
gwr 5c8e26aed2 Move definitions of: NM, LORDER, TSORT from bsd.sys.mk to sys.mk
so they are more easly used by things like sys/libkern/Makefile.inc
(Besides, all the other tool definitions are in sys.mk)
1997-11-04 21:12:41 +00:00
gwr dff2b93f7d Define LORDER, TSORT 1997-11-04 20:31:56 +00:00
lukem 513a06e6f5 remove lint rules for objective c as lint can't cope 1997-10-30 07:25:32 +00:00
lukem 55209d604d add default rules for Objective C sources (`.m' suffix):
- sys.mk:
	add ${OBJC} and ${OBJCFLAGS} (equivalent to ${CC} and
	${CFLAGS} respectively), and ${COMPILE.m} and ${LINK.m} rules
- bsd.sys.mk:
	add .m, .m.o, and .m.ln rules (as per the C rules in sys.mk).
	it's here, rather than in sys.mk, because `.m' isn't
	exclusively used for Objective C files.
- bsd.lib.mk:
	add .m.o, .m.po, .m.so, and .m.ln rules (as per C)
1997-10-28 12:40:16 +00:00
mikel d76d14e5e5 add -Wpointer-arith to flags enabled by WARNS 1997-10-12 01:37:50 +00:00
mycroft d39697696f Put the `-nostdinc -idirafter ...' in CPPFLAGS, not CFLAGS. 1997-10-08 13:17:00 +00:00
christos a1e04f77a8 PR/4146: Erik Bertelsen: WARNS was not unsettable in Makefiles 1997-09-26 13:24:03 +00:00
christos cd59f75df4 Enable extra warnings if WARNS is set 1997-07-01 21:42:55 +00:00
cjs 7a66732d34 Back out BUILDDIR and NOINSTALL changes. 1997-05-31 21:21:13 +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 f66891a189 Make sure mkdep gets correct include directories. 1997-05-27 17:01:56 +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
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
scottr 4aca2bf529 If DESTDIR is defined, look for includes in ${DESTDIR}/usr/include,
instead.
1996-05-15 19:46:51 +00:00
cgd 8c917568da add "CFLAGS += -Werror" to bsd.sys.mk, and update various bits of
documentation to explain bsd.sys.mk's purpose more clearly.
1995-12-13 01:25:05 +00:00
christos 70174eb6fe Added include file <bsd.sys.mk> that contains lex and yacc "parallel aware"
rules. These rules are not turned on by default; they are enabled by setting
the PARALLEL variable.
1995-10-22 00:45:53 +00:00