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

Subversion Repositories openrisc

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

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