Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mongoose
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
esp
mongoose
Commits
ee997ba7
Commit
ee997ba7
authored
Aug 26, 2010
by
valenok
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
put back dynamic SSL lib loading
parent
4f716e2b
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
145 additions
and
64 deletions
+145
-64
Makefile
Makefile
+6
-8
mongoose.c
mongoose.c
+139
-56
No files found.
Makefile
View file @
ee997ba7
...
@@ -22,8 +22,7 @@ all:
...
@@ -22,8 +22,7 @@ all:
CFLAGS
=
-W
-Wall
-std
=
c99
-pedantic
-Os
-fomit-frame-pointer
$(COPT)
CFLAGS
=
-W
-Wall
-std
=
c99
-pedantic
-Os
-fomit-frame-pointer
$(COPT)
MAC_SHARED
=
-flat_namespace
-bundle
-undefined
suppress
MAC_SHARED
=
-flat_namespace
-bundle
-undefined
suppress
SSLFLAGS
=
-lssl
-lcrypto
LINFLAGS
=
-ldl
-pthread
$(CFLAGS)
LINFLAGS
=
-ldl
-pthread
$(SSLFLAGS)
$(CFLAGS)
LIB
=
_
$(PROG)
.so
LIB
=
_
$(PROG)
.so
linux
:
linux
:
...
@@ -32,17 +31,16 @@ linux:
...
@@ -32,17 +31,16 @@ linux:
bsd
:
bsd
:
$(CC)
$(CFLAGS)
mongoose.c
-shared
-pthread
-fpic
-fPIC
-o
$(LIB)
$(CC)
$(CFLAGS)
mongoose.c
-shared
-pthread
-fpic
-fPIC
-o
$(LIB)
$(CC)
$(CFLAGS)
mongoose.c main.c
-pthread
$(SSLFLAGS)
-o
$(PROG)
$(CC)
$(CFLAGS)
mongoose.c main.c
-pthread
-o
$(PROG)
mac
:
mac
:
$(CC)
$(CFLAGS)
$(MAC_SHARED)
mongoose.c
-pthread
$(SSLFLAGS)
-o
$(LIB)
$(CC)
$(CFLAGS)
$(MAC_SHARED)
mongoose.c
-pthread
-o
$(LIB)
$(CC)
$(CFLAGS)
mongoose.c main.c
-pthread
$(SSLFLAGS)
-o
$(PROG)
$(CC)
$(CFLAGS)
mongoose.c main.c
-pthread
-o
$(PROG)
solaris
:
solaris
:
gcc
$(CFLAGS)
mongoose.c
-pthread
-lnsl
\
gcc
$(CFLAGS)
mongoose.c
-pthread
-lnsl
\
-lsocket
$(SSLFLAGS)
-fpic
-fPIC
-shared
-o
$(LIB)
-lsocket
-fpic
-fPIC
-shared
-o
$(LIB)
gcc
$(CFLAGS)
mongoose.c main.c
-pthread
-lnsl
-lsocket
$(SSLFLAGS)
\
gcc
$(CFLAGS)
mongoose.c main.c
-pthread
-lnsl
-lsocket
-o
$(PROG)
-o
$(PROG)
##########################################################################
##########################################################################
...
...
mongoose.c
View file @
ee997ba7
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment