[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Axiom-developer] [build-improvements] first step toward a uniform tople
From: |
Gabriel Dos Reis |
Subject: |
[Axiom-developer] [build-improvements] first step toward a uniform toplevel makefile |
Date: |
15 Sep 2006 00:15:30 -0500 |
Hi,
to make it possible to test on more platforms, especially, those NOT
explicilty listed as being know to work, we need a uniform Makefile
file. This patchlet moves the logic to decide platform specific
variables from the toplevel makefile to the configure file.
Next steps would consist in reducing the differences and actually
allow more platforms.
Tested on:
* i686-pc-linux (GCL and noweb system-installed)
* x86_64-suse-linux (noweb system-installed, GCL missing)
-- Gaby
2006-09-14 Gabriel Dos Reis <address@hidden>
* Makefile.pamphlet (do-all): Don't generate and call
Makefile.${SYS} on the fly. Remove special-cased Makefile
stanzas.
(PLF, CCF, LDF, LISP, GCLOPTS, SRCDIRS): Define as
Autoconf-substituted.
(ENV): Pass them on sub-makes.
* Makefile.in: Regenerate.
* configure.ac.pamphlet: Special-case PLF, CCF, LDF, LISP,
GCLOPTS and SRCDIRS.
* configure.ac: Regenerate.
* configure: Likewise.
*** Makefile.pamphlet (revision 15845)
--- Makefile.pamphlet (local)
*************** do-all: @axiom_required_build_utils@ sta
*** 41,53 ****
@ echo 1 making a ${SYS} system, PART=${PART} SUBPART=${SUBPART}
@ echo 2 Environment ${ENV}
@ $(MAKE) stamp-rootdirs
- @ ${TANGLE} -t8 -RMakefile.${SYS} $(srcdir)/Makefile.pamphlet \
- > Makefile.${SYS}
@ ($(axiom_build_document) --weave --latex \
$(srcdir)/Makefile.pamphlet && \
$(mkinstalldirs) ${MNT}/${SYS}/doc/src && \
cp Makefile.dvi ${MNT}/${SYS}/doc/root.Makefile.dvi)
! @ ${ENV} $(MAKE) -f Makefile.${SYS}
@echo 3 finished system build on `date` | tee >lastBuildDate
.PHONY: start
--- 41,51 ----
@ echo 1 making a ${SYS} system, PART=${PART} SUBPART=${SUBPART}
@ echo 2 Environment ${ENV}
@ $(MAKE) stamp-rootdirs
@ ($(axiom_build_document) --weave --latex \
$(srcdir)/Makefile.pamphlet && \
$(mkinstalldirs) ${MNT}/${SYS}/doc/src && \
cp Makefile.dvi ${MNT}/${SYS}/doc/root.Makefile.dvi)
! @ ${ENV} $(MAKE) srcsetup lspdir srcdir
@echo 3 finished system build on `date` | tee >lastBuildDate
.PHONY: start
*************** do-start: @axiom_required_build_utils@ s
*** 61,66 ****
--- 59,67 ----
<<noweb>>
<<literate commands>>
<<install>>
+ <<srcsetup>>
+ <<src>>
+ <<lsp>>
.PHONY: document
document:
*************** document:
*** 70,77 ****
do-document: @axiom_build_utils@ stamp-build-scripts
@ echo 4 making a ${SYS} system, PART=${PART} SUBPART=${SUBPART}
@ echo 5 Environment ${ENV}
! @ ${TANGLE} -t8 -RMakefile.${SYS} Makefile.pamphlet >Makefile.${SYS}
! @ ${ENV} $(MAKE) -f Makefile.${SYS} document
@echo 6 finished system build on `date` | tee >lastBuildDate
<<rootdirs>>
--- 71,80 ----
do-document: @axiom_build_utils@ stamp-build-scripts
@ echo 4 making a ${SYS} system, PART=${PART} SUBPART=${SUBPART}
@ echo 5 Environment ${ENV}
! @mkdir -p ${INT}/doc/lsp
! @mkdir -p ${INT}/doc/src
! @(cd lsp ; ${ENV} ${MAKE} document )
! @(cd src ; ${ENV} ${MAKE} document )
@echo 6 finished system build on `date` | tee >lastBuildDate
<<rootdirs>>
*************** COMMAND=${DESTDIR}/mnt/${SYS}/bin/axiom
*** 374,379 ****
--- 377,389 ----
DAASE = $(axiom_src_datadir)
NOISE="-o ${TMP}/trace"
+ address@hidden@
+ address@hidden@
+ address@hidden@
+ address@hidden@
+ address@hidden@
+ address@hidden@
+
<<part>>
ENV= SPAD=${SPAD} SYS=${SYS} SPD=${SPD} LSP=${LSP} GCLDIR=${GCLDIR} \
*************** ENV= SPAD=${SPAD} SYS=${SYS} SPD=${SPD}
*** 383,389 ****
TANGLE=${TANGLE} VERSION=${VERSION} \
DOCUMENT=${axiom_build_document} DAASE=$(DAASE) \
WEAVE=${WEAVE} AXIOM_X11_CFLAGS="${AXIOM_X11_CFLAGS}" \
! AXIOM_X11_LDFLAGS="${AXIOM_X11_LDFLAGS}"
@
\subsection{rootdirs}
--- 393,401 ----
TANGLE=${TANGLE} VERSION=${VERSION} \
DOCUMENT=${axiom_build_document} DAASE=$(DAASE) \
WEAVE=${WEAVE} AXIOM_X11_CFLAGS="${AXIOM_X11_CFLAGS}" \
! AXIOM_X11_LDFLAGS="${AXIOM_X11_LDFLAGS}" \
! PLF="$(PLF)" CCF="$(CCF)" LDF="$(LDF)" LISP=$(LISP) \
! GCLOPTS="$(GCLOPTS)" SRCDIRS="$(SRCDIRS)"
@
\subsection{rootdirs}
*************** GCLOPTS="--enable-vssize=65536*2 --enabl
*** 798,1149 ****
--enable-machine=pwerpc-macosx"
@
- \subsection{Makefile.freebsd}
- Annoyingly enough it seems that GCL uses a default extension of .lsp
- rather than .lisp so we add the [[LISP]] variable here. We need to
- depend on the default extension behavior because the system build
- will load either the interpreted or compiled form of a file depending
- on which is available. This varies at different stages of the build.
- <<Makefile.freebsd>>=
- # System dependent Makefile for the FreeBSD platform
- # Platform variable
- PLF=BSDplatform
- # C compiler flags
- CCF="-O2 -pipe -fno-strength-reduce -Wall -D_GNU_SOURCE -D${PLF}
-I/usr/local/include"
- # Loader flags
- LDF="-L/usr/local/lib"
- LISP=lsp
- <<GCLOPTS>>
- <<SRCDIRS>>
-
- ENV=PLF=${PLF} CCF=${CCF} LDF=${LDF} \
- LISP=${LISP} DAASE=${DAASE} GCLOPTS=${GCLOPTS} \
- SRCDIRS=${SRCDIRS} TANGLE=${TANGLE}
-
- all: stamp-rootdirs srcsetup lspdir srcdir
- @echo 45 Makefile.FreeBSD called
- @echo 46 Environment : ${ENV}
- @echo 47 finished system build on `date` | tee >lastBuildDate
-
- <<srcsetup>>
- <<src>>
- <<lsp>>
- <<document>>
-
- @
- \subsection{Makefile.windows}
- This is for the Windows port. We assume that the build will be done
- using GCC under MSYS.
-
- We've modified the [[GCLOPTS]] variable from the standard config in
- two ways. First we add [[--enable-debug]] so more information is
- available for testing and second we removed [[--enable-statsysbfd]].
-
- <<Makefile.windows>>=
- # System dependent Makefile for the Intel/Windows/MSYS platform
- # Platform variable
- PLF=MSYSplatform
- # C compiler flags
- CCF="-O2 -Wall -D_GNU_SOURCE -D${PLF}"
- # Loader flags
- LDF=
- LISP=lsp
- <<GCLOPTS>>
- SRCDIRS=bootdir interpdir sharedir algebradir etcdir docdir inputdir
-
- ENV=PLF=${PLF} CCF=${CCF} LDF=${LDF} \
- LISP=${LISP} DAASE=${DAASE} GCLOPTS=${GCLOPTS} \
- SRCDIRS=${SRCDIRS}
-
- all: stamp-rootdirs srcsetup lspdir srcdir
- @echo 45 Makefile.windows called
- @echo 46 Environment : ${ENV}
- @echo 47 finished system build on `date` | tee >lastBuildDate
-
- <<srcsetup>>
- <<src>>
- <<lsp>>
- <<document>>
-
- @
- \subsection{Makefile.linux}
- Annoyingly enough it seems that GCL uses a default extension of .lsp
- rather than .lisp so we add the [[LISP]] variable here. We need to
- depend on the default extension behavior because the system build
- will load either the interpreted or compiled form of a file depending
- on which is available. This varies at different stages of the build.
- <<Makefile.linux>>=
- # System dependent Makefile for the Intel/Linux platform
- # Platform variable
- PLF=LINUXplatform
- # C compiler flags
- CCF="-O2 -fno-strength-reduce -Wall -D_GNU_SOURCE -D${PLF}"
- # Loader flags
- LDF=
- LISP=lsp
- <<GCLOPTS>>
- <<SRCDIRS>>
-
- ENV=PLF=${PLF} CCF=${CCF} LDF=${LDF} \
- LISP=${LISP} DAASE=${DAASE} GCLOPTS=${GCLOPTS} \
- SRCDIRS=${SRCDIRS}
-
- all: stamp-rootdirs srcsetup lspdir srcdir
- @echo 45 Makefile.linux called
- @echo 46 Environment : ${ENV}
- @echo 47 finished system build on `date` | tee >lastBuildDate
-
- <<srcsetup>>
- <<src>>
- <<lsp>>
- <<document>>
-
- @
- \subsection{Makefile.gentoo}
- Annoyingly enough it seems that GCL uses a default extension of .lsp
- rather than .lisp so we add the [[LISP]] variable here. We need to
- depend on the default extension behavior because the system build
- will load either the interpreted or compiled form of a file depending
- on which is available. This varies at different stages of the build.
-
- We've modified the [[GCLOPTS]] variable because [[bfd]] does not seem
- to work on Solaris 9. So we use a local version shipped with GCL.
- <<Makefile.gentoo>>=
- # System dependent Makefile for the Intel/Linux/Gentoo platform
- # Platform variable
- PLF=LINUXplatform
- # C compiler flags
- CCF="-O2 -fno-strength-reduce -Wall -D_GNU_SOURCE -D${PLF}"
- # Loader flags
- LDF=
- LISP=lsp
- <<GCLOPTS-LOCBFD>>
- <<SRCDIRS>>
-
- ENV=PLF=${PLF} CCF=${CCF} LDF=${LDF} \
- LISP=${LISP} DAASE=${DAASE} GCLOPTS=${GCLOPTS} \
- SRCDIRS=${SRCDIRS}
-
- all: stamp-rootdirs srcsetup lspdir srcdir
- @echo 45 Makefile.linux called
- @echo 46 Environment : ${ENV}
- @echo 47 finished system build on `date` | tee >lastBuildDate
-
- <<srcsetup>>
- <<src>>
- <<lsp>>
- <<document>>
-
- @
- \subsection{Makefile.fedora64}
- Fedora Core 2 on the AMD 64 uses 64 bit libraries. We need to change the
- loader flags so these libraries are used otherwise the graphics won't build.
- <<fedora64 loader flags>>=
- LDF="-L/usr/local/lib64 -L/usr/openwin/lib64 -L/usr/lib64 "
- @
- <<Makefile.fedora64>>=
- # System dependent Makefile for the Intel/Linux platform
- # Platform variable
- PLF=LINUXplatform
- # C compiler flags
- CCF="-O2 -fno-strength-reduce -Wall -D_GNU_SOURCE -D${PLF}"
- # Loader flags
- <<fedora64 loader flags>>
- LISP=lsp
- <<GCLOPTS>>
- <<SRCDIRS>>
-
- ENV=PLF=${PLF} CCF=${CCF} LDF=${LDF} \
- LISP=${LISP} DAASE=${DAASE} GCLOPTS=${GCLOPTS} \
- SRCDIRS=${SRCDIRS}
-
- all: stamp-rootdirs srcsetup lspdir srcdir
- @echo 45 Makefile.linux called
- @echo 46 Environment : ${ENV}
- @echo 47 finished system build on `date` | tee >lastBuildDate
-
- <<srcsetup>>
- <<src>>
- <<lsp>>
- <<document>>
-
- @
- \subsection{Makefile.fedora3}
- Fedora Core 3 needs special GCL options for local bfd.
- <<Makefile.fedora3>>=
- # System dependent Makefile for the Intel/Linux platform (Fedora Core 3)
- # Platform variable
- PLF=LINUXplatform
- # C compiler flags
- CCF="-O2 -fno-strength-reduce -Wall -D_GNU_SOURCE -D${PLF}"
- # Loader flags
- LDF=
- LISP=lsp
- <<GCLOPTS-LOCBFD>>
- <<SRCDIRS>>
-
- ENV=PLF=${PLF} CCF=${CCF} LDF=${LDF} \
- LISP=${LISP} DAASE=${DAASE} GCLOPTS=${GCLOPTS} \
- SRCDIRS=${SRCDIRS}
-
- all: stamp-rootdirs srcsetup lspdir srcdir
- @echo 45 Makefile.linux called
- @echo 46 Environment : ${ENV}
- @echo 47 finished system build on `date` | tee >lastBuildDate
-
- <<srcsetup>>
- <<src>>
- <<lsp>>
- <<document>>
-
- @
- \subsection{Makefile.linuxglibc}
- <<Makefile.linuxglibc>>=
- # System dependent Makefile for the SPARC SUNOS 4.1.2 platform
- # Platform variable
- PLF= LINUXplatform
- # C compiler flags
- CCF=" -O2 -fno-strength-reduce -Wall -D_GNU_SOURCE -D${PLF}"
- # Loader flags
- LDF=
- LISP=lisp
- <<GCLOPTS>>
- <<SRCDIRS>>
-
- ENV=PLF=${PLF} CCF=${CCF} LDF=${LDF} \
- LISP=${LISP} DAASE=${DAASE} GCLOPTS=${GCLOPTS} \
- SRCDIRS=${SRCDIRS}
-
- all: stamp-rootdirs srcsetup lspdir srcdir
- @echo 48 Makefile.linuxglibc called
- @echo 49 Environment : ${ENV}
- @echo 50 finished system build on `date` | tee >lastBuildDate
-
- <<srcsetup>>
- <<src>>
- <<lsp>>
- <<document>>
-
- @
- \subsection{Makefile.linuxglibc2.1}
- <<Makefile.linuxglibc2.1>>=
- # System dependent Makefile for the SPARC SUNOS 4.1.2 platform
- # Platform variable
- PLF= LINUXplatform
- # C compiler flags
- CCF=" -g -Wall -D_GNU_SOURCE -D${PLF}"
- # Loader flags
- LDF=
- LISP=lisp
- <<GCLOPTS>>
- <<SRCDIRS>>
-
- ENV=PLF=${PLF} CCF=${CCF} LDF=${LDF} \
- LISP=${LISP} DAASE=${DAASE} GCLOPTS=${GCLOPTS} \
- SRCDIRS=${SRCDIRS}
-
- all: stamp-rootdirs srcsetup lspdir srcdir
- @echo 51 Makefile.linuxglibc2.1 called
- @echo 52 Environment : ${ENV}
- @echo 53 finished system build on `date` | tee >lastBuildDate
-
- <<srcsetup>>
- <<src>>
- <<lsp>>
- <<document>>
-
- @
- \subsection{Makefile.solaris9}
- Annoyingly enough it seems that GCL uses a default extension of .lsp
- rather than .lisp so we add the [[LISP]] variable here. We need to
- depend on the default extension behavior because the system build
- will load either the interpreted or compiled form of a file depending
- on which is available. This varies at different stages of the build.
- <<Makefile.solaris9>>=
- # System dependent Makefile for the Intel/Linux platform
- # Platform variable
- PLF=LINUXplatform
- # C compiler flags
- CCF="-O2 -fno-strength-reduce -Wall -D_GNU_SOURCE -D${PLF}"
- # Loader flags
- LDF=
- LISP=lsp
- <<GCLOPTS-LOCBFD>>
- <<SRCDIRS>>
-
- ENV=PLF=${PLF} CCF=${CCF} LDF=${LDF} \
- LISP=${LISP} DAASE=${DAASE} GCLOPTS=${GCLOPTS} \
- SRCDIRS=${SRCDIRS}
-
- all: stamp-rootdirs srcsetup lspdir srcdir
- @echo 45 Makefile.linux called
- @echo 46 Environment : ${ENV}
- @echo 47 finished system build on `date` | tee >lastBuildDate
-
- <<srcsetup>>
- <<src>>
- <<lsp>>
- <<document>>
-
- @
-
- \subsection{Makefile.sun4os55g}
- <<Makefile.sun4os55g>>=
- # System dependent Makefile for the SPARC SUNOS 5.5 platform with GNU compiler
- # Platform variable
- PLF= SUN4OS5platform
- # C compiler flags
- CCF=" -O3 -D__EXTENSIONS__ -Wall -ansi -D${PLF} -I /usr/openwin/include"
- # Loader flags
- LDF=-L /usr/openwin/lib -lnsl -lsocket
- LISP=lisp
- <<GCLOPTS>>
- <<SRCDIRS>>
-
- ENV=PLF=${PLF} CCF=${CCF} LDF=${LDF} \
- LISP=${LISP} DAASE=${DAASE} GCLOPTS=${GCLOPTS} \
- SRCDIRS=${SRCDIRS}
-
- all: stamp-rootdirs srcsetup lspdir srcdir
- @echo 69 Makefile.sun4os55g called
- @echo 70 Environment : ${ENV}
- @echo 71 finished system build on `date` | tee >lastBuildDate
-
- <<srcsetup>>
- <<src>>
- <<lsp>>
- <<document>>
-
- @
-
- \subsection{Makefile.sung}
- <<Makefile.sung>>=
- # System dependent Makefile for the SPARC SUNOS 4.1.2 platform
- # Platform variable
- PLF= SUNplatform
- # C compiler flags
- CCF=" -O -D${PLF} -I/usr/openwin/include"
- # Loader flags
- LDF= -L/usr/openwin/lib
- LISP=lisp
- <<GCLOPTS>>
- <<SRCDIRS>>
-
- ENV=PLF=${PLF} CCF=${CCF} LDF=${LDF} \
- LISP=${LISP} DAASE=${DAASE} GCLOPTS=${GCLOPTS} \
- SRCDIRS=${SRCDIRS}
-
- all: stamp-rootdirs srcsetup lspdir srcdir
- @echo 75 Makefile.sung called
- @echo 76 Environment : ${ENV}
- @echo 77 finished system build on `date` | tee >lastBuildDate
-
- <<srcsetup>>
- <<src>>
- <<lsp>>
- <<document>>
-
- @
\subsection{Makefile.MACOSX}
On the MAC OSX someone decided (probably a BSDism) to rename the
[[SIGCLD]] signal to [[SIGCHLD]]. In order to handle this in the
--- 810,815 ----
*************** We need to explicitly put [[-I/usr/inclu
*** 1158,1191 ****
[[-I/usr/include/sys]] because the MAC seems to search in a
different order than linux systems. The [[sys]] versions of
the include files are broken, at least for Axiom use.
- <<Makefile.MACOSX>>=
- # System dependent Makefile for the MAC OSX platform
- # Platform variable
- PLF=MACOSXplatform
- # C compiler flags
- CCF="-O2 -fno-strength-reduce -Wall -D_GNU_SOURCE -D${PLF} \
- -I/usr/include -I/usr/include/sys"
- # Loader flags
- LDF=
- LISP=lsp
- <<GCLOPTS-CUSTRELOC>>
- <<SRCDIRS>>
-
- ENV=PLF=${PLF} CCF=${CCF} LDF=${LDF} \
- LISP=${LISP} DAASE=${DAASE} GCLOPTS=${GCLOPTS} \
- SRCDIRS=${SRCDIRS}
-
- all: stamp-rootdirs srcsetup lspdir srcdir
- @echo 45 Makefile.linux called
- @echo 46 Environment : ${ENV}
- @echo 47 finished system build on `date` | tee >lastBuildDate
- <<srcsetup>>
- <<src>>
- <<lsp>>
- <<document>>
-
- @
\eject
\begin{thebibliography}{99}
\bibitem{1} CMUCL {\bf http://www.cons.org/cmucl}
--- 824,830 ----
*** README.build-improvements (revision 15845)
--- README.build-improvements (local)
*************** Gabriel Dos Reis
*** 56,61 ****
--- 56,63 ----
* Fix Makefile generation dependencies.
+ * Find a better structuring for PLF, CCF, LDF, LISP.
+
* Have Axiom configure pass down tp GCL options specified on the
invokation line.
*** configure.ac.pamphlet (revision 15845)
--- configure.ac.pamphlet (local)
*************** AXIOM=`pwd`/mnt/$SYSNAME
*** 399,404 ****
--- 399,518 ----
AC_SUBST(AXIOM)
@
+
+ The old build machinery has hard-coded special-cased Makefile for
+ some known platforms. We would like to have a uniform, Makefiles with
+ varying bits computed at configuration time. As a transitional path
+ from the current system to the new build framework, we have moved the
+ old logic from toplevel Makefile to here. It is understood that in the
+ near future the logic will be improved to support more platforms.
+ <<platform specific bits>>=
+ SRCDIRS="bootdir interpdir sharedir algebradir etcdir clefdir docdir \
+ graphdir smandir hyperdir inputdir "
+
+ case $SYSNAME in
+ freebsd)
+ PLF=BSDplatform
+ CCF="-O2 -pipe -fno-strength-reduce -Wall -D_GNU_SOURCE -D${PLF}
-I/usr/local/include"
+ LDF="-L/usr/local/lib"
+ LISP=lsp
+ GCLOPTS="--enable-vssize=65536*2 --enable-statsysbfd
--enable-maxpage=256*1024"
+ ;;
+
+ windows)
+ PLF=MSYSplatform
+ CCF="-O2 -Wall -D_GNU_SOURCE -D${PLF}"
+ LDF=
+ LISP=lsp
+ GCLOPTS="--enable-vssize=65536*2 --enable-statsysbfd
--enable-maxpage=256*1024"
+ SRCDIRS=bootdir interpdir sharedir algebradir etcdir docdir inputdir
+ ;;
+ linux)
+ PLF=LINUXplatform
+ CCF="-O2 -fno-strength-reduce -Wall -D_GNU_SOURCE -D${PLF}"
+ LDF=
+ LISP=lsp
+ GCLOPTS="--enable-vssize=65536*2 --enable-statsysbfd
--enable-maxpage=256*1024"
+ ;;
+ gentoo)
+ PLF=LINUXplatform
+ CCF="-O2 -fno-strength-reduce -Wall -D_GNU_SOURCE -D${PLF}"
+ LDF=
+ LISP=lsp
+ GCLOPTS="--enable-vssize=65536*2 --enable-locbfd --disable-dynsysbfd \
+ --disable-statsysbfd --enable-maxpage=256*1024"
+ ;;
+ fedora64)
+ PLF=LINUXplatform
+ CCF="-O2 -fno-strength-reduce -Wall -D_GNU_SOURCE -D${PLF}"
+ LDF="-L/usr/local/lib64 -L/usr/openwin/lib64 -L/usr/lib64 "
+ LISP=lsp
+ GCLOPTS="--enable-vssize=65536*2 --enable-statsysbfd
--enable-maxpage=256*1024"
+ ;;
+ fedora3)
+ PLF=LINUXplatform
+ CCF="-O2 -fno-strength-reduce -Wall -D_GNU_SOURCE -D${PLF}"
+ LDF=
+ LISP=lsp
+ GCLOPTS="--enable-vssize=65536*2 --enable-locbfd --disable-dynsysbfd \
+ --disable-statsysbfd --enable-maxpage=256*1024"
+ ;;
+ linuxglibc)
+ PLF= LINUXplatform
+ CCF=" -O2 -fno-strength-reduce -Wall -D_GNU_SOURCE -D${PLF}"
+ LDF=
+ LISP=lisp
+ GCLOPTS="--enable-vssize=65536*2 --enable-statsysbfd
--enable-maxpage=256*1024"
+ ;;
+ linuxglibc2.1)
+ PLF= LINUXplatform
+ CCF=" -g -Wall -D_GNU_SOURCE -D${PLF}"
+ LDF=
+ LISP=lisp
+ GCLOPTS="--enable-vssize=65536*2 --enable-statsysbfd
--enable-maxpage=256*1024"
+ ;;
+ solaris9)
+ PLF=LINUXplatform
+ CCF="-O2 -fno-strength-reduce -Wall -D_GNU_SOURCE -D${PLF}"
+ LDF=
+ LISP=lsp
+ GCLOPTS="--enable-vssize=65536*2 --enable-locbfd --disable-dynsysbfd \
+ --disable-statsysbfd --enable-maxpage=256*1024"
+ ;;
+ sun4os55g)
+ PLF= SUN4OS5platform
+ CCF=" -O3 -D__EXTENSIONS__ -Wall -ansi -D${PLF} -I /usr/openwin/include"
+ LDF=-L /usr/openwin/lib -lnsl -lsocket
+ LISP=lisp
+ GCLOPTS="--enable-vssize=65536*2 --enable-statsysbfd
--enable-maxpage=256*1024"
+ ;;
+ sung)
+ PLF= SUNplatform
+ CCF=" -O -D${PLF} -I/usr/openwin/include"
+ LDF= -L/usr/openwin/lib
+ LISP=lisp
+ GCLOPTS="--enable-vssize=65536*2 --enable-statsysbfd
--enable-maxpage=256*1024"
+ ;;
+ MACOSX)
+ PLF=MACOSXplatform
+ CCF="-O2 -fno-strength-reduce -Wall -D_GNU_SOURCE -D${PLF} \
+ -I/usr/include -I/usr/include/sys"
+ LDF=
+ LISP=lsp
+ GCLOPTS="--enable-vssize=65536*2 --enable-maxpage=256*1024
--disable-locbfd \
+ --disable-statsysbfd --enable-custreloc --disable-tkconfig \
+ --enable-machine=pwerpc-macosx"
+ ;;
+ esac
+ AC_SUBST(PLF)
+ AC_SUBST(CCF)
+ AC_SUBST(LDF)
+ AC_SUBST(LISP)
+ AC_SUBST(GCLOPTS)
+ AC_SUBST(SRCDIRS)
+ @
+
+
\subsubsection{Instantiating configuration files}
<<instantiate config files>>=
*************** AC_SUBST(X_PRE_LIBS)
*** 507,512 ****
--- 621,627 ----
<<locate X11>>
<<replicate old behaviour>>
+ <<platform specific bits>>
<<instantiate config files>>
@
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Axiom-developer] [build-improvements] first step toward a uniform toplevel makefile,
Gabriel Dos Reis <=