hi there... i got this email from openssl site ... i just wondering wether you could help me in writing Makefile in order to use the openssl.
I have a very big modules to compile and i'm not sure how to write the makefile. The files not just in 1 directory. There are a few directories involve.
 
This is what i have so far.. but it doesnt make object file from it...
 
note: the source files is in directory /home/anis/modules/ICCI
------------------------------------------------------------------------------------
CFLAGS = -f -Wall -DVDADER_RULES -DSNACC_DEEP_COPY -DSNACCDLL_API=" "
 
DIR = ICCI
TOP = ..
CC = g++
GET = co
INCLUDES = -I/home/anis/modules/ICCI/include   \
        -I/usr/local/ssl/include/openssl       \
        -I/usr/local/ssl/include               \
        -I/home/anis/modules/iutility/include  \
        -I/home/anis/modules/Project/include
 
# OPENSSLDIR = /usr/local/ssl
 
SHLIB = -L/home/anis/modules/lib
 
LIB = -lasn1c++ -liUtility /usr/local/ssl/lib/libcrypto.a /usr/local/ssl/lib/libssl.a
 
OBJECTS = CipherSpi.o ICCICipher.o ICCIKeyGenerator.o ICCIMessageDigest.o  \
        ICCISecureRandom.o ICCISignature.o Key.o Padding.o RawDigest.o     \
        RawKey.o Token.o keypara.o
 
.SUFFIXES: .cpp .o
 
%.cpp %.o:
        ${CC} ${CFLAGS} -DSTATS -DBSD ${INCLUDES} -c ${SHLIB} ${LIB} $<
 
libICCI.so: ${OBJECTS}
        ${CC} ${CFLAGS} -shared -o $@ ${INCLUDES} libICCI.so ${SHLIB} ${LIB} ${OBJECTS}
 
-----------------------------------------------------------------------------
 
i thank you very much for your help...
 
sincerely
-me-
 

Reply via email to