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
db1c618f
Commit
db1c618f
authored
22 years ago
by
Daniel Stenberg
Browse files
Options
Downloads
Patches
Plain Diff
Kevin Roth's patch. $(RM) instead of @erase, and it also passes on the
USE_SSLEAY variable
parent
01bdfa7b
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
src/Makefile.m32
+81
-77
81 additions, 77 deletions
src/Makefile.m32
with
81 additions
and
77 deletions
src/Makefile.m32
+
81
−
77
View file @
db1c618f
#############################################################
# $Id$
#
## Makefile for building curl.exe with MingW32 (GCC-2.95) and
## optionally OpenSSL (0.9.6)
##
## Use: make -f Makefile.m32 [SSL=1] [DYN=1]
##
## Comments to: Troy Engel <tengel@sonic.net> or
## Joern Hartroth <hartroth@acm.org>
CC
=
gcc
STRIP
=
strip
-s
OPENSSL_PATH
=
../../openssl-0.9.6d
ZLIB_PATH
=
../../zlib-1.1.3
# We may need these someday
# PERL = perl
# NROFF = nroff
########################################################
## Nothing more to do below this line!
INCLUDES
=
-I
.
-I
..
-I
../include
CFLAGS
=
-g
-O2
-DMINGW32
LDFLAGS
=
COMPILE
=
$(
CC
)
$(
INCLUDES
)
$(
CFLAGS
)
LINK
=
$(
CC
)
$(
CFLAGS
)
$(
LDFLAGS
)
-o
$@
curl_PROGRAMS
=
curl.exe
curl_OBJECTS
=
main.o hugehelp.o urlglob.o writeout.o
curl_SOURCES
=
main.c hugehelp.c urlglob.c writeout.c
ifdef
DYN
curl_DEPENDENCIES
=
../lib/libcurldll.a ../lib/libcurl.dll
curl_LDADD
=
-L
../lib
-lcurldll
else
curl_DEPENDENCIES
=
../lib/libcurl.a
curl_LDADD
=
-L
../lib
-lcurl
endif
curl_LDADD
+=
-lwsock32
-lws2_32
-lwinmm
ifdef
SSL
curl_LDADD
+=
-L
$(
OPENSSL_PATH
)
/out
-leay32
-lssl32
-lRSAglue
endif
ifdef
ZLIB
curl_LDADD
+=
-L
$(
ZLIB_PATH
)
-lz
endif
PROGRAMS
=
$(
curl_PROGRAMS
)
SOURCES
=
$(
curl_SOURCES
)
OBJECTS
=
$(
curl_OBJECTS
)
all
:
curl.exe
curl.exe
:
$(curl_OBJECTS) $(curl_DEPENDENCIES)
-
@erase
$@
$(
LINK
)
$(
curl_OBJECTS
)
$(
curl_LDADD
)
$(
STRIP
)
$@
# We don't have nroff normally under win32
# hugehelp.c: ../README.curl ../curl.1 mkhelp.pl
# -@erase hugehelp.c
# $(NROFF) -man ../curl.1 | $(PERL) mkhelp.pl ../README.curl > hugehelp.c
.c.o
:
$(
COMPILE
)
-c
$<
.s.o
:
$(
COMPILE
)
-c
$<
.S.o
:
$(
COMPILE
)
-c
$<
clean
:
-
@erase
$(
curl_OBJECTS
)
distrib
:
clean
-
@erase
$(
curl_PROGRAMS
)
#############################################################
# $Id$
#
## Makefile for building curl.exe with MingW32 (GCC-3.2) and
## optionally OpenSSL (0.9.6)
##
## Use: make -f Makefile.m32 [SSL=1] [DYN=1]
##
## Comments to: Troy Engel <tengel@sonic.net> or
## Joern Hartroth <hartroth@acm.org>
CC
=
gcc
RM
=
rm
-f
STRIP
=
strip
-s
OPENSSL_PATH
=
../../openssl-0.9.6g
ZLIB_PATH
=
../../zlib-1.1.3
# We may need these someday
# PERL = perl
# NROFF = nroff
########################################################
## Nothing more to do below this line!
INCLUDES
=
-I
.
-I
..
-I
../include
CFLAGS
=
-g
-O2
-DMINGW32
ifdef
SSL
CFLAGS
+=
-DUSE_SSLEAY
endif
LDFLAGS
=
COMPILE
=
$(
CC
)
$(
INCLUDES
)
$(
CFLAGS
)
LINK
=
$(
CC
)
$(
CFLAGS
)
$(
LDFLAGS
)
-o
$@
curl_PROGRAMS
=
curl.exe
curl_OBJECTS
=
main.o hugehelp.o urlglob.o writeout.o
curl_SOURCES
=
main.c hugehelp.c urlglob.c writeout.c
ifdef
DYN
curl_DEPENDENCIES
=
../lib/libcurldll.a ../lib/libcurl.dll
curl_LDADD
=
-L
../lib
-lcurldll
else
curl_DEPENDENCIES
=
../lib/libcurl.a
curl_LDADD
=
-L
../lib
-lcurl
endif
curl_LDADD
+=
-lwsock32
-lws2_32
-lwinmm
ifdef
SSL
curl_LDADD
+=
-L
$(
OPENSSL_PATH
)
/out
-leay32
-lssl32
-lRSAglue
endif
ifdef
ZLIB
curl_LDADD
+=
-L
$(
ZLIB_PATH
)
-lz
endif
PROGRAMS
=
$(
curl_PROGRAMS
)
SOURCES
=
$(
curl_SOURCES
)
OBJECTS
=
$(
curl_OBJECTS
)
all
:
curl.exe
curl.exe
:
$(curl_OBJECTS) $(curl_DEPENDENCIES)
$(
RM
)
$@
$(
LINK
)
$(
curl_OBJECTS
)
$(
curl_LDADD
)
$(
STRIP
)
$@
# We don't have nroff normally under win32
# hugehelp.c: ../README.curl ../curl.1 mkhelp.pl
# $(RM) hugehelp.c
# $(NROFF) -man ../curl.1 | $(PERL) mkhelp.pl ../README.curl > hugehelp.c
.c.o
:
$(
COMPILE
)
-c
$<
.s.o
:
$(
COMPILE
)
-c
$<
.S.o
:
$(
COMPILE
)
-c
$<
clean
:
$(
RM
)
$(
curl_OBJECTS
)
distrib
:
clean
$(
RM
)
$(
curl_PROGRAMS
)
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