EPICS = ../../../..
include Target.include
include $(EPICS)/config/CONFIG_BASE

LINK.c=$(LD) $(LDFLAGS)

# JRW -- Don't define a SRCS.c or SRCS.cc if it is empty
# SRCS.c =

IOC_CORE_OBJS = \
	$(INSTALL_BIN)/asLibrary \
	$(INSTALL_BIN)/dbLib \
	$(INSTALL_BIN)/rsrvLib \
	$(INSTALL_BIN)/libCom \
	$(INSTALL_BIN)/vxComLib \
	$(INSTALL_BIN)/caLib \
	$(INSTALL_BIN)/miscLib \
	$(INSTALL_BIN)/dbSubs

PROD = iocCore vxWorks vxWorks.sym

include $(EPICS)/config/RULES.Vx

vxWorks: $(VX_IMAGE)
	$(RM) $@
	cp $< .

vxWorks.sym: $(VX_IMAGE_SYM)
	$(RM) $@
	cp $< .

iocCore: $(IOC_CORE_OBJS)
	$(LINK.c) $@ $(IOC_CORE_OBJS)
	@what $@

