![[jump to content]](/_.gif)
Tools (new)
: Looking into a tool
[ Home
| Scylla+Charybdis old home
| Tools (old)
| Tools (new)
| FAQ
| Downloads
]
Name Last modified Size Description
Parent Directory 11-Aug-2010 07:31 -
ANNOUNCE.dist 08-Apr-2007 12:24 1k
COPYING 08-Apr-2007 12:24 18k
COPYING.dist 08-Apr-2007 12:24 18k
ChangeLog 08-Apr-2007 12:32 30k
DESCRIPTION.dist 08-Apr-2007 12:24 1k
Makefile 08-Apr-2007 12:24 5k
Makefile-diet.sh 08-Apr-2007 12:24 1k
Makefile-diff.awk 08-Apr-2007 12:24 5k
Makefile-tar.sh 08-Apr-2007 12:24 4k
Makefile-test.sh 08-Apr-2007 12:24 7k
Makefile-tino.sh 08-Apr-2007 12:24 4k
Makefile.awk 08-Apr-2007 12:24 7k
Makefile.d.proto 08-Apr-2007 12:24 2k
Makefile.proto 08-Apr-2007 12:24 9k
Makefile.tino.dist 08-Apr-2007 12:24 3k
README 08-Apr-2007 12:24 3k
SCRATCH 08-Apr-2007 12:24 1k
VERSION.dist 08-Apr-2007 12:24 1k
alarm.h 08-Apr-2007 12:24 8k
alloc.h 08-Apr-2007 12:24 4k
arg.h 08-Apr-2007 12:24 2k
array.h 08-Apr-2007 12:24 4k
array_slist.h 08-Apr-2007 12:24 1k
bitfield.h 08-Apr-2007 12:24 2k
block.h 08-Apr-2007 12:24 8k
buf.h 08-Apr-2007 12:24 23k
buf_line.h 08-Apr-2007 12:32 3k
buf_printf.h 08-Apr-2007 12:24 3k
codec.h 08-Apr-2007 12:24 2k
crypthash.hh 08-Apr-2007 12:24 4k
curl.h 08-Apr-2007 12:24 5k
data.h 08-Apr-2007 12:32 10k
debug.h 08-Apr-2007 12:24 3k
dev.h 08-Apr-2007 12:24 3k
dir.h 08-Apr-2007 12:24 2k
dirty.h 08-Apr-2007 12:24 2k
ex.h 08-Apr-2007 12:24 5k
exception.h 08-Apr-2007 12:24 8k
fatal.h 08-Apr-2007 12:24 3k
file.h 08-Apr-2007 12:24 20k
file_aio.h 08-Apr-2007 12:24 2k
filetool.h 08-Apr-2007 12:24 19k
getini.h 08-Apr-2007 12:24 2k
getopt.h 08-Apr-2007 12:32 45k
hash.h 08-Apr-2007 12:24 6k
hasher.h 08-Apr-2007 12:24 2k
helpers.h 08-Apr-2007 12:24 4k
html_entities.h 08-Apr-2007 12:24 8k
hup.h 08-Apr-2007 12:24 3k
idea-vdl.h 08-Apr-2007 12:24 6k
io.h 08-Apr-2007 12:24 4k
io.hh 08-Apr-2007 12:24 2k
io.txt 08-Apr-2007 12:24 24k
iow.h 08-Apr-2007 12:24 10k
iow_socket.h 08-Apr-2007 12:24 2k
log.h 08-Apr-2007 12:24 3k
longmath.h 08-Apr-2007 12:24 4k
main.h 08-Apr-2007 12:24 5k
main_file.h 08-Apr-2007 12:24 2k
main_getini.h 08-Apr-2007 12:24 2k
main_getopt.h 08-Apr-2007 12:24 2k
md5.h 08-Apr-2007 12:24 12k
memwild.h 08-Apr-2007 12:24 4k
misc_selectcopyloop.h 08-Apr-2007 12:24 8k
ob.h 08-Apr-2007 12:24 5k
privilege.h 08-Apr-2007 12:24 2k
proc.h 08-Apr-2007 12:24 9k
sc-lib.h 08-Apr-2007 12:24 5k
setproctitle.h 08-Apr-2007 12:24 3k
setuptino.sh 08-Apr-2007 12:24 4k
sleep.h 08-Apr-2007 12:24 3k
slist.h 08-Apr-2007 12:24 7k
sock.h 08-Apr-2007 12:24 27k
sock_tool.h 08-Apr-2007 12:24 2k
sockbuf.h 08-Apr-2007 12:24 7k
sockgen.h 08-Apr-2007 12:24 1k
str.h 08-Apr-2007 12:32 5k
strprintf.h 08-Apr-2007 12:24 3k
strwild.h 08-Apr-2007 12:24 6k
syscap.h 08-Apr-2007 12:24 2k
sysfix.h 08-Apr-2007 12:24 5k
sysfix_cygwin.h 08-Apr-2007 12:24 3k
term.h 08-Apr-2007 12:24 3k
threads.h 08-Apr-2007 12:24 2k
type.h 08-Apr-2007 12:24 2k
xd.h 08-Apr-2007 12:24 3k
xml.h 08-Apr-2007 12:24 8k
$Header: /CVSROOT/tinolib/old/README,v 1.2 2006/10/03 20:26:52 tino Exp $
You have following:
- Linux
- A copy of tinolib at /path/to/library/tino/
- A source file !NAME!.c or !NAME!.cc
where !NAME! is `basename "$PWD"`
- Now to start from fresh, just do:
/path/to/library/tino/setuptino.sh
this will create the initial Makefile.
- To change the parameters etc. just do
vi Makefile.tino
- If you need to recreate the Makefile, just do
make -f Makefile.tino
However, most times the Makefile will update itself from
Makefile.tino automagically.
- It's quirky, sometimes make must be called several times until
things settle. If not, don't panic, the first `make` was ok!
Note that the basic functions of the Makefile then can live without
the subdirectory tino/ - some errors will show up, but everything
still compiles.
What's the dark matter with all this here?
I want a hassle free method of keeping everything updated for me. I
want "make" to make it all, so no "./configure; make". "make" must be
enough, as "make" already is insane (ask non-programmers how to
compile software, they will not tell you "to use make", so "make" is
insane and "configure" is even more insane). I want to be able to
build everything without GNU extensions. This does not mean to not
use GNU extensions at all. However it shall be easy to comment them
out and still have a successful build. I want it easy.
Additionally a minimum of standard unix utilities shall be needed to
run this all. Note that I already think it needs too many of them.
However "make all" shall still do, I hope.
Prerequisites for "make all" in a distribution currently is:
1) make (not neccessarily GNU make)
2) gawk (you need GNU awk, sorry)
3) touch (could not circumvent this, sorry)
4a) An ANSI-C compiler, of course, which make knows about.
4b) Dito an ANSI-CC compiler, in case of C++
5) The proper set of includes and libraries (possibly all GNU).
Nothing else (not even a bash, perl etc.) shall be needed,
and not a compiler with support for -M or -MM.
At least, that's the idea behind it, even that I think I failed
completely. However the basic needs are relatively moderate.
My long term goal for this here is (not joking): All you need is a
suitable ANSI-C compiler with libraries and such to compile my
distributions. For this there perhaps will be a little
Makefile.tino.run.c which can be compiled to a program which calls the
compiler for you (if you find a way to even get rid of the compiler, I
would be glad. Well, ok, that was a joke now *eg*).
However, to use all features of tinolib, you probably need a huge
Linux environment and some undefined and unclear setups (like CVS) in
place. But still it's the idea for the distribution to have an easy
"make all" process. And that the distribution can be independent of
tinolib if the sources do not depend on this library.
All portability issues shall be handled in tinolib in future, such
that you do not need a single #if in your source except for compile
time features. You get the idea, that's what I want.
Well, I'm far away from my goal, but it's evolving in slow motion.
$Log: README,v $
Revision 1.2 2006/10/03 20:26:52 tino
Ubuntu has no gawk as awk, so gawk used instead of awk
Revision 1.1 2006/01/29 17:49:52 tino
Improved documentation and "make test"