summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorlevitte <levitte>2002-11-13 14:31:01 +0000
committerlevitte <levitte>2002-11-13 14:31:01 +0000
commite0b4ff1b79e99e35743f8154d811c1a13181d08e (patch)
tree3b9460e3e9cdc61a6bc50cdd9205b002d0a102aa /demos
parent03e43ab98d16a51b6a1c340f779fbf5ed40d7ea3 (diff)
downloadopenssl-e0b4ff1b79e99e35743f8154d811c1a13181d08e.tar.gz
Changes from HEAD.
Diffstat (limited to 'demos')
-rw-r--r--demos/engines/rsaref/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/demos/engines/rsaref/Makefile b/demos/engines/rsaref/Makefile
index 003e35df2..63b8c79d2 100644
--- a/demos/engines/rsaref/Makefile
+++ b/demos/engines/rsaref/Makefile
@@ -34,13 +34,17 @@ update: FORCE.update
perl ../../../util/mkerr.pl -conf rsaref.ec \
-nostatic -staticloader -write rsaref.c
+darwin: install $(SHLIB).darwin
+cygwin: install $(SHLIB).cygwin
gnu: install $(SHLIB).gnu
+alpha-osf1: install $(SHLIB).alpha-osf1
tru64: install $(SHLIB).tru64
solaris: install $(SHLIB).solaris
irix: install $(SHLIB).irix
hpux32: install $(SHLIB).hpux32
hpux64: install $(SHLIB).hpux64
aix: install $(SHLIB).aix
+reliantunix: install $(SHLIB).reliantunix
$(LIB): $(OBJ)
$(AR) $(LIB) $(OBJ)
@@ -51,6 +55,18 @@ LINK_SO= \
(nm -Pg $(LIBNAME).o | grep ' [BDT] ' | cut -f1 -d' ' > $(LIBNAME).exp; \
$$SHAREDCMD $$SHAREDFLAGS -o $(SHLIB) $(LIBNAME).o -L ../../.. -lcrypto -lc)
+$(SHLIB).darwin: $(LIB) install/librsaref.a
+ ALLSYMSFLAGS='-all_load' \
+ SHAREDFLAGS='-dynamiclib -install_name $(SHLIB)' \
+ SHAREDCMD='$(CC)'; \
+ $(LINK_SO)
+ touch $(SHLIB).darwin
+$(SHLIB).cygwin: $(LIB) install/librsaref.a
+ ALLSYMSFLAGS='--whole-archive' \
+ SHAREDFLAGS='-shared -Wl,-Bsymbolic -Wl,--out-implib,$(LIBNAME).dll.a' \
+ SHAREDCMD='$(CC)'; \
+ $(LINK_SO)
+ touch $(SHLIB).cygwin
$(SHLIB).gnu: $(LIB) install/librsaref.a
ALLSYMSFLAGS='--whole-archive' \
SHAREDFLAGS='-shared -Wl,-soname=$(SHLIB)' \