Home | History | Annotate | Download | only in dsa
      1 #
      2 # OpenSSL/crypto/dsa/Makefile
      3 #
      4 
      5 DIR=	dsa
      6 TOP=	../..
      7 CC=	cc
      8 INCLUDES= -I.. -I$(TOP) -I../../include
      9 CFLAG=-g
     10 MAKEFILE=	Makefile
     11 AR=		ar r
     12 
     13 CFLAGS= $(INCLUDES) $(CFLAG)
     14 
     15 GENERAL=Makefile
     16 TEST=dsatest.c
     17 APPS=
     18 
     19 LIB=$(TOP)/libcrypto.a
     20 LIBSRC= dsa_gen.c dsa_key.c dsa_lib.c dsa_asn1.c dsa_vrf.c dsa_sign.c \
     21 	dsa_err.c dsa_ossl.c dsa_depr.c dsa_utl.c
     22 LIBOBJ= dsa_gen.o dsa_key.o dsa_lib.o dsa_asn1.o dsa_vrf.o dsa_sign.o \
     23 	dsa_err.o dsa_ossl.o dsa_depr.o dsa_utl.o
     24 
     25 SRC= $(LIBSRC)
     26 
     27 EXHEADER= dsa.h
     28 HEADER=	$(EXHEADER)
     29 
     30 ALL=    $(GENERAL) $(SRC) $(HEADER)
     31 
     32 top:
     33 	(cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
     34 
     35 all:	lib
     36 
     37 lib:	$(LIBOBJ)
     38 	$(ARX) $(LIB) $(LIBOBJ)
     39 	$(RANLIB) $(LIB) || echo Never mind.
     40 	@touch lib
     41 
     42 files:
     43 	$(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
     44 
     45 links:
     46 	@$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
     47 	@$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
     48 	@$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
     49 
     50 install:
     51 	@[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
     52 	@headerlist="$(EXHEADER)"; for i in $$headerlist ; \
     53 	do  \
     54 	(cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
     55 	chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
     56 	done;
     57 
     58 tags:
     59 	ctags $(SRC)
     60 
     61 tests:
     62 
     63 lint:
     64 	lint -DLINT $(INCLUDES) $(SRC)>fluff
     65 
     66 depend:
     67 	@[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
     68 	$(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
     69 
     70 dclean:
     71 	$(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
     72 	mv -f Makefile.new $(MAKEFILE)
     73 
     74 clean:
     75 	rm -f *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
     76 
     77 # DO NOT DELETE THIS LINE -- make depend depends on it.
     78 
     79 dsa_asn1.o: ../../e_os.h ../../include/openssl/asn1.h
     80 dsa_asn1.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h
     81 dsa_asn1.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
     82 dsa_asn1.o: ../../include/openssl/crypto.h ../../include/openssl/dsa.h
     83 dsa_asn1.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
     84 dsa_asn1.o: ../../include/openssl/fips.h ../../include/openssl/lhash.h
     85 dsa_asn1.o: ../../include/openssl/opensslconf.h
     86 dsa_asn1.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
     87 dsa_asn1.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
     88 dsa_asn1.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
     89 dsa_asn1.o: ../cryptlib.h dsa_asn1.c
     90 dsa_depr.o: ../../e_os.h ../../include/openssl/asn1.h
     91 dsa_depr.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
     92 dsa_depr.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
     93 dsa_depr.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
     94 dsa_depr.o: ../../include/openssl/err.h ../../include/openssl/evp.h
     95 dsa_depr.o: ../../include/openssl/fips.h ../../include/openssl/lhash.h
     96 dsa_depr.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
     97 dsa_depr.o: ../../include/openssl/opensslconf.h
     98 dsa_depr.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
     99 dsa_depr.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
    100 dsa_depr.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
    101 dsa_depr.o: ../../include/openssl/symhacks.h ../cryptlib.h dsa_depr.c
    102 dsa_err.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
    103 dsa_err.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
    104 dsa_err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
    105 dsa_err.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
    106 dsa_err.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
    107 dsa_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
    108 dsa_err.o: dsa_err.c
    109 dsa_gen.o: ../../e_os.h ../../include/openssl/asn1.h
    110 dsa_gen.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
    111 dsa_gen.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
    112 dsa_gen.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
    113 dsa_gen.o: ../../include/openssl/err.h ../../include/openssl/evp.h
    114 dsa_gen.o: ../../include/openssl/fips.h ../../include/openssl/lhash.h
    115 dsa_gen.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
    116 dsa_gen.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
    117 dsa_gen.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h
    118 dsa_gen.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
    119 dsa_gen.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
    120 dsa_gen.o: ../cryptlib.h dsa_gen.c
    121 dsa_key.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h
    122 dsa_key.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
    123 dsa_key.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
    124 dsa_key.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
    125 dsa_key.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
    126 dsa_key.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h
    127 dsa_key.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
    128 dsa_key.o: ../../include/openssl/symhacks.h ../cryptlib.h dsa_key.c
    129 dsa_lib.o: ../../e_os.h ../../include/openssl/asn1.h
    130 dsa_lib.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
    131 dsa_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
    132 dsa_lib.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
    133 dsa_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
    134 dsa_lib.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
    135 dsa_lib.o: ../../include/openssl/engine.h ../../include/openssl/err.h
    136 dsa_lib.o: ../../include/openssl/evp.h ../../include/openssl/fips.h
    137 dsa_lib.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
    138 dsa_lib.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
    139 dsa_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
    140 dsa_lib.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
    141 dsa_lib.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
    142 dsa_lib.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
    143 dsa_lib.o: ../../include/openssl/x509_vfy.h ../cryptlib.h dsa_lib.c
    144 dsa_ossl.o: ../../e_os.h ../../include/openssl/asn1.h
    145 dsa_ossl.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
    146 dsa_ossl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
    147 dsa_ossl.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
    148 dsa_ossl.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
    149 dsa_ossl.o: ../../include/openssl/opensslconf.h
    150 dsa_ossl.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
    151 dsa_ossl.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
    152 dsa_ossl.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
    153 dsa_ossl.o: ../cryptlib.h dsa_ossl.c
    154 dsa_sign.o: ../../e_os.h ../../include/openssl/asn1.h
    155 dsa_sign.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
    156 dsa_sign.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
    157 dsa_sign.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
    158 dsa_sign.o: ../../include/openssl/err.h ../../include/openssl/fips.h
    159 dsa_sign.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
    160 dsa_sign.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
    161 dsa_sign.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
    162 dsa_sign.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
    163 dsa_sign.o: ../cryptlib.h dsa_sign.c
    164 dsa_utl.o: ../../e_os.h ../../include/openssl/asn1.h
    165 dsa_utl.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
    166 dsa_utl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
    167 dsa_utl.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
    168 dsa_utl.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
    169 dsa_utl.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
    170 dsa_utl.o: ../../include/openssl/engine.h ../../include/openssl/err.h
    171 dsa_utl.o: ../../include/openssl/evp.h ../../include/openssl/fips.h
    172 dsa_utl.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
    173 dsa_utl.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
    174 dsa_utl.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
    175 dsa_utl.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
    176 dsa_utl.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
    177 dsa_utl.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
    178 dsa_utl.o: ../../include/openssl/x509_vfy.h ../cryptlib.h dsa_utl.c
    179 dsa_vrf.o: ../../e_os.h ../../include/openssl/asn1.h
    180 dsa_vrf.o: ../../include/openssl/asn1_mac.h ../../include/openssl/bio.h
    181 dsa_vrf.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
    182 dsa_vrf.o: ../../include/openssl/crypto.h ../../include/openssl/dsa.h
    183 dsa_vrf.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
    184 dsa_vrf.o: ../../include/openssl/fips.h ../../include/openssl/lhash.h
    185 dsa_vrf.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
    186 dsa_vrf.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h
    187 dsa_vrf.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
    188 dsa_vrf.o: ../../include/openssl/symhacks.h ../cryptlib.h dsa_vrf.c
    189