mirror of
https://github.com/cesanta/mongoose.git
synced 2025-08-06 13:37:34 +08:00
Minor change for the win32 build
This commit is contained in:
parent
364235e7ae
commit
0b942aaaba
23
Makefile
23
Makefile
@ -57,18 +57,19 @@ solaris:
|
||||
##########################################################################
|
||||
|
||||
# Using Visual Studio 6.0. To build Mongoose:
|
||||
# o Set VC variable below to where VS 6.0 is installed on your system
|
||||
# o Set MSVC variable below to where VS 6.0 is installed on your system
|
||||
# o Run "PATH_TO_VC6\bin\nmake windows"
|
||||
|
||||
VC = z:
|
||||
CYA = y:
|
||||
MSVC = e:/vc6
|
||||
CYA = e:/cyassl-2.0.0rc2
|
||||
#DBG = /Zi /DDEBUG /Od
|
||||
DBG = /DNDEBUG /O1
|
||||
CL = cl /MD /TC /nologo $(DBG) /Gz /W3 /DNO_SSL_DL
|
||||
CL = $(MSVC)/bin/cl /MD /TC /nologo $(DBG) /Gz /W3 /DNO_SSL_DL \
|
||||
/I$(MSVC)/include
|
||||
GUILIB= user32.lib shell32.lib
|
||||
LINK = /link /incremental:no /libpath:$(VC)\lib /subsystem:windows \
|
||||
ws2_32.lib advapi32.lib cyassl.lib
|
||||
CYAFL = /c /I $(CYA)/include -I $(CYA)/include/openssl \
|
||||
LINK = /link /incremental:no /libpath:$(MSVC)/lib \
|
||||
/subsystem:windows ws2_32.lib advapi32.lib cyassl.lib
|
||||
CYAFL = /c /I $(CYA)/include -I $(CYA)/include/openssl /I$(MSVC)/INCLUDE \
|
||||
/I $(CYA)/ctaocrypt/include /D _LIB /D OPENSSL_EXTRA
|
||||
|
||||
CYASRC= \
|
||||
@ -103,12 +104,12 @@ CYASRC= \
|
||||
$(CYA)/ctaocrypt/src/sha512.c \
|
||||
$(CYA)/ctaocrypt/src/tfm.c
|
||||
|
||||
cyassl:
|
||||
cyassl.lib:
|
||||
$(CL) $(CYASRC) $(CYAFL) $(DEF)
|
||||
lib *.obj /out:cyassl.lib
|
||||
$(MSVC)/bin/lib *.obj /out:$@
|
||||
|
||||
windows:
|
||||
rc win32\res.rc
|
||||
windows: cyassl.lib
|
||||
$(MSVC)/bin/rc win32\res.rc
|
||||
$(CL) /I win32 main.c mongoose.c /GA $(LINK) win32\res.res \
|
||||
$(GUILIB) /out:$(PROG).exe
|
||||
$(CL) mongoose.c /GD $(LINK) /DLL /DEF:win32\dll.def /out:_$(PROG).dll
|
||||
|
Loading…
Reference in New Issue
Block a user