aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/netperf/files/patch-makefile
blob: 1bfcedd99d5559cdece28f9883bcf3e1ea067033 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- makefile.orig	Fri Feb 14 23:32:44 2003
+++ makefile	Sat Feb 22 08:21:09 2003
@@ -15,8 +15,8 @@
 # for the rest of the world, it is probably better to put the binaries
 # in /usr/local/netperf or /opt/netperf
 #
-#NETPERF_HOME = /usr/local/netperf
-NETPERF_HOME = /opt/netperf
+NETPERF_HOME = ${PREFIX}/netperf
+#NETPERF_HOME = /opt/netperf
 
 # The compiler on your system might be somewhere else, and/or have
 # a different name.
@@ -95,7 +95,8 @@
 #               the makefile for your platform
 
 LOG_FILE=DEBUG_LOG_FILE="\"/tmp/netperf.debug\""
-CFLAGS = -O -D$(LOG_FILE) -DNEED_MAKEFILE_EDIT
+CFLAGS = %CFLAGS% -D$(LOG_FILE) -DDO_FIRST_BURST
+CFLAGS+= -DHISTOGRAM -DDO_UNIX -DDO_1644 -DDO_IPV6
 
 # Some platforms, and some options, require additional libraries.
 # you can add to the "LIBS =" line to accomplish this. if you find