#                      -*-Makefile-*-
###############################################################
#
# modify these project relevant Variables for your project:
# the directory paths should be relative from the src directory
# normally for a project you have the following subdirs:
#     lib
#     src
#     lib
#     classtester
#
###############################################################

LIBNAME = HALTools

###############################################################
#
# Any subdirectory where you include files you need in your 
# project can be found
#
###############################################################

EXTERNAL_INCLUDE_DIRS = /usr/local/nivxi/include \
			$(HALDIR)/generic/include \
                        $(HALDIR)/generic/include/$(ARCH) \
                        $(HALDIR)/busAdapter/include \
                        $(XERCESINCDIR) \


###############################################################
#
# All the directories where libraries you need in your project
# can be found.
#
###############################################################

EXTERNAL_LIB_DIRS = $(HALDIR)/busAdapter/lib/linux/x86 \
		    /usr/local/nivxi/lib \
		    $(HALDIR)/lib/$(ARCH)/$(BSP) \
                    $(HALDIR)/examples/tools/lib/$(ARCH)/$(BSP) \
                    $(XERCESLIBDIR) \

###############################################################
#
# Any libraries you depend on. Specify the name without the 
# lib-prefix and without the suffix. (i.e. for libfpga.a and
# for libfpga.so just specify fpga)
#
###############################################################

EXTERNAL_LIBS = MXI2LinuxX86BusAdapter_test \
		MXI2LinuxX86BusAdapter \
		nivxi \
		GenericHAL \
                PCIDummyBusAdapter \
                VMEDummyBusAdapter \
                $(XERCESLIBRARY) 

###############################################################
#
# put here all class names which have to be included into the
# project libraries.
#
###############################################################

CLASSES = PersistentCommandSequencer

###############################################################
#
# put here all applications which you have in your classtester
# subdir
#
###############################################################

TESTERS = PersistentCommandSequencerTester

###############################################################
#
# put here all libraries which are necessary to compile the 
# classtesters
#
###############################################################

TESTER_LIBS = $(XERCESLIBRARY) \
              VMEDummyBusAdapter \
              PCIDummyBusAdapter

###############################################################
#
# put here all applications which you have in your programs
# subdir
#
###############################################################

PROGRAMS = fedtester


#PROGRAMS = TTCviConsole \
#           XMLAddressTableTester \
#           PerformanceTester

################################################################
#
# if you have the abovementioned standard setup you do NOT need
# to modify anything below.
#
################################################################

CLASSTESTERDIR  = ../classtester
SOURCEPATH      = ./:../../common
NEWLIBDIR       = $(HALDIR)/examples/tools/lib/$(ARCH)/$(BSP)
INCLUDEDIR      = $(HALDIR)/examples/tools/include
