]>
Commit | Line | Data |
---|---|---|
1 | # $Header$ | |
2 | ||
3 | LIBS= -L../lib -lsms -lcom_err -lzephyr -lkrb -ldes \ | |
4 | /usr/rtingres/lib/libqlib /usr/rtingres/lib/compatlib | |
5 | CFLAGS= -I../include -O | |
6 | .SUFFIXES: .qc | |
7 | ||
8 | .qc.c: | |
9 | rm -f $*.c | |
10 | /usr/rtingres/bin/eqc -p $* | |
11 | ||
12 | all: passwd.gen aliases.gen hesiod.gen nfs.gen mailhub.gen | |
13 | ||
14 | passwd.gen: passwd.o util.o | |
15 | cc -o passwd.gen passwd.o util.o ${LIBS} | |
16 | ||
17 | passwd.o: passwd.c | |
18 | ||
19 | aliases.gen: aliases.o util.o | |
20 | cc -o aliases.gen aliases.o util.o ${LIBS} | |
21 | ||
22 | aliases.o: aliases.c | |
23 | ||
24 | hesiod.gen: hesiod.o util.o | |
25 | cc -o hesiod.gen hesiod.o util.o ${LIBS} | |
26 | ||
27 | hesiod.o: hesiod.c | |
28 | ||
29 | nfs.gen: nfs.o util.o | |
30 | cc -o nfs.gen nfs.o util.o ${LIBS} | |
31 | ||
32 | nfs.o: nfs.c | |
33 | ||
34 | mailhub.gen: mailhub.o util.o | |
35 | cc -o mailhub.gen mailhub.o util.o ${LIBS} | |
36 | ||
37 | mailhub.o: mailhub.c | |
38 | ||
39 | clean: | |
40 | rm -f *.o | |
41 | rm -f passwd.c passwd.gen | |
42 | rm -f aliases.c aliases.gen | |
43 | rm -f hesiod.c hesiod.gen | |
44 | rm -f nfs.c nfs.gen | |
45 | rm -f mailhub.c mailhub.gen | |
46 | ||
47 | install: all | |
48 | install -c passwd.gen ../bin | |
49 | install -c aliases.gen ../bin | |
50 | install -c hesiod.gen ../bin | |
51 | install -c nfs.gen ../bin | |
52 | install -c aliases.sh ../bin | |
53 | install -c hesiod.sh ../bin | |
54 | install -c install_dirs ../bin | |
55 | install -c install_quotas ../bin | |
56 | install -c nfs.sh ../bin |