From 1d956ee860df63134233a71d8de39598dfe9a8bb Mon Sep 17 00:00:00 2001 From: dos-reis Date: Thu, 27 Dec 2007 19:39:53 +0000 Subject: Remove more Makefile pamphlets and other leftover. --- src/lib/Makefile.in | 33 +++++++++ src/lib/Makefile.pamphlet | 174 ---------------------------------------------- 2 files changed, 33 insertions(+), 174 deletions(-) delete mode 100644 src/lib/Makefile.pamphlet (limited to 'src/lib') diff --git a/src/lib/Makefile.in b/src/lib/Makefile.in index 05045445..89b68ea3 100644 --- a/src/lib/Makefile.in +++ b/src/lib/Makefile.in @@ -1,3 +1,36 @@ +# Copyright (C) 2007, Gabriel Dos Reis. +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are +# met: +# +# - Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# - Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in +# the documentation and/or other materials provided with the +# distribution. +# +# - Neither the name of The Numerical Algorithms Group Ltd. nor the +# names of its contributors may be used to endorse or promote products +# derived from this software without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS +# IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED +# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A +# PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER +# OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + + core_SOURCES = bsdsignal.c cfuns-c.c sockio-c.c terminal_io_SOURCES = cursor.c edin.c fnct_key.c openpty.c prt.c wct.c graphics_SOURCES = \ diff --git a/src/lib/Makefile.pamphlet b/src/lib/Makefile.pamphlet deleted file mode 100644 index 3dc252e9..00000000 --- a/src/lib/Makefile.pamphlet +++ /dev/null @@ -1,174 +0,0 @@ -%% Oh Emacs, this is a -*- Makefile -*-, so give me tabs. -\documentclass{article} -\usepackage{axiom} - -\title{\$SPAD/src/lib Makefile} -\author{Timothy Daly \and Gabriel Dos~Reis} - -\begin{document} -\maketitle - -\begin{abstract} - This Makefile builds the \Tool{Axiom} C runtime system. This runtime - support consists of three main compoments: core, terminal I/O, and - graphics. -\end{abstract} -\eject - -\tableofcontents -\eject - -\section{Components} - -\subsection{Core runtime} - -The core C runtime system is required on all hosts. It is composed of -\begin{itemize} -\item \verb!iint bsdSignal()! -\item \verb!int addtopath(const char*)! -\item \verb!int directoryp(const char*)! -\item \verb!int make_path_from_file(const char*, const char*)! -\item \verb!int writeablep(const char*)! -\item \verb!int readablep(const char*)! -\item \verb!int findString(const char*, const char*)! -\item \verb!int copyEnvValue(const char*, char*)! -\end{itemize} - -Those functions are implemented in \File{cfuns-c.c} and -\File{sockio-c.c}. For the most part, -they depend on [[]], [[]], and -[[]] - -<>= -core_SOURCES = bsdsignal.c cfuns-c.c sockio-c.c -@ - - -\subsection{Terminal I/O} - -This component provides all the routines necessary to build -the \Tool{Superman} component. - -<>= -terminal_io_SOURCES = cursor.c edin.c fnct_key.c openpty.c prt.c wct.c -@ - - -\subsection{Graphics} - -HyperDoc and any other graphics capability. - -<>= -graphics_SOURCES = \ - halloc.c \ - hash.c \ - pixmap.c \ - spadcolors.c \ - util.c \ - XDither.c \ - XShade.c \ - XSpadFill.c -@ - -??? document each of those files.??? - - -\section{environment} - -The \Tool{Autoconf}-subst'd variable [[axiom_c_runtime]] is computed -at configure time, based on the characteristics of the host environment. -It is a list of the main components. It also contain [[core]] - -<>= - -libspad_la_SOURCES = $(foreach comp, \ - $(addsuffix _SOURCES, @axiom_c_runtime@), \ - $($(comp))) - -other_SOURCES = cfuns-c.c - -unused_SOURCES = emupty.c - -libspad_la_objects = $(libspad_la_SOURCES:.c=.lo) - -other_objects = $(other_SOURCES:.c=.$(OBJEXT)) - -pamphlets = Makefile.pamphlet -@ - -\section{Files} - -\subsection{object from C} -<>= -.PRECIOUS: %.$(OBJEXT) %.lo - -%.lo: %.c $(axiom_c_macros_h) - $(COMPILE) -o $@ $(CCF) $(axiom_includes) $(AXIOM_X11_CFLAGS) $< -@ - - - -\subsection{cfuns-c.c \cite{2}} -The cfuns-c file contains socket primitives used by Axiom. -They must be linked into and visible from the inferior lisp. -In GCL this link happens thru setting a shell variable called -{\bf EXTRAS} in the {\bf h/386-linux.defs} file. This file -gets included as part of the final system build of GCL. - -\subsection{hash.c \cite{6}} -This a a string-based hash table that is used both in the graph -and hyper functions. It is included here because we need it built -earlier so the graph and hyper routines can refer to it. - -\subsection{sockio-c.c \cite{10}} -The sockio-c file contains socket primitives used by Axiom. -They must be linked into and visible from the inferior lisp. -In GCL this link happens thru setting a shell variable called -{\bf EXTRAS} in the {\bf h/386-linux.defs} file. This file -gets included as part of the final system build of GCL. - -\section{The cleanup stanza} -<>= -# This is a support library, so it does not change often and -# we don't need to remove the produced objects in mostlyclean. -# The remoal is done by clean. -mostlyclean-local: - @rm -f *.lo *.$(OBJEXT) - -clean-local: mostlyclean-local - @$(LIBTOOL) --mode=clean $(axiom_target_libdir)/libspad.la - @rm -f $(other_objects) - @rm -f $(libspad_la_SOURCES) $(other_SOURCES) - @rm -fr .libs _libs - @rm -f stamp - -distclean-local: clean-local -@ - -<<*>>= -<> - -subdir = src/lib/ - -.PHONY: all all-lib -.SUFFIXES: -.SUFFIXES: .o .lo .obj .c .h - -all: all-ax - -all-ax all-lib: stamp -stamp: $(axiom_target_libdir)/libspad.la - rm -f stamp - $(STAMP) stamp - -$(axiom_target_libdir)/libspad.la: $(libspad_la_objects) - $(mkinstalldirs) $(axiom_target_libdir) - $(LIBTOOL) --mode=link $(CC) -o $@ $(libspad_la_objects) \ - -rpath $(libdir)/axiom/target/$(target)/lib - -<> - -<> -@ - -\end{document} -- cgit v1.2.3