summaryrefslogtreecommitdiffstats
path: root/src/usr/pore/poreve/makefile
blob: 8d53bc194953f545f31945747ebabc0e6ef680b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# 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
OpenPOWER on IntegriCloud