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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [or1ksim/] [Makefile.am] - Blame information for rev 850

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 19 jeremybenn
# Makefile.am -- Top level automake configuration file
2
#
3
# Copyright (C) 1999 OpenCores
4
# Copyright (C) 2008 Embecosm Limited
5
#
6
# Contributor Jeremy Bennett 
7
#
8
# This file is part of OpenRISC 1000 Architectural Simulator.
9
#
10
# 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
#
15
# 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
#
20
# You should have received a copy of the GNU General Public License along
21
# with this program.  If not, see .
22
 
23
 
24 82 jeremybenn
# Local macros
25
ACLOCAL_AMFLAGS = -I m4
26
 
27
DISTCHECK_CONFIGURE_FLAGS = --target=or32-elf
28
 
29 346 jeremybenn
EXTRA_DIST = sim.cfg
30
 
31 19 jeremybenn
SUBDIRS               = argtable2  \
32
                        cpu        \
33
                        bpb        \
34
                        doc        \
35
                        support    \
36
                        cache      \
37
                        mmu        \
38
                        peripheral \
39
                        tick       \
40
                        pm         \
41
                        pic        \
42
                        debug      \
43 556 julius
                        pcu        \
44 19 jeremybenn
                        vapi       \
45
                        cuc        \
46 82 jeremybenn
                        port       \
47 233 julius
                        softfloat  \
48 82 jeremybenn
                        testsuite
49 19 jeremybenn
 
50
# Build a standalone simulator and a linkable library of the simulator
51
 
52
bin_PROGRAMS          = sim profile mprofile
53
lib_LTLIBRARIES       = libsim.la
54
include_HEADERS       = or1ksim.h
55
 
56
# The internal library
57
 
58
noinst_LTLIBRARIES    = libor1ksys.la
59
 
60
libor1ksys_la_SOURCES = cpu-config.c       \
61
                        mprofiler.c        \
62
                        profiler.c         \
63
                        sim-cmd.c          \
64
                        sim-config.c       \
65
                        toplevel-support.c \
66
                        or1ksim.h          \
67
                        cpu-config.h       \
68
                        sim-cmd.h          \
69
                        sim-config.h       \
70
                        toplevel-support.h
71
 
72
libor1ksys_la_LIBADD  = argtable2/libargtable2.la          \
73
                        cpu/common/libcommon.la            \
74
                        cpu/$(CPU_ARCH)/libarch.la         \
75
                        cpu/or1k/libor1k.la                \
76
                        support/libsupport.la              \
77
                        mmu/libmmu.la                      \
78
                        bpb/libbpb.la                      \
79
                        cache/libcache.la                  \
80
                        peripheral/libperipheral.la        \
81
                        peripheral/channels/libchannels.la \
82
                        tick/libtick.la                    \
83
                        pm/libpm.la                        \
84
                        pic/libpic.la                      \
85
                        debug/libdebug.la                  \
86 556 julius
                        pcu/libpcu.la                      \
87 19 jeremybenn
                        vapi/libvapi.la                    \
88
                        cuc/libcuc.la                      \
89 233 julius
                        softfloat/libsoftfloat.la          \
90 19 jeremybenn
                        port/libport.la
91
 
92
libor1ksys_la_LDFLAGS = -lm
93
 
94
# Standalone simulator
95
 
96
sim_SOURCES           = toplevel.c         \
97
                        or1ksim.h          \
98
                        toplevel-support.h
99
 
100
sim_LDADD             = libor1ksys.la
101
 
102
# Standalone profiling simulator
103
 
104
profile_SOURCES       = toplevel-profile.c    \
105
                        or1ksim.h          \
106
                        profiler.h
107
 
108
profile_LDADD         = libor1ksys.la
109
 
110
# Standalone memory profiling simulator
111
 
112
mprofile_SOURCES      = toplevel-mprofile.c   \
113
                        mprofiler.h        \
114
                        or1ksim.h
115
 
116
mprofile_LDADD        = libor1ksys.la
117
 
118
# Library
119
 
120
libsim_la_SOURCES     = libtoplevel.c      \
121
                        or1ksim.h          \
122
                        toplevel-support.h
123
 
124
libsim_la_LIBADD      = libor1ksys.la

powered by: WebSVN 2.1.0

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