]> andersk Git - moira.git/blob - afssync/Makefile
We allow for .root instances to be counted as system users;
[moira.git] / afssync / Makefile
1 # $Header$
2
3 DBCFLAGS=
4 DBLIBS= -L/usr/ingres/lib -lingres -lm
5
6 AFSDIR = /mit/afsdev/bld/dest
7 CFLAGS = -I$(AFSDIR)/include -I$(AFSDIR)/include/afs -I../include \
8         -I/usr/athena/include -O ${DBCFLAGS}
9 LDFLAGS= -L/usr/athena/lib
10
11 OBJS= ptutils.o utils.o ubik.o
12 LIBS= -L../lib $(LDFLAGS) -lmoira -lcom_err -lkrb -ldes ${DBLIBS}
13
14 AFSLIBS=$(AFSDIR)/lib/afs/libprot.a   $(AFSDIR)/lib/afs/libauth.a \
15         $(AFSDIR)/lib/libubik.a       $(AFSDIR)/lib/afs/util.a \
16         $(AFSDIR)/lib/librxkad.a      $(AFSDIR)/lib/afs/libsys.a \
17         $(AFSDIR)/lib/librx.a         $(AFSDIR)/lib/liblwp.a
18
19 .SUFFIXES: .dc .sc
20
21 .dc.sc:
22         awk -f ../util/imake.includes/ingres.awk < $< > $*.sc
23 .sc.c:
24         /usr/ingres/bin/esqlc -p $*
25
26 all: sync ptdump pt_util
27
28 sync: sync.o $(OBJS)
29         $(CC) -o sync sync.o $(OBJS) $(AFSLIBS) $(LIBS)
30
31 ptdump: ptdump.o
32         cc -o ptdump ptdump.o $(AFSLIBS) $(LDFLAGS) -ldes
33
34 pt_util: pt_util.o $(OBJS)
35         cc -o pt_util pt_util.o $(OBJS) $(AFSLIBS) $(LDFLAGS) -lcom_err -ldes
36
37 migrate: migrate.o
38         cc -o migrate migrate.o $(LIBS)
39
40 migrate.c: migrate.qc
41
42 clean:
43         rm -f *.o sync.c sync migrate.c migrate pt_util ptdump
This page took 0.062392 seconds and 5 git commands to generate.