Makefile revision 6c02b4a4b46fecc2fa6bf1ab6b5e3255ad1d0767
0N/A# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
0N/A# Use is subject to license terms.
0N/A
0N/A# Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T
0N/A# All Rights Reserved
0N/A
0N/A# Copyright (c) 1980 Regents of the University of California.
0N/A# All rights reserved. The Berkeley Software License Agreement
0N/A# specifies the terms and conditions for redistribution.
0N/A
0N/A# ident "%Z%%M% %I% %E% SMI"
0N/A
0N/A#
0N/A# C Shell with process control; VM/UNIX VAX Makefile
0N/A# Bill Joy UC Berkeley; Jim Kulp IIASA, Austria
0N/A#
0N/A
0N/ACSH_PROG = csh
0N/APROG = $(CSH_PROG)
0N/APFCSH_PROG= pfcsh
0N/AROOTPFCSH= $(ROOTBIN)/$(PFCSH_PROG)
0N/A
0N/Ainclude ../../Makefile.cmd
0N/A
0N/AMBCHAR = -DMBCHAR # Define this line to include multibyte input support
0N/ADEFS = -DVFORK -DFILEC -DBSD_COMP -DFIVE # No TELL when MBCHAR
0N/ACPPFLAGS= -I. $(DEFS) $(MBCHAR) $(CPPFLAGS.master)
0N/ACPPFLAGS += -I../../sh
0N/ACPPFLAGS += -D_FILE_OFFSET_BITS=64
0N/ALAZYLIBS = $(ZLAZYLOAD) -lsecdb $(ZNOLAZYLOAD)
0N/Alint := LAZYLIBS = -lsecdb
0N/ALDLIBS += -lcurses $(LAZYLIBS)
0N/A
0N/APFOBJS = sh_policy.o
0N/A
0N/AHDDEP = sh.o sh.dir.o sh.dol.o sh.err.o sh.exec.o sh.exp.o sh.file.o \
0N/A sh.func.o sh.glob.o sh.hist.o sh.init.o sh.lex.o sh.misc.o \
0N/A sh.parse.o sh.proc.o sh.sem.o sh.set.o sh.time.o
0N/A
0N/ACOMMONOBJS= printf.o sh.char.o sh.dir.o sh.dol.o sh.err.o \
0N/A sh.exec.o sh.exp.o sh.file.o sh.func.o sh.glob.o sh.hist.o sh.init.o \
0N/A sh.lex.o sh.misc.o sh.parse.o sh.print.o sh.proc.o sh.sem.o sh.set.o \
0N/A sh.time.o sh.tchar.o sh.tconst.o sh.o \
0N/A wait3.o
0N/A
0N/ALOCALOBJS= signal.o
0N/A
0N/ACOMMONSRCS= $(COMMONOBJS:%.o=../%.c)
0N/APFSRCS= ../../sh/sh_policy.c
0N/A
0N/A.KEEP_STATE:
0N/A
0N/A.PARALLEL: $(COMMONOBJS) $(LOCALOBJS)
0N/A
0N/Aall: $(PROG)
0N/A
0N/A# build rule for common source above
0N/A%.o: ../%.c
0N/A $(COMPILE.c) $<
0N/A $(POST_PROCESS_O)
0N/A
0N/A%.o: ../../sh/%.c
0N/A $(COMPILE.c) $<
0N/A $(POST_PROCESS_O)
0N/A
0N/A$(CSH_PROG): sh.tconst.h .WAIT $(COMMONOBJS) $(PFOBJS) $(LOCALOBJS)
0N/A $(LINK.c) $(COMMONOBJS) $(PFOBJS) $(LOCALOBJS) -o $@ $(LDLIBS)
0N/A $(POST_PROCESS)
0N/A
0N/A$(ROOTPFCSH): $(ROOTPROG)
0N/A $(RM) $@
0N/A $(LN) $(ROOTPROG) $@
0N/A
0N/Ash.tconst.h: ../sh.tconst.c ../make.sh.tconst.h.ed
0N/A $(RM) $@
0N/A ed ../sh.tconst.c < ../make.sh.tconst.h.ed
0N/A
0N/A$(HDDEP): sh.tconst.h
0N/A
0N/Ainstall: all $(ROOTBINPROG) $(ROOTPROG) $(ROOTPFCSH)
0N/A
0N/Alint: sh.tconst.h
0N/A $(LINT.c) $(COMMONSRCS) $(PFSRCS) signal.c $(LDLIBS)
0N/A
0N/Aclean:
0N/A $(RM) $(LOCALOBJS) $(COMMONOBJS) $(PFOBJS) sh.tconst.h
0N/A
clobber: clean
$(RM) $(PROG)