Makefile.am (2087B)
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 RDP support 31# 32 33check_PROGRAMS = test_rdp 34TESTS = $(check_PROGRAMS) 35 36test_rdp_SOURCES = \ 37 fs/basename.c \ 38 fs/normalize_path.c 39 40test_rdp_CFLAGS = \ 41 -Werror -Wall -pedantic \ 42 @LIBGUAC_CLIENT_RDP_INCLUDE@ \ 43 @LIBGUAC_INCLUDE@ 44 45test_rdp_LDADD = \ 46 @CUNIT_LIBS@ \ 47 @LIBGUAC_CLIENT_RDP_LTLIB@ \ 48 @LIBGUAC_LTLIB@ 49 50# 51# Autogenerate test runner 52# 53 54GEN_RUNNER = $(top_srcdir)/util/generate-test-runner.pl 55CLEANFILES = _generated_runner.c 56 57_generated_runner.c: $(test_rdp_SOURCES) 58 $(AM_V_GEN) $(GEN_RUNNER) $(test_rdp_SOURCES) > $@ 59 60nodist_test_rdp_SOURCES = \ 61 _generated_runner.c 62 63# Use automake's TAP test driver for running any tests 64LOG_DRIVER = \ 65 env AM_TAP_AWK='$(AWK)' \ 66 $(SHELL) $(top_srcdir)/build-aux/tap-driver.sh 67