# Generated automatically from Makefile.in by configure.
# Things you might want to put in DEFS:
# -Dvoid=int		compilers that don't do void
# -DCHARBITS=0377	compilers that don't do unsigned char
# -DSTATIC=extern	compilers that don't like "static foo();" as forward decl
# -DSTRCSPN		library does not have strcspn()
# -Dstrchr=index	library does not have strchr()
# -DERRAVAIL		have utzoo-compatible error() function and friends


SHELL=	 /bin/sh
CC=	 gcc
INSTALL= /usr/athena/bin/install -c

DEFS=	 -DHAVE_CONFIG_H
LIBS=	  -lsocket -lnsl -lkrb

CFLAGS= -O

SRCS=	regexp.c regsub.c
OBJS=	regexp.o regsub.o
INCLUDES= -I.

all:	libregexp.a

libregexp.a: $(OBJS)
	ar cruv libregexp.a $(OBJS)
	: libregexp.a

dist:   $(SRCS) Makefile
	-mkdir ../../dist/source/regexp
	cp -p $(SRCS) ../../dist/source/regexp/
	cp -p Makefile ../../dist/source/regexp/

.c.o:
	-rm -f $*.o
	${CC} ${CFLAGS} ${INCLUDES} ${DEFS} -c $*.c

clean:
	-rm -f *~ \#* *.o libregexp.a
