LIB_BASE_NAME = adb3

SUBDIRS = vxworks

VXBADB3_DIR = ../../..

# Get macros specific to ADB3 Driver
include $(VXBADB3_DIR)/src/driver/version.mak

#
#  The EXTRA_INCLUDE line is used to indicate additional
#  directories to search for include files when compiling
#  the source files in this directory.  The value here is
#  redundant, but listed to show what application code would
#  need if it uses any header file from this directory.
#
EXTRA_INCLUDE += \
  -I$(VXBADB3_DIR)/src/api/platform \
  -I$(VXBADB3_DIR)/src/api/platform/vxworks \
  -I$(VXBADB3_DIR)/src/api/adb3/vxworks \
  -I$(VXBADB3_DIR)/h

ifeq ($(TOOL),gnu)
EXTRA_INCLUDE += -include $(VXBADB3_DIR)/src/api/identifiers.h
endif
ifeq ($(TOOL),diab)
EXTRA_INCLUDE += -i=$(VXBADB3_DIR)/src/api/identifiers.h
endif
ifeq ($(TOOL),icc)
EXTRA_INCLUDE += -imacros $(VXBADB3_DIR)/src/api/identifiers.h
endif

SRC_C = $(wildcard *.c)

OBJS = $(SRC_C:.c=.o)

include $(WIND_KRNL_MK)/rules.library.mk
