- Only build Hy8601 if IPAC configured.

- No need to publish drvHy8601Asyn.h
- Need 'Hy8601_LIBS += motor asyn Ipac' for Unix build.
This commit is contained in:
Ron Sluiter
2011-01-21 21:35:54 +00:00
parent 09a6cbecdf
commit 7460dca006
+5 -3
View File
@@ -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