# Generated automatically from Makefile.in by configure.
# Makefile for library files used by GNU text utilities.
# Copyright (C) 1991, 1992, 1993 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.

SHELL = /vsta/bin/sh

srcdir=.

CC=gcc
AR=ar
DEFS=-DCONFIG_BROKETS -DHAVE_CONFIG_H
INCS=-I.. -I$(srcdir)
CFLAGS=-O $(DEFS) $(INCS)

# Always link in the fast GNU memchr; it speeds up sort, especially on HP-UX.
# OBJECTS = regex.o error.o getopt.o getopt1.o linebuffer.o xmalloc.o \
# xwrite.o memchr.o  stpcpy.o
OBJECTS = regex.o error.o getopt.o getopt1.o linebuffer.o xmalloc.o \
xwrite.o stpcpy.o

all: libtu.a

install: all

clean:
	rm -f *.o

clobber: clean
	rm -f *.a

libtu.a: $(OBJECTS)
	rm -f $@
	$(AR) csr $@ $(OBJECTS)
