- Removed smake build and autoconf from the libraries.

- Removed unused files.
This commit is contained in:
Peter Simons 2000-12-14 15:07:35 +00:00
parent 2cc828d8d0
commit 8d5eaa92ec
13 changed files with 101 additions and 150 deletions

1
libargv/.cvsignore Normal file
View File

@ -0,0 +1 @@
test

View File

@ -26,4 +26,9 @@ test: test.o libargv.a
$(CC) $(LDFLAGS) test.o libargv.a -o test
realclean distclean clean::
rm -f argv.o libargv.o test.o test
rm -f libargv.a argv.o test.o test
# Dependencies
argv.o: argv.h argv_loc.h
test.o: argv.h

30
libconfigfile/Makefile Normal file
View File

@ -0,0 +1,30 @@
#
# Build the libconfigfile library.
#
# $Header$
#
CC = gcc
AR = ar
RANLIB = ranlib
CFLAGS = -Wall -pedantic -O3
CPPFLAGS =
LDFLAGS =
.SUFFIXES:
.SUFFIXES: .c .o .a
.c.o:
$(CC) $(CFLAGS) $(CPPFLAGS) -c $<
libconfigfile.a: config.o
$(AR) cr libconfigfile.a config.o
$(RANLIB) libconfigfile.a
realclean distclean clean::
rm -f libconfigfile.a config.o
# Dependencies
config.o: ../liblists/lists.h ../libtext/text.h configfile.h

View File

@ -1,12 +0,0 @@
#
# Skeleton Makefile -- process with smake to create real Makefile.
#
# $Header$
#
.opt -o GNUmakefile.in
LIBRARY = configfile
SRCS = config.c
.include <library.smk>
.include <autoconf.base.smk>

View File

@ -1,28 +0,0 @@
dnl
dnl configure.in -- Process this file with autoconf to produce a configure script.
dnl
dnl $Header$
dnl
AC_INIT(configfile.h)
dnl Checks for paths and programs.
dnl
AC_PROG_CC
AC_PROG_RANLIB
dnl Enable warning flags for gcc.
dnl
if test "$GCC" = yes; then
CFLAGS="$CFLAGS -Wall -pedantic"
CXXFLAGS="$CXXFLAGS -Wall -pedantic"
fi
dnl Remove '-g' and '-O2' from the compile flags.
dnl
CFLAGS=`echo $CFLAGS | sed -e "s/-g//" -e "s/-O2//"`
CXXFLAGS=`echo $CXXFLAGS | sed -e "s/-g//" -e "s/-O2//"`
dnl Write results.
dnl
AC_OUTPUT(GNUmakefile)

26
liblists/Makefile Normal file
View File

@ -0,0 +1,26 @@
#
# Build the liblists library.
#
# $Header$
#
CC = gcc
AR = ar
RANLIB = ranlib
CFLAGS = -Wall -pedantic -O3
CPPFLAGS =
LDFLAGS =
.SUFFIXES:
.SUFFIXES: .c .o .a
.c.o:
$(CC) $(CFLAGS) $(CPPFLAGS) -c $<
liblists.a: lists.o
$(AR) cr liblists.a lists.o
$(RANLIB) liblists.a
realclean distclean clean::
rm -f liblists.a lists.o

View File

@ -1,15 +0,0 @@
#
# Skeleton Makefile -- process with smake to create real Makefile.
#
# $Header$
#
.opt -o GNUmakefile.in
LIBRARY = lists
SRCS = lists.c
.include <library.smk>
.include <autoconf.base.smk>
distclean-local::
rm -f lists.h

View File

@ -1,33 +0,0 @@
dnl
dnl configure.in -- Process this file with autoconf to produce a configure script.
dnl
dnl $Header$
dnl
AC_INIT(lists.h.in)
dnl Checks for paths and programs.
dnl
AC_PROG_CC
AC_PROG_RANLIB
dnl Check for optional header files.
dnl
AC_CHECK_HEADERS(strings.h)
dnl Enable warning flags for gcc.
dnl
if test "$GCC" = yes; then
CFLAGS="$CFLAGS -Wall -pedantic"
CXXFLAGS="$CXXFLAGS -Wall -pedantic"
fi
dnl Remove '-g' and '-O2' from the compile flags.
dnl
CFLAGS=`echo $CFLAGS | sed -e "s/-g//" -e "s/-O2//"`
CXXFLAGS=`echo $CXXFLAGS | sed -e "s/-g//" -e "s/-O2//"`
dnl Write results.
dnl
AC_CONFIG_HEADER(lists.h)
AC_OUTPUT(GNUmakefile)

View File

@ -25,14 +25,8 @@
#ifndef __LIB_LISTS_H__
#define __LIB_LISTS_H__ 1
/* For autoconf... */
#undef HAVE_STRINGS_H
#include <stdlib.h>
#include <string.h>
#ifdef HAVE_STRINGS_H /* sunos 4 needs this */
# include <strings.h>
#endif
#include <assert.h>
#ifdef DEBUG_DMALLOC
# include <dmalloc.h>

38
libtext/Makefile Normal file
View File

@ -0,0 +1,38 @@
#
# Build the libtext library.
#
# $Header$
#
CC = gcc
AR = ar
RANLIB = ranlib
CFLAGS = -Wall -pedantic -O3
CPPFLAGS =
LDFLAGS =
OBJECTS = easy_pattern_match.o find_next_line.o find_string.o \
easy_sprintf.o transform_text.o wordwrap.o
.SUFFIXES:
.SUFFIXES: .c .o .a
.c.o:
$(CC) $(CFLAGS) $(CPPFLAGS) -c $<
libtext.a: $(OBJECTS)
$(AR) cr libtext.a $(OBJECTS)
$(RANLIB) libtext.a
realclean distclean clean::
rm -f libtext.a $(OBJECTS)
# Dependencies
easy_pattern_match.o: text.h
easy_sprintf.o: text.h
find_next_line.o: text.h
find_string.o: text.h
transform_text.o: text.h
wordwrap.o: text.h

View File

@ -1,13 +0,0 @@
#
# Skeleton Makefile -- process with smake to create real Makefile.
#
# $Header$
#
.opt -o GNUmakefile.in
LIBRARY = text
SRCS = easy_pattern_match.c find_next_line.c find_string.c easy_sprintf.c \
transform_text.c wordwrap.c
.include <library.smk>
.include <autoconf.base.smk>

View File

@ -1,28 +0,0 @@
dnl
dnl configure.in -- Process this file with autoconf to produce a configure script.
dnl
dnl $Header$
dnl
AC_INIT(text.h)
dnl Checks for paths and programs.
dnl
AC_PROG_CC
AC_PROG_RANLIB
dnl Enable warning flags for gcc.
dnl
if test "$GCC" = yes; then
CFLAGS="$CFLAGS -Wall -pedantic"
CXXFLAGS="$CXXFLAGS -Wall -pedantic"
fi
dnl Remove '-g' and '-O2' from the compile flags.
dnl
CFLAGS=`echo $CFLAGS | sed -e "s/-g//" -e "s/-O2//"`
CXXFLAGS=`echo $CXXFLAGS | sed -e "s/-g//" -e "s/-O2//"`
dnl Write results.
dnl
AC_OUTPUT(GNUmakefile)

View File

@ -1,14 +0,0 @@
Ein Wort ist kein Satz,
aber ein Satz ist kein Ersatz für ein Wort.
"Das Wort" ist der "Ein Satz" im "Vor Wort".
Dagegen kommt das "Vor Spiel" vor dem Spiel,
obwohl das eigentliche "Kommen" im Spiel stattfindet.
So gesehen, ist das "Vor Spiel" ein richtiges Spiel,
während das sogenannte Spiel der "Volle Ernst" ist.
Andererseits, wenn Ernst voll ist, findet meist weder "Vor Spiel" noch ein Spiel statt.
Dieses Spiel hatte dann schon vorher stattgefunden;
Meistens war es dann ein Lokaltermin des "Fußball Clubs Bayern".
Darauf folgte ein Termin im Lokal; Nach dem Fußballspiel zog Ernst das Lokal
der "Oben ohne Bar" vor;
Denn in der Bar ging nichts ohne, weder ohne das eine, noch ohne unten.
Des weiteren hatte ein Besuch in der Bar für Ernst meist ein "Nach Spiel" zu Hause.