OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [tags/] [rel-0-3-0-rc1/] [or1ksim/] [cpu/] [or32/] [Makefile.am] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 54 lampret
# Makefile -- Makefile for OR32 dependent simulation
2 1744 jeremybenn
#
3 7 jrydberg
# Copyright (C) 1999 Damjan Lampret, lampret@opencores.org
4 1744 jeremybenn
# Copyright (C) 2008 Embecosm Limited
5 7 jrydberg
#
6 1744 jeremybenn
# Contributor Jeremy Bennett 
7
#
8 7 jrydberg
# This file is part of OpenRISC 1000 Architectural Simulator.
9
#
10 1744 jeremybenn
# This program is free software; you can redistribute it and/or modify it
11
# under the terms of the GNU General Public License as published by the Free
12
# Software Foundation; either version 3 of the License, or (at your option)
13
# any later version.
14 7 jrydberg
#
15 1744 jeremybenn
# This program is distributed in the hope that it will be useful, but WITHOUT
16
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
17
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
18
# more details.
19 7 jrydberg
#
20 1744 jeremybenn
# You should have received a copy of the GNU General Public License along
21
# with this program.  If not, see .
22 7 jrydberg
 
23 1744 jeremybenn
 
24 1452 nogj
if DYNAMIC_EXECUTION
25 706 markom
 
26 1748 jeremybenn
noinst_LTLIBRARIES = libarch.la libop.la
27
 
28 1745 jeremybenn
noinst_PROGRAMS    = dyngen
29 1452 nogj
 
30 1745 jeremybenn
dyngen_SOURCES     = dyngen.c          \
31 1748 jeremybenn
                     dyngen-i386.c     \
32
                     dyngen-elf.c      \
33
                     common-i386.h     \
34
                     dyn32-defs.h      \
35 1745 jeremybenn
                     dyngen.h          \
36 1748 jeremybenn
                     dyn-rec.h         \
37
                     i386-regs.h       \
38
                     op-arith-op.h     \
39
                     op-comp-op.h      \
40
                     op-extend-op.h    \
41
                     op-ff1-op.h       \
42
                     op-i386.h         \
43
                     op-lwhb-op.h      \
44
                     op-mac-op.h       \
45
                     op-mftspr-op.h    \
46
                     op-support.h      \
47
                     op-swhb-op.h      \
48
                     op-t-reg-mov-op.h \
49
                     rec-i386.h        \
50
                     sched-i386.h      \
51
                     simpl32-defs.h
52 1745 jeremybenn
dyngen_CFLAGS      = $(AM_CFLAGS)
53 1452 nogj
 
54 1745 jeremybenn
libarch_la_SOURCES = execute.c         \
55
                     or32.c            \
56
                     op.c              \
57 1748 jeremybenn
                     dyn-rec.c         \
58
                     op-support.c      \
59
                     common-i386.h     \
60
                     dyn32-defs.h      \
61 1745 jeremybenn
                     dyngen.h          \
62 1748 jeremybenn
                     dyn-rec.h         \
63
                     i386-regs.h       \
64
                     op-arith-op.h     \
65
                     op-comp-op.h      \
66
                     op-extend-op.h    \
67
                     op-ff1-op.h       \
68
                     op-i386.h         \
69
                     op-lwhb-op.h      \
70
                     op-mac-op.h       \
71
                     op-mftspr-op.h    \
72
                     op-support.h      \
73
                     op-swhb-op.h      \
74
                     op-t-reg-mov-op.h \
75
                     rec-i386.h        \
76
                     sched-i386.h      \
77
                     simpl32-defs.h
78 1452 nogj
 
79 1748 jeremybenn
nodist_libarch_la_SOURCES = gen-ops.h     \
80
                            gen-ops.c     \
81
                            gen-ops-gen.c \
82
                            gen-ops-rel.c
83 1452 nogj
 
84 1748 jeremybenn
BUILT_SOURCES             = gen-ops.h     \
85
                            gen-ops.c     \
86
                            gen-ops-gen.c \
87
                            gen-ops-rel.c
88 1452 nogj
 
89 1748 jeremybenn
libop_la_SOURCES   = op.c                    \
90
                     op-t-reg-mov-op.h       \
91
                     op-i386.h op-arith-op.h \
92
                     op-comp-op.h            \
93
                     op-extend-op.h          \
94
                     op-mac-op.h             \
95
                     op-mftspr-op.h          \
96
                     op-lwhb-op.h            \
97
                     op-swhb-op.h
98 1452 nogj
 
99 1748 jeremybenn
libop_la_CFLAGS = -Wall -fomit-frame-pointer -fno-reorder-blocks -O2
100 1452 nogj
 
101 1748 jeremybenn
gen-ops.h gen-ops.c gen-ops-gen.c gen-ops-rel.c: dyngen$(EXEEXT) op.lo
102
        ./dyngen$(EXEEXT) op.lo gen-ops.c gen-ops-gen.c gen-ops-rel.c gen-ops.h
103 1452 nogj
 
104 706 markom
else
105 1452 nogj
 
106 1748 jeremybenn
noinst_LTLIBRARIES = libarch.la
107
 
108
if GENERATE_NEEDED
109
 
110
EXTRA_DIST         = insnset.c
111
 
112 1745 jeremybenn
libarch_la_SOURCES = execute.c         \
113
                     or32.c            \
114 1748 jeremybenn
                     common-i386.h     \
115
                     dyn32-defs.h      \
116 1745 jeremybenn
                     dyngen.h          \
117 1748 jeremybenn
                     dyn-rec.h         \
118
                     i386-regs.h       \
119
                     op-arith-op.h     \
120
                     op-comp-op.h      \
121
                     op-extend-op.h    \
122
                     op-ff1-op.h       \
123
                     op-i386.h         \
124
                     op-lwhb-op.h      \
125
                     op-mac-op.h       \
126
                     op-mftspr-op.h    \
127
                     op-support.h      \
128
                     op-swhb-op.h      \
129
                     op-t-reg-mov-op.h \
130
                     rec-i386.h        \
131
                     sched-i386.h      \
132
                     simpl32-defs.h
133 1452 nogj
 
134 1748 jeremybenn
BUILT_SOURCES      = execgen.c
135 1452 nogj
 
136 1748 jeremybenn
noinst_PROGRAMS    = generate$(EXEEXT)
137 706 markom
 
138 1745 jeremybenn
generate_SOURCES   = or32.c            \
139
                     generate.c        \
140 1748 jeremybenn
                     common-i386.h     \
141
                     dyn32-defs.h      \
142 1745 jeremybenn
                     dyngen.h          \
143 1748 jeremybenn
                     dyn-rec.h         \
144
                     i386-regs.h       \
145
                     op-arith-op.h     \
146
                     op-comp-op.h      \
147
                     op-extend-op.h    \
148
                     op-ff1-op.h       \
149
                     op-i386.h         \
150
                     op-lwhb-op.h      \
151
                     op-mac-op.h       \
152
                     op-mftspr-op.h    \
153
                     op-support.h      \
154
                     op-swhb-op.h      \
155
                     op-t-reg-mov-op.h \
156
                     rec-i386.h        \
157
                     sched-i386.h      \
158
                     simpl32-defs.h
159 1745 jeremybenn
 
160
generate_CFLAGS    = $(AM_CFLAGS)
161
 
162 1748 jeremybenn
execgen.c: generate$(EXEEXT) insnset.c
163 1512 nogj
        ./generate$(EXEEXT) $(srcdir)/insnset.c execgen.c
164 1345 nogj
 
165 1452 nogj
else
166
 
167 1748 jeremybenn
libarch_la_SOURCES = execute.c         \
168
                     insnset.c         \
169
                     or32.c            \
170
                     common-i386.h     \
171
                     dyn32-defs.h      \
172
                     dyngen.h          \
173
                     dyn-rec.h         \
174
                     i386-regs.h       \
175
                     op-arith-op.h     \
176
                     op-comp-op.h      \
177
                     op-extend-op.h    \
178
                     op-ff1-op.h       \
179
                     op-i386.h         \
180
                     op-lwhb-op.h      \
181
                     op-mac-op.h       \
182
                     op-mftspr-op.h    \
183
                     op-support.h      \
184
                     op-swhb-op.h      \
185
                     op-t-reg-mov-op.h \
186
                     rec-i386.h        \
187
                     sched-i386.h      \
188
                     simpl32-defs.h
189 1452 nogj
 
190 706 markom
endif
191 1452 nogj
endif
192 1345 nogj
 
193
# If the simulator was first built without --enable-simple and then with it,
194
# then also remove these two files
195 1745 jeremybenn
 
196
CLEANFILES = execgen.c \
197
             generate \
198 1748 jeremybenn
             gen-ops.c \
199
             gen-ops.h \
200
             gen-ops-rel.c \
201
             gen-ops-gen.c

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.