1998-12-21 10:52:47 +00:00
|
|
|
#
|
|
|
|
# SSLeay/crypto/rsa/Makefile
|
|
|
|
#
|
|
|
|
|
|
|
|
DIR= rsa
|
|
|
|
TOP= ../..
|
|
|
|
CC= cc
|
|
|
|
INCLUDES= -I.. -I../../include
|
|
|
|
CFLAG=-g
|
|
|
|
INSTALLTOP=/usr/local/ssl
|
|
|
|
MAKE= make -f Makefile.ssl
|
1999-01-19 21:36:31 +00:00
|
|
|
MAKEDEPEND= $(TOP)/util/domd $(TOP)
|
1998-12-21 10:52:47 +00:00
|
|
|
MAKEFILE= Makefile.ssl
|
|
|
|
AR= ar r
|
|
|
|
|
|
|
|
CFLAGS= $(INCLUDES) $(CFLAG)
|
|
|
|
|
|
|
|
ERR=rsa
|
|
|
|
ERRC=rsa_err
|
|
|
|
GENERAL=Makefile
|
1999-02-17 21:11:08 +00:00
|
|
|
TEST=rsa_oaep_test.c
|
1998-12-21 10:52:47 +00:00
|
|
|
APPS=
|
|
|
|
|
|
|
|
LIB=$(TOP)/libcrypto.a
|
1998-12-21 10:56:39 +00:00
|
|
|
LIBSRC= rsa_eay.c rsa_gen.c rsa_lib.c rsa_sign.c rsa_saos.c $(ERRC).c \
|
1999-02-17 21:11:08 +00:00
|
|
|
rsa_pk1.c rsa_ssl.c rsa_none.c rsa_oaep.c
|
1998-12-21 10:56:39 +00:00
|
|
|
LIBOBJ= rsa_eay.o rsa_gen.o rsa_lib.o rsa_sign.o rsa_saos.o $(ERRC).o \
|
1999-02-17 21:11:08 +00:00
|
|
|
rsa_pk1.o rsa_ssl.o rsa_none.o rsa_oaep.o
|
1998-12-21 10:52:47 +00:00
|
|
|
|
|
|
|
SRC= $(LIBSRC)
|
|
|
|
|
|
|
|
EXHEADER= rsa.h
|
|
|
|
HEADER= $(EXHEADER)
|
|
|
|
|
|
|
|
ALL= $(GENERAL) $(SRC) $(HEADER)
|
|
|
|
|
|
|
|
top:
|
|
|
|
(cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
|
|
|
|
|
|
|
|
all: lib
|
|
|
|
|
|
|
|
lib: $(LIBOBJ)
|
|
|
|
$(AR) $(LIB) $(LIBOBJ)
|
1999-04-01 12:34:33 +00:00
|
|
|
$(RANLIB) $(LIB)
|
1998-12-21 10:52:47 +00:00
|
|
|
@touch lib
|
|
|
|
|
|
|
|
files:
|
1999-04-01 12:34:33 +00:00
|
|
|
$(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
|
1998-12-21 10:52:47 +00:00
|
|
|
|
|
|
|
links:
|
1999-03-06 12:32:06 +00:00
|
|
|
@$(TOP)/util/point.sh Makefile.ssl Makefile
|
1999-04-23 22:13:45 +00:00
|
|
|
@$(TOP)/util/mklink.sh ../../include/openssl $(EXHEADER)
|
1999-03-06 12:32:06 +00:00
|
|
|
@$(TOP)/util/mklink.sh ../../test $(TEST)
|
|
|
|
@$(TOP)/util/mklink.sh ../../apps $(APPS)
|
1998-12-21 10:52:47 +00:00
|
|
|
|
|
|
|
install:
|
|
|
|
@for i in $(EXHEADER) ; \
|
|
|
|
do \
|
1999-04-23 22:13:45 +00:00
|
|
|
(cp $$i $(INSTALLTOP)/include/openssl/$$i; \
|
|
|
|
chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \
|
1998-12-21 10:52:47 +00:00
|
|
|
done;
|
|
|
|
|
|
|
|
tags:
|
|
|
|
ctags $(SRC)
|
|
|
|
|
|
|
|
tests:
|
|
|
|
|
|
|
|
lint:
|
|
|
|
lint -DLINT $(INCLUDES) $(SRC)>fluff
|
|
|
|
|
|
|
|
depend:
|
|
|
|
$(MAKEDEPEND) $(INCLUDES) $(PROGS) $(LIBSRC)
|
|
|
|
|
|
|
|
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:52:47 +00:00
|
|
|
mv -f Makefile.new $(MAKEFILE)
|
|
|
|
|
|
|
|
clean:
|
1999-03-06 12:32:06 +00:00
|
|
|
rm -f *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
|
1998-12-21 10:52:47 +00:00
|
|
|
|
1999-01-18 22:18:38 +00:00
|
|
|
errors: $(ERRC).c
|
|
|
|
|
1999-02-18 18:26:42 +00:00
|
|
|
$(ERRC).c: $(ERR).err $(ERR).h
|
1999-04-01 12:34:33 +00:00
|
|
|
$(PERL) $(TOP)/util/err-ins.pl $(ERR).err $(ERR).h
|
|
|
|
$(PERL) ../err/err_genc.pl -s $(ERR).h $(ERRC).c
|
1998-12-21 10:52:47 +00:00
|
|
|
|
|
|
|
# DO NOT DELETE THIS LINE -- make depend depends on it.
|
1999-03-06 14:32:48 +00:00
|
|
|
|
|
|
|
rsa_eay.o: ../../include/bio.h ../../include/bn.h ../../include/buffer.h
|
|
|
|
rsa_eay.o: ../../include/e_os.h ../../include/err.h ../../include/rand.h
|
1999-04-23 15:01:15 +00:00
|
|
|
rsa_eay.o: ../../include/stack.h ../cryptlib.h ../crypto.h ../opensslconf.h
|
|
|
|
rsa_eay.o: ../opensslv.h rsa.h
|
1999-03-06 14:32:48 +00:00
|
|
|
rsa_err.o: ../../include/bn.h ../../include/err.h ../../include/stack.h
|
1999-04-23 15:01:15 +00:00
|
|
|
rsa_err.o: ../crypto.h ../opensslconf.h ../opensslv.h rsa.h
|
1999-03-06 14:32:48 +00:00
|
|
|
rsa_gen.o: ../../include/bio.h ../../include/bn.h ../../include/buffer.h
|
|
|
|
rsa_gen.o: ../../include/e_os.h ../../include/err.h ../../include/stack.h
|
1999-04-23 15:01:15 +00:00
|
|
|
rsa_gen.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h rsa.h
|
1999-03-06 14:32:48 +00:00
|
|
|
rsa_lib.o: ../../include/bio.h ../../include/bn.h ../../include/buffer.h
|
|
|
|
rsa_lib.o: ../../include/e_os.h ../../include/err.h ../../include/lhash.h
|
1999-04-23 15:01:15 +00:00
|
|
|
rsa_lib.o: ../../include/stack.h ../cryptlib.h ../crypto.h ../opensslconf.h
|
|
|
|
rsa_lib.o: ../opensslv.h rsa.h
|
1999-03-06 14:32:48 +00:00
|
|
|
rsa_none.o: ../../include/bio.h ../../include/bn.h ../../include/buffer.h
|
|
|
|
rsa_none.o: ../../include/e_os.h ../../include/err.h ../../include/rand.h
|
1999-04-23 15:01:15 +00:00
|
|
|
rsa_none.o: ../../include/stack.h ../cryptlib.h ../crypto.h ../opensslconf.h
|
|
|
|
rsa_none.o: ../opensslv.h rsa.h
|
1999-03-06 14:32:48 +00:00
|
|
|
rsa_oaep.o: ../../include/bio.h ../../include/bn.h ../../include/buffer.h
|
|
|
|
rsa_oaep.o: ../../include/e_os.h ../../include/err.h ../../include/rand.h
|
|
|
|
rsa_oaep.o: ../../include/sha.h ../../include/stack.h ../cryptlib.h ../crypto.h
|
1999-04-23 15:01:15 +00:00
|
|
|
rsa_oaep.o: ../opensslconf.h ../opensslv.h rsa.h
|
1999-03-06 14:32:48 +00:00
|
|
|
rsa_pk1.o: ../../include/bio.h ../../include/bn.h ../../include/buffer.h
|
|
|
|
rsa_pk1.o: ../../include/e_os.h ../../include/err.h ../../include/rand.h
|
1999-04-23 15:01:15 +00:00
|
|
|
rsa_pk1.o: ../../include/stack.h ../cryptlib.h ../crypto.h ../opensslconf.h
|
|
|
|
rsa_pk1.o: ../opensslv.h rsa.h
|
1999-03-06 14:32:48 +00:00
|
|
|
rsa_saos.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
|
|
|
|
rsa_saos.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
|
|
|
|
rsa_saos.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
|
|
|
|
rsa_saos.o: ../../include/e_os.h ../../include/err.h ../../include/evp.h
|
|
|
|
rsa_saos.o: ../../include/idea.h ../../include/md2.h ../../include/md5.h
|
|
|
|
rsa_saos.o: ../../include/mdc2.h ../../include/objects.h ../../include/pkcs7.h
|
|
|
|
rsa_saos.o: ../../include/rc2.h ../../include/rc4.h ../../include/rc5.h
|
1999-04-12 17:23:57 +00:00
|
|
|
rsa_saos.o: ../../include/ripemd.h ../../include/safestack.h
|
|
|
|
rsa_saos.o: ../../include/sha.h ../../include/stack.h ../../include/x509.h
|
1999-04-23 15:01:15 +00:00
|
|
|
rsa_saos.o: ../../include/x509_vfy.h ../cryptlib.h ../crypto.h ../opensslconf.h
|
|
|
|
rsa_saos.o: ../opensslv.h rsa.h
|
1999-03-06 14:32:48 +00:00
|
|
|
rsa_sign.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
|
|
|
|
rsa_sign.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
|
|
|
|
rsa_sign.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
|
|
|
|
rsa_sign.o: ../../include/e_os.h ../../include/err.h ../../include/evp.h
|
|
|
|
rsa_sign.o: ../../include/idea.h ../../include/md2.h ../../include/md5.h
|
|
|
|
rsa_sign.o: ../../include/mdc2.h ../../include/objects.h ../../include/pkcs7.h
|
|
|
|
rsa_sign.o: ../../include/rc2.h ../../include/rc4.h ../../include/rc5.h
|
1999-04-12 17:23:57 +00:00
|
|
|
rsa_sign.o: ../../include/ripemd.h ../../include/safestack.h
|
|
|
|
rsa_sign.o: ../../include/sha.h ../../include/stack.h ../../include/x509.h
|
1999-04-23 15:01:15 +00:00
|
|
|
rsa_sign.o: ../../include/x509_vfy.h ../cryptlib.h ../crypto.h ../opensslconf.h
|
|
|
|
rsa_sign.o: ../opensslv.h rsa.h
|
1999-03-06 14:32:48 +00:00
|
|
|
rsa_ssl.o: ../../include/bio.h ../../include/bn.h ../../include/buffer.h
|
|
|
|
rsa_ssl.o: ../../include/e_os.h ../../include/err.h ../../include/rand.h
|
1999-04-23 15:01:15 +00:00
|
|
|
rsa_ssl.o: ../../include/stack.h ../cryptlib.h ../crypto.h ../opensslconf.h
|
|
|
|
rsa_ssl.o: ../opensslv.h rsa.h
|