mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
removed unneeded libs from linking.
This commit is contained in:
parent
cbfc737d79
commit
d759e97166
@ -34,29 +34,27 @@ LIB = tlib
|
|||||||
TOPDIR = ..
|
TOPDIR = ..
|
||||||
CURNTDIR = .
|
CURNTDIR = .
|
||||||
|
|
||||||
CXXFLAGS = -5 -O2 -w-aus -w-ccc -w-csu -w-par -w-pia -w-rch -w-inl -w-ngu -w-pro -tWM
|
CXXFLAGS = -q -5 -O2 -w-aus -w-ccc -w-csu -w-par -w-pia -w-rch -w-inl -w-ngu -w-pro -tWM
|
||||||
# CXXFLAGS = -5 -O2 -WC -w-par -w-csu -w-aus
|
# CXXFLAGS = -5 -O2 -WC -w-par -w-csu -w-aus
|
||||||
LDFLAGS = -lap
|
LDFLAGS = -lap
|
||||||
|
|
||||||
INCDIRS = -I$(CURNTDIR);$(TOPDIR)/include;$(TOPDIR)/lib
|
INCDIRS = -I$(CURNTDIR);$(TOPDIR)/include;$(TOPDIR)/lib
|
||||||
LINKLIB = $(BCCDIR)/lib/cw32mt.lib $(BCCDIR)/lib/psdk/winmm.lib $(BCCDIR)/lib/psdk/ws2_32.lib
|
LINKLIB = $(BCCDIR)/lib/cw32mt.lib
|
||||||
|
|
||||||
LIBCURLLIB = $(TOPDIR)/lib/libcurl.lib
|
LIBCURLLIB = $(TOPDIR)/lib/libcurl.lib
|
||||||
|
|
||||||
# If you build with SSL support, set WITH_SSL=1
|
# If you build with SSL support, set WITH_SSL=1
|
||||||
DEFINES = -DNDEBUG -DLIBCURL_BIGENDIAN=0 -DWIN32 -DCONSOLE -DMBCS
|
DEFINES = -DNDEBUG -DLIBCURL_BIGENDIAN=0 -DWIN32 -D_CONSOLE -D_MBCS
|
||||||
!ifdef WITH_SSL
|
|
||||||
DEFINES = $(DEFINES) -DUSE_SSLEAY
|
|
||||||
INCDIRS = $(INCDIRS);$(OPENSSL_PATH)/inc32;$(OPENSSL_PATH)/inc32/openssl
|
|
||||||
LINKLIB = $(LINKLIB) $(OPENSSL_PATH)/out32/ssleay32.lib $(OPENSSL_PATH)/out32/libeay32.lib
|
|
||||||
!endif
|
|
||||||
!ifdef WITH_ZLIB
|
!ifdef WITH_ZLIB
|
||||||
DEFINES = $(DEFINES) -DHAVE_LIBZ
|
DEFINES = $(DEFINES) -DHAVE_LIBZ
|
||||||
INCDIRS = $(INCDIRS);$(ZLIB_PATH)
|
INCDIRS = $(INCDIRS);$(ZLIB_PATH)
|
||||||
LINKLIB = $(LINKLIB) $(ZLIB_PATH)/zlib.lib
|
LINKLIB = $(LINKLIB) $(ZLIB_PATH)/zlib.lib
|
||||||
!endif
|
!endif
|
||||||
|
!ifdef WITH_SSL
|
||||||
.SUFFIXES: .c
|
DEFINES = $(DEFINES) -DUSE_SSLEAY
|
||||||
|
INCDIRS = $(INCDIRS);$(OPENSSL_PATH)/inc32;$(OPENSSL_PATH)/inc32/openssl
|
||||||
|
LINKLIB = $(LINKLIB) $(OPENSSL_PATH)/out32/ssleay32.lib $(OPENSSL_PATH)/out32/libeay32.lib
|
||||||
|
!endif
|
||||||
|
|
||||||
.autodepend
|
.autodepend
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user