1998-12-21 10:56:39 +00:00
|
|
|
#
|
|
|
|
# SSLeay/crypto/md/Makefile
|
|
|
|
#
|
|
|
|
|
|
|
|
DIR= hmac
|
|
|
|
TOP= ../..
|
|
|
|
CC= cc
|
|
|
|
INCLUDES=
|
|
|
|
CFLAG=-g
|
1999-04-29 21:52:08 +00:00
|
|
|
INSTALL_PREFIX=
|
|
|
|
OPENSSLDIR= /usr/local/ssl
|
1998-12-21 10:56:39 +00:00
|
|
|
INSTALLTOP=/usr/local/ssl
|
2001-02-19 16:06:34 +00:00
|
|
|
MAKEDEPPROG= makedepend
|
|
|
|
MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
|
2004-05-11 12:46:24 +00:00
|
|
|
MAKEFILE= Makefile
|
1998-12-21 10:56:39 +00:00
|
|
|
AR= ar r
|
|
|
|
|
|
|
|
CFLAGS= $(INCLUDES) $(CFLAG)
|
|
|
|
|
|
|
|
GENERAL=Makefile
|
|
|
|
TEST=hmactest.c
|
|
|
|
APPS=
|
|
|
|
|
|
|
|
LIB=$(TOP)/libcrypto.a
|
|
|
|
LIBSRC=hmac.c
|
|
|
|
LIBOBJ=hmac.o
|
|
|
|
|
|
|
|
SRC= $(LIBSRC)
|
|
|
|
|
|
|
|
EXHEADER= hmac.h
|
|
|
|
HEADER= $(EXHEADER)
|
|
|
|
|
|
|
|
ALL= $(GENERAL) $(SRC) $(HEADER)
|
|
|
|
|
|
|
|
top:
|
|
|
|
(cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
|
|
|
|
|
|
|
|
all: lib
|
|
|
|
|
|
|
|
lib: $(LIBOBJ)
|
|
|
|
$(AR) $(LIB) $(LIBOBJ)
|
2001-03-09 14:01:42 +00:00
|
|
|
$(RANLIB) $(LIB) || echo Never mind.
|
1998-12-21 10:56:39 +00:00
|
|
|
@touch lib
|
|
|
|
|
|
|
|
files:
|
2004-05-11 12:46:24 +00:00
|
|
|
$(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
|
1998-12-21 10:56:39 +00:00
|
|
|
|
|
|
|
links:
|
1999-04-29 12:46:59 +00:00
|
|
|
@$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
|
|
|
|
@$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
|
|
|
|
@$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
|
1998-12-21 10:56:39 +00:00
|
|
|
|
|
|
|
install:
|
|
|
|
@for i in $(EXHEADER) ; \
|
|
|
|
do \
|
1999-04-29 21:52:08 +00:00
|
|
|
(cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
|
|
|
|
chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
|
1998-12-21 10:56:39 +00:00
|
|
|
done;
|
|
|
|
|
|
|
|
tags:
|
|
|
|
ctags $(SRC)
|
|
|
|
|
|
|
|
tests:
|
|
|
|
|
|
|
|
lint:
|
|
|
|
lint -DLINT $(INCLUDES) $(SRC)>fluff
|
|
|
|
|
|
|
|
depend:
|
2002-10-09 13:21:33 +00:00
|
|
|
$(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
|
1998-12-21 10:56:39 +00:00
|
|
|
|
|
|
|
dclean:
|
1999-04-01 12:34:33 +00:00
|
|
|
$(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
|
1998-12-21 10:56:39 +00:00
|
|
|
mv -f Makefile.new $(MAKEFILE)
|
|
|
|
|
|
|
|
clean:
|
1999-03-06 12:32:06 +00:00
|
|
|
rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
|
1998-12-21 10:56:39 +00:00
|
|
|
|
|
|
|
# DO NOT DELETE THIS LINE -- make depend depends on it.
|
1999-03-06 14:32:48 +00:00
|
|
|
|
2002-11-12 13:23:40 +00:00
|
|
|
hmac.o: ../../e_os.h ../../include/openssl/aes.h ../../include/openssl/asn1.h
|
2002-07-30 07:18:03 +00:00
|
|
|
hmac.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h
|
2002-11-12 13:23:40 +00:00
|
|
|
hmac.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
|
|
|
|
hmac.o: ../../include/openssl/cast.h ../../include/openssl/crypto.h
|
|
|
|
hmac.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
|
|
|
|
hmac.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
|
|
|
|
hmac.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
2002-07-30 07:18:03 +00:00
|
|
|
hmac.o: ../../include/openssl/evp.h ../../include/openssl/hmac.h
|
2002-11-12 13:23:40 +00:00
|
|
|
hmac.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
|
|
|
|
hmac.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
|
|
|
|
hmac.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
|
|
|
|
hmac.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
|
|
|
|
hmac.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
|
|
|
|
hmac.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rc2.h
|
|
|
|
hmac.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
|
|
|
|
hmac.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
|
|
|
|
hmac.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
|
|
|
|
hmac.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
|
|
|
hmac.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
|
|
|
|
hmac.o: ../cryptlib.h hmac.c
|