Makefile.am (2120B)
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 common SSH support 31# 32 33check_PROGRAMS = test_common_ssh 34TESTS = $(check_PROGRAMS) 35 36test_common_ssh_SOURCES = \ 37 sftp/normalize_path.c 38 39test_common_ssh_CFLAGS = \ 40 -Werror -Wall -pedantic \ 41 @COMMON_INCLUDE@ \ 42 @COMMON_SSH_INCLUDE@ \ 43 @LIBGUAC_INCLUDE@ 44 45test_common_ssh_LDADD = \ 46 @CUNIT_LIBS@ \ 47 @COMMON_SSH_LTLIB@ \ 48 @COMMON_LTLIB@ \ 49 @LIBGUAC_LTLIB@ 50 51# 52# Autogenerate test runner 53# 54 55GEN_RUNNER = $(top_srcdir)/util/generate-test-runner.pl 56CLEANFILES = _generated_runner.c 57 58_generated_runner.c: $(test_common_ssh_SOURCES) 59 $(AM_V_GEN) $(GEN_RUNNER) $(test_common_ssh_SOURCES) > $@ 60 61nodist_test_common_ssh_SOURCES = \ 62 _generated_runner.c 63 64# Use automake's TAP test driver for running any tests 65LOG_DRIVER = \ 66 env AM_TAP_AWK='$(AWK)' \ 67 $(SHELL) $(top_srcdir)/build-aux/tap-driver.sh 68