|
|
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 conf.o troff.o otroff.o tex.o toc.o generic.o parse.o execute.o stack.o error.o token.o $(DESTLIB)/libgetopt.a ! 14: cc -g -o ipmetrics ipmetrics.o conf.o troff.o otroff.o tex.o toc.o generic.o parse.o execute.o stack.o error.o token.o $(DESTLIB)/libgetopt.a ${LFLAGS} ! 15: ! 16: ipmetrics.o: ipmetrics.c ipmetrics.h conf.h config.h stack.h token.h /usr/include/stdio.h ! 17: cc -c ${CFLAGS} ipmetrics.c ! 18: ! 19: conf.o: conf.h ! 20: ! 21: troff.o: config.h ipmetrics.h troff.h ! 22: ! 23: otroff.o: config.h ipmetrics.h otroff.h ! 24: ! 25: tex.o: stack.h token.h config.h ipmetrics.h tex.h ! 26: ! 27: toc.o: ipmetrics.h config.h ! 28: ! 29: generic.o: stack.h token.h config.h ipmetrics.h generic.h ! 30: ! 31: parse.o: parse.c ${DESTINCLUDE}/iptokens.h /usr/include/stdio.h ! 32: cc -c ${CFLAGS} parse.c ! 33: ! 34: execute.o: execute.c stack.h ${DESTINCLUDE}/iptokens.h /usr/include/stdio.h /usr/include/math.h ! 35: cc -c ${CFLAGS} execute.c ! 36: ! 37: stack.o: stack.c stack.h ! 38: cc -c ${CFLAGS} stack.c ! 39: ! 40: clean: ! 41: rm -f ipmetrics *.o ! 42: ! 43: install: ${DESTBIN}/ipmetrics ! 44: ! 45: ${DESTBIN}/ipmetrics: ipmetrics ! 46: install -c -s ipmetrics ${DESTBIN} ! 47: ! 48: # not for right now.... ! 49: # lint: ! 50: # lint -abc -I$(DESTINCLUDE) ipmetrics.c troff.c otroff.c parse.c execute.c stack.c error.c token.c $(DESTLIB)/llib-lip.ln -lc ! 51: ! 52: lint: ! 53: lint -abu -I$(DESTINCLUDE) ipmetrics.c troff.c otroff.c tex.c generic.c token.c error.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.