From d6853a3aea30135bbeadfb7403aa3f229f1a3c15 Mon Sep 17 00:00:00 2001 From: Ron Sluiter Date: Tue, 8 Sep 2009 18:48:44 +0000 Subject: [PATCH] Condition library based on SNCSEQ. --- motorApp/NewportSrc/Makefile | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/motorApp/NewportSrc/Makefile b/motorApp/NewportSrc/Makefile index f7325580..e8324777 100644 --- a/motorApp/NewportSrc/Makefile +++ b/motorApp/NewportSrc/Makefile @@ -21,7 +21,9 @@ Newport_SRCS += devMM3000.cc drvMM3000.cc # MM4000/5 (i.e., MM4000) device driver. Newport_SRCS += devMM4000.cc drvMM4000.cc Newport_SRCS += drvMM4000Asyn.c +ifdef SNCSEQ Newport_SRCS += MM4005_trajectoryScan.st +endif # PM500 device driver. Newport_SRCS += devPM500.cc drvPM500.cc @@ -32,7 +34,9 @@ Newport_SRCS += devESP300.cc drvESP300.cc # XPS C8 device driver Newport_SRCS += asynOctetSocket.cpp Newport_SRCS += XPS_C8_drivers.cpp drvXPSAsyn.c drvXPSAsynAux.c XPSAsynInterpose.c xps_ftp.c +ifdef SNCSEQ Newport_SRCS += XPS_trajectoryScan.st +endif # strtok_r needed on WIN32 Newport_SRCS_WIN32 += strtok_r.cpp @@ -44,12 +48,18 @@ Newport_SRCS += XPSGatheringRegister.c # Function which will run a tcl script on an XPS Newport_SRCS += tclCall.cc -Newport_LIBS += motor asyn seq pv +Newport_LIBS += motor asyn +ifdef SNCSEQ +Newport_LIBS += seq pv +endif Newport_LIBS += $(EPICS_BASE_IOC_LIBS) PROD_IOC += XPSGatheringMain XPSGatheringMain_SRCS += XPSGatheringMain.c -XPSGatheringMain_LIBS += Newport motor asyn seq pv +XPSGatheringMain_LIBS += Newport motor asyn +ifdef SNCSEQ +XPSGatheringMain_LIBS += seq pv +endif XPSGatheringMain_LIBS += $(EPICS_BASE_IOC_LIBS) XPSGatheringMain_SYS_LIBS_solaris += socket nsl