diff --git a/motorApp/HytecSrc/Makefile b/motorApp/HytecSrc/Makefile index 321916e3..2697229f 100644 --- a/motorApp/HytecSrc/Makefile +++ b/motorApp/HytecSrc/Makefile @@ -6,8 +6,9 @@ include $(TOP)/configure/CONFIG # Build Hy8601 Module Library # ------------------------------- -LIBRARY_IOC += Hy8601 +ifdef IPAC +LIBRARY_IOC += Hy8601 DBD += drvHy8601Asyn.dbd @@ -15,11 +16,12 @@ DBD += drvHy8601Asyn.dbd Hy8601_SRCS += drvHy8601Asyn.c Hy8601_SRCS += registrarHy8601Asyn.c -INC += drvHy8601Asyn.h - # We need to link this IOC Application against the EPICS Base libraries +Hy8601_LIBS += motor asyn Ipac Hy8601_LIBS += $(EPICS_BASE_IOC_LIBS) +endif + # --------------------------------------------------- include $(TOP)/configure/RULES