Added my implementation of unixtime.

This implementation has very few reasonable code (call atol() and ctime()),
but has some nice standard program stuff (parse options, print help, ...).
This commit is contained in:
heinzel
2008-02-19 14:12:59 +00:00
commit c1aa247e85
10 changed files with 582 additions and 0 deletions

35
configure.macros Normal file
View File

@@ -0,0 +1,35 @@
# configure.macros
# Directories
PREFIX="/usr/local"
BINDIR="@PREFIX@/bin"
SBINDIR="@PREFIX@/sbin"
MANDIR="@PREFIX@/share/man"
MAN1DIR="@MANDIR@/man1"
MAN2DIR="@MANDIR@/man2"
MAN3DIR="@MANDIR@/man3"
MAN4DIR="@MANDIR@/man4"
MAN5DIR="@MANDIR@/man5"
MAN6DIR="@MANDIR@/man6"
MAN7DIR="@MANDIR@/man7"
MAN8DIR="@MANDIR@/man8"
MAN9DIR="@MANDIR@/man9"
# Programms
CAT="cat"
CC="cc"
CP="cp"
GZIP="gzip"
INSTALL="install"
RM="rm"
SHELL="/bin/sh"
STRIP="strip"
TAR="tar"
ZCAT="zcat"
# Magic macros
# @CFILE@ will be expanded to the name of the file, that will be created.
# Also the current template name (e.g. @Makefile.in@) can be used as a macro
# that will be expanded to another macro named CTEMPLATE (which can be
# defined here or will default to a buildin text).
#end