ATTENTION: MACHINE est remplace par ALLIANCE_OS, premier round

This commit is contained in:
Olivier Sirol 1999-11-05 16:03:20 +00:00
parent c272df21f4
commit 73a012e14d
9 changed files with 94 additions and 94 deletions

View File

@ -5,7 +5,7 @@
# ftp sites : ftp://ftp.lip6.fr/lip6/softs/alliance/ # ftp sites : ftp://ftp.lip6.fr/lip6/softs/alliance/
# or ftp://ftp-asim.lip6.fr/pub/alliance/ # or ftp://ftp-asim.lip6.fr/pub/alliance/
# #
# $Id: README,v 1.1 1999/05/31 17:11:53 czo Exp $ # $Id: README,v 1.2 1999/11/05 16:03:16 czo Exp $
@ -101,7 +101,7 @@ later (Like MBK_OUT_LO to set the netlist output file format).
If you encounter problems, check the value of these variables in alc_env.[c]sh If you encounter problems, check the value of these variables in alc_env.[c]sh
$MACHINE : actually Linux_elf $ALLIANCE_OS : actually Linux_elf
or SunOS or SunOS
or Solaris or Solaris

View File

@ -6,10 +6,10 @@
# Alliance CAD system environnement # Alliance CAD system environnement
# Usage (in C-shell) : > source alc_env.csh # Usage (in C-shell) : > source alc_env.csh
# (C) 1997 Czo -- <Olivier.Sirol@lip6.fr> # (C) 1997 Czo -- <Olivier.Sirol@lip6.fr>
# $Id: alc_env.csh.in,v 1.6 1999/10/12 15:38:47 czo Exp $ # $Id: alc_env.csh.in,v 1.7 1999/11/05 16:03:17 czo Exp $
# Generated from alc_env.csh.in on @DATE@ # Generated from alc_env.csh.in on @DATE@
# $MACHINE and $TOP are the only variables you will # $ALLIANCE_OS and $TOP are the only variables you will
# have to modify if something goes wrong # have to modify if something goes wrong
# Which platform for Alliance CAD # Which platform for Alliance CAD
@ -20,55 +20,55 @@
switch (`uname`) switch (`uname`)
case Linux*: case Linux*:
if ( `uname -r` =~ 1.* ) then if ( `uname -r` =~ 1.* ) then
setenv MACHINE Linux_aout setenv ALLIANCE_OS Linux_aout
else else
if ( `uname -r` =~ 2.0* ) then if ( `uname -r` =~ 2.0* ) then
setenv MACHINE Linux_elf setenv ALLIANCE_OS Linux_elf
else else
setenv MACHINE Linux setenv ALLIANCE_OS Linux
endif endif
endif endif
breaksw breaksw
case SunOS*: case SunOS*:
if ( `uname -r` =~ 5* ) then if ( `uname -r` =~ 5* ) then
setenv MACHINE Solaris setenv ALLIANCE_OS Solaris
else else
setenv MACHINE SunOS setenv ALLIANCE_OS SunOS
endif endif
breaksw breaksw
case FreeBSD*: case FreeBSD*:
setenv MACHINE FreeBSD setenv ALLIANCE_OS FreeBSD
breaksw breaksw
case NetBSD*: case NetBSD*:
setenv MACHINE NetBSD setenv ALLIANCE_OS NetBSD
breaksw breaksw
case HP-UX*: case HP-UX*:
setenv MACHINE HPUX setenv ALLIANCE_OS HPUX
breaksw breaksw
case OSF1*: case OSF1*:
setenv MACHINE OSF setenv ALLIANCE_OS OSF
breaksw breaksw
case CYGWIN*: case CYGWIN*:
setenv MACHINE CYGWIN setenv ALLIANCE_OS CYGWIN
breaksw breaksw
default: default:
setenv MACHINE Unknown setenv ALLIANCE_OS Unknown
breaksw breaksw
endsw endsw
setenv ALLIANCE_OS $MACHINE setenv ALLIANCE_OS $ALLIANCE_OS
#echo $MACHINE #echo $ALLIANCE_OS
# Where the Alliance CAD is installed # Where the Alliance CAD is installed
setenv TOP @TOP@/$MACHINE setenv TOP @TOP@/$ALLIANCE_OS
setenv ALLIANCE_TOP $TOP setenv ALLIANCE_TOP $TOP
# User def # User def

View File

@ -6,10 +6,10 @@
# Alliance CAD system environnement # Alliance CAD system environnement
# Usage (in Bourne-shell) : > . alc_env.sh # Usage (in Bourne-shell) : > . alc_env.sh
# (C) 1997 Czo -- <Olivier.Sirol@lip6.fr> # (C) 1997 Czo -- <Olivier.Sirol@lip6.fr>
# $Id: alc_env.sh.in,v 1.7 1999/10/12 15:38:49 czo Exp $ # $Id: alc_env.sh.in,v 1.8 1999/11/05 16:03:17 czo Exp $
# Generated from alc_env.sh.in on @DATE@ # Generated from alc_env.sh.in on @DATE@
# $MACHINE and $TOP are the only variables you will # $ALLIANCE_OS and $TOP are the only variables you will
# have to modify if something goes wrong # have to modify if something goes wrong
# Which platform for Alliance CAD # Which platform for Alliance CAD
@ -17,45 +17,45 @@
# WARNING : if changing this remember to do it on the 3 config files : # WARNING : if changing this remember to do it on the 3 config files :
# configure.in alc_env.sh.in and alc_env.csh.in # configure.in alc_env.sh.in and alc_env.csh.in
MACHINE=Unknown ALLIANCE_OS=Unknown
case `uname` in case `uname` in
Linux*) case `uname -r` in Linux*) case `uname -r` in
1.*) MACHINE=Linux_aout ;; 1.*) ALLIANCE_OS=Linux_aout ;;
2.0*) MACHINE=Linux_elf ;; 2.0*) ALLIANCE_OS=Linux_elf ;;
*) MACHINE=Linux ;; *) ALLIANCE_OS=Linux ;;
esac ;; esac ;;
SunOS*) case `uname -r` in SunOS*) case `uname -r` in
5*) MACHINE=Solaris ;; 5*) ALLIANCE_OS=Solaris ;;
*) MACHINE=SunOS ;; *) ALLIANCE_OS=SunOS ;;
esac ;; esac ;;
FreeBSD*) MACHINE=FreeBSD ;; FreeBSD*) ALLIANCE_OS=FreeBSD ;;
NetBSD*) MACHINE=NetBSD ;; NetBSD*) ALLIANCE_OS=NetBSD ;;
HP-UX*) MACHINE=HPUX ;; HP-UX*) ALLIANCE_OS=HPUX ;;
OSF1*) MACHINE=OSF ;; OSF1*) ALLIANCE_OS=OSF ;;
CYGWIN*) MACHINE=CYGWIN ;; CYGWIN*) ALLIANCE_OS=CYGWIN ;;
*) MACHINE=Unknown ;; *) ALLIANCE_OS=Unknown ;;
esac esac
export MACHINE export ALLIANCE_OS
#echo $MACHINE #echo $ALLIANCE_OS
# Where the Alliance CAD is installed # Where the Alliance CAD is installed
TOP=@TOP@/$MACHINE ; export TOP TOP=@TOP@/$ALLIANCE_OS ; export TOP
# To come : # To come :
ALLIANCE_OS=$MACHINE; export ALLIANCE_OS ALLIANCE_OS=$ALLIANCE_OS; export ALLIANCE_OS
ALLIANCE_TOP=$TOP; export ALLIANCE_TOP ALLIANCE_TOP=$TOP; export ALLIANCE_TOP
# User def # User def
@ -94,7 +94,7 @@ export MACHINE
## Update PATH and MANPATH ## Update PATH and MANPATH
#PATH=$HOME/labo/$MACHINE/bin:$TOP/bin:$PATH #PATH=$HOME/labo/$ALLIANCE_OS/bin:$TOP/bin:$PATH
PATH=$TOP/bin:$PATH PATH=$TOP/bin:$PATH
export PATH export PATH
MANPATH=$TOP/man:$MANPATH MANPATH=$TOP/man:$MANPATH

View File

@ -4,7 +4,7 @@
# description : Alliance include file for Makefiles # description : Alliance include file for Makefiles
# architecture : @HOST@ # architecture : @HOST@
# date : @DATE@ # date : @DATE@
# file : @MACHINE@.mk # file : @ALLIANCE_OS@.mk
# #
# The variables $ALLIANCE_* are set by # The variables $ALLIANCE_* are set by

View File

@ -541,39 +541,39 @@ echo "configure:540: checking for platform" >&5
# WARNING : if changing this remember to do it on the 3 config files : # WARNING : if changing this remember to do it on the 3 config files :
# configure.in alc_env.sh.in and alc_env.csh.in # configure.in alc_env.sh.in and alc_env.csh.in
MACHINE=Unknown ALLIANCE_OS=Unknown
case `uname` in case `uname` in
Linux*) case `uname -r` in Linux*) case `uname -r` in
1.*) MACHINE=Linux_aout ;; 1.*) ALLIANCE_OS=Linux_aout ;;
2.0*) MACHINE=Linux_elf ;; 2.0*) ALLIANCE_OS=Linux_elf ;;
*) MACHINE=Linux ;; *) ALLIANCE_OS=Linux ;;
esac ;; esac ;;
SunOS*) case `uname -r` in SunOS*) case `uname -r` in
5*) MACHINE=Solaris ;; 5*) ALLIANCE_OS=Solaris ;;
*) MACHINE=SunOS ;; *) ALLIANCE_OS=SunOS ;;
esac ;; esac ;;
FreeBSD*) MACHINE=FreeBSD ;; FreeBSD*) ALLIANCE_OS=FreeBSD ;;
NetBSD*) MACHINE=NetBSD ;; NetBSD*) ALLIANCE_OS=NetBSD ;;
HP-UX*) MACHINE=HPUX ;; HP-UX*) ALLIANCE_OS=HPUX ;;
OSF1*) MACHINE=OSF ;; OSF1*) ALLIANCE_OS=OSF ;;
CYGWIN*) MACHINE=CYGWIN ;; CYGWIN*) ALLIANCE_OS=CYGWIN ;;
*) MACHINE=Unknown ;; *) ALLIANCE_OS=Unknown ;;
esac esac
export MACHINE export ALLIANCE_OS
# echo $MACHINE # echo $ALLIANCE_OS
echo "$ac_t""Configuring Alliance VLSI CAD System on platform : $MACHINE" 1>&6 echo "$ac_t""Configuring Alliance VLSI CAD System on platform : $ALLIANCE_OS" 1>&6
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
@ -605,7 +605,7 @@ fi
if test "$program_suffix" = NONE ; then if test "$program_suffix" = NONE ; then
if test "$MACHINE" = CYGWIN ; then if test "$ALLIANCE_OS" = CYGWIN ; then
PROGRAM_SUFFIX=".exe" PROGRAM_SUFFIX=".exe"
else else
PROGRAM_SUFFIX="" PROGRAM_SUFFIX=""
@ -626,7 +626,7 @@ echo "configure:622: checking %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Binaries"
# -DALLIANCE_DISTRIB # -DALLIANCE_DISTRIB
if test -z "$CFLAGS" ; then if test -z "$CFLAGS" ; then
CFLAGS="-O -D$MACHINE" CFLAGS="-O -D$ALLIANCE_OS"
fi fi
# Extract the first word of "gcc", so it can be a program name with args. # Extract the first word of "gcc", so it can be a program name with args.
@ -971,7 +971,7 @@ echo "$ac_t""$CPP" 1>&6
if test "$GCC" = yes ; then if test "$GCC" = yes ; then
CFLAGS="-O2 -Wall -D$MACHINE" CFLAGS="-O2 -Wall -D$ALLIANCE_OS"
fi fi
@ -3782,7 +3782,7 @@ s%@includedir@%$includedir%g
s%@oldincludedir@%$oldincludedir%g s%@oldincludedir@%$oldincludedir%g
s%@infodir@%$infodir%g s%@infodir@%$infodir%g
s%@mandir@%$mandir%g s%@mandir@%$mandir%g
s%@MACHINE@%$MACHINE%g s%@ALLIANCE_OS@%$ALLIANCE_OS%g
s%@SET_MAKE@%$SET_MAKE%g s%@SET_MAKE@%$SET_MAKE%g
s%@PROGRAM_SUFFIX@%$PROGRAM_SUFFIX%g s%@PROGRAM_SUFFIX@%$PROGRAM_SUFFIX%g
s%@CC@%$CC%g s%@CC@%$CC%g
@ -3953,7 +3953,7 @@ rm -fr confdefs* $ac_clean_files
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
mv alliance_os.mk $MACHINE.mk mv alliance_os.mk $ALLIANCE_OS.mk
# remove config cache # remove config cache
rm -f config.cache rm -f config.cache
@ -3962,8 +3962,8 @@ rm -f config.cache
cat << EOF cat << EOF
Done... Done...
Alliance is installed on $TOP/$MACHINE Alliance is installed on $TOP/$ALLIANCE_OS
OS definitions are in $MACHINE.mk OS definitions are in $ALLIANCE_OS.mk
You'll need to 'source alc_env.csh' You'll need to 'source alc_env.csh'
or '. alc_env.sh' whether you use csh or sh" or '. alc_env.sh' whether you use csh or sh"
EOF EOF

View File

@ -4,10 +4,10 @@
# #
# Alliance CAD system configure.in # Alliance CAD system configure.in
# (C) 1997 Czo -- <Olivier.Sirol@lip6.fr> # (C) 1997 Czo -- <Olivier.Sirol@lip6.fr>
# $Id: configure.in,v 1.5 1999/10/21 13:24:56 czo Exp $ # $Id: configure.in,v 1.6 1999/11/05 16:03:18 czo Exp $
# #
AC_REVISION($Revision: 1.5 $)dnl AC_REVISION($Revision: 1.6 $)dnl
AC_INIT(configure.in) AC_INIT(configure.in)
@ -25,45 +25,45 @@ AC_MSG_CHECKING(for platform)
# WARNING : if changing this remember to do it on the 3 config files : # WARNING : if changing this remember to do it on the 3 config files :
# configure.in alc_env.sh.in and alc_env.csh.in # configure.in alc_env.sh.in and alc_env.csh.in
MACHINE=Unknown ALLIANCE_OS=Unknown
case `uname` in case `uname` in
Linux*) case `uname -r` in Linux*) case `uname -r` in
1.*) MACHINE=Linux_aout ;; 1.*) ALLIANCE_OS=Linux_aout ;;
2.0*) MACHINE=Linux_elf ;; 2.0*) ALLIANCE_OS=Linux_elf ;;
*) MACHINE=Linux ;; *) ALLIANCE_OS=Linux ;;
esac ;; esac ;;
SunOS*) case `uname -r` in SunOS*) case `uname -r` in
5*) MACHINE=Solaris ;; 5*) ALLIANCE_OS=Solaris ;;
*) MACHINE=SunOS ;; *) ALLIANCE_OS=SunOS ;;
esac ;; esac ;;
FreeBSD*) MACHINE=FreeBSD ;; FreeBSD*) ALLIANCE_OS=FreeBSD ;;
NetBSD*) MACHINE=NetBSD ;; NetBSD*) ALLIANCE_OS=NetBSD ;;
HP-UX*) MACHINE=HPUX ;; HP-UX*) ALLIANCE_OS=HPUX ;;
OSF1*) MACHINE=OSF ;; OSF1*) ALLIANCE_OS=OSF ;;
CYGWIN*) MACHINE=CYGWIN ;; CYGWIN*) ALLIANCE_OS=CYGWIN ;;
*) MACHINE=Unknown ;; *) ALLIANCE_OS=Unknown ;;
esac esac
export MACHINE export ALLIANCE_OS
# echo $MACHINE # echo $ALLIANCE_OS
AC_MSG_RESULT(Configuring Alliance VLSI CAD System on platform : $MACHINE) AC_MSG_RESULT(Configuring Alliance VLSI CAD System on platform : $ALLIANCE_OS)
AC_SUBST(MACHINE) AC_SUBST(ALLIANCE_OS)
AC_PROG_MAKE_SET AC_PROG_MAKE_SET
if test "$program_suffix" = NONE ; then if test "$program_suffix" = NONE ; then
if test "$MACHINE" = CYGWIN ; then if test "$ALLIANCE_OS" = CYGWIN ; then
PROGRAM_SUFFIX=".exe" PROGRAM_SUFFIX=".exe"
else else
PROGRAM_SUFFIX="" PROGRAM_SUFFIX=""
@ -83,7 +83,7 @@ AC_CHECKING(%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Binaries)
# -DALLIANCE_DISTRIB # -DALLIANCE_DISTRIB
if test -z "$CFLAGS" ; then if test -z "$CFLAGS" ; then
CFLAGS="-O -D$MACHINE" CFLAGS="-O -D$ALLIANCE_OS"
fi fi
AC_PROG_CC AC_PROG_CC
@ -94,7 +94,7 @@ AC_SUBST(FULL_CC)
AC_PROG_CPP AC_PROG_CPP
if test "$GCC" = yes ; then if test "$GCC" = yes ; then
CFLAGS="-O2 -Wall -D$MACHINE" CFLAGS="-O2 -Wall -D$ALLIANCE_OS"
fi fi
@ -390,7 +390,7 @@ AC_SUBST(HOST)
AC_OUTPUT(alliance_os.mk alc_env.sh alc_env.csh) AC_OUTPUT(alliance_os.mk alc_env.sh alc_env.csh)
mv alliance_os.mk $MACHINE.mk mv alliance_os.mk $ALLIANCE_OS.mk
# remove config cache # remove config cache
rm -f config.cache rm -f config.cache
@ -399,8 +399,8 @@ rm -f config.cache
cat << EOF cat << EOF
Done... Done...
Alliance is installed on $TOP/$MACHINE Alliance is installed on $TOP/$ALLIANCE_OS
OS definitions are in $MACHINE.mk OS definitions are in $ALLIANCE_OS.mk
You'll need to 'source alc_env.csh' You'll need to 'source alc_env.csh'
or '. alc_env.sh' whether you use csh or sh" or '. alc_env.sh' whether you use csh or sh"
EOF EOF

View File

@ -1,7 +1,7 @@
# #
# %% \textrm{This File Looks Nicer with\textsf{ LGrind} and \LaTeXe.} %% # %% \textrm{This File Looks Nicer with\textsf{ LGrind} and \LaTeXe.} %%
# %| |% # %| |%
# %| $Id: fpgen.mk,v 1.1 1999/05/31 17:30:29 alliance Exp $ |% # %| $Id: fpgen.mk,v 1.2 1999/11/05 16:03:19 czo Exp $ |%
# %| |% # %| |%
# %| /---------------------------------------------------------------------\ |% # %| /---------------------------------------------------------------------\ |%
# %| | | |% # %| | | |%
@ -28,7 +28,7 @@
# %| \---------------------------------------------------------------------/ |% # %| \---------------------------------------------------------------------/ |%
# #
include $(TOP)/etc/$(MACHINE).mk include $(TOP)/etc/$(ALLIANCE_OS).mk
include $(TOP)/etc/libraries.mk include $(TOP)/etc/libraries.mk
@ -114,10 +114,10 @@ include $(TOP)/etc/libraries.mk
# %| \---------------------------------------------------------------------/ |% # %| \---------------------------------------------------------------------/ |%
# #
# C Flags for normal compilation. # C Flags for normal compilation.
LOCAL_CFLAGS = $(CFLAGS) -c -g -D$(MACHINE) LOCAL_CFLAGS = $(CFLAGS) -c -g -D$(ALLIANCE_OS)
LOCAL_OFLAGS = $(OFLAGS) -o LOCAL_OFLAGS = $(OFLAGS) -o
# C Flags for compilation and profiling. # C Flags for compilation and profiling.
#LOCAL_CFLAGS = $(CFLAGS) -p -c -g -D$(MACHINE) #LOCAL_CFLAGS = $(CFLAGS) -p -c -g -D$(ALLIANCE_OS)
#LOCAL_OFLAGS = $(OFLAGS) -p -o #LOCAL_OFLAGS = $(OFLAGS) -p -o

View File

@ -3,9 +3,9 @@
# description : Alliance Shared Libraries and Include Files # # description : Alliance Shared Libraries and Include Files #
# ###---------------------------------------------------------### # ###---------------------------------------------------------###
# $Id: libraries.mk,v 1.14 1999/10/28 15:56:29 czo Exp $ # $Id: libraries.mk,v 1.15 1999/11/05 16:03:19 czo Exp $
# The variables $TOP and $MACHINE are set by # The variables $TOP and $ALLIANCE_OS are set by
# alc_env.[c]sh script # alc_env.[c]sh script
# ###---------------------------------------------------------### # ###---------------------------------------------------------###
@ -23,7 +23,7 @@ ALLIANCE_ETC = $(TOP)/etc
# when building alliance distrib (./build) # when building alliance distrib (./build)
#ALLIANCE_INSTALL_DIR = $(TOP) #ALLIANCE_INSTALL_DIR = $(TOP)
# develloppers path # develloppers path
ALLIANCE_INSTALL_DIR = $(HOME)/labo/$(MACHINE) ALLIANCE_INSTALL_DIR = $(HOME)/labo/$(ALLIANCE_OS)
TARGET_BIN = $(ALLIANCE_INSTALL_DIR)/bin TARGET_BIN = $(ALLIANCE_INSTALL_DIR)/bin
TARGET_LIB = $(ALLIANCE_INSTALL_DIR)/lib TARGET_LIB = $(ALLIANCE_INSTALL_DIR)/lib

View File

@ -1,6 +1,6 @@
.\" $Id: ali.1,v 1.1 1999/10/12 15:42:24 czo Exp $ .\" $Id: ali.1,v 1.2 1999/11/05 16:03:20 czo Exp $
.TH ali 1 "$Date: 1999/10/12 15:42:24 $" "ASIM/LIP6" "ALLIANCE Reference Manual" .TH ali 1 "$Date: 1999/11/05 16:03:20 $" "ASIM/LIP6" "ALLIANCE Reference Manual"
.SH NAME .SH NAME
ali \- ALliance Information ali \- ALliance Information
@ -14,7 +14,7 @@ ali is a small script used to display Alliance environnemnt variables
Alliance settings : Alliance settings :
MACHINE = Linux_elf ALLIANCE_OS = Linux_elf
ALLIANCE_OS = Linux_elf ALLIANCE_OS = Linux_elf
TOP = /users/cao7/czo/cvstree/alliance/archi/Linux_elf TOP = /users/cao7/czo/cvstree/alliance/archi/Linux_elf
ALLIANCE_TOP = /users/cao7/czo/cvstree/alliance/archi/Linux_elf ALLIANCE_TOP = /users/cao7/czo/cvstree/alliance/archi/Linux_elf