Make the perl module compile and eliminate some of the warnings.
[openssl.git] / Makefile.org
index ece6aee77291a480b598443cf33e308bd080f95c..ec50e75c3a7385acf17229a90c3f6401160df0b1 100644 (file)
@@ -180,6 +180,7 @@ all: Makefile.ssl
        (cd $$i && echo "making all in $$i..." && \
        $(MAKE) CC='${CC}' PLATFORM='${PLATFORM}' CFLAG='${CFLAG}' INSTALLTOP='${INSTALLTOP}' PEX_LIBS='${PEX_LIBS}' EX_LIBS='${EX_LIBS}' BN_ASM='${BN_ASM}' DES_ENC='${DES_ENC}' BF_ENC='${BF_ENC}' CAST_ENC='${CAST_ENC}' RC4_ENC='${RC4_ENC}' RC5_ENC='${RC5_ENC}' SHA1_ASM_OBJ='${SHA1_ASM_OBJ}' MD5_ASM_OBJ='${MD5_ASM_OBJ}' RMD160_ASM_OBJ='${RMD160_ASM_OBJ}' SDIRS='${SDIRS}' AR='${AR}' PROCESSOR='${PROCESSOR}' PERL='${PERL}' RANLIB='${RANLIB}' all ) || exit 1; \
        done;
+       cd perl; $(PERL) Makefile.PL; make
 
 sub_all:
        @for i in $(DIRS) ;\
@@ -207,8 +208,7 @@ linux-shared:
 
 Makefile.ssl: Makefile.org
        @echo "Makefile.ssl is older than Makefile.org."
-       @echo "Reconfigure the source tree (via 'perl Configure' or 'sh config')"
-       @echo "and update the error lists (via 'make errors'), please."
+       @echo "Reconfigure the source tree (via './config' or 'perl Configure'), please."
        @false
 
 libclean:
@@ -271,7 +271,7 @@ tests: rehash
 depend:
        @for i in $(DIRS) ;\
        do \
-       (cd $$i && echo "making dependancies $$i..." && \
+       (cd $$i && echo "making dependencies $$i..." && \
        $(MAKE) SDIRS='${SDIRS}' DEPFLAG='${DEPFLAG}' depend ) || exit 1; \
        done;
 
@@ -292,9 +292,21 @@ tags:
 errors:
        perl util/mkerr.pl -recurse -write
 
+util/libeay.num::
+       perl util/mkdef.pl crypto update
+
+util/ssleay.num::
+       perl util/mkdef.pl ssl update
+
+TABLE: Configure
+       (echo 'Output of `Configure TABLE'"':"; \
+       perl Configure TABLE) > TABLE
+
+update: depend errors util/libeay.num util/ssleay.num TABLE
+
 tar:
        @tar --norecurse -cvf - \
-               `find * \! -path CVS/\* \! -path \*/CVS/\* \! -name CVS \! -name .cvsignore \! -name STATUS | sort` |\
+               `find * \! -path CVS/\* \! -path \*/CVS/\* \! -name CVS \! -name .cvsignore \! -name STATUS \! -name TABLE | sort` |\
        tardy --user_number=0  --user_name=openssl \
              --group_number=0 --group_name=openssl \
              --prefix=openssl-$(VERSION) - |\