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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [or1ksim/] [cpu/] [or32/] [Makefile.am] - Diff between revs 19 and 552

Show entire file | Details | Blame | View Log

Rev 19 Rev 552
Line 19... Line 19...
#
#
# You should have received a copy of the GNU General Public License along
# You should have received a copy of the GNU General Public License along
# with this program.  If not, see .
# with this program.  If not, see .
 
 
 
 
if DYNAMIC_EXECUTION
 
 
 
noinst_LTLIBRARIES = libarch.la
 
 
 
noinst_PROGRAMS    = dyngen
 
 
 
libarch_la_SOURCES = execute.c         \
 
                     or32.c            \
 
                     op.c              \
 
                     dyn-rec.c         \
 
                     op-support.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
 
 
 
nodist_libarch_la_SOURCES = gen-ops.h     \
 
                            gen-ops.c     \
 
                            gen-ops-gen.c \
 
                            gen-ops-rel.c
 
 
 
BUILT_SOURCES      = gen-ops.h     \
 
                     gen-ops.c     \
 
                     gen-ops-gen.c \
 
                     gen-ops-rel.c
 
 
 
dyngen_SOURCES     = dyngen.c          \
 
                     dyngen-i386.c     \
 
                     dyngen-elf.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
 
dyngen_CFLAGS      = $(AM_CFLAGS)
 
 
 
gen-ops.h gen-ops.c gen-ops-gen.c gen-ops-rel.c: dyngen$(EXEEXT) op-tmp.o
 
        ./dyngen$(EXEEXT) op-tmp.o gen-ops.c gen-ops-gen.c gen-ops-rel.c gen-ops.h
 
 
 
OP_CFLAGS          = -Wall -fomit-frame-pointer -fno-reorder-blocks -O2
 
 
 
op-tmp.o: op.c op-t-reg-mov-op.h op-i386.h op-arith-op.h op-comp-op.h \
 
      op-extend-op.h op-ff1-op.h op-mac-op.h op-mftspr-op.h op-lwhb-op.h \
 
      op-swhb-op.h
 
        $(CC) $(INCLUDES)  -I$(top_builddir) $(OP_CFLAGS) -o $@ -c $<
 
else
 
 
 
noinst_LTLIBRARIES = libarch.la
noinst_LTLIBRARIES = libarch.la
 
 
if GENERATE_NEEDED
if GENERATE_NEEDED
 
 
EXTRA_DIST         = insnset.c
EXTRA_DIST         = insnset.c
 
 
libarch_la_SOURCES = execute.c         \
libarch_la_SOURCES = execute.c         \
                     or32.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
                     simpl32-defs.h
 
 
BUILT_SOURCES      = execgen.c
BUILT_SOURCES      = execgen.c
 
 
noinst_PROGRAMS    = generate$(EXEEXT)
noinst_PROGRAMS    = generate$(EXEEXT)
 
 
generate_SOURCES   = or32.c            \
generate_SOURCES   = or32.c            \
                     generate.c        \
                     generate.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
                     simpl32-defs.h
 
 
generate_CFLAGS    = $(AM_CFLAGS)
generate_CFLAGS    = $(AM_CFLAGS)
 
 
execgen.c: generate$(EXEEXT) insnset.c
execgen.c: generate$(EXEEXT) insnset.c
Line 158... Line 46...
 
 
else
else
 
 
libarch_la_SOURCES = execute.c         \
libarch_la_SOURCES = execute.c         \
                     or32.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
                     simpl32-defs.h
 
 
dist_EXTRA_libarch_la_SOURCES = insnset.c
dist_EXTRA_libarch_la_SOURCES = insnset.c
 
 
endif
endif
endif
 
 
 
# If the simulator was first built without --enable-simple and then with it,
# If the simulator was first built without --enable-simple and then with it,
# then also remove these two files
# then also remove these two files
 
 
CLEANFILES = execgen.c \
CLEANFILES = execgen.c \
             generate \
             generate
             gen-ops.c \
 
             gen-ops.h \
 
             gen-ops-rel.c \
 
             gen-ops-gen.c
 
             generate
 

powered by: WebSVN 2.1.0

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