1#
2#  Licensed to the Apache Software Foundation (ASF) under one
3#  or more contributor license agreements.  See the NOTICE file
4#  distributed with this work for additional information
5#  regarding copyright ownership.  The ASF licenses this file
6#  to you under the Apache License, Version 2.0 (the
7#  "License"); you may not use this file except in compliance
8#  with the License.  You may obtain a copy of the License at
9#
10#      http://www.apache.org/licenses/LICENSE-2.0
11#
12#  Unless required by applicable law or agreed to in writing, software
13#  distributed under the License is distributed on an "AS IS" BASIS,
14#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15#  See the License for the specific language governing permissions and
16#  limitations under the License.
17
18bin_PROGRAMS += traffic_layout/traffic_layout
19
20traffic_layout_traffic_layout_CPPFLAGS = \
21    $(AM_CPPFLAGS) \
22    $(iocore_include_dirs) \
23    -I$(abs_top_srcdir)/include \
24    -I$(abs_top_srcdir)/lib \
25    -I$(abs_top_srcdir)/mgmt \
26    -I$(abs_top_srcdir)/mgmt/utils \
27    @YAMLCPP_INCLUDES@ \
28    $(TS_INCLUDES)
29
30traffic_layout_traffic_layout_LDFLAGS =	\
31    $(AM_LDFLAGS) \
32    @YAMLCPP_LDFLAGS@ $(BROTLIENC_LIB)
33
34traffic_layout_traffic_layout_SOURCES = \
35	traffic_layout/traffic_layout.cc \
36	traffic_layout/file_system.cc \
37	traffic_layout/file_system.h \
38	traffic_layout/engine.cc \
39	traffic_layout/engine.h \
40	traffic_layout/info.cc \
41	traffic_layout/info.h
42
43traffic_layout_traffic_layout_LDADD = \
44	$(top_builddir)/lib/records/librecords_p.a \
45	$(top_builddir)/mgmt/libmgmt_p.la \
46	$(top_builddir)/proxy/shared/libUglyLogStubs.a \
47	$(top_builddir)/iocore/eventsystem/libinkevent.a \
48	$(top_builddir)/src/tscore/libtscore.la \
49	$(top_builddir)/src/tscpp/util/libtscpputil.la \
50	@HWLOC_LIBS@ @YAMLCPP_LIBS@ @LIBLZMA@
51