1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-08 17:42:09 +03:00

- First replacement of xyssl by polarssl where needed

This commit is contained in:
Paul Bakker
2009-01-03 21:51:57 +00:00
parent 8e831edc24
commit 40e46940df
70 changed files with 833 additions and 1201 deletions

View File

@@ -1,5 +1,5 @@
# Also see "include/xyssl/config.h"
# Also see "include/polarssl/config.h"
CFLAGS = -I../include -D_FILE_OFFSET_BITS=64
OFLAGS = -O
@@ -30,21 +30,21 @@ OBJS= aes.o arc4.o base64.o \
all: static
static: libxyssl.a
static: libpolarssl.a
shared: libxyssl.$(DLEXT)
shared: libpolarssl.$(DLEXT)
libxyssl.a: $(OBJS)
libpolarssl.a: $(OBJS)
echo " AR $@"
ar r $@ $(OBJS)
echo " RL $@"
ranlib $@
libxyssl.so: libxyssl.a
libpolarssl.so: libpolarssl.a
echo " LD $@"
$(CC) -shared -Wl,-soname,$@ -o $@ $(OBJS)
libxyssl.dylib: libxyssl.a
libpolarssl.dylib: libpolarssl.a
echo " LD $@"
$(CC) -dynamiclib -o $@ $(OBJS)
@@ -53,5 +53,5 @@ libxyssl.dylib: libxyssl.a
$(CC) $(CFLAGS) $(OFLAGS) -c $<
clean:
rm -f *.o libxyssl.*
rm -f *.o libpolarssl.*