From 7460dca006f495d605396d7ea59b8a36e62f3ef7 Mon Sep 17 00:00:00 2001 From: Ron Sluiter Date: Fri, 21 Jan 2011 21:35:54 +0000 Subject: [PATCH] - Only build Hy8601 if IPAC configured. - No need to publish drvHy8601Asyn.h - Need 'Hy8601_LIBS += motor asyn Ipac' for Unix build. --- motorApp/HytecSrc/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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