home *** CD-ROM | disk | FTP | other *** search
- # Makefile for library files used by GNU textutils.
- # Do not use this makefile directly, but only from `../Makefile'.
- # Copyright (C) 1991 Free Software Foundation, Inc.
-
- # This program is free software; you can redistribute it and/or modify
- # it under the terms of the GNU General Public License as published by
- # the Free Software Foundation; either version 2, or (at your option)
- # any later version.
-
- # This program is distributed in the hope that it will be useful,
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- # GNU General Public License for more details.
-
- # You should have received a copy of the GNU General Public License
- # along with this program; if not, write to the Free Software
- # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-
- PCFLAGS=-dSTDC_HEADERS -dSTRERROR_MISSING -i/lib/ -z16000
- CFLAGS= $(PCFLAGS) -O
- CPPFLAGS=-DSTDC_HEADERS -DSTRERROR_MISSING -I/lib/
-
- SHELL = /bin/sh
-
- SOURCES = error.c getopt.c getopt1.c linebuffer.c regex.c xmalloc.c xwrite.c \
- bcopy.c memchr.c memcmp.c stpcpy.c
-
- OBJECTS = error.o getopt.o getopt1.o linebuffer.o regex.o xmalloc.o xwrite.o
-
- DISTFILES = Makefile.in getopt.h linebuffer.h regex.h $(SOURCES)
-
- all: tu.lib
-
- TAGS: $(SOURCES)
- etags $(SOURCES)
-
- clean:
- delete force *.o tu.lib
-
- tu.lib: $(OBJECTS)
- -delete tu.lib
- oml tu.lib r <@<
- $(OBJECTS)
- <
-
- getopt1.o: getopt1.c getopt.h
- regex.o: regex.c regex.h
- gnuemacs:cpp/cpp >ram:cpp.c $(CPPFLAGS) $*.c
- lc $(PCFLAGS) -o$@ ram:cpp.c
-
- alloca.o: alloca.c
- amiga.o: amiga.c
- bcopy.o: bcopy.c
- error.o: error.c
- getopt.o: getopt.c getopt.h
- getopt1.o: getopt1.c getopt.h
- linebuffer.o: linebuffer.c linebuffer.h
- memchr.o: memchr.c
- memcmp.o: memcmp.c
- stpcpy.o: stpcpy.c
- xmalloc.o: xmalloc.c
- xwrite.o: xwrite.c
-