]> andersk Git - moira.git/commitdiff
Builds AFS sync program
authorprobe <probe>
Sun, 31 May 1992 21:38:34 +0000 (21:38 +0000)
committerprobe <probe>
Sun, 31 May 1992 21:38:34 +0000 (21:38 +0000)
afssync/Makefile

index 9145b74a197b61d0a3b696e42a0c19b968bdcdea..0cf7f5b690c4e8e1eec446b28040167545b0e4bf 100644 (file)
@@ -1,36 +1,31 @@
 # $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 -O
 
-OBJS = prprocs.o prutils.o utils.o ubik.o
-LIBS= -L../lib -lmoira -lcom_err \
+OBJS= ptprocs.o utils.o ubik.o
+LIBS= -L../lib -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
 
 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)
-
-prnewlist: prnewlist.o $(OBJS)
-       cc -o prnewlist prnewlist.o $(OBJS)
-
-startsync: startsync.o
-       cc -o startsync startsync.o
-
+ptdump: ptdump.o
+       cc -o ptdump ptdump.o $(AFSLIBS) -lkrb -ldes
 
 clean:
        rm -f *.o resync.c sync.c resync sync startsync prnewlist prnewuser
This page took 0.085452 seconds and 5 git commands to generate.