|
|
1.1 root 1: #
2: # @(#)Makefile 1.4 (Berkeley) 5/4/82
3: #
4: # error.h error header file
5: # errorinput.c does all of the input, and canonicalizes errors
6: # errorpi.c canonicalizes pi errors
7: # errormain.c main
8: # errorsubr.c does grotty subroutine work
9: # errorfilter.c "greps" out unwanted messages
10: # errortouch.c touches all mentioned files
11: #
12:
13: MAKEPARAM = AS=${AS} CC=${CC} LD=${LD} INCLDIR=${INCLDIR} LIBDIR=${LIBDIR} ULIBDIR=${ULIBDIR} DESTDIR=${DESTDIR}
14: HDRS = error.h
15: PHDRS = $(HDRS)
16: SRCS = errormain.c errorinput.c errorpi.c errorsubr.c errorfilter.c errortouch.c
17: PSRCS = $(SRCS)
18: OBJS = errormain.o errorinput.o errorpi.o errorsubr.o errorfilter.o errortouch.o
19:
20: # DFLAGS = -DDEBUG
21: CFLAGS = -O $(DFLAGS)
22:
23: LINTFLAGS = $(DFLAGS)
24:
25: error: $(OBJS)
26: $(CC) $(CFLAGS) $(OBJS) -o error
27:
28: $(OBJS): $(HDRS)
29:
30: install: error
31: install -s error $(DESTDIR)/usr/ucb
32:
33: clean:
34: rm -f error $(OBJS)
35:
36: cleansrc:
37: rm -f *.h *.c Makefile
38:
39: lint:
40: lint $(LINTFLAGS) $(SRCS)
41:
42: psrcs:
43: echo $(PHDRS) $(PSRCS)
44:
45: print:
46: print $(PHDRS) $(PSRCS)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.