From b06e612a1db165cc22226bf5cd67729213f3b219 Mon Sep 17 00:00:00 2001 From: probe Date: Sun, 31 May 1992 21:38:34 +0000 Subject: [PATCH] Builds AFS sync program --- afssync/Makefile | 31 +++++++++++++------------------ 1 file changed, 13 insertions(+), 18 deletions(-) diff --git a/afssync/Makefile b/afssync/Makefile index 9145b74a..0cf7f5b6 100644 --- a/afssync/Makefile +++ b/afssync/Makefile @@ -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 -- 2.45.2