1998-12-21 18:52:47 +08:00
|
|
|
#
|
2006-02-04 09:45:59 +08:00
|
|
|
# OpenSSL/crypto/lhash/Makefile
|
1998-12-21 18:52:47 +08:00
|
|
|
#
|
|
|
|
|
|
|
|
DIR= lhash
|
|
|
|
TOP= ../..
|
|
|
|
CC= cc
|
|
|
|
INCLUDES=
|
|
|
|
CFLAG=-g
|
2005-03-30 21:05:57 +08:00
|
|
|
MAKEFILE= Makefile
|
1998-12-21 18:52:47 +08:00
|
|
|
AR= ar r
|
|
|
|
|
|
|
|
CFLAGS= $(INCLUDES) $(CFLAG)
|
|
|
|
|
|
|
|
GENERAL=Makefile
|
|
|
|
|
|
|
|
LIB=$(TOP)/libcrypto.a
|
|
|
|
LIBSRC=lhash.c lh_stats.c
|
|
|
|
LIBOBJ=lhash.o lh_stats.o
|
|
|
|
|
|
|
|
SRC= $(LIBSRC)
|
|
|
|
|
2015-03-27 04:44:59 +08:00
|
|
|
HEADER=
|
1998-12-21 18:52:47 +08:00
|
|
|
|
|
|
|
ALL= $(GENERAL) $(SRC) $(HEADER)
|
|
|
|
|
|
|
|
top:
|
|
|
|
(cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
|
|
|
|
|
|
|
|
all: lib
|
|
|
|
|
|
|
|
lib: $(LIBOBJ)
|
2014-10-19 06:47:03 +08:00
|
|
|
$(AR) $(LIB) $(LIBOBJ)
|
2001-03-09 22:01:42 +08:00
|
|
|
$(RANLIB) $(LIB) || echo Never mind.
|
1998-12-21 18:52:47 +08:00
|
|
|
@touch lib
|
|
|
|
|
|
|
|
files:
|
2005-03-30 21:05:57 +08:00
|
|
|
$(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
|
1998-12-21 18:52:47 +08:00
|
|
|
|
|
|
|
tags:
|
|
|
|
ctags $(SRC)
|
|
|
|
|
|
|
|
tests:
|
|
|
|
|
|
|
|
lint:
|
|
|
|
lint -DLINT $(INCLUDES) $(SRC)>fluff
|
|
|
|
|
2015-05-22 23:54:06 +08:00
|
|
|
update: depend
|
|
|
|
|
1998-12-21 18:52:47 +08:00
|
|
|
depend:
|
2005-05-17 00:55:47 +08:00
|
|
|
@[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
|
2002-10-09 21:25:12 +08:00
|
|
|
$(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
|
1998-12-21 18:52:47 +08:00
|
|
|
|
|
|
|
dclean:
|
1999-04-01 20:34:33 +08:00
|
|
|
$(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
|
1998-12-21 18:52:47 +08:00
|
|
|
mv -f Makefile.new $(MAKEFILE)
|
|
|
|
|
|
|
|
clean:
|
1999-03-06 20:32:06 +08:00
|
|
|
rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
|
1998-12-21 18:52:47 +08:00
|
|
|
|
|
|
|
# DO NOT DELETE THIS LINE -- make depend depends on it.
|
1999-03-06 22:32:48 +08:00
|
|
|
|
2005-05-17 00:55:47 +08:00
|
|
|
lh_stats.o: ../../e_os.h ../../include/openssl/bio.h
|
|
|
|
lh_stats.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
|
|
|
|
lh_stats.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
|
|
|
lh_stats.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
|
|
|
|
lh_stats.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
|
|
|
|
lh_stats.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
|
2015-05-14 23:38:31 +08:00
|
|
|
lh_stats.o: ../../include/openssl/symhacks.h ../include/internal/cryptlib.h
|
|
|
|
lh_stats.o: lh_stats.c
|
2005-05-17 00:55:47 +08:00
|
|
|
lhash.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
|
|
|
|
lhash.o: ../../include/openssl/e_os2.h ../../include/openssl/lhash.h
|
|
|
|
lhash.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
|
|
|
|
lhash.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
|
|
|
|
lhash.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h lhash.c
|