Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TLMSP curl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CYBER - Cyber Security
TS 103 523 MSP
TLMSP
TLMSP curl
Commits
56f0227c
Commit
56f0227c
authored
20 years ago
by
Gisle Vanem
Browse files
Options
Downloads
Patches
Plain Diff
Static lib is libcurl.lib and import lib libcurl_imp.lib. Added implib command. Cleanup
parent
dcb5a4df
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/Makefile.b32
+22
-17
22 additions, 17 deletions
lib/Makefile.b32
with
22 additions
and
17 deletions
lib/Makefile.b32
+
22
−
17
View file @
56f0227c
...
...
@@ -22,9 +22,10 @@ ZLIB_PATH = ../../zlib-1.2.1
OPENSSL_PATH
=
../../openssl-0.9.7d
!
endif
# Set libcurl's name
LIBCURLLIB
=
libcurl.lib
LIBCURLDLL
=
libcurl.dll
# Set libcurl static lib, dll and import lib
LIBCURL_LIB
=
libcurl.lib
LIBCURL_DLL
=
libcurl.dll
LIBCURL_IMPLIB
=
libcurl_imp.lib
# Setup environment
CXX
=
bcc32
...
...
@@ -32,27 +33,28 @@ LD = bcc32
CP
=
copy
RM
=
del
LIB
=
tlib
TOPDIR
=
..
CURNTDIR
=
.
IMPLIB
=
implib
CXXFLAGS
=
-q
-5
-O2
-w-aus
-w-ccc
-w-csu
-w-par
-w-pia
-w-rch
-w-inl
-w-ngu
-w-pro
-tWM
LIBFLAGS
=
/C /P32
LDFLAGS
=
-q
-lq
-laa
-tWD
INCDIRS
=
-I
$(
CURNTDIR
);$(
TOPDIR
)
/include
INCDIRS
=
-I
.
;
..
/include
LINKLIB
=
$(
BCCDIR
)
/lib/cw32mt.lib
# If you build with SSL support, set WITH_SSL=1
DEFINES
=
-DLIBCURL_BIGENDIAN
=
0
-DNDEBUG
-DWIN32
-D_CONSOLE
-D_MBCS
DEFINES
=
-DNDEBUG
-DWIN32
-D_CONSOLE
-D_MBCS
-DBUILDING_LIBCURL
!
ifdef
WITH_ZLIB
DEFINES
=
$(
DEFINES
)
-DHAVE_LIBZ
-DHAVE_ZLIB_H
INCDIRS
=
$(
INCDIRS
);$(
ZLIB_PATH
)
#
LINKLIB = $(LINKLIB) $(ZLIB_PATH)/zlib.lib
LINKLIB
=
$(
LINKLIB
)
$(
ZLIB_PATH
)
/zlib.lib
!
endif
!
ifdef
WITH_SSL
DEFINES
=
$(
DEFINES
)
-DUSE_SSLEAY
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
LINKLIB
=
$(
LINKLIB
)
$(
OPENSSL_PATH
)
/out32/ssleay32.lib
$(
OPENSSL_PATH
)
/out32/libeay32.lib
!
endif
.autodepend
...
...
@@ -65,21 +67,24 @@ OBJECTS = $(CSOURCES:.c=.obj)
.c.obj
:
$(
CXX
)
-c
$(
INCDIRS
)
$(
CXXFLAGS
)
$(
DEFINES
)
$<
all
:
$(LIBCURLLIB)
all
:
$(LIBCURL
_
LIB)
$(LIBCURL_DLL)
clean
:
-$(
RM
)
$(
LIBCURLLIB
)
-$(
RM
)
$(
LIBCURL_LIB
)
-$(
RM
)
$(
LIBCURL_IMPLIB
)
-$(
RM
)
libcurl.tds
-$(
RM
)
*
.obj
$(LIBCURLLIB)
:
$(OBJECTS)
$(LIBCURL
_
LIB)
:
$(OBJECTS)
@
-
$(
RM
)
$@
$(
LIB
)
$(
LIBFLAGS
)
$@
@&&!
+$(**
:
= &^
+)
!
$(LIBCURLDLL)
:
$(OBJECTS) $(LINKLIB)
@
-
$(
RM
)
$@
$(
LD
)
$(
LDFLAGS
)
-e
$@
$*
*
$(LIBCURL_DLL) $(LIBCURL_IMPLIB)
:
$(OBJECTS) $(LINKLIB)
@
-
$(
RM
)
$(
LIBCURL_DLL
)
@
-
$(
RM
)
$(
LIBCURL_IMPLIB
)
$(
LD
)
$(
LDFLAGS
)
-e
$(
LIBCURL_DLL
)
$*
*
$(
IMPLIB
)
$(
LIBCURL_IMPLIB
)
$(
LIBCURL_DLL
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment