|
|
1.1 ! root 1: # Makefile for Unix Interpress utilities ! 2: # ! 3: # Copyright (c) 1984, 1985 Xerox Corp. ! 4: # ! 5: # HISTORY ! 6: # Dec 1 1985 Lee Moore Xerox Webster Research Center ! 7: # added lint command ! 8: ! 9: ! 10: DESTBIN=../../../bin ! 11: DESTINCLUDE=../../../include ! 12: DESTLIB=../../../lib ! 13: ! 14: texttoip: texttoip.o textlex.o $(DESTLIB)/libip.a ! 15: $(CC) $(CFLAGS) -o texttoip texttoip.o textlex.o $(DESTLIB)/libip.a -ll ! 16: ! 17: # Rules for object files -- include file dependencies must be noted here ! 18: ! 19: textlex.o: $(DESTINCLUDE)/iptokens.h $(DESTINCLUDE)/texttoken.h $(DESTINCLUDE)/ipnames.h ! 20: $(CC) $(CFLAGS) -I$(DESTINCLUDE) -c textlex.c ! 21: ! 22: textlex.c: textlex.l ! 23: ! 24: texttoip.o: $(DESTINCLUDE)/iptokens.h $(DESTINCLUDE)/texttoken.h $(DESTINCLUDE)/literal.h ! 25: $(CC) $(CFLAGS) -I$(DESTINCLUDE) -c texttoip.c ! 26: ! 27: # Lint ! 28: ! 29: lint: textlex.c ! 30: lint -I$(DESTINCLUDE) texttoip.c textlex.c $(DESTLIB)/llib-lip.ln -lc ! 31: ! 32: # Installation ! 33: ! 34: install: $(DESTBIN)/texttoip ! 35: ! 36: $(DESTBIN)/texttoip: texttoip ! 37: install -c -s texttoip $(DESTBIN)/texttoip ! 38: ! 39: # Convenience rules: cleaning ! 40: ! 41: clean: ! 42: rm -f texttoip textlex.c *.o
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.