Makefile revision 134a1f4e3289b54e0f980e9cf05352e419a60bee
3c671ac666de8a7dcd7bd02afa20968da0b85bbdMark Andrews# Copyright (c) 1993, 2010, Oracle and/or its affiliates. All rights reserved.
8ae26e9f87560f9d2e495328d573c25af81c49beMark Andrews# Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T
3c671ac666de8a7dcd7bd02afa20968da0b85bbdMark Andrews# All Rights Reserved
3c671ac666de8a7dcd7bd02afa20968da0b85bbdMark Andrews# Copyright (c) 1980 Regents of the University of California.
3c671ac666de8a7dcd7bd02afa20968da0b85bbdMark Andrews# All rights reserved. The Berkeley Software License Agreement
3c671ac666de8a7dcd7bd02afa20968da0b85bbdMark Andrews# specifies the terms and conditions for redistribution.
58c42ee18c186b2151ced62f64aa4ca23cff4a1dJames Brister# C Shell with process control; VM/UNIX VAX Makefile
58c42ee18c186b2151ced62f64aa4ca23cff4a1dJames Brister# Bill Joy UC Berkeley; Jim Kulp IIASA, Austria
5dc6a24e8b6808f03e7a9bc6530d646ebba927dbMark AndrewsMBCHAR = -DMBCHAR # Define this line to include multibyte input support
242dfd9cc6901a5e02dae94acdecdb91e78ea07cMark AndrewsDEFS = -DVFORK -DFILEC -DBSD_COMP -DFIVE # No TELL when MBCHAR
77771185071bf74d53378f1a3099a04d2af5153eBrian WellingtonCPPFLAGS= -I. $(DEFS) $(MBCHAR) $(CPPFLAGS.master)
99f3a24e69edbb19e4fe7f2fb0a72c478f8c3cafJames BristerHDDEP = sh.o sh.dir.o sh.dol.o sh.err.o sh.exec.o sh.exp.o sh.file.o \
99f3a24e69edbb19e4fe7f2fb0a72c478f8c3cafJames Brister sh.func.o sh.glob.o sh.hist.o sh.init.o sh.lex.o sh.misc.o \
aa79283a0d97d5d77d3c17bcb1756035eabe647aAndreas Gustafsson sh.parse.o sh.proc.o sh.sem.o sh.set.o sh.time.o
aa79283a0d97d5d77d3c17bcb1756035eabe647aAndreas GustafssonCOMMONOBJS= printf.o sh.char.o sh.dir.o sh.dol.o sh.err.o \
aa79283a0d97d5d77d3c17bcb1756035eabe647aAndreas Gustafsson sh.exec.o sh.exp.o sh.file.o sh.func.o sh.glob.o sh.hist.o sh.init.o \
aa79283a0d97d5d77d3c17bcb1756035eabe647aAndreas Gustafsson sh.lex.o sh.misc.o sh.parse.o sh.print.o sh.proc.o sh.sem.o sh.set.o \
379bd2c19cec393f56a2e9c42cc87fc8213a1b62James Brister# build rule for common source above
c24265935e70d17279153b3cde43e3f6c3527577Andreas Gustafsson%.o: ../../sh/%.c
bedfa169b4cc5511b34c0c4a54c5b8aae364babeJames Brister$(CSH_PROG): $(COMMONOBJS) $(LOCALOBJS) $(MAPFILES)
bedfa169b4cc5511b34c0c4a54c5b8aae364babeJames Brister $(LINK.c) $(COMMONOBJS) $(LOCALOBJS) -o $@ $(LDLIBS)