From b66e6994abadf1b305b4a56b3a48bfd2535d0bcf Mon Sep 17 00:00:00 2001 From: James Peach Date: Sat, 22 Oct 2016 11:28:29 -0700 Subject: [PATCH] TS-4995: Consolidate C++ API example plugins. Move all the C++ example plugins into the 'example' directory so that there is only one place to look for plugin examples. --- configure.ac | 1 - example/Makefile.am | 148 +++++++++++++----- .../async_http_fetch/AsyncHttpFetch.cc | 0 .../AsyncHttpFetchStreaming.cc | 0 .../cppapi}/async_timer/AsyncTimer.cc | 0 .../cppapi}/boom/README.txt | 0 .../examples => example/cppapi}/boom/boom.cc | 0 .../cppapi}/clientredirect/ClientRedirect.cc | 0 .../cppapi}/clientrequest/ClientRequest.cc | 0 .../CustomErrorRemapPlugin.cc | 0 .../cppapi}/customresponse/CustomResponse.cc | 0 .../cppapi}/globalhook/GlobalHookPlugin.cc | 0 .../GzipTransformationPlugin.cc | 0 .../cppapi}/helloworld/HelloWorldPlugin.cc | 0 .../cppapi}/intercept/intercept.cc | 0 .../InternalTransactionHandling.cc | 0 .../cppapi}/logger_example/LoggerExample.cc | 0 .../MultipleTransactionHookPlugins.cc | 0 .../NullTransformationPlugin.cc | 0 .../cppapi}/post_buffer/PostBuffer.cc | 0 .../cppapi}/remap_plugin/RemapPlugin.cc | 0 .../cppapi}/serverresponse/ServerResponse.cc | 0 .../cppapi}/stat_example/StatExample.cc | 0 .../timeout_example/TimeoutExamplePlugin.cc | 0 .../transactionhook/TransactionHookPlugin.cc | 0 .../cppapi}/websocket/README.txt | 0 .../cppapi}/websocket/WSBuffer.cc | 0 .../cppapi}/websocket/WSBuffer.h | 0 .../cppapi}/websocket/WebSocket.cc | 0 .../cppapi}/websocket/WebSocket.h | 0 lib/atscppapi/Makefile.am | 2 +- lib/atscppapi/examples/Makefile.am | 107 ------------- 32 files changed, 113 insertions(+), 145 deletions(-) rename {lib/atscppapi/examples => example/cppapi}/async_http_fetch/AsyncHttpFetch.cc (100%) rename {lib/atscppapi/examples => example/cppapi}/async_http_fetch_streaming/AsyncHttpFetchStreaming.cc (100%) rename {lib/atscppapi/examples => example/cppapi}/async_timer/AsyncTimer.cc (100%) rename {lib/atscppapi/examples => example/cppapi}/boom/README.txt (100%) rename {lib/atscppapi/examples => example/cppapi}/boom/boom.cc (100%) rename {lib/atscppapi/examples => example/cppapi}/clientredirect/ClientRedirect.cc (100%) rename {lib/atscppapi/examples => example/cppapi}/clientrequest/ClientRequest.cc (100%) rename {lib/atscppapi/examples => example/cppapi}/custom_error_remap_plugin/CustomErrorRemapPlugin.cc (100%) rename {lib/atscppapi/examples => example/cppapi}/customresponse/CustomResponse.cc (100%) rename {lib/atscppapi/examples => example/cppapi}/globalhook/GlobalHookPlugin.cc (100%) rename {lib/atscppapi/examples => example/cppapi}/gzip_transformation/GzipTransformationPlugin.cc (100%) rename {lib/atscppapi/examples => example/cppapi}/helloworld/HelloWorldPlugin.cc (100%) rename {lib/atscppapi/examples => example/cppapi}/intercept/intercept.cc (100%) rename {lib/atscppapi/examples => example/cppapi}/internal_transaction_handling/InternalTransactionHandling.cc (100%) rename {lib/atscppapi/examples => example/cppapi}/logger_example/LoggerExample.cc (100%) rename {lib/atscppapi/examples => example/cppapi}/multiple_transaction_hooks/MultipleTransactionHookPlugins.cc (100%) rename {lib/atscppapi/examples => example/cppapi}/null_transformation_plugin/NullTransformationPlugin.cc (100%) rename {lib/atscppapi/examples => example/cppapi}/post_buffer/PostBuffer.cc (100%) rename {lib/atscppapi/examples => example/cppapi}/remap_plugin/RemapPlugin.cc (100%) rename {lib/atscppapi/examples => example/cppapi}/serverresponse/ServerResponse.cc (100%) rename {lib/atscppapi/examples => example/cppapi}/stat_example/StatExample.cc (100%) rename {lib/atscppapi/examples => example/cppapi}/timeout_example/TimeoutExamplePlugin.cc (100%) rename {lib/atscppapi/examples => example/cppapi}/transactionhook/TransactionHookPlugin.cc (100%) rename {lib/atscppapi/examples => example/cppapi}/websocket/README.txt (100%) rename {lib/atscppapi/examples => example/cppapi}/websocket/WSBuffer.cc (100%) rename {lib/atscppapi/examples => example/cppapi}/websocket/WSBuffer.h (100%) rename {lib/atscppapi/examples => example/cppapi}/websocket/WebSocket.cc (100%) rename {lib/atscppapi/examples => example/cppapi}/websocket/WebSocket.h (100%) delete mode 100644 lib/atscppapi/examples/Makefile.am diff --git a/configure.ac b/configure.ac index 16f7d22db8f..adbfb2edd67 100644 --- a/configure.ac +++ b/configure.ac @@ -1863,7 +1863,6 @@ AC_CONFIG_FILES([ iocore/utils/Makefile lib/Makefile lib/atscppapi/Makefile - lib/atscppapi/examples/Makefile lib/atscppapi/src/Makefile lib/bindings/Makefile lib/perl/Makefile diff --git a/example/Makefile.am b/example/Makefile.am index 045b11cbed8..c12e0b991b2 100644 --- a/example/Makefile.am +++ b/example/Makefile.am @@ -15,47 +15,76 @@ # limitations under the License. include $(top_srcdir)/build/plugins.mk +include $(top_srcdir)/build/tidy.mk +AM_CXXFLAGS += -Wno-unused-variable AM_LDFLAGS = $(TS_PLUGIN_LDFLAGS) -plugins = \ - add-header.la \ - append-transform.la \ - basic-auth.la \ - blacklist-0.la \ - blacklist-1.la \ - bnull-transform.la \ - cache-scan.la \ - file-1.la \ - hello.la \ - intercept.la \ - lifecycle-plugin.la \ - null-transform.la \ - output-header.la \ - passthru.la \ - protocol-stack.la \ - protocol.la \ - psi.la \ - query-remap.la \ - remap.la \ - remap_header_add.la \ - replace-header.la \ - response-header-1.la \ - secure-link.la \ - server-push.la \ - server-transform.la \ - ssl-preaccept.la \ - ssl-sni-whitelist.la \ - ssl-sni.la \ - statistic.la \ - thread-1.la \ - txn-data-sink.la \ - version.la +libatscppai = $(top_builddir)/lib/atscppapi/src/libatscppapi.la + +example_Plugins = \ + add-header.la \ + append-transform.la \ + basic-auth.la \ + blacklist-0.la \ + blacklist-1.la \ + bnull-transform.la \ + cache-scan.la \ + file-1.la \ + hello.la \ + intercept.la \ + lifecycle-plugin.la \ + null-transform.la \ + output-header.la \ + passthru.la \ + protocol-stack.la \ + protocol.la \ + psi.la \ + query-remap.la \ + remap.la \ + remap_header_add.la \ + replace-header.la \ + response-header-1.la \ + secure-link.la \ + server-push.la \ + server-transform.la \ + ssl-preaccept.la \ + ssl-sni-whitelist.la \ + ssl-sni.la \ + statistic.la \ + thread-1.la \ + txn-data-sink.la \ + version.la + +example_Plugins += \ + cppapi/AsyncHttpFetch.la \ + cppapi/AsyncHttpFetchStreaming.la \ + cppapi/AsyncTimer.la \ + cppapi/ClientRedirect.la \ + cppapi/ClientRequest.la \ + cppapi/CustomErrorRemapPlugin.la \ + cppapi/CustomResponse.la \ + cppapi/GlobalHookPlugin.la \ + cppapi/GzipTransformationPlugin.la \ + cppapi/HelloWorldPlugin.la \ + cppapi/InternalTransactionHandling.la \ + cppapi/LoggerExample.la \ + cppapi/MultipleTransactionHookPlugins.la \ + cppapi/NullTransformationPlugin.la \ + cppapi/PostBuffer.la \ + cppapi/RemapPlugin.la \ + cppapi/ServerResponse.la \ + cppapi/StatExample.la \ + cppapi/TimeoutExamplePlugin.la \ + cppapi/TransactionHookPlugin.la \ + cppapi/WebSocket.la \ + cppapi/boom.la \ + cppapi/intercept.la if BUILD_EXAMPLE_PLUGINS -pkglib_LTLIBRARIES = $(plugins) +pkglib_LTLIBRARIES = $(example_Plugins) else -noinst_LTLIBRARIES = $(plugins) +noinst_LTLIBRARIES = $(example_Plugins) endif add_header_la_SOURCES = add-header/add-header.c @@ -96,8 +125,55 @@ version_la_SOURCES = version/version.c # redirect_1_la_SOURCES = redirect-1/redirect-1.c # session_1_la_SOURCES = session-1/session-1.c -include $(top_srcdir)/build/tidy.mk +cppapi_AsyncHttpFetchStreaming_la_SOURCES = cppapi/async_http_fetch_streaming/AsyncHttpFetchStreaming.cc +cppapi_AsyncHttpFetch_la_SOURCES = cppapi/async_http_fetch/AsyncHttpFetch.cc +cppapi_AsyncTimer_la_SOURCES = cppapi/async_timer/AsyncTimer.cc +cppapi_ClientRedirect_la_SOURCES = cppapi/clientredirect/ClientRedirect.cc +cppapi_ClientRequest_la_SOURCES = cppapi/clientrequest/ClientRequest.cc +cppapi_CustomErrorRemapPlugin_la_SOURCES = cppapi/custom_error_remap_plugin/CustomErrorRemapPlugin.cc +cppapi_CustomResponse_la_SOURCES = cppapi/customresponse/CustomResponse.cc +cppapi_GlobalHookPlugin_la_SOURCES = cppapi/globalhook/GlobalHookPlugin.cc +cppapi_GzipTransformationPlugin_la_SOURCES = cppapi/gzip_transformation/GzipTransformationPlugin.cc +cppapi_HelloWorldPlugin_la_SOURCES = cppapi/helloworld/HelloWorldPlugin.cc +cppapi_InternalTransactionHandling_la_SOURCES = cppapi/internal_transaction_handling/InternalTransactionHandling.cc +cppapi_LoggerExample_la_SOURCES = cppapi/logger_example/LoggerExample.cc +cppapi_MultipleTransactionHookPlugins_la_SOURCES = cppapi/multiple_transaction_hooks/MultipleTransactionHookPlugins.cc +cppapi_NullTransformationPlugin_la_SOURCES = cppapi/null_transformation_plugin/NullTransformationPlugin.cc +cppapi_PostBuffer_la_SOURCES = cppapi/post_buffer/PostBuffer.cc +cppapi_RemapPlugin_la_SOURCES = cppapi/remap_plugin/RemapPlugin.cc +cppapi_ServerResponse_la_SOURCES = cppapi/serverresponse/ServerResponse.cc +cppapi_StatExample_la_SOURCES = cppapi/stat_example/StatExample.cc +cppapi_TimeoutExamplePlugin_la_SOURCES = cppapi/timeout_example/TimeoutExamplePlugin.cc +cppapi_TransactionHookPlugin_la_SOURCES = cppapi/transactionhook/TransactionHookPlugin.cc +cppapi_WebSocket_la_SOURCES = cppapi/websocket/WebSocket.cc cppapi/websocket/WSBuffer.cc +cppapi_boom_la_SOURCES = cppapi/boom/boom.cc +cppapi_intercept_la_SOURCES = cppapi/intercept/intercept.cc + +cppapi_AsyncHttpFetchStreaming_la_LIBADD = $(libatscppai) +cppapi_AsyncHttpFetch_la_LIBADD = $(libatscppai) +cppapi_AsyncTimer_la_LIBADD = $(libatscppai) +cppapi_ClientRedirect_la_LIBADD = $(libatscppai) +cppapi_ClientRequest_la_LIBADD = $(libatscppai) +cppapi_CustomErrorRemapPlugin_la_LIBADD = $(libatscppai) +cppapi_CustomResponse_la_LIBADD = $(libatscppai) +cppapi_GlobalHookPlugin_la_LIBADD = $(libatscppai) +cppapi_GzipTransformationPlugin_la_LIBADD = $(libatscppai) +cppapi_HelloWorldPlugin_la_LIBADD = $(libatscppai) +cppapi_InternalTransactionHandling_la_LIBADD = $(libatscppai) +cppapi_LoggerExample_la_LIBADD = $(libatscppai) +cppapi_MultipleTransactionHookPlugins_la_LIBADD = $(libatscppai) +cppapi_NullTransformationPlugin_la_LIBADD = $(libatscppai) +cppapi_PostBuffer_la_LIBADD = $(libatscppai) +cppapi_RemapPlugin_la_LIBADD = $(libatscppai) +cppapi_ServerResponse_la_LIBADD = $(libatscppai) +cppapi_StatExample_la_LIBADD = $(libatscppai) +cppapi_TimeoutExamplePlugin_la_LIBADD = $(libatscppai) +cppapi_TransactionHookPlugin_la_LIBADD = $(libatscppai) +cppapi_WebSocket_la_LIBADD = $(libatscppai) +cppapi_boom_la_LIBADD = $(libatscppai) +cppapi_intercept_la_LIBADD = $(libatscppai) tidy-local: $(DIST_SOURCES) $(CXX_Clang_Tidy) $(CC_Clang_Tidy) + diff --git a/lib/atscppapi/examples/async_http_fetch/AsyncHttpFetch.cc b/example/cppapi/async_http_fetch/AsyncHttpFetch.cc similarity index 100% rename from lib/atscppapi/examples/async_http_fetch/AsyncHttpFetch.cc rename to example/cppapi/async_http_fetch/AsyncHttpFetch.cc diff --git a/lib/atscppapi/examples/async_http_fetch_streaming/AsyncHttpFetchStreaming.cc b/example/cppapi/async_http_fetch_streaming/AsyncHttpFetchStreaming.cc similarity index 100% rename from lib/atscppapi/examples/async_http_fetch_streaming/AsyncHttpFetchStreaming.cc rename to example/cppapi/async_http_fetch_streaming/AsyncHttpFetchStreaming.cc diff --git a/lib/atscppapi/examples/async_timer/AsyncTimer.cc b/example/cppapi/async_timer/AsyncTimer.cc similarity index 100% rename from lib/atscppapi/examples/async_timer/AsyncTimer.cc rename to example/cppapi/async_timer/AsyncTimer.cc diff --git a/lib/atscppapi/examples/boom/README.txt b/example/cppapi/boom/README.txt similarity index 100% rename from lib/atscppapi/examples/boom/README.txt rename to example/cppapi/boom/README.txt diff --git a/lib/atscppapi/examples/boom/boom.cc b/example/cppapi/boom/boom.cc similarity index 100% rename from lib/atscppapi/examples/boom/boom.cc rename to example/cppapi/boom/boom.cc diff --git a/lib/atscppapi/examples/clientredirect/ClientRedirect.cc b/example/cppapi/clientredirect/ClientRedirect.cc similarity index 100% rename from lib/atscppapi/examples/clientredirect/ClientRedirect.cc rename to example/cppapi/clientredirect/ClientRedirect.cc diff --git a/lib/atscppapi/examples/clientrequest/ClientRequest.cc b/example/cppapi/clientrequest/ClientRequest.cc similarity index 100% rename from lib/atscppapi/examples/clientrequest/ClientRequest.cc rename to example/cppapi/clientrequest/ClientRequest.cc diff --git a/lib/atscppapi/examples/custom_error_remap_plugin/CustomErrorRemapPlugin.cc b/example/cppapi/custom_error_remap_plugin/CustomErrorRemapPlugin.cc similarity index 100% rename from lib/atscppapi/examples/custom_error_remap_plugin/CustomErrorRemapPlugin.cc rename to example/cppapi/custom_error_remap_plugin/CustomErrorRemapPlugin.cc diff --git a/lib/atscppapi/examples/customresponse/CustomResponse.cc b/example/cppapi/customresponse/CustomResponse.cc similarity index 100% rename from lib/atscppapi/examples/customresponse/CustomResponse.cc rename to example/cppapi/customresponse/CustomResponse.cc diff --git a/lib/atscppapi/examples/globalhook/GlobalHookPlugin.cc b/example/cppapi/globalhook/GlobalHookPlugin.cc similarity index 100% rename from lib/atscppapi/examples/globalhook/GlobalHookPlugin.cc rename to example/cppapi/globalhook/GlobalHookPlugin.cc diff --git a/lib/atscppapi/examples/gzip_transformation/GzipTransformationPlugin.cc b/example/cppapi/gzip_transformation/GzipTransformationPlugin.cc similarity index 100% rename from lib/atscppapi/examples/gzip_transformation/GzipTransformationPlugin.cc rename to example/cppapi/gzip_transformation/GzipTransformationPlugin.cc diff --git a/lib/atscppapi/examples/helloworld/HelloWorldPlugin.cc b/example/cppapi/helloworld/HelloWorldPlugin.cc similarity index 100% rename from lib/atscppapi/examples/helloworld/HelloWorldPlugin.cc rename to example/cppapi/helloworld/HelloWorldPlugin.cc diff --git a/lib/atscppapi/examples/intercept/intercept.cc b/example/cppapi/intercept/intercept.cc similarity index 100% rename from lib/atscppapi/examples/intercept/intercept.cc rename to example/cppapi/intercept/intercept.cc diff --git a/lib/atscppapi/examples/internal_transaction_handling/InternalTransactionHandling.cc b/example/cppapi/internal_transaction_handling/InternalTransactionHandling.cc similarity index 100% rename from lib/atscppapi/examples/internal_transaction_handling/InternalTransactionHandling.cc rename to example/cppapi/internal_transaction_handling/InternalTransactionHandling.cc diff --git a/lib/atscppapi/examples/logger_example/LoggerExample.cc b/example/cppapi/logger_example/LoggerExample.cc similarity index 100% rename from lib/atscppapi/examples/logger_example/LoggerExample.cc rename to example/cppapi/logger_example/LoggerExample.cc diff --git a/lib/atscppapi/examples/multiple_transaction_hooks/MultipleTransactionHookPlugins.cc b/example/cppapi/multiple_transaction_hooks/MultipleTransactionHookPlugins.cc similarity index 100% rename from lib/atscppapi/examples/multiple_transaction_hooks/MultipleTransactionHookPlugins.cc rename to example/cppapi/multiple_transaction_hooks/MultipleTransactionHookPlugins.cc diff --git a/lib/atscppapi/examples/null_transformation_plugin/NullTransformationPlugin.cc b/example/cppapi/null_transformation_plugin/NullTransformationPlugin.cc similarity index 100% rename from lib/atscppapi/examples/null_transformation_plugin/NullTransformationPlugin.cc rename to example/cppapi/null_transformation_plugin/NullTransformationPlugin.cc diff --git a/lib/atscppapi/examples/post_buffer/PostBuffer.cc b/example/cppapi/post_buffer/PostBuffer.cc similarity index 100% rename from lib/atscppapi/examples/post_buffer/PostBuffer.cc rename to example/cppapi/post_buffer/PostBuffer.cc diff --git a/lib/atscppapi/examples/remap_plugin/RemapPlugin.cc b/example/cppapi/remap_plugin/RemapPlugin.cc similarity index 100% rename from lib/atscppapi/examples/remap_plugin/RemapPlugin.cc rename to example/cppapi/remap_plugin/RemapPlugin.cc diff --git a/lib/atscppapi/examples/serverresponse/ServerResponse.cc b/example/cppapi/serverresponse/ServerResponse.cc similarity index 100% rename from lib/atscppapi/examples/serverresponse/ServerResponse.cc rename to example/cppapi/serverresponse/ServerResponse.cc diff --git a/lib/atscppapi/examples/stat_example/StatExample.cc b/example/cppapi/stat_example/StatExample.cc similarity index 100% rename from lib/atscppapi/examples/stat_example/StatExample.cc rename to example/cppapi/stat_example/StatExample.cc diff --git a/lib/atscppapi/examples/timeout_example/TimeoutExamplePlugin.cc b/example/cppapi/timeout_example/TimeoutExamplePlugin.cc similarity index 100% rename from lib/atscppapi/examples/timeout_example/TimeoutExamplePlugin.cc rename to example/cppapi/timeout_example/TimeoutExamplePlugin.cc diff --git a/lib/atscppapi/examples/transactionhook/TransactionHookPlugin.cc b/example/cppapi/transactionhook/TransactionHookPlugin.cc similarity index 100% rename from lib/atscppapi/examples/transactionhook/TransactionHookPlugin.cc rename to example/cppapi/transactionhook/TransactionHookPlugin.cc diff --git a/lib/atscppapi/examples/websocket/README.txt b/example/cppapi/websocket/README.txt similarity index 100% rename from lib/atscppapi/examples/websocket/README.txt rename to example/cppapi/websocket/README.txt diff --git a/lib/atscppapi/examples/websocket/WSBuffer.cc b/example/cppapi/websocket/WSBuffer.cc similarity index 100% rename from lib/atscppapi/examples/websocket/WSBuffer.cc rename to example/cppapi/websocket/WSBuffer.cc diff --git a/lib/atscppapi/examples/websocket/WSBuffer.h b/example/cppapi/websocket/WSBuffer.h similarity index 100% rename from lib/atscppapi/examples/websocket/WSBuffer.h rename to example/cppapi/websocket/WSBuffer.h diff --git a/lib/atscppapi/examples/websocket/WebSocket.cc b/example/cppapi/websocket/WebSocket.cc similarity index 100% rename from lib/atscppapi/examples/websocket/WebSocket.cc rename to example/cppapi/websocket/WebSocket.cc diff --git a/lib/atscppapi/examples/websocket/WebSocket.h b/example/cppapi/websocket/WebSocket.h similarity index 100% rename from lib/atscppapi/examples/websocket/WebSocket.h rename to example/cppapi/websocket/WebSocket.h diff --git a/lib/atscppapi/Makefile.am b/lib/atscppapi/Makefile.am index 2e1ba774171..4f8b7b41e1e 100644 --- a/lib/atscppapi/Makefile.am +++ b/lib/atscppapi/Makefile.am @@ -14,4 +14,4 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -SUBDIRS = src examples +SUBDIRS = src diff --git a/lib/atscppapi/examples/Makefile.am b/lib/atscppapi/examples/Makefile.am deleted file mode 100644 index 47064fb323c..00000000000 --- a/lib/atscppapi/examples/Makefile.am +++ /dev/null @@ -1,107 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -include $(top_srcdir)/build/plugins.mk -include $(top_srcdir)/build/tidy.mk - -plugins = \ - AsyncHttpFetch.la \ - AsyncHttpFetchStreaming.la \ - AsyncTimer.la \ - ClientRedirect.la \ - ClientRequest.la \ - CustomErrorRemapPlugin.la \ - CustomResponse.la \ - GlobalHookPlugin.la \ - GzipTransformationPlugin.la \ - HelloWorldPlugin.la \ - InternalTransactionHandling.la \ - LoggerExample.la \ - MultipleTransactionHookPlugins.la \ - NullTransformationPlugin.la \ - PostBuffer.la \ - RemapPlugin.la \ - ServerResponse.la \ - StatExample.la \ - TimeoutExamplePlugin.la \ - TransactionHookPlugin.la \ - WebSocket.la \ - boom.la \ - intercept.la - -if BUILD_EXAMPLE_PLUGINS -pkglib_LTLIBRARIES = $(plugins) -else -noinst_LTLIBRARIES = $(plugins) -endif - -AM_CXXFLAGS += -Wno-unused-variable -AM_CPPFLAGS += -I$(top_srcdir)/$(subdir)/src/include -AM_LDFLAGS = $(TS_PLUGIN_LDFLAGS) - -libatscppai = $(top_builddir)/lib/atscppapi/src/libatscppapi.la - -AsyncHttpFetchStreaming_la_SOURCES = async_http_fetch_streaming/AsyncHttpFetchStreaming.cc -AsyncHttpFetch_la_SOURCES = async_http_fetch/AsyncHttpFetch.cc -AsyncTimer_la_SOURCES = async_timer/AsyncTimer.cc -ClientRedirect_la_SOURCES = clientredirect/ClientRedirect.cc -ClientRequest_la_SOURCES = clientrequest/ClientRequest.cc -CustomErrorRemapPlugin_la_SOURCES = custom_error_remap_plugin/CustomErrorRemapPlugin.cc -CustomResponse_la_SOURCES = customresponse/CustomResponse.cc -GlobalHookPlugin_la_SOURCES = globalhook/GlobalHookPlugin.cc -GzipTransformationPlugin_la_SOURCES = gzip_transformation/GzipTransformationPlugin.cc -HelloWorldPlugin_la_SOURCES = helloworld/HelloWorldPlugin.cc -InternalTransactionHandling_la_SOURCES = internal_transaction_handling/InternalTransactionHandling.cc -LoggerExample_la_SOURCES = logger_example/LoggerExample.cc -MultipleTransactionHookPlugins_la_SOURCES = multiple_transaction_hooks/MultipleTransactionHookPlugins.cc -NullTransformationPlugin_la_SOURCES = null_transformation_plugin/NullTransformationPlugin.cc -PostBuffer_la_SOURCES = post_buffer/PostBuffer.cc -RemapPlugin_la_SOURCES = remap_plugin/RemapPlugin.cc -ServerResponse_la_SOURCES = serverresponse/ServerResponse.cc -StatExample_la_SOURCES = stat_example/StatExample.cc -TimeoutExamplePlugin_la_SOURCES = timeout_example/TimeoutExamplePlugin.cc -TransactionHookPlugin_la_SOURCES = transactionhook/TransactionHookPlugin.cc -WebSocket_la_SOURCES = websocket/WebSocket.cc websocket/WSBuffer.cc -boom_la_SOURCES = boom/boom.cc -intercept_la_SOURCES = intercept/intercept.cc - -AsyncHttpFetchStreaming_la_LIBADD = $(libatscppai) -AsyncHttpFetch_la_LIBADD = $(libatscppai) -AsyncTimer_la_LIBADD = $(libatscppai) -ClientRedirect_la_LIBADD = $(libatscppai) -ClientRequest_la_LIBADD = $(libatscppai) -CustomErrorRemapPlugin_la_LIBADD = $(libatscppai) -CustomResponse_la_LIBADD = $(libatscppai) -GlobalHookPlugin_la_LIBADD = $(libatscppai) -GzipTransformationPlugin_la_LIBADD = $(libatscppai) -HelloWorldPlugin_la_LIBADD = $(libatscppai) -InternalTransactionHandling_la_LIBADD = $(libatscppai) -LoggerExample_la_LIBADD = $(libatscppai) -MultipleTransactionHookPlugins_la_LIBADD = $(libatscppai) -NullTransformationPlugin_la_LIBADD = $(libatscppai) -PostBuffer_la_LIBADD = $(libatscppai) -RemapPlugin_la_LIBADD = $(libatscppai) -ServerResponse_la_LIBADD = $(libatscppai) -StatExample_la_LIBADD = $(libatscppai) -TimeoutExamplePlugin_la_LIBADD = $(libatscppai) -TransactionHookPlugin_la_LIBADD = $(libatscppai) -WebSocket_la_LIBADD = $(libatscppai) -boom_la_LIBADD = $(libatscppai) -intercept_la_LIBADD = $(libatscppai) - -tidy-local: $(DIST_SOURCES) - $(CXX_Clang_Tidy)