summaryrefslogtreecommitdiffstats
path: root/src/usr/pore/poreve/makefile
blob: 7f639970b44b4794ba71f614eb597968318a7956 (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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# IBM_PROLOG_BEGIN_TAG
# This is an automatically generated prolog.
#
# $Source: src/usr/pore/poreve/makefile $
#
# IBM CONFIDENTIAL
#
# COPYRIGHT International Business Machines Corp. 2011,2014
#
# 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
OBJS += poreaddress.o
OBJS += poremodel.o
OBJS += poreregister.o
OBJS += poreinterface.o
OBJS += porestate.o
OBJS += pore_model.o
OBJS += pore_bus.o
OBJS += pore_fi2c.o
OBJS += pore_inline_decode.o
OBJS += vsbe.o
OBJS += pibmem.o
OBJS += pore.o
OBJS += bus.o
OBJS += hookmanager.o
OBJS += poreve.o
OBJS += pib2cfam.o
OBJS += fasti2c.o
OBJS += sbevital.o
OBJS += 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