aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/sipp/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/sipp/files/patch-Makefile')
-rw-r--r--benchmarks/sipp/files/patch-Makefile29
1 files changed, 22 insertions, 7 deletions
diff --git a/benchmarks/sipp/files/patch-Makefile b/benchmarks/sipp/files/patch-Makefile
index 0c93740279cc..8084206fe46e 100644
--- a/benchmarks/sipp/files/patch-Makefile
+++ b/benchmarks/sipp/files/patch-Makefile
@@ -1,7 +1,5 @@
-$FreeBSD$
-
---- Makefile.orig
-+++ Makefile
+--- Makefile.orig Tue Jan 16 11:18:32 2007
++++ Makefile Tue Jan 30 21:44:15 2007
@@ -18,8 +18,6 @@
# From Hewlett Packard Company.
#
@@ -34,7 +32,7 @@ $FreeBSD$
CFLAGS_Cygwin=-D__CYGWIN -Dsocklen_t=int
CFLAGS_Darwin=-D__DARWIN
-CFLAGS=$(CFLAGS_$(SYSTEM)) -D__3PCC__ $(TLS) $(PCAPPLAY) $(EXTRACFLAGS)
-+CFLAGS+=$(CFLAGS_$(SYSTEM)) -D__3PCC__ $(TLS) $(PCAPPLAY)
++CFLAGS+=$(CFLAGS_$(SYSTEM)) -D__3PCC__ $(TLS) $(PCAPPLAY) $(EXTRACFLAGS)
#C++ Compiler Flags
CPPFLAGS_hpux=-AA -mt -D__HPUX +W829
@@ -43,7 +41,7 @@ $FreeBSD$
CPPFLAGS_Cygwin=-D__CYGWIN -Dsocklen_t=int
CPPFLAGS_Darwin=-D__DARWIN
-CPPFLAGS=$(CPPFLAGS_$(SYSTEM)) -D__3PCC__ $(TLS) $(PCAPPLAY) $(EXTRACPPFLAGS)
-+CPPFLAGS+=$(CPPFLAGS_$(SYSTEM)) -D__3PCC__ $(TLS) $(PCAPPLAY)
++CPPFLAGS+=$(CPPFLAGS_$(SYSTEM)) -D__3PCC__ $(TLS) $(PCAPPLAY) $(EXTRACPPFLAGS)
#Linker mapping
CCLINK_hpux=aCC
@@ -56,7 +54,24 @@ $FreeBSD$
#Linker Flags
LFLAGS_hpux=-AA -mt
-@@ -153,8 +151,6 @@
+@@ -138,7 +136,7 @@
+ LIBS_linux= -ldl -lpthread -lncurses -lstdc++ -lm -L /usr/local/lib -L /usr/lib -L /usr/lib64
+ LIBS_hpux= -lcurses -lpthread -L /opt/openssl/lib -L /usr/local/lib
+ LIBS_tru64= -lcurses -lpthread
+-LIBS_freebsd= -lcurses -pthread
++LIBS_freebsd= -lcurses -pthread -L /usr/local/lib
+ LIBS_SunOS= -lcurses -lpthread -lnsl -lsocket -lstdc++ -lm -ldl -L /usr/local/ssl/lib/
+ LIBS_Cygwin= -lcurses -lpthread -lstdc++ -L /usr/lib/WpdPack/Lib
+ LIBS_Darwin= -lcurses
+@@ -146,15 +144,13 @@
+
+ # Include directories
+ INCDIR_linux=-I. -I/opt/openssl/include
+-INCDIR_freebsd=-I. -I/opt/openssl/include
++INCDIR_freebsd=-I. -I/usr/local/include
+ INCDIR_hpux=-I. -I/usr/local/include -I/opt/openssl/include
+ INCDIR_tru64=-I. -I/opt/openssl/include
+ INCDIR_SunOS=-I. -I/usr/local/ssl/include/
INCDIR_Cygwin=-I. -I/usr/include/openssl -I/usr/include -I/usr/lib/WpdPack/Include
INCDIR_Darwin=-I. -I/usr/local/ssl/include
INCDIR=$(INCDIR_$(SYSTEM))