Commit Graph

55 Commits

Author SHA1 Message Date
joerg
514310971d Use __dead and __printflike 2011-08-30 18:53:41 +00:00
lukem
f6c4f0aee4 Fix WARNS=4 (-Wshadow -Wcast-qual -Wsign-compare) 2009-04-15 08:26:34 +00:00
martin
11a6dbe728 Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +00:00
christos
000f6e1084 PR/37932: Yakovetsky Vladimir: build distribution with USE_FORT fails
Remove unused bcopy crap
2008-02-02 17:16:14 +00:00
christos
c2ea993397 Convert a "(void)&" to a volatile declaration. Also fix the
intstructions[] table terminator in gsp_inst.c so this will compile
with -Wextra.
2006-12-18 20:12:21 +00:00
christos
fcf84daa48 Coverity CID 3789: Add assertion before NULL deref. 2006-09-27 21:33:07 +00:00
christos
1b75c508c8 Programs that had their own efuns, use libutil's now. 2006-08-26 18:15:37 +00:00
christos
57ff0c4946 remove dup && 2006-05-25 02:50:50 +00:00
christos
ecae799d9b Coverity CID 803, 804, 805: Avoid NULL deref. 2006-05-24 23:34:59 +00:00
christos
6968fdf466 Coverity CID 1464: fix static overrun by returning an error. 2006-05-24 22:30:15 +00:00
christos
87e155c5c7 rename alloc() to emalloc(). 2006-05-13 22:34:50 +00:00
jmc
ee72647bf0 Re-order includes so bcopy->memcpy macro redef doesn't cause prototype errors
on older gcc compilers (like gcc2 that vax is using)
2005-02-07 06:50:42 +00:00
dsl
cfe7f80ff0 Add (unsigned char) cast to ctype functions 2004-10-29 20:51:11 +00:00
grant
6b727993ff use An to markup names. 2003-11-12 13:33:24 +00:00
grant
cacf2d0f45 s/netbsd.org/NetBSD.org/i 2003-11-12 13:31:07 +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
itojun
2372fad140 use bounded string op as much as possible 2003-07-14 08:43:19 +00:00
soren
236006d5dc Remove extraneous \n's in {err,warn}{,x} that used to be printfs. 2002-08-08 13:24:12 +00:00
is
5653ebf6ef gspahextoc has been EOLed. 2002-06-07 12:00:10 +00:00
is
cdb48f999d This isn't in use anymore - gspa can create initialized C arrays directly. 2002-06-07 11:42:28 +00:00
wiz
c1c6716d11 Add man page for gspa(8). 2002-05-27 21:12:54 +00:00
wiz
988835347a Be consistent in where -c output is written. 2002-05-27 21:11:56 +00:00
wiz
27dda7204b Sort options in usage. 2002-05-27 21:11:41 +00:00
tv
8e6f7afb5b MKfoo=no -> NOfoo 2001-12-12 01:48:43 +00:00
wiz
c03a48d64f withough -> without 2001-06-13 10:45:57 +00:00
is
d8302e2d73 More format string cleanups by sommerfeld. 2000-10-11 20:23:46 +00:00
mycroft
883a3e4835 Make alloc() return void*, and eliminate the use of typeof. 2000-07-23 23:14:10 +00:00
matt
3ab02a8704 More #include <stdlib.h> string, etc. cleanup 2000-07-04 20:27:35 +00:00
is
a77e5c14be provide initialized C array output directly, rather than through postprocessor 1999-06-22 20:27:21 +00:00
is
73c9f51034 TMS340x0 adresses are unsigned 1999-06-22 20:00:47 +00:00
is
ce8cbb67e7 Fix typo.. 1999-05-22 21:15:18 +00:00
is
2c7fa23c38 Fix Copyright dates 1999-02-16 23:34:10 +00:00
is
dc068e0d1f Assign my files to The NetBSD Foundation, Inc. 1999-02-16 22:46:55 +00:00
lukem
dcab0210a0 convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
ross
b1934d6034 {} fixes from Erik Bertelsen <erik@erik-be.uni-c.dk> (PR 6047) to shut up egcs. 1998-08-27 20:31:00 +00:00
ross
5b1f2d4c8c Add {} pairs to shut up egcs. 1998-08-27 18:03:42 +00:00
rvb
a7bec6f8a2 The .o files should depend on the h file, not the .c files 1998-07-10 16:37:55 +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
mrg
ef395ee2f1 remove unused extern. 1998-03-30 02:34:33 +00:00
lukem
0a94f4f077 use CPPFLAGS instead of CFLAGS 1997-10-25 06:57:53 +00:00
lukem
f5bf267d90 enable WARNS=1 by default, but disable in unclean 3rd party code 1997-10-18 06:42:25 +00:00
lukem
03b56f7f94 WARNSify 1997-10-17 06:58:54 +00:00
lukem
f738e698e8 WARNSify 1997-10-17 06:58:37 +00:00
mycroft
2c0b6f8e7f Use DPSRCS. 1997-05-09 13:56:04 +00:00
mycroft
cc4a1553a1 Eliminate bogus redefinitions of standard targets. 1997-05-09 07:50:03 +00:00
cgd
119b0ec653 fix dependency builds. Since we've got something to run a depend build
on, by all means _do it_, rather than not doing it.  Also (unrelated
problem) make the built .c file gets removed when cleaning.
1996-12-23 00:19:05 +00:00
jtc
54e0c861ec Add to DPADD for each library in LDADD; Reported by Mike Long <mike.long@analog.com> in PR #2301. 1996-04-08 21:03:06 +00:00
jtc
b4c556ca62 Added explicit dependencies on yacc generated files. From Luke Mewburn
<lukem@supp.cpr.itg.telecom.com.au>.  Fixes PR #2032.
1996-02-06 18:30:58 +00:00
jtc
21908ddbd5 merge in changes from 1.1 release branch 1995-11-28 19:43:04 +00:00
thorpej
8e8adaf600 Handle "clean" and "depend" targets properly. 1995-11-17 10:05:23 +00:00