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

@ -36,11 +36,12 @@ config CONFIG_STANDARD_AWHTTPD
config CONFIG_HTTP_WEBROOT
string "Web root location"
default "www"
default "../www" if !CONFIG_PLATFORM_WIN32
default "..\\www" if CONFIG_PLATFORM_WIN32
depends on !CONFIG_STANDARD_AWHTTPD
help
The location of the web root. This is the directory where
index.html lives.
The location of the web root in relation to awhttpd. This is
the directory where index.html lives.
config CONFIG_HTTP_PORT
int "HTTP port"

View File

@ -24,26 +24,26 @@ include ../config/makefile.conf
ifndef CONFIG_PLATFORM_WIN32
ifdef CONFIG_PLATFORM_CYGWIN
TARGET=../awhttpd.exe
TARGET=../$(STAGE)/awhttpd.exe
else
TARGET=../awhttpd
TARGET=../$(STAGE)/awhttpd
endif
ifdef CONFIG_HTTP_STATIC_BUILD
LIBS=../libaxtls.a
LIBS=../$(STAGE)/libaxtls.a
else
LIBS=-L../ -laxtls
LIBS=-L../$(STAGE) -laxtls
endif
CFLAGS += -I../ssl
else # win32 build
TARGET=../awhttpd.exe
TARGET=../$(STAGE)/awhttpd.exe
ifdef CONFIG_HTTP_STATIC_BUILD
LIBS=../axtls.static.lib ..\config\axtls.res
LIBS=../$(STAGE)/axtls.static.lib ..\\config\\axtls.res
else
LIBS=../axtls.lib ..\config\axtls.res
LIBS=../$(STAGE)/axtls.lib ..\\config\\axtls.res
endif
endif