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