#CC=gcc
#CFLAGS= -g

LIBDIR=/usr/local/lib
BINDIR=/usr/local/bin
INCDIR=/usr/local/include
MANDIR=/usr/local/man
MAN1=1
MAN3=3
SHELL=/bin/sh

OBJS=	lhash.o

GENERAL=Makefile
SRC=	lhash.c lhash.h

ALL=	$(GENERAL) $(SRC)

LIB=	../libcrypto.a

all: $(LIB)

tags:
	ctags $(SRC)

install:
	cp lhash.h $(INSTALLTOP)/include

test:
	@echo "no test to run - this always works :-)"

$(LIB):	$(OBJS)
	ar r $(LIB) $(OBJS)
	-if test -s /bin/ranlib; then /bin/ranlib $(LIB); \
	else if test -s /usr/bin/ranlib; then /usr/bin/ranlib $(LIB); \
	else exit 0; fi; fi

clean:
	/bin/rm -f *.o tags core

# DO NOT DELETE THIS LINE -- make depend depends on it.
