BSD 4_4 development
authorCSRG <csrg@ucbvax.Berkeley.EDU>
Sun, 2 May 1993 16:43:36 +0000 (08:43 -0800)
committerCSRG <csrg@ucbvax.Berkeley.EDU>
Sun, 2 May 1993 16:43:36 +0000 (08:43 -0800)
Work on file usr/src/contrib/rc-1.4/Makefile

Synthesized-from: CSRG/cd3/4.4

usr/src/contrib/rc-1.4/Makefile [new file with mode: 0644]

diff --git a/usr/src/contrib/rc-1.4/Makefile b/usr/src/contrib/rc-1.4/Makefile
new file mode 100644 (file)
index 0000000..f63acdf
--- /dev/null
@@ -0,0 +1,39 @@
+# Makefile for rc.
+
+SHELL=/bin/sh
+
+# Use an ANSI compiler (or at least one that groks prototypes and void *):
+CC=cc -g -O -Wall
+CFLAGS=
+LDFLAGS=
+
+OBJS=  builtins.o except.o exec.o fn.o footobar.o getopt.o \
+       glob.o glom.o hash.o heredoc.o input.o lex.o list.o main.o match.o \
+       nalloc.o open.o print.o redir.o sigmsgs.o signal.o status.o tree.o \
+       utils.o var.o version.o wait.o walk.o which.o y.tab.o
+
+rc: $(OBJS)
+       $(CC) -o $@ $(OBJS)
+
+sigmsgs.c: mksignal
+       sh mksignal /usr/include/sys/signal.h
+
+y.tab.c: parse.y
+       yacc -d parse.y
+
+trip: rc
+       ./rc -p < trip.rc
+
+clean: force
+       rm -f *.o *.tab.* sigmsgs.*
+
+history: force
+       cd history; make CC="$(CC)" $(HISTORYMAKEFLAGS)
+
+force:
+
+# dependencies:
+
+sigmsgs.h: sigmsgs.c
+lex.o y.tab.o: y.tab.c
+builtins.c fn.c status.c hash.c: sigmsgs.h