cscg24-guacamole

CSCG 2024 Challenge 'Guacamole Mashup'
git clone https://git.sinitax.com/sinitax/cscg24-guacamole
Log | Files | Refs | sfeed.txt

Makefile.am (2394B)


      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 libguac_common
     31#
     32
     33check_PROGRAMS = test_common
     34TESTS = $(check_PROGRAMS)
     35
     36noinst_HEADERS =               \
     37    iconv/convert-test-data.h
     38
     39test_common_SOURCES =          \
     40    iconv/convert.c            \
     41    iconv/convert-test-data.c  \
     42    rect/clip_and_split.c      \
     43    rect/constrain.c           \
     44    rect/expand_to_grid.c      \
     45    rect/extend.c              \
     46    rect/init.c                \
     47    rect/intersects.c          \
     48    string/count_occurrences.c \
     49    string/split.c
     50
     51test_common_CFLAGS =        \
     52    -Werror -Wall -pedantic \
     53    @COMMON_INCLUDE@        \
     54    @LIBGUAC_INCLUDE@
     55
     56test_common_LDADD =  \
     57    @COMMON_LTLIB@   \
     58    @CUNIT_LIBS@     \
     59    @LIBGUAC_LTLIB@
     60
     61#
     62# Autogenerate test runner
     63#
     64
     65GEN_RUNNER = $(top_srcdir)/util/generate-test-runner.pl
     66CLEANFILES = _generated_runner.c
     67
     68_generated_runner.c: $(test_common_SOURCES)
     69	$(AM_V_GEN) $(GEN_RUNNER) $(test_common_SOURCES) > $@
     70
     71nodist_test_common_SOURCES = \
     72    _generated_runner.c
     73
     74# Use automake's TAP test driver for running any tests
     75LOG_DRIVER =                \
     76    env AM_TAP_AWK='$(AWK)' \
     77    $(SHELL) $(top_srcdir)/build-aux/tap-driver.sh
     78