]> andersk Git - moira.git/blame - gen/Makefile
added mailhub program
[moira.git] / gen / Makefile
CommitLineData
dfb56d6b 1# $Header$
2
356ad468 3LIBS= -L../lib -lsms -lcom_err -lzephyr -lkrb -ldes \
4 /usr/rtingres/lib/libqlib /usr/rtingres/lib/compatlib
5CFLAGS= -I../include -O
dfb56d6b 6.SUFFIXES: .qc
7
8.qc.c:
9 rm -f $*.c
10 /usr/rtingres/bin/eqc -p $*
11
d25e13ab 12all: passwd.gen aliases.gen hesiod.gen nfs.gen mailhub.gen
dfb56d6b 13
14passwd.gen: passwd.o util.o
356ad468 15 cc -o passwd.gen passwd.o util.o ${LIBS}
dfb56d6b 16
17passwd.o: passwd.c
18
19aliases.gen: aliases.o util.o
356ad468 20 cc -o aliases.gen aliases.o util.o ${LIBS}
dfb56d6b 21
22aliases.o: aliases.c
23
24hesiod.gen: hesiod.o util.o
356ad468 25 cc -o hesiod.gen hesiod.o util.o ${LIBS}
dfb56d6b 26
27hesiod.o: hesiod.c
28
356ad468 29nfs.gen: nfs.o util.o
30 cc -o nfs.gen nfs.o util.o ${LIBS}
31
32nfs.o: nfs.c
33
d25e13ab 34mailhub.gen: mailhub.o util.o
35 cc -o mailhub.gen mailhub.o util.o ${LIBS}
36
37mailhub.o: mailhub.c
38
dfb56d6b 39clean:
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
356ad468 44 rm -f nfs.c nfs.gen
d25e13ab 45 rm -f mailhub.c mailhub.gen
dfb56d6b 46
47install: all
798a6f1b 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
This page took 0.06065 seconds and 5 git commands to generate.