|
|
1.1 root 1: #
2: # (C) Copyright 1985, 1986 Xerox Corp.
3: #
4: # Makefile for "ipmetrics" module
5: #
6: CFLAGS = -g -DDESTLIB=\"${DESTLIB}\" -I${DESTINCLUDE}
7: LINTFLAGS = -DDESTLIB=\"${DESTLIB}\" -I${DESTINCLUDE}
8: LFLAGS = -lm
9: DESTBIN = ../../../bin
10: DESTINCLUDE = ../../../include
11: DESTLIB = ../../../lib
12:
13: ipmetrics: ipmetrics.o troff.o tex.o parse.o execute.o stack.o error.o token.o getopt.o
14: cc -g -o ipmetrics ipmetrics.o troff.o tex.o parse.o execute.o stack.o error.o token.o getopt.o ${LFLAGS}
15:
16: ipmetrics.o: ipmetrics.c ipmetrics.h config.h stack.h token.h /usr/include/stdio.h
17: cc -c ${CFLAGS} ipmetrics.c
18:
19: troff.o: ipmetrics.h config.h ipmetrics.h troff.h
20:
21: parse.o: parse.c ${DESTINCLUDE}/iptokens.h /usr/include/stdio.h
22: cc -c ${CFLAGS} parse.c
23:
24: execute.o: execute.c stack.h ${DESTINCLUDE}/iptokens.h /usr/include/stdio.h /usr/include/math.h
25: cc -c ${CFLAGS} execute.c
26:
27: stack.o: stack.c stack.h
28: cc -c ${CFLAGS} stack.c
29:
30: clean:
31: rm -f ipmetrics *.o
32:
33: install: ipmetrics
34: install -c -s ipmetrics ${DESTBIN}
35:
36: lint:
37: lint -abc -I$(DESTINCLUDE) ipmetrics.c troff.c parse.c execute.c stack.c error.c token.c $(DESTLIB)/llib-lip.ln -lc
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.