forked from epics_driver_modules/motorBase
- 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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user