1998-12-21 10:56:39 +00:00
|
|
|
#
|
2006-02-04 01:45:59 +00:00
|
|
|
# OpenSSL/crypto/md/Makefile
|
1998-12-21 10:56:39 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
DIR= hmac
|
|
|
|
TOP= ../..
|
|
|
|
CC= cc
|
|
|
|
INCLUDES=
|
|
|
|
CFLAG=-g
|
2005-03-30 13:05:57 +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
|
2007-04-11 12:33:06 +00:00
|
|
|
LIBSRC=hmac.c hm_ameth.c hm_pmeth.c
|
|
|
|
LIBOBJ=hmac.o hm_ameth.o hm_pmeth.o
|
1998-12-21 10:56:39 +00:00
|
|
|
|
|
|
|
SRC= $(LIBSRC)
|
|
|
|
|
|
|
|
EXHEADER= hmac.h
|
|
|
|
HEADER= $(EXHEADER)
|
|
|
|
|
|
|
|
ALL= $(GENERAL) $(SRC) $(HEADER)
|
|
|
|
|
|
|
|
top:
|
|
|
|
(cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
|
|
|
|
|
|
|
|
all: lib
|
|
|
|
|
|
|
|
lib: $(LIBOBJ)
|
2014-10-18 22:47:03 +00:00
|
|
|
$(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:
|
2005-03-30 13:05:57 +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:
|
2005-05-15 22:23:26 +00:00
|
|
|
@[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
|
2004-11-02 23:55:01 +00:00
|
|
|
@headerlist="$(EXHEADER)"; for i in $$headerlist ; \
|
1998-12-21 10:56:39 +00:00
|
|
|
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:
|
2005-05-16 16:55:47 +00:00
|
|
|
@[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
|
2002-10-09 13:25:12 +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
|
|
|
|
2007-04-23 23:48:59 +00:00
|
|
|
hm_ameth.o: ../../e_os.h ../../include/openssl/asn1.h
|
|
|
|
hm_ameth.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
|
|
|
|
hm_ameth.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
|
|
|
|
hm_ameth.o: ../../include/openssl/err.h ../../include/openssl/evp.h
|
|
|
|
hm_ameth.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
|
|
|
|
hm_ameth.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
|
|
|
|
hm_ameth.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
|
|
|
|
hm_ameth.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
|
2015-03-24 12:05:05 +00:00
|
|
|
hm_ameth.o: ../../include/openssl/symhacks.h ../cryptlib.h
|
|
|
|
hm_ameth.o: ../include/internal/asn1_int.h hm_ameth.c
|
2007-04-23 23:48:59 +00:00
|
|
|
hm_pmeth.o: ../../e_os.h ../../include/openssl/asn1.h
|
|
|
|
hm_pmeth.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
|
|
|
|
hm_pmeth.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
|
|
|
|
hm_pmeth.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
|
|
|
|
hm_pmeth.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
|
|
|
|
hm_pmeth.o: ../../include/openssl/err.h ../../include/openssl/evp.h
|
|
|
|
hm_pmeth.o: ../../include/openssl/hmac.h ../../include/openssl/lhash.h
|
|
|
|
hm_pmeth.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
|
|
|
|
hm_pmeth.o: ../../include/openssl/opensslconf.h
|
|
|
|
hm_pmeth.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
|
|
|
|
hm_pmeth.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
|
|
|
|
hm_pmeth.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
|
|
|
|
hm_pmeth.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
|
|
|
|
hm_pmeth.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
|
2015-03-24 12:05:05 +00:00
|
|
|
hm_pmeth.o: ../cryptlib.h ../include/internal/evp_int.h hm_pmeth.c
|
2005-05-16 16:55:47 +00:00
|
|
|
hmac.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h
|
|
|
|
hmac.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
|
|
|
|
hmac.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
|
2011-09-05 09:46:15 +00:00
|
|
|
hmac.o: ../../include/openssl/evp.h ../../include/openssl/hmac.h
|
|
|
|
hmac.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
|
|
|
|
hmac.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
|
|
|
|
hmac.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
|
|
|
|
hmac.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
|
|
|
|
hmac.o: ../../include/openssl/symhacks.h ../cryptlib.h hmac.c
|