From ae0e3ba75fd27a1f923588ddbede6b66a64626fb Mon Sep 17 00:00:00 2001 From: Ron Sluiter Date: Fri, 14 Mar 2008 20:59:55 +0000 Subject: [PATCH] Condition build with ASYN. --- motorApp/MotorSrc/Makefile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/motorApp/MotorSrc/Makefile b/motorApp/MotorSrc/Makefile index a519afc6..b45e95e6 100644 --- a/motorApp/MotorSrc/Makefile +++ b/motorApp/MotorSrc/Makefile @@ -5,28 +5,34 @@ include $(TOP)/configure/CONFIG # ADD MACRO DEFINITIONS AFTER THIS LINE # The following are used for debugging messages. -#USR_CXXFLAGS += -DDEBUG +#!USR_CXXFLAGS += -DDEBUG DBDINC += motorRecord.h DBD += motorSupport.dbd INC += motor.h motordevCom.h motordrvCom.h INC += motordrvComCode.h + +ifdef ASYN INC += asynMotorStatus.h INC += motor_interface.h INC += paramLib.h +endif LIBRARY_IOC += motor # The following are required for all motor record configurations. motor_SRCS += motorRecord.cc motordevCom.cc motordrvCom.cc +motor_SRCS += motorUtil.cc motorUtilAux.cc + +ifdef ASYN motor_SRCS += asynMotorStatusBase.c motor_SRCS += drvMotorAsyn.c motor_SRCS += devMotorAsyn.c motor_SRCS += paramLib.c -motor_SRCS += motorUtil.cc motorUtilAux.cc - motor_LIBS += asyn +endif + motor_LIBS += $(EPICS_BASE_IOC_LIBS) include $(TOP)/configure/RULES