]> andersk Git - moira.git/blob - afssync/Makefile
Initial revision
[moira.git] / afssync / Makefile
1 # $Header$
2
3 AFSDIR = /mit/afsdev/bld/dest
4 CFLAGS = -I$(AFSDIR)/include -I$(AFSDIR)/include/afs -I../include -O
5
6 OBJS= ptutils.o ptprocs.o utils.o ubik.o
7 LIBS= -L../lib -lmoira -lcom_err -lkrb -ldes \
8          /usr/rtingres/lib/libqlib /usr/rtingres/lib/compatlib
9
10 AFSLIBS=$(AFSDIR)/lib/afs/libprot.a   $(AFSDIR)/lib/afs/libauth.a \
11         $(AFSDIR)/lib/libubik.a       $(AFSDIR)/lib/afs/util.a \
12         $(AFSDIR)/lib/librxkad.a      $(AFSDIR)/lib/afs/libsys.a \
13         $(AFSDIR)/lib/librx.a         $(AFSDIR)/lib/liblwp.a
14
15 .SUFFIXES: .qc
16
17 .qc.c: 
18         rm -f $*.c
19         /usr/rtingres/bin/eqc -p $*
20
21 all: sync ptdump
22
23 sync: sync.o $(OBJS)
24         $(CC) -o sync sync.o $(OBJS) $(AFSLIBS) $(LIBS)
25 sync.c: sync.qc
26
27 ptdump: ptdump.o
28         cc -o ptdump ptdump.o $(AFSLIBS) -lkrb -ldes
29
30 clean:
31         rm -f *.o resync.c sync.c resync sync startsync prnewlist prnewuser
This page took 0.044488 seconds and 5 git commands to generate.