# libts Makefile.am # # 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. noinst_PROGRAMS = mkdfa CompileParseRules check_PROGRAMS = test_atomic test_freelist test_arena test_List TESTS = $(check_PROGRAMS) lib_LTLIBRARIES = libtsutil.la libtsutil_la_LDFLAGS = -version-info @TS_LIBTOOL_VERSION@ libtsutil_la_LIBADD = @LIBOBJS@ @LIBPCRE@ @LIBSSL@ @LIBTCL@ @LIBRESOLV@ @LIBRT@ libtsutil_la_SOURCES = \ Allocator.cc \ Allocator.h \ Arena.cc \ Arena.h \ Bitops.cc \ Bitops.h \ Compatability.h \ DAllocator.h \ Diags.cc \ Diags.h \ DynArray.h \ HostLookup.cc \ HostLookup.h \ ink_aiocb.h \ ink_align.h \ ink_apidefs.h \ ink_args.cc \ ink_args.h \ ink_assert.cc \ ink_assert.h \ ink_atomic.h \ ink_auth_api.cc \ ink_auth_api.h \ ink_base64.cc \ ink_base64.h \ ink_bool.h \ ink_code.cc \ ink_code.h \ ink_defs.cc \ ink_defs.h \ InkErrno.h \ ink_error.cc \ ink_error.h \ ink_exception.h \ ink_file.cc \ ink_file.h \ ink_hash_table.cc \ ink_hash_table.h \ ink_hrtime.cc \ ink_hrtime.h \ ink_inet.cc \ ink_inet.h \ ink_inout.h \ ink_isolatin_table.cc \ ink_isolatin_table.h \ ink_killall.cc \ ink_killall.h \ ink_llqueue.h \ ink_lockfile.h \ INK_MD5.h \ ink_memory.cc \ ink_memory.h \ ink_mutex.cc \ ink_mutex.h \ ink_platform.h \ InkPool.h \ ink_port.h \ ink_queue.cc \ ink_queue.h \ ink_queue_utils.cc \ ink_rand.cc \ ink_rand.h \ ink_res_init.cc \ ink_res_mkquery.cc \ ink_resolver.h \ ink_resource.cc \ ink_resource.h \ ink_rwlock.cc \ ink_rwlock.h \ ink_sock.cc \ ink_sock.h \ ink_sprintf.cc \ ink_sprintf.h \ ink_stack_trace.cc \ ink_stack_trace.h \ ink_string.cc \ ink_string++.cc \ ink_string.h \ ink_string++.h \ ink_syslog.cc \ ink_syslog.h \ ink_thread.cc \ ink_thread.h \ ink_time.cc \ ink_time.h \ inktomi++.h \ ink_unused.h \ fastlz.h \ fastlz.c \ I_Version.h \ List.h \ llqueue.cc \ lockfile.cc \ I_Layout.h \ Layout.cc \ MatcherUtils.cc \ MatcherUtils.h \ MimeTable.cc \ MimeTable.h \ MMH.cc \ MMH.h \ ParseRules.h \ ParseRules.cc \ Ptr.h \ RawHashTable.cc \ RawHashTable.h \ Regex.cc \ Regex.h \ Regression.cc \ Regression.h \ Resource.cc \ Resource.h \ SimpleTokenizer.h \ TextBuffer.cc \ TextBuffer.h \ Tokenizer.cc \ Tokenizer.h \ Version.cc # Special hacks to generate the parser rules ParseRules.cc: ParseRulesCType ParseRulesCType: CompileParseRules ./CompileParseRules mkdfa_SOURCES = mkdfa.c test_atomic_SOURCES = test_atomic.cc test_atomic_LDADD = libtsutil.la @LIBTHREAD@ @LIBTCL@ @LIBICONV@ @LIBEXECINFO@ test_atomic_LDFLAGS = @EXTRA_CXX_LDFLAGS@ test_freelist_SOURCES = test_freelist.cc test_freelist_LDADD = libtsutil.la @LIBTHREAD@ @LIBTCL@ @LIBICONV@ @LIBEXECINFO@ test_freelist_LDFLAGS = @EXTRA_CXX_LDFLAGS@ test_arena_SOURCES = test_arena.cc test_arena_LDADD = libtsutil.la @LIBTHREAD@ @LIBTCL@ @LIBICONV@ @LIBEXECINFO@ test_arena_LDFLAGS = @EXTRA_CXX_LDFLAGS@ test_List_SOURCES = test_List.cc CompileParseRules_SOURCES = CompileParseRules.cc test:: $(TESTS) for f in $(TESTS) ; do $$f ; done #$(foreach F, $(TESTS), $(shell $F)) clean-local: rm -f ParseRulesCType ParseRulesCTypeToLower ParseRulesCTypeToUpper