chiark / gitweb /
CMakeLists.txt, lib.h, t/soak, t/treetest.c: Add some support for Windows.
[xyla] / vars.am
1 ### -*-makefile-*-
2 ###
3 ### Common build-system definitions
4 ###
5 ### (c) 2024 Straylight/Edgeware
6 ###
7
8 ###----- Licensing notice ---------------------------------------------------
9 ###
10 ### This file is part of Xyla, a library of binary trees.
11 ###
12 ### Xyla is free software: you can redistribute it and/or modify it under
13 ### the terms of the GNU Lesser General Public License as published by the
14 ### Free Software Foundation; either version 3 of the License, or (at your
15 ### option) any later version.
16 ###
17 ### Xyla is distributed in the hope that it will be useful, but WITHOUT
18 ### ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
19 ### FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
20 ### License for more details.
21 ###
22 ### You should have received a copy of the GNU Lesser General Public
23 ### License along with Xyla.  If not, see <https://www.gnu.org/licenses/>.
24
25 ###--------------------------------------------------------------------------
26 ### Initial values for common variables.
27
28 CLEANFILES               =
29 EXTRA_DIST               =
30
31 LDADD                    =
32
33 pkgconfdir               = $(libdir)/pkgconfig
34 pkgconf_DATA             =
35
36 ###--------------------------------------------------------------------------
37 ### Standard configuration substitutions.
38
39 ## Substitute tags in files.
40 confsubst                = $(top_srcdir)/config/confsubst
41
42 SUBSTITUTIONS = \
43         prefix=$(prefix) exec_prefix=$(exec_prefix) \
44         libdir=$(libdir) includedir=$(includedir) \
45         PACKAGE=$(PACKAGE) VERSION=$(VERSION)
46
47 v_subst                  = $(v_subst_@AM_V@)
48 v_subst_                 = $(v_subst_@AM_DEFAULT_V@)
49 v_subst_0                = @echo "  SUBST    $@";
50 SUBST                    = $(v_subst)$(confsubst)
51
52 ###----- That's all, folks --------------------------------------------------