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