source: lib/Makefile.am @ f1ab057

4.0.1-hotfixescachetimestampsdevelopdpdk-ndagetsilivegetfragoffhelplibtrace4ndag_formatpfringrc-4.0.1rc-4.0.2rc-4.0.3rc-4.0.4ringdecrementfixringperformanceringtimestampfixes
Last change on this file since f1ab057 was f1ab057, checked in by Perry Lorier <perry@…>, 12 years ago

Use -fvisibility=hidden only for libtrace

  • Property mode set to 100644
File size: 1.6 KB
RevLine 
[d8960164]1lib_LTLIBRARIES = libtrace.la
[c66068d]2include_HEADERS = libtrace.h dagformat.h lt_inttypes.h daglegacy.h rt_protocol.h erftypes.h wandio.h
[df6ae1f]3
[f1ab057]4AM_CFLAGS=@LIBCFLAGS@
5
[3b8a5ef]6extra_DIST = format_template.c
[7b2a39b]7if HAVE_NETPACKET_PACKET_H
[8bf0517]8NATIVEFORMATS=format_linux.c
9else
10NATIVEFORMATS=
[7b2a39b]11endif
12
[1c68a81]13if HAVE_BPF_CAPTURE
[755e794]14BPFFORMATS=format_bpf.c
15else
16BPFFORMATS=
17endif
18
[edb18ce]19if HAVE_ZLIB
[c66068d]20LIBTRACEIO_ZLIB=ior-zlib.c iow-zlib.c
[edb18ce]21else
[c66068d]22LIBTRACEIO_ZLIB=
23endif
24
25if HAVE_BZLIB
26LIBTRACEIO_BZLIB=ior-bzip.c iow-bzip.c
27else
28LIBTRACEIO_BZLIB=
[edb18ce]29endif
[4af54d1]30
[5e26f1d]31if HAVE_LZO
32LIBTRACEIO_LZO=iow-lzo.c
33else
34LIBTRACEIO_LZO=
35endif
36
[5e85c23]37if HAVE_DAG
38if DAG2_4
39DAGSOURCE=format_dag24.c
40else
41DAGSOURCE=format_dag25.c
42endif
43else
44DAGSOURCE=
45endif
46EXTRA_DIST=format_dag24.c format_dag25.c
47
[c66068d]48libtrace_la_SOURCES = trace.c common.h \
[a5908d2]49                format_erf.c format_pcap.c format_legacy.c \
[8bf0517]50                format_rt.c format_helper.c format_helper.h format_pcapfile.c \
[e01a738]51                format_duck.c format_tsh.c $(NATIVEFORMATS) $(BPFFORMATS) \
[e1fdc05]52                format_atmhdr.c \
[33d83d4]53                libtrace_int.h lt_inttypes.h \
[a81d2fc]54                linktypes.c link_wireless.c \
55                protocols_pktmeta.c protocols_l2.c protocols_l3.c \
[e53fbe1]56                protocols_transport.c protocols.h \
[c66068d]57                $(DAGSOURCE) format_erf.h \
[5e26f1d]58                $(LIBTRACEIO_ZLIB) $(LIBTRACEIO_BZLIB) $(LIBTRACEIO_LZO) \
59                ior-peek.c ior-stdio.c ior-thread.c \
[c66068d]60                iow-stdio.c iow-thread.c wandio.c \
61                wandio.h
[8bf0517]62
[df6ae1f]63if DAG2_4
[f6879f3]64nodist_libtrace_la_SOURCES = dagopts.c dagapi.c
[df6ae1f]65endif
66
[dfc2673]67INCLUDES = @ADD_INCLS@
[808a478]68libtrace_la_LIBADD = @ADD_LIBS@ @LTLIBOBJS@
[e5f1431]69libtrace_la_LDFLAGS=-version-info @LIBTRACE_MAJOR@:@LIBTRACE_MINOR@:@LIBTRACE_MID@ @ADD_LDFLAGS@
[3937eae]70
[9daf398]71dagapi.c:
72        cp @DAG_TOOLS_DIR@/dagapi.c .
[df6ae1f]73
[9daf398]74dagopts.c:
75        cp @DAG_TOOLS_DIR@/dagopts.c .
Note: See TracBrowser for help on using the repository browser.