Debian Codegraph @

tests/unit-tests/Makefile.am

raw ◀ ▶
1 Debian patch touch this file
1 # guile-cairo
2 # Copyright (C) 2007,2011 Andy Wingo <[email protected]>
3 # Copyright (C) 2023 David Pirotte <[email protected]>
4 #
5 # This program is free software: you can redistribute it and/or modify
6 # it under the terms of the GNU Lesser General Public License as
7 # published by the Free Software Foundation, either version 3 of the
8 # License, or (at your option) any later version.
9 #
10 # This program is distributed in the hope that it will be useful, but
11 # WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 # Lesser General Public License for more details.
14 #
15 # You should have received a copy of the GNU Lesser General Public
16 # License along with this program. If not, see
17 # <http://www.gnu.org/licenses/>.
18
19 TESTS= \
20 context-pointer.scm \
21 api-stability.scm \
22 version.scm
23
24 TESTS_ENVIRONMENT=\
•25 API_FILE=$(srcdir)/cairo.api GUILE_CAIRO_LIB_PATH=$(top_builddir)/guile-cairo/libguile-cairo $(top_builddir)/env guile -s
26
27 %.api.update:
28 $(top_builddir)/env $(srcdir)/update-api $(subst ., ,$*) > $(srcdir)/$*.api
29
30 %.check: %
31 $(TESTS_ENVIRONMENT) $*
32
33 EXTRA_DIST=$(TESTS) cairo.api