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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [or1ksim/] [Makefile.am] - Blame information for rev 1774

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

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