URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 7 |
Rev 10 |
Line 4... |
Line 4... |
dnl report bugs to jrydberg@phx.pp.se
|
dnl report bugs to jrydberg@phx.pp.se
|
dnl
|
dnl
|
dnl Process this file with autoconf to produce a configure script.
|
dnl Process this file with autoconf to produce a configure script.
|
|
|
AC_INIT(cpu/or1k/execute.c)
|
AC_INIT(cpu/or1k/execute.c)
|
|
AC_CANONICAL_SYSTEM
|
AM_INIT_AUTOMAKE(or1ksim, 1.1)
|
AM_INIT_AUTOMAKE(or1ksim, 1.1)
|
AM_CONFIG_HEADER(config.h)
|
AM_CONFIG_HEADER(config.h)
|
|
|
AC_REVISION([for or1ksim-1.1, version 2.14, from autoconf version] AC_ACVERSION)
|
AC_REVISION([for or1ksim-1.1, version 2.14, from autoconf version] AC_ACVERSION)
|
SIMVERSION=1.1
|
SIMVERSION=1.1
|
Line 59... |
Line 60... |
|
|
case "$host_os" in
|
case "$host_os" in
|
isc*) LOCAL_CFLAGS=-Disc386 ;;
|
isc*) LOCAL_CFLAGS=-Disc386 ;;
|
esac
|
esac
|
|
|
|
|
BUILD_DIR=`pwd`
|
BUILD_DIR=`pwd`
|
AC_SUBST(BUILD_DIR)
|
AC_SUBST(BUILD_DIR)
|
|
|
AC_SUBST(CFLAGS)
|
AC_SUBST(CFLAGS)
|
AC_SUBST(LOCAL_CFLAGS)
|
AC_SUBST(LOCAL_CFLAGS)
|
Line 79... |
Line 79... |
|
|
AC_SUBST(SUMVERSION)
|
AC_SUBST(SUMVERSION)
|
AC_SUBST(TERMCAP_LIB)
|
AC_SUBST(TERMCAP_LIB)
|
|
|
dnl yuck
|
dnl yuck
|
CPU_ARCH=or1k
|
case "$target_cpu" in
|
|
or1k*) CPU_ARCH=or1k;;
|
|
dlx*) CPU_ARCH=dlx;;
|
|
esac
|
AC_SUBST(CPU_ARCH)
|
AC_SUBST(CPU_ARCH)
|
|
|
dnl yuck
|
dnl yuck
|
INCLUDES="-I\${top_srcdir}/cpu/common -I\${top_srcdir}/cpu/$CPU_ARCH -I\${top_srcdir}/cache -I\${top_srcdir}/mmu \
|
INCLUDES="-I\${top_srcdir}/cpu/common -I\${top_srcdir}/cpu/$CPU_ARCH -I\${top_srcdir}/cache -I\${top_srcdir}/mmu \
|
-I\${top_srcdir}/bpb"
|
-I\${top_srcdir}/bpb"
|
AC_SUBST(INCLUDES)
|
AC_SUBST(INCLUDES)
|
|
|
|
|
AC_OUTPUT([Makefile bpb/Makefile cache/Makefile cpu/Makefile
|
AC_OUTPUT([Makefile bpb/Makefile cache/Makefile cpu/Makefile
|
cpu/common/Makefile cpu/or1k/Makefile
|
cpu/common/Makefile cpu/or1k/Makefile cpu/dlx/Makefile
|
support/Makefile mmu/Makefile],
|
support/Makefile mmu/Makefile],
|
[
|
[
|
# Makefile uses this timestamp file to record whether config.h is up to date.
|
# Makefile uses this timestamp file to record whether config.h is up to date.
|
echo > stamp-h
|
echo > stamp-h
|
])
|
])
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.