Makefile.am (2138B)
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, 13# software distributed under the License is distributed on an 14# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15# KIND, either express or implied. See the License for the 16# specific language governing permissions and limitations 17# under the License. 18# 19# NOTE: Parts of this file (Makefile.am) are automatically transcluded verbatim 20# into Makefile.in. Though the build system (GNU Autotools) automatically adds 21# its own license boilerplate to the generated Makefile.in, that boilerplate 22# does not apply to the transcluded portions of Makefile.am which are licensed 23# to you by the ASF under the Apache License, Version 2.0, as described above. 24# 25 26AUTOMAKE_OPTIONS = foreign 27ACLOCAL_AMFLAGS = -I m4 28 29# 30# Unit tests for Kubernetes support 31# 32 33check_PROGRAMS = test_kubernetes 34TESTS = $(check_PROGRAMS) 35 36test_kubernetes_SOURCES = \ 37 url/append.c \ 38 url/escape.c 39 40test_kubernetes_CFLAGS = \ 41 -Werror -Wall -pedantic \ 42 @LIBGUAC_CLIENT_KUBERNETES_INCLUDE@ \ 43 @LIBGUAC_INCLUDE@ 44 45test_kubernetes_LDADD = \ 46 @CUNIT_LIBS@ \ 47 @LIBGUAC_CLIENT_KUBERNETES_LTLIB@ 48 49# 50# Autogenerate test runner 51# 52 53GEN_RUNNER = $(top_srcdir)/util/generate-test-runner.pl 54CLEANFILES = _generated_runner.c 55 56_generated_runner.c: $(test_kubernetes_SOURCES) 57 $(AM_V_GEN) $(GEN_RUNNER) $(test_kubernetes_SOURCES) > $@ 58 59nodist_test_kubernetes_SOURCES = \ 60 _generated_runner.c 61 62# Use automake's TAP test driver for running any tests 63LOG_DRIVER = \ 64 env AM_TAP_AWK='$(AWK)' \ 65 $(SHELL) $(top_srcdir)/build-aux/tap-driver.sh 66