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 20include $(top_srcdir)/build/tidy.mk 21 22SUBDIRS = include 23 24AM_CPPFLAGS += \ 25 $(iocore_include_dirs) \ 26 -I$(abs_top_srcdir)/include \ 27 -I$(abs_top_srcdir)/lib \ 28 -I$(abs_top_srcdir)/mgmt \ 29 -I$(abs_top_srcdir)/mgmt/utils \ 30 -I$(abs_top_srcdir)/mgmt/api/include \ 31 $(TS_INCLUDES) \ 32 $(LIBUNWIND_CFLAGS) 33 34noinst_LTLIBRARIES = libmgmtapilocal.la libmgmtapi.la 35lib_LTLIBRARIES = libtsmgmt.la 36 37libmgmtapi_la_SOURCES = \ 38 CoreAPI.h \ 39 CoreAPIShared.cc \ 40 CoreAPIShared.h \ 41 EventCallback.cc \ 42 EventCallback.h \ 43 INKMgmtAPI.cc \ 44 NetworkMessage.cc \ 45 NetworkMessage.h \ 46 include/mgmtapi.h 47 48if BUILD_TESTS 49noinst_PROGRAMS = traffic_api_cli_remote 50endif 51 52libmgmtapilocal_la_SOURCES = \ 53 CoreAPI.cc \ 54 EventControlMain.cc \ 55 EventControlMain.h \ 56 NetworkUtilsLocal.cc \ 57 NetworkUtilsLocal.h \ 58 TSControlMain.cc \ 59 TSControlMain.h 60 61libtsmgmt_la_SOURCES = \ 62 CoreAPIRemote.cc \ 63 NetworkUtilsRemote.cc \ 64 NetworkUtilsRemote.h 65 66libmgmtapilocal_la_LIBADD = \ 67 libmgmtapi.la \ 68 $(top_builddir)/src/tscore/libtscore.la 69 70libtsmgmt_la_LDFLAGS = -no-undefined -version-info @TS_LIBTOOL_VERSION@ 71libtsmgmt_la_LIBADD = @LIBOBJS@ \ 72 libmgmtapi.la \ 73 $(top_builddir)/src/tscore/libtscore.la \ 74 $(top_builddir)/mgmt/utils/libutils_p.la 75 76if BUILD_TESTS 77traffic_api_cli_remote_SOURCES = APITestCliRemote.cc 78endif 79 80traffic_api_cli_remote_LDADD = \ 81 $(top_builddir)/src/tscpp/util/libtscpputil.la \ 82 libtsmgmt.la \ 83 $(top_builddir)/src/tscpp/util/libtscpputil.la \ 84 $(top_builddir)/src/tscore/libtscore.la \ 85 $(top_builddir)/src/tscpp/util/libtscpputil.la \ 86 @OPENSSL_LIBS@ 87 88clang-tidy-local: $(DIST_SOURCES) 89 $(CXX_Clang_Tidy) 90