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