|
|
1.1 root 1: # "getopt" -- for systems that don't have it already
2: #
3: # Copyright (c) 1984, 1985, 1986 Xerox Corp.
4: #
5:
6: DESTINCLUDE=../../../include
7: DESTLIB=../../../lib
8:
9:
10: libgetopt.a: getopt.o
11: ar r libgetopt.a getopt.o
12:
13:
14: # parts of the Interpress library
15:
16: getopt.o:
17: $(CC) -c -I$(DESTINCLUDE) getopt.c
18:
19: llib-lgetopt.ln: getopt.c
20: lint -Cgetopt -I$(DESTINCLUDE) getopt.c
21:
22: # helpers
23:
24: lint:
25: lint -au -I$(DESTINCLUDE) getopt.c
26:
27: install: $(DESTLIB)/libgetopt.a $(DESTLIB)/llib-lgetopt.ln
28:
29: $(DESTLIB)/libgetopt.a: libgetopt.a
30: install -c libgetopt.a $(DESTLIB)
31: ranlib $(DESTLIB)/libgetopt.a
32:
33: $(DESTLIB)/llib-lgetopt.ln: llib-lgetopt.ln
34: install -c llib-lgetopt.ln $(DESTLIB)
35:
36: clean:
37: rm -f libgetopt.a llib-lgetopt.ln *.o
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.