nexmon – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 # Makefile.am
2 #
3 # Wireshark - Network traffic analyzer
4 # By Gerald Combs <gerald@wireshark.org>
5 # Copyright 1998 Gerald Combs
6 #
7 # This program is free software; you can redistribute it and/or
8 # modify it under the terms of the GNU General Public License
9 # as published by the Free Software Foundation; either version 2
10 # of the License, or (at your option) any later version.
11 #
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
16 #
17 # You should have received a copy of the GNU General Public License
18 # along with this program; if not, write to the Free Software
19 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20  
21 include $(top_srcdir)/Makefile.am.inc
22  
23 AM_CPPFLAGS = $(INCLUDEDIRS) $(WS_CPPFLAGS) -DWS_BUILD_DLL \
24 -DTOP_SRCDIR=\"$(abs_top_srcdir)\" \
25 -DDATAFILE_DIR=\"$(pkgdatadir)\" \
26 -DEXTCAP_DIR=\"$(extcapdir)\" \
27 -DPLUGIN_INSTALL_DIR=\"$(plugindir)\" \
28 $(GLIB_CFLAGS) $(LIBGCRYPT_CFLAGS)
29  
30 # Optional headers for ABI checking
31 wsutil_optional_abi_includes =
32  
33 if HAVE_OS_X_FRAMEWORKS
34 wsutil_optional_abi_includes += cfutils.h
35 endif
36  
37 # Header files that don't declare replacement functions for functions
38 # present in the APIs/ABIs of some, but not all, targets.
39 libwsutil_nonrepl_INCLUDES = \
40 adler32.h \
41 aes.h \
42 base64.h \
43 bits_count_ones.h \
44 bits_ctz.h \
45 bitswap.h \
46 buffer.h \
47 clopts_common.h \
48 cmdarg_err.h \
49 copyright_info.h \
50 crash_info.h \
51 crc6.h \
52 crc7.h \
53 crc8.h \
54 crc10.h \
55 crc11.h \
56 crc16.h \
57 crc16-plain.h \
58 crc32.h \
59 des.h \
60 eax.h \
61 filesystem.h \
62 frequency-utils.h \
63 g711.h \
64 inet_addr.h \
65 inet_ipv6.h \
66 interface.h \
67 jsmn.h \
68 md4.h \
69 md5.h \
70 mpeg-audio.h \
71 nstime.h \
72 os_version_info.h \
73 pint.h \
74 plugins.h \
75 privileges.h \
76 processes.h \
77 rc4.h \
78 report_err.h \
79 sha1.h \
80 sha2.h \
81 sign_ext.h \
82 sober128.h \
83 str_util.h \
84 strnatcmp.h \
85 tempfile.h \
86 time_util.h \
87 type_util.h \
88 unicode-utils.h \
89 utf8_entities.h \
90 ws_cpuid.h \
91 ws_mempbrk.h \
92 ws_mempbrk_int.h \
93 ws_printf.h
94  
95 # Header files for functions in libwsutil's ABI on this platform.
96 libwsutil_abi_INCLUDES = \
97 $(libwsutil_nonrepl_INCLUDES) \
98 $(wsutil_optional_abi_includes)
99  
100 # Optional objects that I know how to build. These will be
101 # linked into libwsutil if necessary.
102 wsutil_optional_objects =
103  
104 if SSE42_SUPPORTED
105 wsutil_optional_objects += libwsutil_sse42.la
106 endif
107  
108 noinst_LTLIBRARIES = libwsutil_sse42.la
109  
110 lib_LTLIBRARIES = libwsutil.la
111  
112 libwsutil_la_SOURCES = \
113 $(libwsutil_nonrepl_INCLUDES) \
114 adler32.c \
115 aes.c \
116 airpdcap_wep.c \
117 base64.c \
118 bitswap.c \
119 buffer.c \
120 clopts_common.c \
121 cmdarg_err.c \
122 copyright_info.c \
123 crash_info.c \
124 crc6.c \
125 crc7.c \
126 crc8.c \
127 crc10.c \
128 crc11.c \
129 crc16.c \
130 crc16-plain.c \
131 crc32.c \
132 des.c \
133 eax.c \
134 filesystem.c \
135 frequency-utils.c \
136 g711.c \
137 inet_addr.c \
138 interface.c \
139 jsmn.c \
140 md4.c \
141 md5.c \
142 mpeg-audio.c \
143 nstime.c \
144 os_version_info.c \
145 plugins.c \
146 privileges.c \
147 rc4.c \
148 report_err.c \
149 sha1.c \
150 sha2.c \
151 sober128.c \
152 str_util.c \
153 strnatcmp.c \
154 tempfile.c \
155 time_util.c \
156 type_util.c \
157 unicode-utils.c \
158 ws_mempbrk.c
159  
160 if HAVE_OS_X_FRAMEWORKS
161 libwsutil_la_SOURCES += cfutils.c cfutils.h
162 endif
163  
164 libwsutil_sse42_la_SOURCES = \
165 ws_mempbrk_sse42.c
166  
167 libwsutil_sse42_la_CFLAGS = $(AM_CFLAGS) $(CFLAGS_SSE42)
168  
169 # http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
170 libwsutil_la_LDFLAGS = -version-info 7:0:0 @LDFLAGS_SHAREDLIB@
171  
172 libwsutil_la_LIBADD = \
173 $(LTLIBOBJS) \
174 @COREFOUNDATION_FRAMEWORKS@ \
175 @GLIB_LIBS@ \
176 @LIBGCRYPT_LIBS@ \
177 $(wsutil_optional_objects)
178  
179 EXTRA_libwsutil_la_DEPENDENCIES = \
180 $(wsutil_optional_objects)
181  
182 EXTRA_DIST = \
183 .editorconfig \
184 cfutils.c \
185 cfutils.h \
186 CMakeLists.txt \
187 file_util.c \
188 file_util.h \
189 getopt_long.c \
190 getopt_long.h \
191 inet_addr-int.h \
192 inet_aton.c \
193 inet_aton.h \
194 inet_ntop.c \
195 inet_pton.c \
196 popcount.c \
197 popcount.h \
198 strptime.c \
199 strptime.h \
200 win32-utils.c \
201 win32-utils.h \
202 ws_mempbrk_sse42.c \
203 wsgcrypt.h \
204 wsgetopt.h
205  
206 CLEANFILES = \
207 libwsutil.a \
208 libwsutil.la \
209 *~
210  
211 MAINTAINERCLEANFILES = \
212 Makefile.in
213  
214 # ABI compliance checker can be obtained from
215 # http://ispras.linux-foundation.org/index.php/ABI_compliance_checker
216 # Checked using version 1.21.12
217 dumpabi-libwsutil: all abi-descriptor.xml
218 rm -rf abi-check-headers abi_dumps .libs/*.abi.tar.gz
219 mkdir abi-check-headers
220 cp ../config.h ../ws_symbol_export.h $(libwsutil_abi_INCLUDES) abi-check-headers/
221 abi-compliance-checker -log-path abi_logs/log.txt -l libwsutil -v1 `readlink .libs/libwsutil.so | sed 's/.*\.so\.//'` \
222 -relpath $(abs_srcdir) -dump-abi abi-descriptor.xml || \
223 cat logs/libwsutil/[0-9]*/log.txt
224 cp -f abi_dumps/libwsutil/libwsutil_* .libs/
225 cd .libs && ln -sf libwsutil_*.abi.tar.gz libwsutil.abi.tar.gz
226  
227 maintainer-clean-local: clean-dumpabi-libwsutil
228  
229 .PHONY: clean-dumpabi-libwsutil
230  
231 clean-dumpabi-libwsutil:
232 rm -rf abi-check-headers abi_dumps .libs/*.abi.tar.gz abi_logs abi-descriptor.xml
233  
234 checkapi:
235 $(PERL) $(top_srcdir)/tools/checkAPIs.pl -g termoutput -build \
236 -sourcedir=$(srcdir) \
237 $(LIBWSUTIL_SRC)
238  
239 # $(PERL) $(top_srcdir)/tools/checkAPIs.pl -g abort -g termoutput \
240 # -sourcedir=$(srcdir) \
241 # file_util.c unicode-utils.c
242  
243 #
244 # Editor modelines - https://www.wireshark.org/tools/modelines.html
245 #
246 # Local variables:
247 # c-basic-offset: 8
248 # tab-width: 8
249 # indent-tabs-mode: t
250 # End:
251 #
252 # vi: set shiftwidth=8 tabstop=8 noexpandtab:
253 # :indentSize=8:tabSize=8:noTabs=false:
254 #