File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / iperf / src / Makefile.am
Revision 1.1.1.2 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Mar 17 00:36:45 2021 UTC (3 years, 3 months ago) by misho
Branches: iperf, MAIN
CVS tags: v3_3_9, v3_15, HEAD
iperf 3.3.9

    1: lib_LTLIBRARIES         = libiperf.la                                   # Build and install an iperf library
    2: bin_PROGRAMS            = iperf3                                        # Build and install an iperf binary
    3: if ENABLE_PROFILING
    4: noinst_PROGRAMS         = t_timer t_units t_uuid t_api t_auth iperf3_profile   # Build, but don't install the test programs and a profiled version of iperf3
    5: else
    6: noinst_PROGRAMS         = t_timer t_units t_uuid t_api t_auth                  # Build, but don't install the test programs
    7: endif
    8: include_HEADERS         = iperf_api.h                                   # Defines the headers that get installed with the program
    9: 
   10: 
   11: # Specify the source files and flags for the iperf library
   12: libiperf_la_SOURCES     = \
   13:                         cjson.c \
   14:                         cjson.h \
   15:                         flowlabel.h \
   16:                         iperf.h \
   17:                         iperf_api.c \
   18:                         iperf_api.h \
   19:                         iperf_error.c \
   20:                         iperf_auth.h \
   21:                         iperf_auth.c \
   22:                         iperf_client_api.c \
   23:                         iperf_locale.c \
   24:                         iperf_locale.h \
   25:                         iperf_server_api.c \
   26:                         iperf_tcp.c \
   27:                         iperf_tcp.h \
   28:                         iperf_udp.c \
   29:                         iperf_udp.h \
   30:                         iperf_sctp.c \
   31:                         iperf_sctp.h \
   32:                         iperf_util.c \
   33:                         iperf_util.h \
   34:                         iperf_time.c \
   35:                         iperf_time.h \
   36: 			dscp.c \
   37:                         net.c \
   38:                         net.h \
   39:                         portable_endian.h \
   40:                         queue.h \
   41:                         tcp_info.c \
   42:                         timer.c \
   43:                         timer.h \
   44:                         units.c \
   45:                         units.h \
   46:                         version.h
   47: 
   48: # Specify the sources and various flags for the iperf binary
   49: iperf3_SOURCES          = main.c
   50: iperf3_CFLAGS           = -g
   51: iperf3_LDADD            = libiperf.la
   52: iperf3_LDFLAGS          = -g
   53: 
   54: if ENABLE_PROFILING
   55: # If the iperf-profiled-binary is enabled
   56: # Specify the sources and various flags for the profiled iperf binary. This
   57: # binary recompiles all the source files to make sure they are all profiled.
   58: iperf3_profile_SOURCES  = main.c \
   59:                           $(libiperf_la_SOURCES)
   60: 
   61: iperf3_profile_CFLAGS   = -pg -g
   62: iperf3_profile_LDADD    = libiperf.la
   63: iperf3_profile_LDFLAGS  = -pg -g
   64: endif
   65: 
   66: # Specify the sources and various flags for the test cases
   67: t_timer_SOURCES         = t_timer.c
   68: t_timer_CFLAGS          = -g
   69: t_timer_LDFLAGS         =
   70: t_timer_LDADD           = libiperf.la
   71: 
   72: t_units_SOURCES         = t_units.c
   73: t_units_CFLAGS          = -g
   74: t_units_LDFLAGS         =
   75: t_units_LDADD           = libiperf.la
   76: 
   77: t_uuid_SOURCES          = t_uuid.c
   78: t_uuid_CFLAGS           = -g
   79: t_uuid_LDFLAGS          =
   80: t_uuid_LDADD            = libiperf.la
   81: 
   82: t_api_SOURCES           = t_api.c
   83: t_api_CFLAGS            = -g
   84: t_api_LDFLAGS           =
   85: t_api_LDADD             = libiperf.la
   86: 
   87: t_auth_SOURCES           = t_auth.c
   88: t_auth_CFLAGS            = -g
   89: t_auth_LDFLAGS           =
   90: t_auth_LDADD             = libiperf.la
   91: 
   92: 
   93: 
   94: # Specify which tests to run during a "make check"
   95: TESTS                   = \
   96:                         t_timer \
   97:                         t_units \
   98:                         t_uuid  \
   99:                         t_api \
  100: 			t_auth
  101: 
  102: dist_man_MANS          = iperf3.1 libiperf.3

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>