diff --git a/src/ca/Makefile.Unix b/src/ca/Makefile.Unix index 78adc948e..261400199 100644 --- a/src/ca/Makefile.Unix +++ b/src/ca/Makefile.Unix @@ -2,7 +2,6 @@ EPICS = ../../../.. include Target.include include $(EPICS)/config/CONFIG_BASE -USR_CFLAGS = -DACCESS_SECURITY -D_NO_PROTO USR_LDLIBS = -lca -lCom -lm USR_LDFLAGS = -L. @@ -32,12 +31,14 @@ PROD = caRepeater include $(EPICS)/config/RULES.Unix -acctst: acctst.o $(DEPLIBS_BASE)/libCom.a libca.a +acctst: acctst.o $(LIBOBJS) $(DEPLIBS_BASE)/libCom.a + $(LINK.c) -o $@ $< $(LIBOBJS) $(DEPLIBS_BASE)/libCom.a acctst.o: ../acctst.c $(COMPILE.c) $< -catime: catime.o $(DEPLIBS_BASE)/libCom.a libca.a +catime: catime.o $(LIBOBJS) $(DEPLIBS_BASE)/libCom.a + $(LINK.c) -o $@ $< $(LIBOBJS) $(DEPLIBS_BASE)/libCom.a catime.o: ../catime.c $(COMPILE.c) $< diff --git a/src/ca/Makefile.Vx b/src/ca/Makefile.Vx index 11ec90556..ed045532a 100644 --- a/src/ca/Makefile.Vx +++ b/src/ca/Makefile.Vx @@ -2,12 +2,11 @@ EPICS = ../../../.. include Target.include include $(EPICS)/config/CONFIG_BASE -USR_CFLAGS = -DACCESS_SECURITY -D_NO_PROTO - SRCS.c = \ ../iocinf.c ../access.c ../test_event.c ../service.c \ ../flow_control.c ../repeater.c ../conn.c ../syncgrp.c \ - ../if_depen.c ../bsd_depen.c ../vxWorks_depen.c ../acctst.c + ../if_depen.c ../bsd_depen.c ../vxWorks_depen.c ../acctst.c \ + ../catime.c OBJS = \ iocinf.o access.o test_event.o service.o flow_control.o \ @@ -20,3 +19,10 @@ include $(EPICS)/config/RULES.Vx caLib: $(OBJS) $(RM) $@ $(LINK.c) $@ $(OBJS) $(LDLIBS) + +acctst.o: ../acctst.c + $(COMPILE.c) $< + +catime.o: ../catime.c + $(COMPILE.c) $< +