1# 2# SSLeay/crypto/md/Makefile 3# 4 5DIR= hmac 6TOP= ../.. 7CC= cc 8INCLUDES= 9CFLAG=-g 10INSTALL_PREFIX= 11OPENSSLDIR= /usr/local/ssl 12INSTALLTOP=/usr/local/ssl 13MAKEDEPPROG= makedepend 14MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) 15MAKEFILE= Makefile 16AR= ar r 17 18CFLAGS= $(INCLUDES) $(CFLAG) 19 20GENERAL=Makefile 21TEST=hmactest.c 22APPS= 23 24LIB=$(TOP)/libcrypto.a 25LIBSRC=hmac.c 26LIBOBJ=hmac.o 27 28SRC= $(LIBSRC) 29 30EXHEADER= hmac.h 31HEADER= $(EXHEADER) 32 33ALL= $(GENERAL) $(SRC) $(HEADER) 34 35top: 36 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) 37 38all: lib 39 40lib: $(LIBOBJ) 41 $(AR) $(LIB) $(LIBOBJ) 42 $(RANLIB) $(LIB) || echo Never mind. 43 @touch lib 44 45files: 46 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO 47 48links: 49 @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) 50 @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) 51 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) 52 53install: 54 @headerlist="$(EXHEADER)"; for i in $$headerlist ; \ 55 do \ 56 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ 57 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ 58 done; 59 60tags: 61 ctags $(SRC) 62 63tests: 64 65lint: 66 lint -DLINT $(INCLUDES) $(SRC)>fluff 67 68depend: 69 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) 70 71dclean: 72 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new 73 mv -f Makefile.new $(MAKEFILE) 74 75clean: 76 rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff 77 78# DO NOT DELETE THIS LINE -- make depend depends on it. 79 80hmac.o: ../../e_os.h ../../include/openssl/aes.h ../../include/openssl/asn1.h 81hmac.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h 82hmac.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h 83hmac.o: ../../include/openssl/cast.h ../../include/openssl/crypto.h 84hmac.o: ../../include/openssl/des.h ../../include/openssl/des_old.h 85hmac.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h 86hmac.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h 87hmac.o: ../../include/openssl/evp.h ../../include/openssl/hmac.h 88hmac.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h 89hmac.o: ../../include/openssl/md2.h ../../include/openssl/md4.h 90hmac.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h 91hmac.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h 92hmac.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h 93hmac.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rc2.h 94hmac.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h 95hmac.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h 96hmac.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h 97hmac.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h 98hmac.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h 99hmac.o: ../cryptlib.h hmac.c 100