2014-03-04 14:31:35 -08:00
|
|
|
lib_LTLIBRARIES = libiperf.la # Build and install an iperf library
|
2009-12-08 21:36:24 +00:00
|
|
|
bin_PROGRAMS = iperf3 # Build and install an iperf binary
|
|
|
|
noinst_PROGRAMS = t_timer t_units t_uuid iperf3_profile # Build, but don't install the test programs and a profiled version of iperf3
|
2012-09-28 16:00:14 -07:00
|
|
|
include_HEADERS = iperf_api.h # Defines the headers that get installed with the program
|
2009-12-08 21:36:24 +00:00
|
|
|
|
|
|
|
|
|
|
|
# Specify the source files and flags for the iperf library
|
2014-03-04 14:31:35 -08:00
|
|
|
libiperf_la_SOURCES = \
|
2012-10-15 09:49:20 -07:00
|
|
|
cjson.c \
|
|
|
|
cjson.h \
|
2014-03-04 14:31:35 -08:00
|
|
|
flowlabel.h \
|
2010-07-19 20:38:40 +00:00
|
|
|
iperf.h \
|
2009-12-08 21:36:24 +00:00
|
|
|
iperf_api.c \
|
2010-07-19 20:38:40 +00:00
|
|
|
iperf_api.h \
|
|
|
|
iperf_error.c \
|
2012-09-28 16:00:14 -07:00
|
|
|
iperf_client_api.c \
|
2014-09-15 10:42:36 -07:00
|
|
|
iperf_locale.c \
|
|
|
|
iperf_locale.h \
|
2009-12-08 21:36:24 +00:00
|
|
|
iperf_server_api.c \
|
|
|
|
iperf_tcp.c \
|
2010-07-19 20:38:40 +00:00
|
|
|
iperf_tcp.h \
|
2009-12-08 21:36:24 +00:00
|
|
|
iperf_udp.c \
|
2010-07-19 20:38:40 +00:00
|
|
|
iperf_udp.h \
|
2014-02-14 11:52:16 -08:00
|
|
|
iperf_sctp.c \
|
|
|
|
iperf_sctp.h \
|
2010-07-09 00:29:51 +00:00
|
|
|
iperf_util.c \
|
2010-07-19 20:38:40 +00:00
|
|
|
iperf_util.h \
|
|
|
|
net.c \
|
2009-12-08 21:36:24 +00:00
|
|
|
net.h \
|
2013-07-11 14:07:41 -04:00
|
|
|
queue.h \
|
2010-07-19 20:38:40 +00:00
|
|
|
tcp_info.c \
|
|
|
|
tcp_window_size.c \
|
2009-12-08 21:36:24 +00:00
|
|
|
tcp_window_size.h \
|
2010-07-19 20:38:40 +00:00
|
|
|
timer.c \
|
2009-12-08 21:36:24 +00:00
|
|
|
timer.h \
|
2010-07-19 20:38:40 +00:00
|
|
|
units.c \
|
2009-12-08 21:36:24 +00:00
|
|
|
units.h \
|
|
|
|
version.h
|
|
|
|
|
|
|
|
# Specify the sources and various flags for the iperf binary
|
|
|
|
iperf3_SOURCES = main.c
|
2014-05-19 15:02:02 -07:00
|
|
|
iperf3_CFLAGS = -g
|
2014-03-04 14:31:35 -08:00
|
|
|
iperf3_LDADD = libiperf.la
|
2013-02-12 11:40:16 -08:00
|
|
|
iperf3_LDFLAGS = -g
|
2009-12-08 21:36:24 +00:00
|
|
|
|
|
|
|
# Specify the sources and various flags for the profiled iperf binary. This
|
|
|
|
# binary recompiles all the source files to make sure they are all profiled.
|
|
|
|
iperf3_profile_SOURCES = main.c \
|
2014-03-04 14:31:35 -08:00
|
|
|
$(libiperf_la_SOURCES)
|
2010-07-19 20:38:40 +00:00
|
|
|
|
2014-05-19 15:02:02 -07:00
|
|
|
iperf3_profile_CFLAGS = -pg -g
|
2014-03-04 14:31:35 -08:00
|
|
|
iperf3_profile_LDADD = libiperf.la
|
2013-02-12 11:40:16 -08:00
|
|
|
iperf3_profile_LDFLAGS = -pg -g
|
2009-12-08 21:36:24 +00:00
|
|
|
|
|
|
|
# Specify the sources and various flags for the test cases
|
|
|
|
t_timer_SOURCES = t_timer.c
|
2014-05-19 15:02:02 -07:00
|
|
|
t_timer_CFLAGS = -g
|
2014-03-04 14:31:35 -08:00
|
|
|
t_timer_LDFLAGS =
|
|
|
|
t_timer_LDADD = libiperf.la
|
2009-12-08 21:36:24 +00:00
|
|
|
|
|
|
|
t_units_SOURCES = t_units.c
|
2014-05-19 15:02:02 -07:00
|
|
|
t_units_CFLAGS = -g
|
2009-12-08 21:36:24 +00:00
|
|
|
t_units_LDFLAGS =
|
2014-03-04 14:31:35 -08:00
|
|
|
t_units_LDADD = libiperf.la
|
2009-12-08 21:36:24 +00:00
|
|
|
|
|
|
|
t_uuid_SOURCES = t_uuid.c
|
2014-05-19 15:02:02 -07:00
|
|
|
t_uuid_CFLAGS = -g
|
2009-12-08 21:36:24 +00:00
|
|
|
t_uuid_LDFLAGS =
|
2014-03-04 14:31:35 -08:00
|
|
|
t_uuid_LDADD = libiperf.la
|
2009-12-08 21:36:24 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Specify which tests to run during a "make check"
|
|
|
|
TESTS = \
|
|
|
|
t_timer \
|
|
|
|
t_units \
|
|
|
|
t_uuid
|
|
|
|
|
2013-03-11 22:03:36 -07:00
|
|
|
dist_man_MANS = iperf3.1 libiperf.3
|