Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
hiredis
Commits
93329c46
Commit
93329c46
authored
Jun 18, 2011
by
Pieter Noordhuis
Browse files
Library variables may not be overridden
parent
2ccb6e58
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
93329c46
...
@@ -20,12 +20,12 @@ ifeq ($(uname_S),SunOS)
...
@@ -20,12 +20,12 @@ ifeq ($(uname_S),SunOS)
LDFLAGS
?=
-ldl
-lnsl
-lsocket
LDFLAGS
?=
-ldl
-lnsl
-lsocket
DYLIBSUFFIX
=
so
DYLIBSUFFIX
=
so
STLIBSUFFIX
=
a
STLIBSUFFIX
=
a
DYLIB_MINOR_NAME
?
=
$(LIBNAME)
.
$(DYLIBSUFFIX)
.
$(HIREDIS_MAJOR)
.
$(HIREDIS_MINOR)
DYLIB_MINOR_NAME
=
$(LIBNAME)
.
$(DYLIBSUFFIX)
.
$(HIREDIS_MAJOR)
.
$(HIREDIS_MINOR)
DYLIB_MAJOR_NAME
?
=
$(LIBNAME)
.
$(DYLIBSUFFIX)
.
$(HIREDIS_MAJOR)
DYLIB_MAJOR_NAME
=
$(LIBNAME)
.
$(DYLIBSUFFIX)
.
$(HIREDIS_MAJOR)
DYLIBNAME
?
=
$(LIBNAME)
.
$(DYLIBSUFFIX)
DYLIBNAME
=
$(LIBNAME)
.
$(DYLIBSUFFIX)
DYLIB_MAKE_CMD
?
=
$(CC)
-G
-o
$(DYLIBNAME)
-h
$(DYLIB_MINOR_NAME)
DYLIB_MAKE_CMD
=
$(CC)
-G
-o
$(DYLIBNAME)
-h
$(DYLIB_MINOR_NAME)
STLIBNAME
?
=
$(LIBNAME)
.
$(STLIBSUFFIX)
STLIBNAME
=
$(LIBNAME)
.
$(STLIBSUFFIX)
STLIB_MAKE_CMD
?
=
ar rcs
$(STLIBNAME)
STLIB_MAKE_CMD
=
ar rcs
$(STLIBNAME)
INSTALL
=
cp
-r
INSTALL
=
cp
-r
else
else
ifeq
($(uname_S),Darwin)
ifeq
($(uname_S),Darwin)
...
@@ -33,23 +33,23 @@ ifeq ($(uname_S),Darwin)
...
@@ -33,23 +33,23 @@ ifeq ($(uname_S),Darwin)
OBJARCH
?=
-arch
i386
-arch
x86_64
OBJARCH
?=
-arch
i386
-arch
x86_64
DYLIBSUFFIX
=
dylib
DYLIBSUFFIX
=
dylib
STLIBSUFFIX
=
a
STLIBSUFFIX
=
a
DYLIB_MINOR_NAME
?
=
$(LIBNAME)
.
$(HIREDIS_MAJOR)
.
$(HIREDIS_MINOR)
.
$(DYLIBSUFFIX)
DYLIB_MINOR_NAME
=
$(LIBNAME)
.
$(HIREDIS_MAJOR)
.
$(HIREDIS_MINOR)
.
$(DYLIBSUFFIX)
DYLIB_MAJOR_NAME
?
=
$(LIBNAME)
.
$(HIREDIS_MAJOR)
.
$(DYLIBSUFFIX)
DYLIB_MAJOR_NAME
=
$(LIBNAME)
.
$(HIREDIS_MAJOR)
.
$(DYLIBSUFFIX)
DYLIBNAME
?
=
$(LIBNAME)
.
$(DYLIBSUFFIX)
DYLIBNAME
=
$(LIBNAME)
.
$(DYLIBSUFFIX)
DYLIB_MAKE_CMD
?
=
libtool
-dynamic
-o
$(DYLIBNAME)
-install_name
$(DYLIB_MINOR_NAME)
-lm
$(DEBUG)
-
DYLIB_MAKE_CMD
=
libtool
-dynamic
-o
$(DYLIBNAME)
-install_name
$(DYLIB_MINOR_NAME)
-lm
$(DEBUG)
-
STLIBNAME
?
=
$(LIBNAME)
.
$(STLIBSUFFIX)
STLIBNAME
=
$(LIBNAME)
.
$(STLIBSUFFIX)
STLIB_MAKE_CMD
?
=
libtool
-static
-o
$(STLIBNAME)
-
STLIB_MAKE_CMD
=
libtool
-static
-o
$(STLIBNAME)
-
INSTALL
=
cp
-a
INSTALL
=
cp
-a
else
else
CFLAGS
?=
$(OPTIMIZATION)
-fPIC
-Wall
-W
-Wstrict-prototypes
-Wwrite-strings
$(ARCH)
$(PROF)
CFLAGS
?=
$(OPTIMIZATION)
-fPIC
-Wall
-W
-Wstrict-prototypes
-Wwrite-strings
$(ARCH)
$(PROF)
DYLIBSUFFIX
=
so
DYLIBSUFFIX
=
so
STLIBSUFFIX
=
a
STLIBSUFFIX
=
a
DYLIB_MINOR_NAME
?
=
$(LIBNAME)
.
$(DYLIBSUFFIX)
.
$(HIREDIS_MAJOR)
.
$(HIREDIS_MINOR)
DYLIB_MINOR_NAME
=
$(LIBNAME)
.
$(DYLIBSUFFIX)
.
$(HIREDIS_MAJOR)
.
$(HIREDIS_MINOR)
DYLIB_MAJOR_NAME
?
=
$(LIBNAME)
.
$(DYLIBSUFFIX)
.
$(HIREDIS_MAJOR)
DYLIB_MAJOR_NAME
=
$(LIBNAME)
.
$(DYLIBSUFFIX)
.
$(HIREDIS_MAJOR)
DYLIBNAME
?
=
$(LIBNAME)
.
$(DYLIBSUFFIX)
DYLIBNAME
=
$(LIBNAME)
.
$(DYLIBSUFFIX)
DYLIB_MAKE_CMD
?
=
$(CC)
-shared
-Wl
,-soname,
$(DYLIB_MINOR_NAME)
-o
$(DYLIBNAME)
DYLIB_MAKE_CMD
=
$(CC)
-shared
-Wl
,-soname,
$(DYLIB_MINOR_NAME)
-o
$(DYLIBNAME)
STLIBNAME
?
=
$(LIBNAME)
.
$(STLIBSUFFIX)
STLIBNAME
=
$(LIBNAME)
.
$(STLIBSUFFIX)
STLIB_MAKE_CMD
?
=
ar rcs
$(STLIBNAME)
STLIB_MAKE_CMD
=
ar rcs
$(STLIBNAME)
INSTALL
=
cp
-a
INSTALL
=
cp
-a
endif
endif
endif
endif
...
...
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