]>
Commit | Line | Data |
---|---|---|
dfb56d6b | 1 | # $Header$ |
2 | ||
1959d053 | 3 | SRCS= passwd.c aliases.c hesiod.c nfs.c mailhub.c mitdir.c util.c setquota.c |
2ce085d2 | 4 | LIBS= -L../lib -lmoira -lcom_err -lzephyr -lkrb -ldes \ |
356ad468 | 5 | /usr/rtingres/lib/libqlib /usr/rtingres/lib/compatlib |
6 | CFLAGS= -I../include -O | |
dfb56d6b | 7 | .SUFFIXES: .qc |
8 | ||
9 | .qc.c: | |
10 | rm -f $*.c | |
11 | /usr/rtingres/bin/eqc -p $* | |
12 | ||
1959d053 | 13 | all: passwd.gen aliases.gen hesiod.gen nfs.gen mailhub.gen mitdir.gen setquota |
dfb56d6b | 14 | |
15 | passwd.gen: passwd.o util.o | |
356ad468 | 16 | cc -o passwd.gen passwd.o util.o ${LIBS} |
dfb56d6b | 17 | |
18 | passwd.o: passwd.c | |
19 | ||
20 | aliases.gen: aliases.o util.o | |
356ad468 | 21 | cc -o aliases.gen aliases.o util.o ${LIBS} |
dfb56d6b | 22 | |
23 | aliases.o: aliases.c | |
24 | ||
25 | hesiod.gen: hesiod.o util.o | |
356ad468 | 26 | cc -o hesiod.gen hesiod.o util.o ${LIBS} |
dfb56d6b | 27 | |
28 | hesiod.o: hesiod.c | |
29 | ||
356ad468 | 30 | nfs.gen: nfs.o util.o |
31 | cc -o nfs.gen nfs.o util.o ${LIBS} | |
32 | ||
33 | nfs.o: nfs.c | |
34 | ||
d25e13ab | 35 | mailhub.gen: mailhub.o util.o |
36 | cc -o mailhub.gen mailhub.o util.o ${LIBS} | |
37 | ||
38 | mailhub.o: mailhub.c | |
39 | ||
74467b02 | 40 | mitdir.gen: mitdir.o util.o |
41 | cc -o mitdir.gen mitdir.o util.o ${LIBS} | |
42 | ||
43 | mitdir.o: mitdir.c | |
44 | ||
1959d053 | 45 | setquota: setquota.o |
46 | cc -o setquota setquota.o | |
47 | ||
dfb56d6b | 48 | clean: |
49 | rm -f *.o | |
50 | rm -f passwd.c passwd.gen | |
51 | rm -f aliases.c aliases.gen | |
52 | rm -f hesiod.c hesiod.gen | |
356ad468 | 53 | rm -f nfs.c nfs.gen |
d25e13ab | 54 | rm -f mailhub.c mailhub.gen |
74467b02 | 55 | rm -f mitdir.c mitdir.gen |
dfb56d6b | 56 | |
57 | install: all | |
798a6f1b | 58 | install -c passwd.gen ../bin |
59 | install -c aliases.gen ../bin | |
60 | install -c hesiod.gen ../bin | |
61 | install -c nfs.gen ../bin | |
62 | install -c aliases.sh ../bin | |
63 | install -c hesiod.sh ../bin | |
64 | install -c install_dirs ../bin | |
65 | install -c install_quotas ../bin | |
66 | install -c nfs.sh ../bin | |
e6fe974c | 67 | install -c passwd.sh ../bin |
74467b02 | 68 | install -c zero_quotas ../bin |
69 | ||
70 | depend: ${SRCS} | |
71 | mkdep ${CFLAGS} ${SRCS} | |
72 | ||
73 | # DO NOT DELETE THIS LINE -- mkdep uses it. | |
74 | ||
75 | passwd.o: passwd.c ../include/mit-copyright.h /usr/include/stdio.h | |
2ce085d2 | 76 | passwd.o: ../include/moira.h ../include/mr_et.h /usr/include/sys/types.h |
74467b02 | 77 | passwd.o: /usr/include/sys/stat.h /usr/include/sys/time.h |
78 | passwd.o: /usr/include/sys/time.h | |
79 | aliases.o: aliases.c ../include/mit-copyright.h /usr/include/stdio.h | |
2ce085d2 | 80 | aliases.o: /usr/include/string.h /usr/include/strings.h ../include/moira.h |
81 | aliases.o: ../include/mr_et.h ../include/moira_site.h | |
82 | aliases.o: /usr/include/sys/types.h /usr/include/sys/stat.h | |
83 | aliases.o: /usr/include/sys/time.h /usr/include/sys/time.h | |
74467b02 | 84 | hesiod.o: hesiod.c ../include/mit-copyright.h /usr/include/stdio.h |
2ce085d2 | 85 | hesiod.o: ../include/moira.h ../include/mr_et.h ../include/moira_site.h |
74467b02 | 86 | hesiod.o: /usr/include/sys/types.h /usr/include/sys/stat.h |
87 | hesiod.o: /usr/include/sys/time.h /usr/include/sys/time.h | |
88 | hesiod.o: /usr/include/ctype.h | |
2ce085d2 | 89 | nfs.o: nfs.c ../include/mit-copyright.h /usr/include/stdio.h |
90 | nfs.o: ../include/moira.h ../include/mr_et.h ../include/moira_site.h | |
91 | nfs.o: /usr/include/sys/types.h /usr/include/sys/stat.h | |
92 | nfs.o: /usr/include/sys/time.h /usr/include/sys/time.h | |
74467b02 | 93 | mailhub.o: mailhub.c ../include/mit-copyright.h /usr/include/stdio.h |
94 | mailhub.o: /usr/include/string.h /usr/include/strings.h /usr/include/ctype.h | |
2ce085d2 | 95 | mailhub.o: ../include/moira.h ../include/mr_et.h ../include/moira_site.h |
74467b02 | 96 | mailhub.o: /usr/include/sys/types.h /usr/include/sys/stat.h |
97 | mailhub.o: /usr/include/sys/time.h /usr/include/sys/time.h | |
98 | mitdir.o: mitdir.c ../include/mit-copyright.h /usr/include/stdio.h | |
2ce085d2 | 99 | mitdir.o: /usr/include/string.h /usr/include/strings.h ../include/moira.h |
100 | mitdir.o: ../include/mr_et.h ../include/moira_site.h /usr/include/sys/types.h | |
74467b02 | 101 | mitdir.o: /usr/include/sys/stat.h /usr/include/sys/time.h |
102 | mitdir.o: /usr/include/sys/time.h | |
103 | util.o: util.c ../include/mit-copyright.h /usr/include/stdio.h | |
2ce085d2 | 104 | util.o: /usr/include/sys/time.h /usr/include/sys/time.h ../include/moira.h |
105 | util.o: ../include/mr_et.h ../include/moira_site.h | |
1959d053 | 106 | setquota.o: setquota.c /usr/include/stdio.h /usr/include/ctype.h |
107 | setquota.o: /usr/include/mntent.h /usr/include/sys/file.h | |
108 | setquota.o: /usr/include/sys/param.h /usr/include/machine/machparam.h | |
109 | setquota.o: /usr/include/sys/signal.h /usr/include/sys/types.h | |
110 | setquota.o: /usr/include/sys/time.h /usr/include/sys/time.h | |
111 | setquota.o: /usr/include/ufs/quota.h |