]> andersk Git - moira.git/blob - gen/Makefile
install the shell scripts as well.
[moira.git] / gen / Makefile
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
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 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
39         rm -f nfs.c nfs.gen
40
41 install: all
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
This page took 0.046662 seconds and 5 git commands to generate.