]> andersk Git - moira.git/blob - gen/Makefile
Initial revision
[moira.git] / gen / Makefile
1 # $Header$
2
3 INGLIB=/usr/rtingres/lib/libqlib /usr/rtingres/lib/compatlib
4 CFLAGS= -I../include
5 .SUFFIXES: .qc
6
7 .qc.c: 
8         rm -f $*.c
9         /usr/rtingres/bin/eqc -p $*
10
11 all: passwd.gen aliases.gen hesiod.gen
12
13 passwd.gen: passwd.o util.o
14         cc -o passwd.gen passwd.o util.o ${INGLIB}
15
16 passwd.o: passwd.c
17
18 aliases.gen: aliases.o util.o
19         cc -o aliases.gen aliases.o util.o ../lib/libsms.a ${INGLIB}
20
21 aliases.o: aliases.c
22
23 hesiod.gen: hesiod.o util.o
24         cc -o hesiod.gen hesiod.o util.o ../lib/libsms.a ${INGLIB}
25
26 hesiod.o: hesiod.c
27
28 clean:
29         rm -f *.o 
30         rm -f passwd.c passwd.gen
31         rm -f aliases.c aliases.gen
32         rm -f hesiod.c hesiod.gen
33
34 install: all
35         install passwd.gen ../bin
36         install aliases.gen ../bin
37         install hesiod.gen ../bin
This page took 0.236725 seconds and 5 git commands to generate.