Skip to content

Commit

Permalink
This commit was manufactured by cvs2svn to create tag 'ONYX_1_0_0'.
Browse files Browse the repository at this point in the history
  • Loading branch information
anonymous committed Jul 18, 2001
1 parent 78516e3 commit 89c9985
Show file tree
Hide file tree
Showing 1,059 changed files with 90,205 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tags/ONYX_1_0_0/devroot/COPYING
@@ -0,0 +1,7 @@
Unless otherwise specified, the files in the canonware distribution are subject
to the following license:

--------------------------------------------------------------------------------
<Copyright = jasone>
<License>
--------------------------------------------------------------------------------
27 changes: 27 additions & 0 deletions tags/ONYX_1_0_0/devroot/ChangeLog
@@ -0,0 +1,27 @@
2001-07-13 Jason Evans <jasone@canonware.com>

* : Install in [prefix]/share/onyx/* instead of
[prefix]/share/canonware/onyx/*.

2001-07-12 Jason Evans <jasone@canonware.com>

* : Remove libsock, ncat, and proxy.

2001-07-11 Jason Evans <jasone@canonware.com>

* configure.in: Add test for inet_aton().

2001-07-10 Chris Toshok <toshok@toshok.org>

* configure.in: add `CW_BUILD_MOD(modnxgtk, mod_nxgtk)'

2001-06-16 Jason Evans <jasone@canonware.com>

* configure.in: Add the --disable-libstash-buf option.

2001-06-07 Jason Evans <jasone@canonware.com>

* : Convert _LIB*_DBG to _CW_DBG. This affects compiling and
linking with debug versions of the libraries.

* : Consistently prefix publicly visible cpp macros with _CW_.
218 changes: 218 additions & 0 deletions tags/ONYX_1_0_0/devroot/Cookfile.in
@@ -0,0 +1,218 @@
/******************************************************************************
*
* <Copyright = jasone>
* <License>
*
******************************************************************************
*
* Version: <Version>
*
* Master Canonware Cookfile.
*
******************************************************************************/

/*
* Standard definitions.
*/

/* Paths. */
srcdir = @top_srcdir@;
abs_srcdir = @abs_srcdir@;
objdir = @objdir@;
abs_objdir = @abs_objdir@;
PREFIX = @prefix@;

/* Paths to programs used by the build system. */
SHELL = /bin/sh;
CC = @CC@;
AR = @AR@;
LD = @LD@;
LN = @LN@;
RANLIB = @RANLIB@;
BASENAME = @BASENAME@;
CHMOD = @CHMOD@;
INSTALL = @INSTALL@;
PERL = @PERL@;
CAT = @CAT@;
DIFF = @DIFF@;
VERIFY = @VERIFY@;
LATEX = @LATEX@;
PDFLATEX = @PDFLATEX@;
DVIPS = @DVIPS@;
FIG2DEV = @FIG2DEV@;
LATEX2HTML = @LATEX2HTML@;
MAKEINDEX = @MAKEINDEX@;
GTKCONFIG = @GTKCONFIG@;

/* Build parameters. */
CPPFLAGS = @CPPFLAGS@;
CPPDEFS = -D_REENTRANT;

CFLAGS = @CFLAGS@;
A_CFLAGS = [CFLAGS];
S_CFLAGS = [CFLAGS] -fPIC -DPIC;

LDFLAGS = @LDFLAGS@;
EXTRALIBS = @LIBS@;
RPATH = @RPATH@;

libs = @libs@;
mods = @mods@;
bins = @bins@;

BOOTSTRAP = ;

/*
* For cleanliness purposes, it would be nice to have this in libstash's
* Cookfile.inc, but that file doesn't get processed by configure. In practice,
* this isn't so bad, since everything depends on libstash, making it a surety
* that libstash is part of this build.
*/
HAVE_LIBSTASH_BUF = @enable_libstash_buf@;

/* Documentation. */
#include-cooked [srcdir]/doc/Cookfile.inc

/* Tests. */
#include-cooked [srcdir]/test/Cookfile.inc

/* Libraries. */
#include-cooked [srcdir]/lib/c/Cookfile.inc
#include-cooked [fromto % [srcdir]/lib/c/%/Cookfile.inc @libs@]

/* Modules. */
#include-cooked [srcdir]/mod/Cookfile.inc
#include-cooked [fromto % [srcdir]/mod/%/Cookfile.inc @mods@]

/* Programs. */
#include-cooked [srcdir]/bin/Cookfile.inc
#include-cooked [fromto % [srcdir]/bin/%/Cookfile.inc @bins@]

/*
* User targets.
*/

standard : libs mods bins
set default
;

all : libs mods bins tests docs;

libs_a : [A_LIBS];
libs_s : [S_LIBS];
libs : libs_a libs_s;

mods : [MODS];

bins : [BINS];

bootstrap : [BOOTSTRAP];

tests : [ONYX] [MODS]
[fromto [srcdir]/%0%.c [objdir]/%0% [CTESTS] [CBTESTS]]
[fromto [srcdir]/%0%.nx.in [objdir]/%0%.nx [OTESTS] [OBTESTS]]
[fromto [srcdir]/%0%.pl.in [objdir]/%0%.pl [PTESTS]];

check : tests
{
[VERIFY] -s [srcdir] -o [objdir]
[fromto [srcdir]/%0%.c [objdir]/%0% [CTESTS]]
[fromto [srcdir]/%0%.nx.in [objdir]/%0%.nx [OTESTS]]
[fromto [srcdir]/%0%.pl.in [objdir]/%0%.pl [PTESTS]];
}

check_update : tests
{
[VERIFY] -u -s [srcdir] -o [objdir]
[fromto [srcdir]/%0%.c [objdir]/%0% [CTESTS]]
[fromto [srcdir]/%0%.nx.in [objdir]/%0%.nx [OTESTS]]
[fromto [srcdir]/%0%.pl.in [objdir]/%0%.pl [PTESTS]];
}

release : docs;

docs : docs_ps docs_pdf docs_html;
docs_ps : [PS_MANUAL];
docs_pdf : [PDF_MANUAL];
docs_html : [HTML_MANUAL];

install_bins : [addsuffix _install @bins@];
install_mods : [addsuffix _install @mods@];
install_libs : [addsuffix _install @libs@];
install : install_bins install_mods install_libs install_docs;

uninstall_bins : [addsuffix _uninstall @bins@];
uninstall_mods : [addsuffix _uninstall @mods@];
uninstall_libs : [addsuffix _uninstall @libs@];
uninstall : uninstall_bins uninstall_mods uninstall_libs uninstall_docs
{
rm -rf [PREFIX]/share/canonware;
}

clean : [addsuffix _clean docs test @bins@ @mods@ @libs@]
{
rm -f core *.core;
rm -f *.gmon;
rm -f TAGS;

rm -f [A_LIBS];
rm -f [S_LIBS];
rm -f [S_LINKS];

rm -f [MODS];

rm -f [BINS];

rm -f [fromto [srcdir]/%0%.c [objdir]/%0%.d_d [SRCS]];
rm -f [fromto [srcdir]/%0%.c [objdir]/%0%.d_a [SRCS]];
rm -f [fromto [srcdir]/%0%.c [objdir]/%0%.d_p [SRCS]];
rm -f [fromto [srcdir]/%0%.c [objdir]/%0%.d_s [SRCS]];
rm -f [fromto [srcdir]/%0%.c [objdir]/%0%.o_d [SRCS]];
rm -f [fromto [srcdir]/%0%.c [objdir]/%0%.o_a [SRCS]];
rm -f [fromto [srcdir]/%0%.c [objdir]/%0%.o_p [SRCS]];
rm -f [fromto [srcdir]/%0%.c [objdir]/%0%.o_s [SRCS]];

rm -f [fromto [srcdir]/%0%.c [objdir]/%0%.d_s [MSRCS]];
rm -f [fromto [srcdir]/%0%.c [objdir]/%0%.o_s [MSRCS]];

/*
* Delete .cook.fp files from the source tree and object tree.
* Delete Cookfile.list files from the object tree.
*/
[SHELL] -e;
data
#![SHELL]

for i in `find [srcdir] -type f -name .cook.fp` ; do
echo rm $i;
rm $i;
done
for i in `find [objdir] -type f -name .cook.fp` ; do
echo rm $i;
rm $i;
done
for i in `find [objdir] -type f -name Cookfile.list` ; do
echo rm $i;
rm $i;
done
dataend
}

distclean : clean [addsuffix _distclean docs test @bins@ @mods@ @libs@]
{
rm -f [objdir]/Cookfile;
rm -f [objdir]/config.cache;
rm -f [objdir]/config.log;
rm -f [objdir]/config.status;
rm -f [objdir]/test/verify;
rm -f @cfghdrs@;
}

relclean : distclean [addsuffix _relclean docs]
{
}

etags : [INCS] [PRIV_INCS] [MINCS] [SRCS] [MSRCS]
{
@ETAGS@ [INCS] [PRIV_INCS] [MINCS] [SRCS] [MSRCS];
}
130 changes: 130 additions & 0 deletions tags/ONYX_1_0_0/devroot/INSTALL
@@ -0,0 +1,130 @@
################################################################################
#
# Version: <Version>
#
# Building and installation instructions for the Canonware Onyx distribution.
#
################################################################################

This software depends on the excellent 'cook' program for building. 'cook' is
freely available (GPLed), and runs on many platforms. For more information,
see:

http://www.canb.auug.org.au/~millerp/cook/cook.html

Optional: Running the regression tests requires perl.

Optional: Rebuilding the documentation requires LaTeX (teTeX distribution),
latex2html, and perl. However, the source distribution should come with the
documentation already built, so you should not need to do so unless making
documentation modifications.

Building this distribution in many cases is as simple as typing the following
while in the root directory of the source tree:

./configure
cook

To install, do the above, then type:

cook install

Additional build targets of finer granularity include:

bins
<binname>
libs
libs_[as]
<libname>
mods
<modname>
tests

Additional install targets of finer granularity include:

install_{bins,libs,mods,docs}
<binname>_install
<libname>_install
<libname>_install_[as]
<modname>_install
docs_install_{ps,pdf,html}

Uninstall targets include:

uninstall
uninstall_{bins,libs,mods,docs}
<binname>_uninstall
<libname>_uninstall
<modname>_uninstall

Cleanup targets include:

clean
distclean
relclean

Targets that depend on optional supporting software include:

all
docs
docs_{ps,pdf,html}
release
check
check_update
etags

The build system is capable of building in a different directory than the
source, so that no files are written to the source tree. In order to use this
feature, run 'configure' and 'cook' while in the directory that you want to
build the software in.

Optionally, pass any of the following (not a definitive list) arguments to
'configure':

--prefix=<install-root-dir>
Set the base directory in which to install. For example:

./configure --prefix=/usr/local

will cause files to be installed into /usr/local/bin, /usr/local/man,
/usr/local/include, and /usr/local/lib.

--disable-inlines
Do not use inline functions. This reduces the size of binaries at the
expense of performance.

--disable-libstash-buf
Do not compile in libstash's buf class. The main use of this flag is
for statically embedding a more compact onyx interpreter. It should not
be specified when building and installing libraries meant for general
use.

--enable-debug
Build debugging code and turn assertions on (controlled by the
_CW_ASSERT cpp macro). The resulting libraries and modules will not be
binary compatible with ones that were compiled without this option, so
specifying this option and installing the results for general use is not
recommended.

--enable-profile
Instrument binaries, libraries, and modules for profiling.

Optionally, define environment variables, including (not exclusively):

CFLAGS="?"
Pass these flags to the compiler. You probably shouldn't define this
unless you know what you are doing.

CPPFLAGS="?"
Pass these flags to the C preprocessor. Note that CFLAGS is not passed
to 'cpp' when 'configure' is looking for include files, so you must use
CPPFLAGS instead if you need to help 'configure' find header files.

LD_LIBRARY_PATH="?"
'ld' uses this colon-separated list to find libraries.

LDFLAGS="?"
Flags passed to 'gcc', which should normally be passed on to 'ld'.

PATH="?"
'configure' uses this to find programs.

0 comments on commit 89c9985

Please sign in to comment.