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

Subversion Repositories openrisc_me

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

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