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

Subversion Repositories openrisc

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

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
                        vapi       \
44
                        cuc        \
45 82 jeremybenn
                        port       \
46 233 julius
                        softfloat  \
47 82 jeremybenn
                        testsuite
48 19 jeremybenn
 
49
# Build a standalone simulator and a linkable library of the simulator
50
 
51
bin_PROGRAMS          = sim profile mprofile
52
lib_LTLIBRARIES       = libsim.la
53
include_HEADERS       = or1ksim.h
54
 
55
# The internal library
56
 
57
noinst_LTLIBRARIES    = libor1ksys.la
58
 
59
libor1ksys_la_SOURCES = cpu-config.c       \
60
                        mprofiler.c        \
61
                        profiler.c         \
62
                        sim-cmd.c          \
63
                        sim-config.c       \
64
                        toplevel-support.c \
65
                        or1ksim.h          \
66
                        cpu-config.h       \
67
                        sim-cmd.h          \
68
                        sim-config.h       \
69
                        toplevel-support.h
70
 
71
libor1ksys_la_LIBADD  = argtable2/libargtable2.la          \
72
                        cpu/common/libcommon.la            \
73
                        cpu/$(CPU_ARCH)/libarch.la         \
74
                        cpu/or1k/libor1k.la                \
75
                        support/libsupport.la              \
76
                        mmu/libmmu.la                      \
77
                        bpb/libbpb.la                      \
78
                        cache/libcache.la                  \
79
                        peripheral/libperipheral.la        \
80
                        peripheral/channels/libchannels.la \
81
                        tick/libtick.la                    \
82
                        pm/libpm.la                        \
83
                        pic/libpic.la                      \
84
                        debug/libdebug.la                  \
85
                        vapi/libvapi.la                    \
86
                        cuc/libcuc.la                      \
87 233 julius
                        softfloat/libsoftfloat.la          \
88 19 jeremybenn
                        port/libport.la
89
 
90
libor1ksys_la_LDFLAGS = -lm
91
 
92
# Standalone simulator
93
 
94
sim_SOURCES           = toplevel.c         \
95
                        or1ksim.h          \
96
                        toplevel-support.h
97
 
98
sim_LDADD             = libor1ksys.la
99
 
100
# Standalone profiling simulator
101
 
102
profile_SOURCES       = toplevel-profile.c    \
103
                        or1ksim.h          \
104
                        profiler.h
105
 
106
profile_LDADD         = libor1ksys.la
107
 
108
# Standalone memory profiling simulator
109
 
110
mprofile_SOURCES      = toplevel-mprofile.c   \
111
                        mprofiler.h        \
112
                        or1ksim.h
113
 
114
mprofile_LDADD        = libor1ksys.la
115
 
116
# Library
117
 
118
libsim_la_SOURCES     = libtoplevel.c      \
119
                        or1ksim.h          \
120
                        toplevel-support.h
121
 
122
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.