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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [or1ksim/] [cpu/] [or32/] [Makefile.am] - Blame information for rev 638

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

Line No. Rev Author Line
1 19 jeremybenn
# Makefile -- Makefile for OR32 dependent simulation
2
#
3
# Copyright (C) 1999 Damjan Lampret, lampret@opencores.org
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
noinst_LTLIBRARIES = libarch.la
25
 
26
if GENERATE_NEEDED
27
 
28
EXTRA_DIST         = insnset.c
29
 
30
libarch_la_SOURCES = execute.c         \
31
                     or32.c            \
32 552 julius
                     simpl32-defs.h
33 19 jeremybenn
 
34
BUILT_SOURCES      = execgen.c
35
 
36
noinst_PROGRAMS    = generate$(EXEEXT)
37
 
38
generate_SOURCES   = or32.c            \
39
                     generate.c        \
40 552 julius
                     simpl32-defs.h
41 19 jeremybenn
 
42
generate_CFLAGS    = $(AM_CFLAGS)
43
 
44
execgen.c: generate$(EXEEXT) insnset.c
45
        ./generate$(EXEEXT) $(srcdir)/insnset.c execgen.c
46
 
47
else
48
 
49
libarch_la_SOURCES = execute.c         \
50
                     or32.c            \
51
                     simpl32-defs.h
52
 
53
dist_EXTRA_libarch_la_SOURCES = insnset.c
54
 
55
endif
56
 
57 552 julius
 
58 19 jeremybenn
# If the simulator was first built without --enable-simple and then with it,
59
# then also remove these two files
60
 
61
CLEANFILES = execgen.c \
62 552 julius
             generate

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.