Hello,

I want to add some new functionality to the crypto library in openssl and I
need some help with the integration of the new code in the build system of
openssl.
I intend to add some source code, in the "crypto" directory, as a new
subdirectory, say "extra". There will be the following files:
    crypto/extra/extra.c
    crypto/extra/extra.h.
extra.c will use functions defined by an external library called
"libexternal.a" and declared in "external.h".

I have already created a test crypto/extra/Makefile, by adapting
"crypto/md2/Makefile", but I can't get to build "extra" with the "make"
command in the root directory of openssl.

Can you please help me with the following issues?
1. What should the "crypto/extra/Makefile" file contain? How can I provide
the dependencies and libraries for "extra"?
2. What modifications should I make to the upper-level Makefiles in openssl
so that make would recursively build "extra"?

I am more of a novice with "make", so any advice would be extremely
valuable.

Thanks!

-- 
Silviu

Reply via email to