-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.am
182 lines (166 loc) · 7.04 KB
/
Makefile.am
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
# -*- tab-width:8; indent-tabs-mode:true; -*-
# vim: set noet sw=2 ts=8 sts=0:
#
# Copyright (c)
# 2010 FAU -- Joachim Falk <[email protected]>
# 2010 FAU -- Martin Streubuehr <[email protected]>
# 2010 FAU -- Sebastian Graf <[email protected]>
# 2011 FAU -- Jens Gladigau <[email protected]>
# 2011 FAU -- Martin Streubuehr <[email protected]>
# 2011 Thomas Russ <[email protected]>
# 2012 FAU -- Sebastian Graf <[email protected]>
# 2014 FAU -- Joachim Falk <[email protected]>
# 2015 FAU -- Joachim Falk <[email protected]>
# 2016 FAU -- Joachim Falk <[email protected]>
# 2017 FAU -- Joachim Falk <[email protected]>
# 2017 FAU -- Simone Müller <[email protected]>
# 2018 FAU -- Joachim Falk <[email protected]>
# 2019 FAU -- Joachim Falk <[email protected]>
# 2020 FAU -- Joachim Falk <[email protected]>
# 2021 FAU -- Joachim Falk <[email protected]>
#
# This library is free software; you can redistribute it and/or modify it under
# the terms of the GNU Lesser General Public License as published by the Free
# Software Foundation; either version 2 of the License, or (at your option) any
# later version.
#
# This library is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
# details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with this library; if not, write to the Free Software Foundation, Inc.,
# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
## Process this file with automake to produce Makefile.in
include $(auxdir)/jfrules.mk
include ../BuildSystem/doxygen.am
SUBDIRS = . src/systemcvpc/headers testcases tutorial
AUTOMAKE_OPTIONS = nostdinc
# This is only needed if there is a configure.ac in this directory
ACLOCAL_AMFLAGS=-I ../BuildSystem/m4
AM_LDFLAGS = @AM_LDFLAGS@
AM_CPPFLAGS= @AM_CPPFLAGS@
pkgconfigdir = $(libdir)/pkgconfig
nodist_pkgconfig_DATA = \
libsystemcvpc.pc
%.pc: pkgconfig/%.pc
@sed -e '/^srctreemode_\w\+\s*=/d' \
-e 's/\$${srctreemode_libdir}\/lib\([^ ]*\).la/-l\1/g' \
-e 's/\$${srctreemode_\(\w\+\)}/\$${\1}/g' \
< $^ > $@
src/systemcvpc/cpp/%-xsd.c: %.xsd
{ set -e; echo "static char const $(notdir $*)XSD[] ="; \
sed -e 's/\(["\\]\)/\\\1/g' -e 's/^\(.*\)$$/ "\1\\n"/' $<; \
echo ";"; \
} > $@
src/systemcvpc/cpp/%-dtd.c: %.dtd
{ set -e; echo "static char const $(notdir $*)DTD[] ="; \
sed -e 's/\(["\\]\)/\\\1/g' -e 's/^\(.*\)$$/ "\1\\n"/' $<; \
echo ";"; \
} > $@
BUILT_SOURCES=src/systemcvpc/cpp/vpc-dtd.c
CLEANFILES=$(nodist_pkgconfig_DATA)
lib_LTLIBRARIES = libsystemcvpc.la
libsystemcvpc_la_SOURCES = \
src/systemcvpc/cpp/Attribute.cpp \
src/systemcvpc/cpp/Component.cpp \
src/systemcvpc/cpp/ComponentObserver.cpp \
src/systemcvpc/cpp/ExecModel.cpp \
src/systemcvpc/cpp/Power.cpp \
src/systemcvpc/cpp/PowerMode.cpp \
src/systemcvpc/cpp/Route.cpp \
src/systemcvpc/cpp/Scheduler.cpp \
src/systemcvpc/cpp/Time.cpp \
src/systemcvpc/cpp/Timing.cpp \
src/systemcvpc/cpp/VpcApi.cpp \
src/systemcvpc/cpp/VpcTask.cpp \
\
src/systemcvpc/cpp/ExecModelling/LookupPowerTimeModel.cpp \
\
src/systemcvpc/cpp/Extending/ComponentObserverIf.cpp \
src/systemcvpc/cpp/Extending/ComponentTracerIf.cpp \
src/systemcvpc/cpp/Extending/TaskInstance.cpp \
\
src/systemcvpc/cpp/Routing/Ignore.cpp \
src/systemcvpc/cpp/Routing/Static.cpp \
\
src/systemcvpc/cpp/detail/dynload/dll-elf.cpp \
src/systemcvpc/cpp/detail/dynload/dll-win32.cpp \
\
src/systemcvpc/cpp/detail/ExecModelling/LookupPowerTimeModelImpl.cpp \
\
src/systemcvpc/cpp/detail/NonPreemptiveScheduler/DynamicPriorityComponent.cpp \
src/systemcvpc/cpp/detail/NonPreemptiveScheduler/FcfsComponent.cpp \
src/systemcvpc/cpp/detail/NonPreemptiveScheduler/NonPreemptiveComponent.cpp \
src/systemcvpc/cpp/detail/NonPreemptiveScheduler/PriorityComponent.cpp \
src/systemcvpc/cpp/detail/NonPreemptiveScheduler/RoundRobinComponent.cpp \
\
src/systemcvpc/cpp/detail/PreemptiveScheduler/PreemptiveComponent.cpp \
src/systemcvpc/cpp/detail/PreemptiveScheduler/AVBScheduler.cpp \
src/systemcvpc/cpp/detail/PreemptiveScheduler/FlexRayScheduler.cpp \
src/systemcvpc/cpp/detail/PreemptiveScheduler/PriorityScheduler.cpp \
src/systemcvpc/cpp/detail/PreemptiveScheduler/RateMonotonicScheduler.cpp \
src/systemcvpc/cpp/detail/PreemptiveScheduler/RoundRobinScheduler.cpp \
src/systemcvpc/cpp/detail/PreemptiveScheduler/TimeTriggeredCCScheduler.cpp \
src/systemcvpc/cpp/detail/PreemptiveScheduler/TDMAScheduler.cpp \
src/systemcvpc/cpp/detail/PreemptiveScheduler/MostScheduler.cpp \
src/systemcvpc/cpp/detail/PreemptiveScheduler/MostSecondaryScheduler.cpp \
src/systemcvpc/cpp/detail/PreemptiveScheduler/StreamShaperScheduler.cpp \
\
src/systemcvpc/cpp/detail/Routing/IgnoreImpl.cpp \
src/systemcvpc/cpp/detail/Routing/StaticImpl.cpp \
\
src/systemcvpc/cpp/detail/observers/DeadlineMonitor.cpp \
src/systemcvpc/cpp/detail/observers/PowerSumming.cpp \
\
src/systemcvpc/cpp/detail/tracers/ComponentDBTracer.cpp \
src/systemcvpc/cpp/detail/tracers/ComponentPajeTracer.cpp \
src/systemcvpc/cpp/detail/tracers/ComponentVCDTracer.cpp \
\
src/systemcvpc/cpp/detail/AbstractComponent.cpp \
src/systemcvpc/cpp/detail/AbstractExecModel.cpp \
src/systemcvpc/cpp/detail/AbstractRoute.cpp \
src/systemcvpc/cpp/detail/common.cpp \
src/systemcvpc/cpp/detail/ConfigCheck.cpp \
src/systemcvpc/cpp/detail/Configuration.cpp \
src/systemcvpc/cpp/detail/DebugOStream.cpp \
src/systemcvpc/cpp/detail/Director.cpp \
src/systemcvpc/cpp/detail/HysteresisLocalGovernor.cpp \
src/systemcvpc/cpp/detail/LegacyComponentObserver.cpp \
src/systemcvpc/cpp/detail/ObservableComponent.cpp \
src/systemcvpc/cpp/detail/PluggablePowerGovernor.cpp \
src/systemcvpc/cpp/detail/SelectFastestPowerModeGlobalGovernor.cpp \
src/systemcvpc/cpp/detail/SystemCVPCSimulator.cpp \
src/systemcvpc/cpp/detail/TaskImpl.cpp \
src/systemcvpc/cpp/detail/TaskInstanceImpl.cpp \
src/systemcvpc/cpp/detail/TimeQueue.cpp \
src/systemcvpc/cpp/detail/VPCBuilder.cpp
libsystemcvpc_la_DEPENDENCIES = \
$(COSUPPORT_STRING_DEPENDENCIES) \
$(COSUPPORT_SMARTPTR_DEPENDENCIES) \
$(COSUPPORT_SYSTEMC_DEPENDENCIES) \
$(COSUPPORT_TRACING_DEPENDENCIES) \
$(COSUPPORT_STREAMS_DEPENDENCIES) \
$(COSUPPORT_XERCES_DEPENDENCIES) \
$(SYSTEMOC_DEPENDENCIES)
libsystemcvpc_la_CPPFLAGS = $(AM_CPPFLAGS) \
-I$(builddir)/src/systemcvpc/cpp \
-I$(builddir)/src/systemcvpc/headers \
-I$(srcdir)/src/systemcvpc/cpp \
-I$(srcdir)/src/systemcvpc/headers \
$(BOOST_CPPFLAGS) \
$(SYSTEMC_CPPFLAGS) \
$(COSUPPORT_STRING_CPPFLAGS) \
$(COSUPPORT_SMARTPTR_CPPFLAGS) \
$(COSUPPORT_SYSTEMC_CPPFLAGS) \
$(COSUPPORT_TRACING_CPPFLAGS) \
$(COSUPPORT_STREAMS_CPPFLAGS) \
$(COSUPPORT_XERCES_CPPFLAGS) \
$(SYSTEMOC_CPPFLAGS)
libsystemcvpc_la_LDFLAGS = $(AM_LDFLAGS) \
$(filter-out %/libsystemcvpc.la, $(shell PKG_CONFIG_PATH="$(PKG_CONFIG_PATH)"; export PKG_CONFIG_PATH; $(PKG_CONFIG) --static --libs libsystemcvpc)) \
-Wl,--no-undefined \
-version-info 0:0:0 \
-module \
-rdynamic