|
|
1.1 root 1: #
2: # @(#)Makefile 1.7 90/01/03 NFS Rev 2 Testsuite
3: # 1.5 Lachman ONC Test Suite source
4: #
5: # to make tests, use 'make'
6: # to copy tests to another directory, use 'make copy DESTDIR=dir'
7: # to copy source to another directory, use 'make dist DESTDIR=dir'
8:
9: TESTS = test1 test2 test3 test4 test5 test6 test7 test8 test9
10: AUXTESTS = test4a test5a test5b test7a test7b
11: DESTDIR = /no/such/path
12:
13: CFLAGS = -O $(COMPAT)
14:
15: all: origtests auxtests
16:
17: origtests: $(TESTS)
18: auxtests: $(AUXTESTS)
19:
20: test1: test1.c subr.o
21: $(CC) $(CFLAGS) -o $@ [email protected] subr.o $(LIBS)
22:
23: test2: test2.c subr.o
24: $(CC) $(CFLAGS) -o $@ [email protected] subr.o $(LIBS)
25:
26: test3: test3.c subr.o
27: $(CC) $(CFLAGS) -o $@ [email protected] subr.o $(LIBS)
28:
29: test4: test4.c subr.o
30: $(CC) $(CFLAGS) -o $@ [email protected] subr.o $(LIBS)
31:
32: test4a: test4a.c subr.o
33: $(CC) $(CFLAGS) -o $@ [email protected] subr.o $(LIBS)
34:
35: test5: test5.c subr.o
36: $(CC) $(CFLAGS) -o $@ [email protected] subr.o $(LIBS)
37:
38: test5a: test5a.c subr.o
39: $(CC) $(CFLAGS) -o $@ [email protected] subr.o $(LIBS)
40:
41: test5b: test5b.c subr.o
42: $(CC) $(CFLAGS) -o $@ [email protected] subr.o $(LIBS)
43:
44: test6: test6.c subr.o
45: $(CC) $(CFLAGS) -o $@ [email protected] subr.o $(LIBS)
46:
47: test7: test7.c subr.o
48: $(CC) $(CFLAGS) -o $@ [email protected] subr.o $(LIBS)
49:
50: test7a: test7a.c subr.o
51: $(CC) $(CFLAGS) -o $@ [email protected] subr.o $(LIBS)
52:
53: test7b: test7b.c subr.o
54: $(CC) $(CFLAGS) -o $@ [email protected] subr.o $(LIBS)
55:
56: test8: test8.c subr.o
57: $(CC) $(CFLAGS) -o $@ [email protected] subr.o $(LIBS)
58:
59: test9: test9.c subr.o
60: $(CC) $(CFLAGS) -o $@ [email protected] subr.o $(LIBS)
61:
62: clean:
63: rm -f *.o $(TESTS) $(AUXTESTS)
64:
65: copy: $(TESTS)
66: cp runtests $(TESTS) $(AUXTESTS) $(DESTDIR)
67:
68: dist:
69: cp runtests Makefile *.c *.h $(DESTDIR)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.