mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-12 01:53:07 +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:
@ -24,16 +24,15 @@ include ../../config/makefile.conf
|
||||
ifndef CONFIG_PLATFORM_WIN32
|
||||
|
||||
ifdef CONFIG_PLATFORM_CYGWIN
|
||||
TARGET=../../axssl.exe
|
||||
TARGET=../../$(STAGE)/axssl.exe
|
||||
else
|
||||
TARGET=../../axssl
|
||||
TARGET=../../$(STAGE)/axssl
|
||||
endif # cygwin
|
||||
|
||||
LIBS=../../libaxtls.a
|
||||
LIBS=../../$(STAGE)
|
||||
CFLAGS += -I../../ssl -I../../config
|
||||
else
|
||||
TARGET=../../axssl.exe
|
||||
LIBS=../../axtls.lib
|
||||
TARGET=../../$(STAGE)/axssl.exe
|
||||
CFLAGS += /I"..\..\ssl" /I"..\..\config"
|
||||
endif
|
||||
|
||||
@ -47,8 +46,8 @@ include ../../config/makefile.post
|
||||
|
||||
ifndef CONFIG_PLATFORM_WIN32
|
||||
|
||||
$(TARGET): $(OBJ) $(LIBS)
|
||||
$(LD) $(LDFLAGS) -o $@ $^
|
||||
$(TARGET): $(OBJ)
|
||||
$(LD) $(LDFLAGS) -o $@ $< -L$(LIBS) -laxtls
|
||||
ifndef CONFIG_DEBUG
|
||||
ifndef CONFIG_PLATFORM_SOLARIS
|
||||
strip --remove-section=.comment $(TARGET)
|
||||
@ -56,12 +55,12 @@ endif # SOLARIS
|
||||
endif # CONFIG_DEBUG
|
||||
else # Win32
|
||||
|
||||
$(TARGET): $(OBJ) $(LIBS)
|
||||
$(LD) $(LDFLAGS) ..\..\config\axtls.res /out:$@ $^
|
||||
$(TARGET): $(OBJ)
|
||||
$(LD) $(LDFLAGS) ..\\..\\config\\axtls.res /out:$@ $^ /libpath:"../../$(STAGE)" axtls.lib
|
||||
endif
|
||||
|
||||
endif # CONFIG_C_SAMPLES
|
||||
|
||||
clean::
|
||||
-@rm -f ../../axssl*
|
||||
-@rm -f ../../$(STAGE)/axssl*
|
||||
|
||||
|
@ -21,7 +21,7 @@ include ../../config/makefile.conf
|
||||
include ../../config/makefile.dotnet.conf
|
||||
|
||||
all : sample
|
||||
TARGET=../../axssl.csharp.exe
|
||||
TARGET=../../$(STAGE)/axssl.csharp.exe
|
||||
sample : $(TARGET)
|
||||
|
||||
$(TARGET): ../../bindings/csharp/axTLS.cs ../../bindings/csharp/axInterface.cs axssl.cs
|
||||
|
@ -21,14 +21,14 @@ include ../../config/makefile.conf
|
||||
include ../../config/makefile.java.conf
|
||||
|
||||
all : sample
|
||||
JAR=../../axtls.jar
|
||||
JAR=../../$(STAGE)/axtls.jar
|
||||
CLASSES=../../bindings/java/classes
|
||||
sample : $(JAR)
|
||||
|
||||
$(JAR) : $(CLASSES)/axssl.class $(wildcard $(CLASSES)/axTLSj/*.class)
|
||||
jar mcvf manifest.mf $@ -C $(CLASSES) .
|
||||
jar mcvf manifest.mf $@ -C $(CLASSES) axTLSj -C $(CLASSES) axssl.class
|
||||
|
||||
JAVA_FILES= axssl.java
|
||||
JAVA_FILES=axssl.java
|
||||
JAVA_CLASSES:=$(JAVA_FILES:%.java=$(CLASSES)/axTLSj/%.class)
|
||||
|
||||
$(CLASSES)/%.class : %.java
|
||||
|
@ -20,11 +20,11 @@ include ../../config/.config
|
||||
include ../../config/makefile.conf
|
||||
|
||||
all: samples
|
||||
TARGET=../../axssl.pl
|
||||
TARGET=../../$(STAGE)/axssl.pl
|
||||
samples: $(TARGET)
|
||||
|
||||
$(TARGET): axssl.pl
|
||||
@cd ../../; ln -sf samples/perl/axssl.pl axssl.pl
|
||||
install $< $@
|
||||
|
||||
clean::
|
||||
-@rm -f $(TARGET)
|
||||
|
@ -23,7 +23,7 @@ include ../../config/makefile.dotnet.conf
|
||||
# only build on Win32 platforms
|
||||
ifdef GO_DOT_NET
|
||||
all : sample
|
||||
TARGET=../../axssl.vbnet.exe
|
||||
TARGET=../../$(STAGE)/axssl.vbnet.exe
|
||||
sample : $(TARGET)
|
||||
|
||||
$(TARGET): ../../bindings/vbnet/axTLSvb.vb ../../bindings/vbnet/axInterface.vb axssl.vb
|
||||
|
Reference in New Issue
Block a user