3
# Licensed to the Apache Software Foundation (ASF) under one
4
# or more contributor license agreements. See the NOTICE file
5
# distributed with this work for additional information
6
# regarding copyright ownership. The ASF licenses this file
7
# to you under the Apache License, Version 2.0 (the
8
# "License"); you may not use this file except in compliance
9
# with the License. You may obtain a copy of the License at
11
# http://www.apache.org/licenses/LICENSE-2.0
13
# Unless required by applicable law or agreed to in writing, software
14
# distributed under the License is distributed on an "AS IS" BASIS,
15
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
# See the License for the specific language governing permissions and
17
# limitations under the License.
20
noinst_LIBRARIES = libTrafficServerStandalone.a
24
SUBDIRS = congest http2 hdrs logging
28
SUBDIRS += mgmt2 config stats
38
$(iocore_include_dirs) \
39
-I$(top_srcdir)/lib/records \
42
-I$(srcdir)/http2/remap \
45
-I$(srcdir)/mgmt2/preparse \
46
-I$(srcdir)/mgmt2/utils \
55
test_StateEventLogger \
56
test_ClusterHashStandalone \
60
libClusterHashStandalone.a \
61
libTrafficServerStandalone.a
63
EXTRA_DIST = InkAPITestTool.cc example_alarm_bin.sh example_prep.sh
65
traffic_server_SOURCES = \
127
TransformInternal.h \
132
traffic_server_SOURCES += StatSystemV2.cc
136
traffic_server_SOURCES += InkAPITest.cc \
142
traffic_server_LDFLAGS = @EXTRA_CXX_LDFLAGS@
143
traffic_server_LDADD = \
145
http2/remap/libhttp_remap.a \
146
congest/libCongestionControl.a \
147
logging/liblogging.a \
150
mgmt2/preparse/libpreparse.a \
151
mgmt2/utils/libutils_p.a \
153
$(top_builddir)/iocore/utils/libinkutils.a \
154
$(top_builddir)/iocore/cluster/libinkcluster.a \
155
$(top_builddir)/iocore/dns/libinkdns.a \
156
$(top_builddir)/iocore/hostdb/libinkhostdb.a \
157
$(top_builddir)/iocore/dns/libinkdns.a \
158
$(top_builddir)/iocore/cluster/libinkcluster.a \
159
$(top_builddir)/iocore/cache/libinkcache.a \
160
$(top_builddir)/iocore/aio/libinkaio.a \
161
$(top_builddir)/iocore/net/libinknet.a \
162
$(top_builddir)/iocore/eventsystem/libinkevent.a \
163
$(top_builddir)/lib/records/librecprocess.a \
164
$(top_builddir)/iocore/eventsystem/libinkevent.a \
165
$(top_builddir)/lib/ts/libts.a \
166
@LIBTHREAD@ @LIBSOCKET@ @LIBNSL@ @LIBRESOLV@ @LIBRT@ \
167
@LIBPCRE@ @LIBDB@ @LIBSQLITE3@ @LIBSSL@ @LIBTCL@ @LIBDL@ \
168
@LIBEXPAT@ @LIBDEMANGLE@ @LIBICONV@ @LIBCAP@ \
169
@LIBMLD@ @LIBEXC@ @LIBM@ @LIBEV@ @LIBPROFILER@ @LIBEXECINFO@
171
traffic_logcat_SOURCES = logcat.cc
172
traffic_logcat_LDFLAGS = @EXTRA_CXX_LDFLAGS@
173
traffic_logcat_LDADD = \
181
ControlMatcher.o CacheControl.o \
203
http2/remap/libhttp_remap.a \
204
logging/liblogging.a \
207
congest/libCongestionControl.a \
208
mgmt2/preparse/libpreparse.a \
209
mgmt2/utils/libutils_p.a \
211
$(top_builddir)/iocore/utils/libinkutils.a \
212
$(top_builddir)/iocore/cluster/libinkcluster.a \
213
$(top_builddir)/iocore/dns/libinkdns.a \
214
$(top_builddir)/iocore/hostdb/libinkhostdb.a \
215
$(top_builddir)/iocore/cluster/libinkcluster.a \
216
$(top_builddir)/iocore/cache/libinkcache.a \
217
$(top_builddir)/iocore/utils/libinkutils.a \
218
$(top_builddir)/iocore/aio/libinkaio.a \
219
$(top_builddir)/iocore/net/libinknet.a \
220
$(top_builddir)/iocore/eventsystem/libinkevent.a \
221
$(top_builddir)/lib/records/librecprocess.a \
222
$(top_builddir)/iocore/eventsystem/libinkevent.a \
223
$(top_builddir)/lib/ts/libts.a \
224
@LIBTHREAD@ @LIBSOCKET@ @LIBNSL@ @LIBRESOLV@ @LIBRT@ \
225
@LIBPCRE@ @LIBDB@ @LIBSQLITE3@ @LIBSSL@ @LIBTCL@ @LIBDL@ @LIBEV@ \
226
@LIBEXPAT@ @LIBDEMANGLE@ @LIBMLD@ @LIBEXC@ @LIBICONV@ @LIBM@ @LIBPROFILER@ \
230
traffic_logcat_LDADD += StatSystemV2.o
234
traffic_logcat_LDADD += RegressionSM.o \
238
traffic_logstats_SOURCES = logstats.cc
239
traffic_logstats_LDFLAGS = @EXTRA_CXX_LDFLAGS@
240
traffic_logstats_LDADD = \
271
http2/remap/libhttp_remap.a \
272
logging/liblogging.a \
275
congest/libCongestionControl.a \
276
mgmt2/preparse/libpreparse.a \
277
mgmt2/utils/libutils_p.a \
279
$(top_builddir)/iocore/utils/libinkutils.a \
280
$(top_builddir)/iocore/cluster/libinkcluster.a \
281
$(top_builddir)/iocore/dns/libinkdns.a \
282
$(top_builddir)/iocore/hostdb/libinkhostdb.a \
283
$(top_builddir)/iocore/dns/libinkdns.a \
284
$(top_builddir)/iocore/cluster/libinkcluster.a \
285
$(top_builddir)/iocore/cache/libinkcache.a \
286
$(top_builddir)/iocore/utils/libinkutils.a \
287
$(top_builddir)/iocore/aio/libinkaio.a \
288
$(top_builddir)/iocore/net/libinknet.a \
289
$(top_builddir)/iocore/eventsystem/libinkevent.a \
290
$(top_builddir)/lib/records/librecprocess.a \
291
$(top_builddir)/iocore/eventsystem/libinkevent.a \
292
$(top_builddir)/lib/ts/libts.a \
293
@LIBTHREAD@ @LIBSOCKET@ @LIBNSL@ @LIBRESOLV@ @LIBRT@ \
294
@LIBPCRE@ @LIBDB@ @LIBSQLITE3@ @LIBSSL@ @LIBTCL@ @LIBDL@ @LIBEV@ \
295
@LIBEXPAT@ @LIBDEMANGLE@ @LIBMLD@ @LIBEXC@ @LIBICONV@ @LIBM@ @LIBPROFILER@ \
299
traffic_logstats_LDADD += StatSystemV2.o
303
traffic_logstats_LDADD += RegressionSM.o \
307
traffic_sac_SOURCES = sac.cc
308
traffic_sac_LDFLAGS = @EXTRA_CXX_LDFLAGS@
309
traffic_sac_LDADD = \
340
http2/remap/libhttp_remap.a \
341
congest/libCongestionControl.a \
342
logging/liblogging.a \
345
mgmt2/preparse/libpreparse.a \
346
mgmt2/utils/libutils_p.a \
348
$(top_builddir)/iocore/utils/libinkutils.a \
349
$(top_builddir)/iocore/cluster/libinkcluster.a \
350
$(top_builddir)/iocore/dns/libinkdns.a \
351
$(top_builddir)/iocore/hostdb/libinkhostdb.a \
352
$(top_builddir)/iocore/cluster/libinkcluster.a \
353
$(top_builddir)/iocore/cache/libinkcache.a \
354
$(top_builddir)/iocore/utils/libinkutils.a \
355
$(top_builddir)/iocore/aio/libinkaio.a \
356
$(top_builddir)/iocore/net/libinknet.a \
357
$(top_builddir)/iocore/eventsystem/libinkevent.a \
358
$(top_builddir)/lib/records/librecprocess.a \
359
$(top_builddir)/lib/ts/libts.a \
360
@LIBTHREAD@ @LIBSOCKET@ @LIBNSL@ @LIBRESOLV@ @LIBRT@ \
361
@LIBPCRE@ @LIBDB@ @LIBSQLITE3@ @LIBSSL@ @LIBTCL@ @LIBDL@ @LIBEV@ \
362
@LIBEXPAT@ @LIBDEMANGLE@ @LIBMLD@ @LIBEXC@ @LIBICONV@ @LIBM@ @LIBPROFILER@ \
366
traffic_sac_LDADD += StatSystemV2.o
370
traffic_sac_LDADD += RegressionSM.o \
374
libClusterHashStandalone_a_SOURCES = \
375
ClusterHashStandalone.cc \
376
$(top_srcdir)/lib/ts/ParseRules.cc
378
libTrafficServerStandalone_a_SOURCES = \
391
libTrafficServerStandalone_a_SOURCES += StatSystemV2.cc
395
test_StateEventLogger_SOURCES = StateEventLogger.cc
397
test_ClusterHashStandalone_SOURCES = test_ClusterHashStandalone.c
398
test_ClusterHashStandalone_LDADD = libClusterHashStandalone.a
400
test_xml_parser_SOURCES = test_xml_parser.cc InkXml.cc DiagsConfig.cc
402
versiondir = $(pkgsysconfdir)
405
$(INSTALL) -d -o $(pkgsysuser) -g $(pkgsysgroup) $(DESTDIR)$(pkglocalstatedir) $(DESTDIR)$(pkglogdir) $(DESTDIR)$(pkgruntimedir) $(DESTDIR)$(pkgsysconfdir) $(DESTDIR)$(pkgsysconfdir)/internal $(DESTDIR)$(pkgdatadir) $(DESTDIR)$(pkgcachedir)
408
-chown -R $(pkgsysuser):$(pkgsysgroup) $(DESTDIR)$(pkgsysconfdir) $(DESTDIR)$(pkgdatadir)
409
-echo "<TS_VERSION> $(PACKAGE_VERSION)" > $(DESTDIR)$(pkgsysconfdir)/trafficserver-release
412
$(INSTALL) -d -o $(pkgsysuser) -g $(pkgsysgroup) $(DESTDIR)$(pkglibexecdir)
415
-chown -R $(pkgsysuser):$(pkgsysgroup) $(DESTDIR)$(pkglibexecdir)
418
-rm -rf $(DESTDIR)$(pkglocalstatedir) $(DESTDIR)$(pkglogdir) $(DESTDIR)$(pkgruntimedir) $(DESTDIR)$(pkgsysconfdir) $(DESTDIR)$(pkglibexecdir) $(DESTDIR)$(pkgcachedir)