]> andersk Git - moira.git/blobdiff - afssync/Makefile
Diane Delgado's changes for a fixed table-locking order
[moira.git] / afssync / Makefile
index 3da669b6d2ef864c0598d80603c7fb24ff23d383..c09a4df2678cf0eaf7d69b819996bcf42d412db0 100644 (file)
@@ -1,30 +1,32 @@
 # $Header$
 
+DBCFLAGS=
+DBLIBS=        -L/usr/ingres/lib -lingres -lm
+
 AFSDIR = /mit/afsdev/bld/dest
 CFLAGS = -I$(AFSDIR)/include -I$(AFSDIR)/include/afs -I../include \
-       -I/usr/athena/include -O
+       -I/usr/athena/include -O ${DBCFLAGS}
 LDFLAGS= -L/usr/athena/lib
 
 OBJS= ptutils.o utils.o ubik.o
-LIBS= -L../lib $(LDFLAGS) -lmoira -lcom_err -lkrb -ldes \
-        /usr/rtingres/lib/libqlib /usr/rtingres/lib/compatlib
+LIBS= -L../lib $(LDFLAGS) -lmoira -lcom_err -lkrb -ldes ${DBLIBS}
 
 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
+.SUFFIXES: .dc .sc
 
-.qc.c: 
-       rm -f $*.c
-       /usr/rtingres/bin/eqc -p $*
+.dc.sc:
+       awk -f ../util/imake.includes/ingres.awk < $< > $*.sc
+.sc.c:
+       /usr/ingres/bin/esqlc -p $*
 
-all: sync ptdump migrate pt_util
+all: sync ptdump pt_util
 
 sync: sync.o $(OBJS)
        $(CC) -o sync sync.o $(OBJS) $(AFSLIBS) $(LIBS)
-sync.c: sync.qc
 
 ptdump: ptdump.o
        cc -o ptdump ptdump.o $(AFSLIBS) $(LDFLAGS) -ldes
This page took 0.054603 seconds and 4 git commands to generate.