thorpej
e41b1aa4a2
Use "unsigned char" and "char" instead of "u_int8_t" and "int8_t"
...
for TARGET_CHAR when building mksyntax. This isn't perfect, but
it lets the host tool work on non-BSD systems without completely
redoing how sh is built.
2002-09-15 00:19:22 +00:00
lukem
146a774973
Use ${NETBSDSRCDIR}/some/path instead of ${.CURDIR}/../../some/path (etc).
2002-08-19 09:56:00 +00:00
bjh21
84c006d0f8
The printf builtin has been "temporarily" disabled for eight years. Remove
...
its directory from .PATH to avoid confusion.
2002-05-15 20:45:17 +00:00
ross
79f9ab6771
back this directory up a day, systems won't even boot (rc.subr splodes)
...
suggested back-to-the-drawing-board test: $ echo "${PWD:-notlikely}"
2002-02-12 06:39:10 +00:00
christos
39d26b8867
Add a commented out -DDEBUG in CPPFLAGS.
2002-02-11 18:55:10 +00:00
lukem
9c2af9970a
.ifdef SMALLPROG, -DSMALL
2002-02-07 06:25:07 +00:00
lukem
678a800f83
change from WARNS?=1 to WARNS?=2 for bin/
2001-11-03 13:40:30 +00:00
bjh21
45a6b58c3e
Use ${MACHINE_CPU} == "arm" to test for ARMishness.
2001-04-18 17:35:36 +00:00
bjh21
c9ee8d3362
arm26 has unsigned chars too.
2000-12-29 16:30:31 +00:00
christos
b252543484
PR/9847: Geoff C. Wing: Make test(1) a builtin.
2000-04-09 23:27:03 +00:00
christos
3d42469030
compile with WARNS = 2
1999-07-09 03:05:49 +00:00
tron
96dc868859
Remove "arith.h" while cleaning.
1999-02-05 22:19:47 +00:00
christos
b4c9a78425
PR/5577: Craig M. Chase: sh does not build with PARALLEL set.
...
- Added YHEADER in Makefile, removed arith.h and adjusted the sources.
1999-02-05 07:52:51 +00:00
ross
7fc1302b5d
The recent cross-compile changes broke the build of x_sh. Properly use
...
${.IMPSRC} instead of the broken ${.CURDIR}/thing.c.
1998-10-08 00:29:38 +00:00
wrstuden
1037acbf7e
We don't generate .o's anymore for helper programs, so don't CLEANFILES them.
1998-09-12 18:58:41 +00:00
wrstuden
d10063d5c7
Patch to make sh cross-compile right. mksyntax reports unsigned char for
...
powerpc, and signed for m68k & i386.
1998-09-12 18:55:07 +00:00
cgd
2072394059
move OBJS depenency on built headers to after include of bsd.prog.mk, so
...
that things are built in the right order on 'make cleandir && make' (i.e.
so that the headers are properly built).
1998-04-19 05:22:08 +00:00
lukem
d6c354cb4b
* remove CFLAGS+=-w for powerpc (added in 1.26):
...
- it was in the wrong place
- makefiles shouldn't override CFLAGS; only CPPFLAGS and COPTS
- christos fixed unsigned char stuff in 1.33 which should
remove the need for -w anyway
* move .include <bsd.prog.mk> to EOF
1998-04-13 12:06:48 +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
veego
7f307512f9
Another try to make this work again. Lets hope that the we don't need a 4th
...
fix for it.
1998-03-30 12:06:48 +00:00
mrg
6e35073fed
make this work again when . is not in $PATH
1998-03-30 10:07:16 +00:00
christos
0328c41456
Pr/5221: Jason Thorpe: Simplify sh Makefile, so that builts from other
...
directories work.
1998-03-29 09:27:40 +00:00
christos
e3f5fb922f
BSD4_4 is a standard symbol in <sys/param.h>; make sure that files
...
that need this defined, include <sys/param.h> and don't define it in
the Makefile. Add a comment to that effect.
1998-01-21 10:47:37 +00:00
pk
5d9692a740
Define BSD4_4: quad_t's in struct rlimit;
1998-01-20 22:43:34 +00:00
christos
e230a48b57
CFLAGS->CPPFLAGS
1997-10-10 19:47:50 +00:00
christos
23edbe3557
Remove WARNS=1 from all the subdirectory Makefiles, and add it to Makefile.inc
...
now that all /bin has been cleaned.
1997-07-20 22:36:20 +00:00
christos
687f7852d9
Make the syntax tables work on machines where characters are unsigned.
1997-07-04 21:40:55 +00:00
christos
28f5c57bd5
Don't roll own rules to build helper programs.
...
Add WARNS
1997-07-04 21:00:36 +00:00
lukem
a1267d0c71
add auto-generated token.h to dependancy for ${OBJS}.
...
not everyone runs "make depend" ...
1997-06-16 02:42:38 +00:00
veego
3e90f9b423
Add mkinit.o mknodes.o mksyntax.o to CLEANFILES
1997-05-15 10:03:24 +00:00
mycroft
cc4a1553a1
Eliminate bogus redefinitions of standard targets.
1997-05-09 07:50:03 +00:00
gwr
10e180cc49
Back out the .PATH.c changes. The .depend problem (and others)
...
will be fixed using the new .NOPATH make feature instead.
1997-05-08 21:11:01 +00:00
gwr
012e528f2e
Use .PATH.c: ...
1997-05-06 20:44:56 +00:00
thorpej
062f26f33b
- XXX Inhibit warnings on PowerPC for now - there are lots of
...
"char is unsigned" problems here.
- Add rules for mkinit, mknodes, and mksyntax that use the HOST_*
facilities, for cross-compiling.
1997-04-17 08:13:26 +00:00
cgd
8ba64baaaf
add builtins.h to the list of (built) headers depended on by ${OBJS}, so
...
make from 'cleandir' works.
1996-10-22 13:22:19 +00:00
christos
3ec8ea2b0e
PR/2808: Depend and clean fixes from FreeBSD
1996-10-16 14:23:51 +00:00
mycroft
b5b9e1d0fa
Fix problems with the way init.o is built:
...
* Prevent gratuitous rebuilds when nothing has changed.
* Make sure it's rebuilt if a .h file is updated.
From Mike Long, PR 1454.
1996-02-18 12:29:18 +00:00
christos
c22dddc4e0
Parallel make fixes.
1995-10-22 00:15:02 +00:00
mycroft
332b7d5213
Add a DPADD.
1995-06-10 20:19:40 +00:00
christos
07bae7eddd
Merge in my changes from vangogh, and fix the x=`false`; echo $? == 0
...
bug.
1995-05-11 21:28:33 +00:00
cgd
49f0ad8601
convert to new RCS id conventions.
1995-03-21 09:01:59 +00:00
jtc
6cd3ad1d11
ulimit builtin (PR #388 )
...
This public domain code, originally by Doug Gwyn, Doug Kingston, Eric
Gisin, and Michael Rendell was ripped from pdksh 5.0.8 and hacked for
use with ash.
1994-11-04 17:13:27 +00:00
jtc
4aece6a461
Renamed builtins to builtins.def to eliminate make's (incorrect) circular
...
dependancy between the builtins data file and builtins.c.
The bug only occured when there was no obj directory, and is a result of
NetBSD's better (compared to 4.4lite's) default make rules.
Fixes bug #301 .
1994-06-24 07:33:12 +00:00
mycroft
cafd1f7e9f
Add RCS ids.
1994-06-11 16:11:35 +00:00
pk
cefd9f107c
Exclude `mkinit' from argument list to `mkinit'; this especially causes
...
trouble when compiling with `-g'.
1994-06-02 09:10:58 +00:00
cgd
e3c63ad9f3
add back in support for building w/o obj dir. also, add NO_HISTORY
...
define, which (if you invoke mkbuiltins properly) gets you a sh w/o
history of command line editing (for floppy sh).
1994-05-14 22:20:04 +00:00
jtc
99e02e0ff9
Added DPADD.
1994-05-12 23:55:56 +00:00
jtc
1e9eba5d40
Use libc's sys_siglist[] instead of building and using our own array of
...
signal names. (from charles)
1994-05-12 16:09:09 +00:00
jtc
714c2cc318
temporarily disable printf builtin
1994-05-11 17:14:22 +00:00
jtc
37ed7877b2
sync with 4.4lite
1994-05-11 17:09:42 +00:00