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

Subversion Repositories openrisc

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

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
SUBDIRS               = argtable2  \
25
                        cpu        \
26
                        bpb        \
27
                        doc        \
28
                        support    \
29
                        cache      \
30
                        mmu        \
31
                        peripheral \
32
                        tick       \
33
                        pm         \
34
                        pic        \
35
                        debug      \
36
                        vapi       \
37
                        cuc        \
38
                        port
39
 
40
# Build a standalone simulator and a linkable library of the simulator
41
 
42
bin_PROGRAMS          = sim profile mprofile
43
lib_LTLIBRARIES       = libsim.la
44
include_HEADERS       = or1ksim.h
45
 
46
# The internal library
47
 
48
noinst_LTLIBRARIES    = libor1ksys.la
49
 
50
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
 
62
libor1ksys_la_LIBADD  = argtable2/libargtable2.la          \
63
                        cpu/common/libcommon.la            \
64
                        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
# Standalone simulator
83
 
84
sim_SOURCES           = toplevel.c         \
85
                        or1ksim.h          \
86
                        toplevel-support.h
87
 
88
sim_LDADD             = libor1ksys.la
89
 
90
# 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
# Library
107
 
108
libsim_la_SOURCES     = libtoplevel.c      \
109
                        or1ksim.h          \
110
                        toplevel-support.h
111
 
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.