]> andersk Git - moira.git/blob - gen/Makefile
added sms_untar
[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 sms_untar
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 sms_untar: sms_untar.c
35         cc -o sms_untar sms_untar.c
36
37 clean:
38         rm -f *.o 
39         rm -f passwd.c passwd.gen
40         rm -f aliases.c aliases.gen
41         rm -f hesiod.c hesiod.gen
42         rm -f nfs.c nfs.gen
43         rm -f sms_untar
44
45 install: all
46         install passwd.gen ../bin
47         install aliases.gen ../bin
48         install hesiod.gen ../bin
49         install nfs.gen ../bin
50         install sms_untar ../bin
This page took 0.051634 seconds and 5 git commands to generate.