]> andersk Git - moira.git/blobdiff - afssync/Makefile
Removed ID hashing code (it doesn't really help)
[moira.git] / afssync / Makefile
index 9145b74a197b61d0a3b696e42a0c19b968bdcdea..3da669b6d2ef864c0598d80603c7fb24ff23d383 100644 (file)
@@ -1,36 +1,41 @@
 # $Header$
 
-CFLAGS = -I/mit/afsdev/build/vax/include -I../include -O
+AFSDIR = /mit/afsdev/bld/dest
+CFLAGS = -I$(AFSDIR)/include -I$(AFSDIR)/include/afs -I../include \
+       -I/usr/athena/include -O
+LDFLAGS= -L/usr/athena/lib
 
-OBJS = prprocs.o prutils.o utils.o ubik.o
-LIBS= -L../lib -lmoira -lcom_err \
+OBJS= ptutils.o utils.o ubik.o
+LIBS= -L../lib $(LDFLAGS) -lmoira -lcom_err -lkrb -ldes \
         /usr/rtingres/lib/libqlib /usr/rtingres/lib/compatlib
 
+AFSLIBS=$(AFSDIR)/lib/afs/libprot.a   $(AFSDIR)/lib/afs/libauth.a \
+       $(AFSDIR)/lib/libubik.a       $(AFSDIR)/lib/afs/util.a \
+       $(AFSDIR)/lib/librxkad.a      $(AFSDIR)/lib/afs/libsys.a \
+       $(AFSDIR)/lib/librx.a         $(AFSDIR)/lib/liblwp.a
+
 .SUFFIXES: .qc
 
 .qc.c: 
        rm -f $*.c
        /usr/rtingres/bin/eqc -p $*
 
-all: sync resync
+all: sync ptdump migrate pt_util
 
 sync: sync.o $(OBJS)
-       cc -o sync sync.o $(OBJS) $(LIBS)
+       $(CC) -o sync sync.o $(OBJS) $(AFSLIBS) $(LIBS)
 sync.c: sync.qc
 
-resync: resync.o $(OBJS)
-       cc -o resync resync.o $(OBJS) $(LIBS)
-resync.c: resync.qc
-
-prnewuser: prnewuser.o $(OBJS)
-       cc -o prnewuser prnewuser.o $(OBJS)
+ptdump: ptdump.o
+       cc -o ptdump ptdump.o $(AFSLIBS) $(LDFLAGS) -ldes
 
-prnewlist: prnewlist.o $(OBJS)
-       cc -o prnewlist prnewlist.o $(OBJS)
+pt_util: pt_util.o $(OBJS)
+       cc -o pt_util pt_util.o $(OBJS) $(AFSLIBS) $(LDFLAGS) -lcom_err -ldes
 
-startsync: startsync.o
-       cc -o startsync startsync.o
+migrate: migrate.o
+       cc -o migrate migrate.o $(LIBS)
 
+migrate.c: migrate.qc
 
 clean:
-       rm -f *.o resync.c sync.c resync sync startsync prnewlist prnewuser
+       rm -f *.o sync.c sync migrate.c migrate pt_util ptdump
This page took 0.051692 seconds and 4 git commands to generate.