jmmv
0ec085e737
Add 'trace' to CLEANFILES, generated when debug is enabled.
2003-09-14 12:11:10 +00:00
dsl
49e6852272
Fix problems with parallel makes.
2003-05-15 10:13:36 +00:00
christos
dd61e68e1f
Use ${HOST_SH}
2003-05-08 13:03:19 +00:00
lukem
c61fa8df18
If building as a CRUNCHEDPROG, use "lex -L" and "yacc -l" to suppress #line
...
generation. This may solve [bin/20637].
2003-03-10 17:58:21 +00:00
dsl
e314f958bd
Support command -p, -v and -V as posix
...
Stop temporary PATH assigments messing up hash table
Fix sh -c -e "echo $0 $*" -a x (as posix)
(agreed by christos)
2003-01-22 20:36:03 +00:00
christos
a17201f05e
allow this to be compiled with unsigned-chars.
2003-01-09 13:57:26 +00:00
christos
c02b3bbdf4
Fixes from David Laight:
...
- ansification
- format of output of jobs command (etc)
- job identiers %+, %- etc
- $? and $(...)
- correct quoting of output of set, export -p and readonly -p
- differentiation between nornal and 'posix special' builtins
- correct behaviour (posix) for errors on builtins and special builtins
- builtin printf and kill
- set -o debug (if compiled with DEBUG)
- cd src obj (as ksh - too useful to do without)
- unset -e name, remove non-readonly variable from export list.
(so I could unset -e PS1 before running the test shell...)
2002-11-24 22:35:38 +00:00
wrstuden
5b0a9938fd
Use signed char to replace int8_t, not just char. Should fix macppc
...
cross-build problems introduced in rev 1.59.
Pointed out by Valeriy E. Ushakov uwe at ptc dot spbu dot ru on
tech-toolchain.
2002-10-31 17:14:46 +00:00
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