Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
43b4c41fbb07705c9df321221ab9cb9832460407Christian Maeder# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
25cc5fbba63f84b47e389af749f55abbbde71c8cChristian Maeder# Use is subject to license terms.
25cc5fbba63f84b47e389af749f55abbbde71c8cChristian Maeder# Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# All Rights Reserved
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# Copyright (c) 1980 Regents of the University of California.
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# All rights reserved. The Berkeley Software License Agreement
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# specifies the terms and conditions for redistribution.
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# ident "%Z%%M% %I% %E% SMI"
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# C Shell with process control; VM/UNIX VAX Makefile
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# Bill Joy UC Berkeley; Jim Kulp IIASA, Austria
01e383014b555bbcf639c0ca60c5810b3eff83c0Christian MaederMBCHAR = -DMBCHAR # Define this line to include multibyte input support
3b06e23643a9f65390cb8c1caabe83fa7e87a708Till MossakowskiDEFS = -DVFORK -DFILEC -DBSD_COMP -DFIVE # No TELL when MBCHAR
df29370ae8d8b41587957f6bcdcb43a3f1927e47Christian MaederCPPFLAGS= -I. -s $(DEFS) $(MBCHAR) $(CPPFLAGS.master)
e7757995211bd395dc79d26fe017d99375f7d2a6Christian MaederLAZYLIBS = $(ZLAZYLOAD) -lsecdb $(ZNOLAZYLOAD)
2e2094a642e3775b0d76b890556407941d3a53b6Christian MaederHDDEP = sh.o sh.dir.o sh.dol.o sh.err.o sh.exec.o sh.exp.o sh.file.o \
2e2094a642e3775b0d76b890556407941d3a53b6Christian Maeder sh.func.o sh.glob.o sh.hist.o sh.init.o sh.lex.o sh.misc.o \
6a79849bed67264c396dddb3e9c184bdfc1a1bc9Christian Maeder sh.parse.o sh.proc.o sh.sem.o sh.set.o sh.time.o
c0c2380bced8159ff0297ece14eba948bd236471Christian MaederCOMMONOBJS= printf.o sh.char.o sh.dir.o sh.dol.o sh.err.o \
8410667510a76409aca9bb24ff0eda0420088274Christian Maeder sh.exec.o sh.exp.o sh.file.o sh.func.o sh.glob.o sh.hist.o sh.init.o \
6a79849bed67264c396dddb3e9c184bdfc1a1bc9Christian Maeder sh.lex.o sh.misc.o sh.parse.o sh.print.o sh.proc.o sh.sem.o sh.set.o \
8d97ef4f234681b11bb5924bd4d03adef858d2d2Christian Maeder# build rule for common source above
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder%.o: ../../sh/%.c
f041c9a6bda23de33a38490e35b831ae18d96b45Christian Maeder$(CSH_PROG): sh.tconst.h .WAIT $(COMMONOBJS) $(PFOBJS) $(LOCALOBJS)
7cc09dd93962a2155c34d209d1d4cd7d7b838264Christian Maeder $(LINK.c) $(COMMONOBJS) $(PFOBJS) $(LOCALOBJS) -o $@ $(LDLIBS)
dcbd32289a7bdf1e6edd06c6ab0698c6a9dbf37aChristian Maedersh.tconst.h: ../sh.tconst.c ../make.sh.tconst.h.ed
4ed0007ac9caea5b468f202521352d153481423cChristian Maederinstall: all $(ROOTBINPROG) $(ROOTPROG) $(ROOTPFCSH)
0206ab93ef846e4e0885996d052b9b73b9dc66b0Christian Maeder $(LINT.c) $(COMMONSRCS) $(PFSRCS) signal.c $(LDLIBS)