|
|
1.1 root 1: # Copyright (c) 1984, 1985 Xerox Corp.
2: #
3: # Rules for the Interpress library: the literal and operator level routines
4: #
5:
6: DESTINCLUDE=../../../include
7: DESTLIB=../../../lib
8:
9:
10: all: libip.a libip_p.a
11:
12: libip.a: literal.o operator.o
13: ar r libip.a literal.o operator.o
14:
15: libip_p.a: literal_p.o operator_p.o
16: ar r libip_p.a literal_p.o operator_p.o
17:
18: # parts of the Interpress library
19:
20: literal.o: $(DESTINCLUDE)/iptokens.h $(DESTINCLUDE)/literal.h
21: $(CC) -c -I$(DESTINCLUDE) literal.c
22:
23: literal_p.o: $(DESTINCLUDE)/iptokens.h $(DESTINCLUDE)/literal.h
24: $(CC) -p -c -I$(DESTINCLUDE) literal.c
25: mv literal.o literal_p.o
26:
27: operator.o: $(DESTINCLUDE)/iptokens.h $(DESTINCLUDE)/literal.h $(DESTINCLUDE)/operator.h
28: $(CC) -c -I$(DESTINCLUDE) operator.c
29:
30: operator_p.o: $(DESTINCLUDE)/iptokens.h $(DESTINCLUDE)/literal.h $(DESTINCLUDE)/operator.h
31: $(CC) -p -c -I$(DESTINCLUDE) operator.c
32: mv operator.o operator_p.o
33:
34: llib-lip.ln: literal.c operator.c
35: lint -Cip -I$(DESTINCLUDE) literal.c operator.c
36:
37: # helpers
38:
39: lint:
40: lint -au -I$(DESTINCLUDE) literal.c operator.c
41:
42: install: $(DESTLIB)/libip.a $(DESTLIB)/libip_p.a $(DESTLIB)/llib-lip.ln
43:
44: $(DESTLIB)/libip.a: libip.a
45: install -c libip.a $(DESTLIB)
46: ranlib $(DESTLIB)/libip.a
47:
48: $(DESTLIB)/libip_p.a: libip_p.a
49: install -c libip_p.a $(DESTLIB)
50: ranlib $(DESTLIB)/libip_p.a
51:
52: $(DESTLIB)/llib-lip.ln: llib-lip.ln
53: install -c llib-lip.ln $(DESTLIB)
54:
55: clean:
56: rm -f libip.a libip_p.a llib-lip.ln *.o
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.