1998-12-21 18:56:39 +08:00
|
|
|
#
|
|
|
|
# SSLeay/crypto/md/Makefile
|
|
|
|
#
|
|
|
|
|
|
|
|
DIR= hmac
|
|
|
|
TOP= ../..
|
|
|
|
CC= cc
|
|
|
|
INCLUDES=
|
|
|
|
CFLAG=-g
|
1999-04-30 05:52:08 +08:00
|
|
|
INSTALL_PREFIX=
|
|
|
|
OPENSSLDIR= /usr/local/ssl
|
1998-12-21 18:56:39 +08:00
|
|
|
INSTALLTOP=/usr/local/ssl
|
|
|
|
MAKE= make -f Makefile.ssl
|
2001-02-20 00:06:34 +08:00
|
|
|
MAKEDEPPROG= makedepend
|
|
|
|
MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
|
1998-12-21 18:56:39 +08:00
|
|
|
MAKEFILE= Makefile.ssl
|
|
|
|
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 22:01:42 +08:00
|
|
|
$(RANLIB) $(LIB) || echo Never mind.
|
1998-12-21 18:56:39 +08:00
|
|
|
@touch lib
|
|
|
|
|
|
|
|
files:
|
1999-04-01 20:34:33 +08:00
|
|
|
$(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
|
1998-12-21 18:56:39 +08:00
|
|
|
|
|
|
|
links:
|
1999-03-06 20:32:06 +08:00
|
|
|
@$(TOP)/util/point.sh Makefile.ssl Makefile
|
1999-04-29 20:46:59 +08: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 18:56:39 +08:00
|
|
|
|
|
|
|
install:
|
|
|
|
@for i in $(EXHEADER) ; \
|
|
|
|
do \
|
1999-04-30 05:52:08 +08:00
|
|
|
(cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
|
|
|
|
chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
|
1998-12-21 18:56:39 +08:00
|
|
|
done;
|
|
|
|
|
|
|
|
tags:
|
|
|
|
ctags $(SRC)
|
|
|
|
|
|
|
|
tests:
|
|
|
|
|
|
|
|
lint:
|
|
|
|
lint -DLINT $(INCLUDES) $(SRC)>fluff
|
|
|
|
|
|
|
|
depend:
|
2002-10-09 21:25:12 +08:00
|
|
|
$(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
|
1998-12-21 18:56:39 +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:56:39 +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:56:39 +08:00
|
|
|
|
|
|
|
# DO NOT DELETE THIS LINE -- make depend depends on it.
|
1999-03-06 22:32:48 +08:00
|
|
|
|
2002-07-15 00:54:31 +08:00
|
|
|
hmac.o: ../../include/openssl/aes.h ../../include/openssl/asn1.h
|
|
|
|
hmac.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h
|
|
|
|
hmac.o: ../../include/openssl/bn.h ../../include/openssl/cast.h
|
|
|
|
hmac.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
|
|
|
|
hmac.o: ../../include/openssl/des_old.h ../../include/openssl/dh.h
|
|
|
|
hmac.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
|
|
|
|
hmac.o: ../../include/openssl/evp.h ../../include/openssl/hmac.h
|
|
|
|
hmac.o: ../../include/openssl/idea.h ../../include/openssl/md2.h
|
|
|
|
hmac.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
|
|
|
|
hmac.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
|
2001-02-22 22:45:02 +08:00
|
|
|
hmac.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
|
2001-10-04 15:49:09 +08:00
|
|
|
hmac.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
|
2002-07-15 00:54:31 +08:00
|
|
|
hmac.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
|
|
|
|
hmac.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
|
|
|
|
hmac.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
|
|
|
|
hmac.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
|
|
|
|
hmac.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
|
|
|
|
hmac.o: ../../include/openssl/ui_compat.h hmac.c
|