1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-30 16:24:09 +03:00

added a better installer

git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@22 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
This commit is contained in:
cameronrich
2006-07-16 10:48:14 +00:00
parent 5915029090
commit 8578256d9f
19 changed files with 238 additions and 197 deletions

View File

@ -30,19 +30,19 @@ all: ssltesting
endif
ifndef CONFIG_PLATFORM_WIN32
performance: ../../perf_bigint
ssltesting: ../../ssltest
LIBS=../../libaxtls.a
performance: ../../$(STAGE)/perf_bigint
ssltesting: ../../$(STAGE)/ssltest
LIBS=../../$(STAGE)
CFLAGS += -I../../ssl -I../../config
../../perf_bigint: perf_bigint.o $(LIBS)
$(CC) $(LDFLAGS) -o $@ $^
../../$(STAGE)/perf_bigint: perf_bigint.o
$(CC) $(LDFLAGS) -o $@ $^ -L $(LIBS) -laxtls
../../ssltest: ssltest.o $(LIBS)
$(CC) $(LDFLAGS) -o $@ -lpthread $^
../../$(STAGE)/ssltest: ssltest.o
$(CC) $(LDFLAGS) -o $@ $^ -lpthread -L $(LIBS) -laxtls
else
performance: ../../perf_bigint.exe
ssltesting: ../../ssltest.exe
performance: ../../$(STAGE)/perf_bigint.exe
ssltesting: ../../$(STAGE)/ssltest.exe
CFLAGS += /I".." /I"../../config"
%.obj : %.c
@ -52,14 +52,14 @@ OBJLIST=..\aes.obj ..\asn1.obj ..\bigint.obj ..\crypto_misc.obj ..\hmac.obj \
..\md5.obj ..\loader.obj ..\p12.obj ..\os_port.obj ..\rc4.obj \
..\rsa.obj ..\sha1.obj ..\tls1.obj ..\tls1_clnt.obj ..\tls1_svr.obj
../../perf_bigint.exe: perf_bigint.obj $(OBJLIST)
../../$(STAGE)/perf_bigint.exe: perf_bigint.obj $(OBJLIST)
$(LD) $(LDFLAGS) /out:$@ $^
../../ssltest.exe: ssltest.obj $(OBJLIST)
../../$(STAGE)/ssltest.exe: ssltest.obj $(OBJLIST)
$(LD) $(LDFLAGS) /out:$@ $^
endif
clean::
-@rm -f ../../perf_bigint* ../../ssltest*
-@rm -f ../../$(STAGE)/perf_bigint* ../../$(STAGE)/ssltest*
include ../../config/makefile.post