diff --git a/motorApp/OmsSrc/Makefile b/motorApp/OmsSrc/Makefile index acacff29..6839333d 100644 --- a/motorApp/OmsSrc/Makefile +++ b/motorApp/OmsSrc/Makefile @@ -12,7 +12,9 @@ DBD += devOms.dbd LIBRARY_IOC_DEFAULT += oms # The following is required for the OMS PC68/78 (i.e., devOmsPC68) device driver. +ifdef ASYN SRCS += devOmsPC68.cc drvOmsPC68.cc +endif # The following is required for the OMS VME8/44 (i.e., devOMS) device driver. SRCS += devOms.cc drvOms.cc @@ -27,7 +29,9 @@ SRCS += devMAXv.cc drvMAXv.cc SRCS += devOmsCom.cc oms_LIBS += motor +ifdef ASYN oms_LIBS += asyn +endif oms_LIBS += $(EPICS_BASE_IOC_LIBS) include $(TOP)/configure/RULES