1 --- netperf-2.3pl1.orig/makefile 2004-09-21 23:33:40.000000000 +0200
2 +++ netperf-2.3pl1/makefile 2005-12-30 15:35:08.924238576 +0100
4 # for the rest of the world, it is probably better to put the binaries
5 # in /usr/local/netperf or /opt/netperf
7 -#NETPERF_HOME = /usr/local/netperf
8 -NETPERF_HOME = /opt/netperf
9 +NETPERF_HOME = $(TARGET_NETPERF_HOME)
11 # The compiler on your system might be somewhere else, and/or have
14 # You may safely ignore that warning.
20 # Adding flags to CFLAGS enables some non-mainline features. For
21 # more information, please consult the source code.
23 # netserver via the netperf command line with -T
25 LOG_FILE=DEBUG_LOG_FILE="\"/tmp/netperf.debug\""
26 -CFLAGS = -O -D$(LOG_FILE) -DNEED_MAKEFILE_EDIT
27 +CFLAGS = -D$(LOG_FILE) $(TARGET_CFLAGS)
29 # Some platforms, and some options, require additional libraries.
30 # you can add to the "LIBS =" line to accomplish this. if you find
32 # -lresolv - required for -DDO_DNS on RedHat 7.1
33 # -lsocket -lbind - required for Zeta OS
36 +LIBS= -lm $(TARGET_LIBS)
38 # ---------------------------------------------------------------
39 # it should not be the case that anything below this line needs to