# IBM_PROLOG_BEGIN_TAG # This is an automatically generated prolog. # # $Source: src/usr/pore/poreve/makefile $ # # IBM CONFIDENTIAL # # COPYRIGHT International Business Machines Corp. 2011,2013 # # p1 # # Object Code Only (OCO) source materials # Licensed Internal Code Source Materials # IBM HostBoot Licensed Internal Code # # The source code for this program is not published or otherwise # divested of its trade secrets, irrespective of what has been # deposited with the U.S. Copyright Office. # # Origin: 30 # # IBM_PROLOG_END_TAG # Module poreve built from 3 different source code areas: # # model The source code of the PoreInterface and PoreModel classes, # including the Transaction model. This pair of abstract classes # is implemented on the model side by a hardware model # (e.g., pore_model), and on the interface side by a virtual # environment (e.g., poreve). # # pore_model Model the hardware of the PORE. This containts the "pore-engine-core/interpreter" of the PORe simulation # The code in this directory is owned by Boeblingen team. # # porevesrc The Source code of the PoreVe class, including the Bus and # Slave models, and the HookManager. # ROOTPATH = ../../../.. MODULE = poreve EXTRAINCDIR += ${ROOTPATH}/src/include/usr/ecmddatabuffer EXTRAINCDIR += ${ROOTPATH}/src/usr/pore/poreve/model EXTRAINCDIR += ${ROOTPATH}/src/usr/pore/poreve/pore_model/include EXTRAINCDIR += ${ROOTPATH}/src/include/usr/hwpf/fapi EXTRAINCDIR += ${ROOTPATH}/src/include/usr/hwpf/plat EXTRAINCDIR += ${ROOTPATH}/src/include/usr/hwpf/hwp EXTRAINCDIR += ${ROOTPATH}/src/usr/pore/poreve/porevesrc CFLAGS += -DDEBUG_FASTI2C=1 -D_BIG_ENDIAN=1 # Override to use C++ compiler for %.c/h files CC_OVERRIDE = 1 OBJS = poreveutil.o OBJS += transaction.o poreaddress.o poremodel.o poreregister.o poreinterface.o porestate.o OBJS += pore_model.o pore_bus.o pore_fi2c.o pore_inline_decode.o vsbe.o pibmem.o OBJS += pore.o bus.o hookmanager.o poreve.o pib2cfam.o fasti2c.o sbevital.o create.o HOOK_SOURCE_FILES = $(notdir $(wildcard ./hook/*sbe*.hooks.cc)) OBJS += $(patsubst %.cc,%.o,$(HOOK_SOURCE_FILES)) vpath %.C ./model/ vpath %.C ./pore_model/wrapper/ # Note: small c files vpath %.c ./pore_model/ibuf/ vpath %.C ./porevesrc/ vpath %.cc ./hook/ include ${ROOTPATH}/config.mk