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