Tut! Here is the ssl/sslregress/Makefile for it.
Darryl
#
#
#
#
# This is about the only thing you need to configure, the location
# to your OpenSSL build or installation.
ifeq (../../openssl.spec, $(wildcard ../../openssl.spec))
OPENSSL_BASEDIR = ../..
else
OPENSSL_BASEDIR = /tmp/openssl-0.9.8b-me
#OPENSSL_BASEDIR = /usr/local/ssl
endif
CP = cp
INCDIRS =
CFLAGS = -Wall $(INCDIRS)
#CFLAGS += -g3
INCDIRS += -I$(OPENSSL_BASEDIR)/include
LIBS = -L$(OPENSSL_BASEDIR) -lssl -lcrypto -ldl
OBJS = main.o debug.o bio_test.o ssl.o insn.o parse.o \
test_builtin.o \
test_basic.o \
test_bug_shutdown_1.o \
test_bug_shutdown_2.o \
test_bug_shutdown_3.o \
test_bug_shutdown_4.o \
test_random.o
TARGETS = sslregress
all: $(TARGETS)
sslregress: $(OBJS)
$(CC) -o $@ $^ $(LIBS)
clean:
$(RM) core *.o *~
$(RM) $(OBJS)
$(RM) $(TARGETS)
.c.o: $<
$(CC) -c $(CFLAGS) $<