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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [or1ksim/] [cpu/] [or32/] [Makefile.am] - Diff between revs 1685 and 1744

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 1685 Rev 1744
Line 1... Line 1...
# Makefile -- Makefile for OR32 dependent simulation
# Makefile -- Makefile for OR32 dependent simulation
 
#
# Copyright (C) 1999 Damjan Lampret, lampret@opencores.org
# Copyright (C) 1999 Damjan Lampret, lampret@opencores.org
 
# Copyright (C) 2008 Embecosm Limited
 
#
 
# Contributor Jeremy Bennett 
#
#
# This file is part of OpenRISC 1000 Architectural Simulator.
# This file is part of OpenRISC 1000 Architectural Simulator.
#
#
# This program is free software; you can redistribute it and/or modify
# This program is free software; you can redistribute it and/or modify it
# it under the terms of the GNU General Public License as published by
# under the terms of the GNU General Public License as published by the Free
# the Free Software Foundation; either version 2 of the License, or
# Software Foundation; either version 3 of the License, or (at your option)
# (at your option) any later version.
# any later version.
#
#
# This program is distributed in the hope that it will be useful,
# This program is distributed in the hope that it will be useful, but WITHOUT
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
# GNU General Public License for more details.
# more details.
#
 
# You should have received a copy of the GNU General Public License
 
# along with this program; if not, write to the Free Software
 
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
#
#
 
# You should have received a copy of the GNU General Public License along
 
# with this program.  If not, see .
 
 
 
 
noinst_LIBRARIES = libarch.a
noinst_LIBRARIES = libarch.a
 
 
if DYNAMIC_EXECUTION
if DYNAMIC_EXECUTION
 
 
noinst_PROGRAMS = dyngen
noinst_PROGRAMS = dyngen
 
 
dyngen_SOURCES = dyngen.c dyngen_i386.c dyngen_elf.c
dyngen_SOURCES = dyngen.c dyngen_i386.c dyngen_elf.c \
 
                 common_i386.h dyn32_defs.h dyngen.h dyn_rec.h \
libarch_a_SOURCES = execute.c or32.c op.c dyn_rec.c op_support.c gen_ops.c gen_ops_gen.c gen_ops_rel.c
                 i386_regs.h op_arith_op.h op_comp_op.h \
 
                 op_extend_op.h op_ff1_op.h op_i386.h op_lwhb_op.h \
 
                 op_mac_op.h op_mftspr_op.h op_support.h op_swhb_op.h \
 
                 op_t_reg_mov_op.h rec_i386.h sched_i386.h simpl32_defs.h
 
 
 
libarch_a_SOURCES = execute.c or32.c op.c dyn_rec.c op_support.c gen_ops.c \
 
                    gen_ops_gen.c gen_ops_rel.c \
 
                    common_i386.h dyn32_defs.h dyngen.h dyn_rec.h \
 
                    i386_regs.h op_arith_op.h op_comp_op.h \
 
                    op_extend_op.h op_ff1_op.h op_i386.h op_lwhb_op.h \
 
                    op_mac_op.h op_mftspr_op.h op_support.h op_swhb_op.h \
 
                    op_t_reg_mov_op.h rec_i386.h sched_i386.h simpl32_defs.h
 
 
dyn_rec.o: gen_ops.h
dyn_rec.o: gen_ops.h
 
 
OP_CFLAGS=-Wall -fomit-frame-pointer -fno-reorder-blocks -O2
OP_CFLAGS=-Wall -fomit-frame-pointer -fno-reorder-blocks -O2
 
 
Line 43... Line 57...
gen_ops.h gen_ops.c gen_ops_gen.c gen_ops_rel.c: dyngen$(EXEEXT) op.o
gen_ops.h gen_ops.c gen_ops_gen.c gen_ops_rel.c: dyngen$(EXEEXT) op.o
        ./dyngen$(EXEEXT) op.o gen_ops.c gen_ops_gen.c gen_ops_rel.c gen_ops.h
        ./dyngen$(EXEEXT) op.o gen_ops.c gen_ops_gen.c gen_ops_rel.c gen_ops.h
 
 
else
else
 
 
libarch_a_SOURCES = execute.c or32.c
libarch_a_SOURCES = execute.c or32.c \
 
                    common_i386.h dyn32_defs.h dyngen.h dyn_rec.h \
 
                    i386_regs.h op_arith_op.h op_comp_op.h \
 
                    op_extend_op.h op_ff1_op.h op_i386.h op_lwhb_op.h \
 
                    op_mac_op.h op_mftspr_op.h op_support.h op_swhb_op.h \
 
                    op_t_reg_mov_op.h rec_i386.h sched_i386.h simpl32_defs.h
 
 
if GENERATE_NEEDED
if GENERATE_NEEDED
noinst_PROGRAMS = generate
noinst_PROGRAMS = generate
generate_SOURCES = or32.c generate.c
generate_SOURCES = or32.c generate.c \
 
                   common_i386.h dyn32_defs.h dyngen.h dyn_rec.h \
BUILT_SOURCES = execgen.c
                   i386_regs.h op_arith_op.h op_comp_op.h \
 
                   op_extend_op.h op_ff1_op.h op_i386.h op_lwhb_op.h \
 
                   op_mac_op.h op_mftspr_op.h op_support.h op_swhb_op.h \
 
                   op_t_reg_mov_op.h rec_i386.h sched_i386.h simpl32_defs.h
 
 
 
BUILT_SOURCES = execgen.c \
 
                common_i386.h dyn32_defs.h dyngen.h dyn_rec.h \
 
                i386_regs.h op_arith_op.h op_comp_op.h \
 
                op_extend_op.h op_ff1_op.h op_i386.h op_lwhb_op.h \
 
                op_mac_op.h op_mftspr_op.h op_support.h op_swhb_op.h \
 
                op_t_reg_mov_op.h rec_i386.h sched_i386.h simpl32_defs.h
 
 
execgen.c: generate$(EXEEXT) $(srcdir)/insnset.c
execgen.c: generate$(EXEEXT) $(srcdir)/insnset.c
        ./generate$(EXEEXT) $(srcdir)/insnset.c execgen.c
        ./generate$(EXEEXT) $(srcdir)/insnset.c execgen.c
 
 
else
else

powered by: WebSVN 2.1.0

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