1 # Copyright 2006 Sun Microsystems, Inc. All rights reserved.
2 # Use is subject to license terms.
4 # Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T
7 # Copyright (c) 1980 Regents of the University of California.
8 # All rights reserved. The Berkeley Software License Agreement
9 # specifies the terms and conditions for redistribution.
11 # ident "%Z%%M% %I% %E% SMI"
14 # C Shell with process control; VM/UNIX VAX Makefile
15 # Bill Joy UC Berkeley; Jim Kulp IIASA, Austria
18 include ..
/Makefile.cmd
22 # For message catalogue files
27 CLOBBERFILES
+= sh.tconst.h
28 CLEANFILES
+= sh.tconst.h
31 install := TARGET
= install
32 clean := TARGET
= clean
33 clobber := TARGET
= clobber
38 sh.
dir.o sh.dol.o sh.err.o sh.exec.o sh.exp.o\
39 sh.file.o sh.func.o sh.glob.o sh.hist.o\
40 sh.init.o sh.
lex.o sh.misc.o sh.parse.o\
41 sh.
print.o sh.proc.o sh.sem.o sh.set.o\
42 sh.tchar.o sh.time.o wait3.o printf.o
44 CPPFLAGS
+= -D_FILE_OFFSET_BITS
=64
49 all install clean clobber lint
: $(MACH
)
51 POFILES
= $(POBJS
:%.o
=%.po
)
53 XGETFLAGS
+= -a
-x csh.xcl
56 # For message catalogue files
58 _msg
: $(MSGDOMAIN
) sh.tconst.h .WAIT
$(POFILE
)
60 cat
$(POFILES
) > $(POFILE
)
61 $(RM
) $(MSGDOMAIN
)/$(POFILE
)
62 $(CP
) $(POFILE
) $(MSGDOMAIN
)
68 $(RM
) $@
; cat
$(POFILES
) > $@
70 sh.tconst.h
: sh.tconst.c make.sh.tconst.h.ed
71 $(RM
) $@
; $(ED
) sh.tconst.c
< make.sh.tconst.h.ed
73 clobber: local_clobber
$(MACH
)
83 $(MACH
): sh.tconst.h .WAIT FRC
84 @cd
$@
; pwd
; $(MAKE
) $(TARGET
)