Annotation of embedaddon/iperf/src/Makefile.am, revision 1.1
1.1 ! misho 1: lib_LTLIBRARIES = libiperf.la # Build and install an iperf library
! 2: bin_PROGRAMS = iperf3 # Build and install an iperf binary
! 3: noinst_PROGRAMS = t_timer t_units t_uuid iperf3_profile # Build, but don't install the test programs and a profiled version of iperf3
! 4: include_HEADERS = iperf_api.h # Defines the headers that get installed with the program
! 5:
! 6:
! 7: # Specify the source files and flags for the iperf library
! 8: libiperf_la_SOURCES = \
! 9: cjson.c \
! 10: cjson.h \
! 11: flowlabel.h \
! 12: iperf.h \
! 13: iperf_api.c \
! 14: iperf_api.h \
! 15: iperf_error.c \
! 16: iperf_client_api.c \
! 17: iperf_locale.c \
! 18: iperf_locale.h \
! 19: iperf_server_api.c \
! 20: iperf_tcp.c \
! 21: iperf_tcp.h \
! 22: iperf_udp.c \
! 23: iperf_udp.h \
! 24: iperf_sctp.c \
! 25: iperf_sctp.h \
! 26: iperf_util.c \
! 27: iperf_util.h \
! 28: net.c \
! 29: net.h \
! 30: portable_endian.h \
! 31: queue.h \
! 32: tcp_info.c \
! 33: tcp_window_size.c \
! 34: tcp_window_size.h \
! 35: timer.c \
! 36: timer.h \
! 37: units.c \
! 38: units.h \
! 39: version.h
! 40:
! 41: # Specify the sources and various flags for the iperf binary
! 42: iperf3_SOURCES = main.c
! 43: iperf3_CFLAGS = -g
! 44: iperf3_LDADD = libiperf.la
! 45: iperf3_LDFLAGS = -g
! 46:
! 47: # Specify the sources and various flags for the profiled iperf binary. This
! 48: # binary recompiles all the source files to make sure they are all profiled.
! 49: iperf3_profile_SOURCES = main.c \
! 50: $(libiperf_la_SOURCES)
! 51:
! 52: iperf3_profile_CFLAGS = -pg -g
! 53: iperf3_profile_LDADD = libiperf.la
! 54: iperf3_profile_LDFLAGS = -pg -g
! 55:
! 56: # Specify the sources and various flags for the test cases
! 57: t_timer_SOURCES = t_timer.c
! 58: t_timer_CFLAGS = -g
! 59: t_timer_LDFLAGS =
! 60: t_timer_LDADD = libiperf.la
! 61:
! 62: t_units_SOURCES = t_units.c
! 63: t_units_CFLAGS = -g
! 64: t_units_LDFLAGS =
! 65: t_units_LDADD = libiperf.la
! 66:
! 67: t_uuid_SOURCES = t_uuid.c
! 68: t_uuid_CFLAGS = -g
! 69: t_uuid_LDFLAGS =
! 70: t_uuid_LDADD = libiperf.la
! 71:
! 72:
! 73:
! 74:
! 75: # Specify which tests to run during a "make check"
! 76: TESTS = \
! 77: t_timer \
! 78: t_units \
! 79: t_uuid
! 80:
! 81: dist_man_MANS = iperf3.1 libiperf.3
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>