Rm polarssl compat targets from Makefiles

This commit is contained in:
Manuel Pégourié-Gonnard
2015-03-09 16:57:18 +00:00
parent 8fe411e9c1
commit 129db08c90
6 changed files with 6 additions and 82 deletions

View File

@@ -80,17 +80,9 @@ else
all: shared static
endif
static: libpolarssl.a
static: libmbedtls.a
shared: libpolarssl.$(DLEXT)
libpolarssl.a: libmbedtls.a
echo " LN $@ -> $?"
ifndef WINDOWS
ln -sf $? $@
else
copy /y /b $? $@
endif
shared: libmbedtls.$(DLEXT)
libmbedtls.a: $(OBJS)
echo " AR $@"
@@ -98,21 +90,6 @@ libmbedtls.a: $(OBJS)
echo " RL $@"
$(AR) s $@
libpolarssl.$(DLEXT): libmbedtls.$(DLEXT)
echo " LN $@ -> $?"
ifndef WINDOWS
ln -sf $? $@
else
copy /y /b $? $@
endif
ifdef WINDOWS_BUILD
ifndef WINDOWS
ln -sf $?.a $@.a
else
copy /y /b $?.a $@.a
endif
endif
libmbedtls.$(SOEXT): $(OBJS)
echo " LD $@"
$(CC) ${LDFLAGS} -shared -Wl,-soname,$@ -o $@ $(OBJS)
@@ -135,8 +112,8 @@ libmbedtls.dll: $(OBJS)
clean:
ifndef WINDOWS
rm -f *.o libpolarssl.* libmbedtls.*
rm -f *.o libmbedtls.*
endif
ifdef WINDOWS
del /Q /F *.o libpolarssl.* libmbedtls.*
del /Q /F *.o libmbedtls.*
endif