4 # Copyright (C) 2022 Balthasar SzczepaĆski
6 # This program is free software: you can redistribute it and/or modify
7 # it under the terms of the GNU Affero General Public License as
8 # published by the Free Software Foundation, either version 3 of the
9 # License, or (at your option) any later version.
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU Affero General Public License for more details.
16 # You should have received a copy of the GNU Affero General Public License
17 # along with this program. If not, see <http://www.gnu.org/licenses/>.
19 _C_DEFINE_STR: #define $0 "@_ESCAPE($1)"
20 # _C_INCLUDE_STR: #include "@_ESCAPE($0)"
22 _bin_bluenh_path = @_PATH($bin_path, bluenh)
23 _bin_bluenh_cgi_path = @_PATH($bin_path, bluenh-cgi)
24 _bin_diff_path = @_PATH($bin_path, diff)
25 _bin_diff_cgi_path = @_PATH($bin_path, diff-cgi)
26 _bin_nofading_path = @_PATH($bin_path, nofading)
27 _bin_nofading_cgi_path = @_PATH($bin_path, nofading-cgi)
28 _bin_npb_path = @_PATH($bin_path, npb)
29 _bin_npb_cgi_path = @_PATH($bin_path, npb-cgi)
30 _bin_pal_mix_path = @_PATH($bin_path, pal_mix)
31 _bin_pal_mixdiff_path = @_PATH($bin_path, pal_mixdiff)
32 _bin_pal_unmix_path = @_PATH($bin_path, pal_unmix)
33 _bin_pal_cgi_path = @_PATH($bin_path, pal-cgi)
34 _bin_remap_t_1_path = @_PATH($bin_path, remap_t_1)
35 _bin_reveal_path = @_PATH($bin_path, reveal)
36 _bin_reveal_cgi_path = @_PATH($bin_path, reveal-cgi)
37 _bin_t-1_cgi_path = @_PATH($bin_path, t-1-cgi)
39 _conf_path = @_PATH($conf_path, $name\.conf)
41 HTML_TITLE = @_HTML_TITLE()
45 CONF_bluenh = $_bin_bluenh_cgi_path
46 CONF_diff = $_bin_diff_cgi_path
47 CONF_nofading = $_bin_nofading_cgi_path
48 CONF_npb = $_bin_npb_cgi_path
49 CONF_pal = $_bin_pal_cgi_path
50 CONF_reveal = $_bin_reveal_cgi_path
51 CONF_t-1 = $_bin_t-1_cgi_path
54 MAKE_CONFIGURE = CONFIGURE = $configure
55 MAKE_TARGET = TARGET = $target
58 MAKE_CHMOD = CHMOD=$chmod
60 MAKE_MKDIR = MKDIR=$mkdir
61 MAKE_PERL = PERL =$perl
66 MAKE_L_IL = L_IL =$L_IL
67 MAKE_L_CGI = L_CGI=$L_CGI
69 MAKE_CONF = CONF = $_conf_path
71 MAKE_BIN_PATH = BIN_PATH = $bin_path
72 MAKE_TMP_PATH = TMP_PATH = $tmp_path
73 MAKE_WWW_PATH = WWW_PATH = $www_path
76 C_USERAGENT = @_C_DEFINE_STR(USERAGENT, $useragent)
78 C_CP_PATH = @_C_DEFINE_STR(CP_PATH, $cp)
79 C_WGET_PATH = @_C_DEFINE_STR(WGET_PATH, $wget)
80 C_RM_PATH = @_C_DEFINE_STR(RM_PATH, $rm)
82 C_TEMP_PATH = @_C_DEFINE_STR(TEMP_PATH, $tmp_path)
84 C_BLUENH_PATH = @_C_DEFINE_STR(BLUENH_PATH, $_bin_bluenh_path)
85 C_DIFF_PATH = @_C_DEFINE_STR(DIFF_PATH, $_bin_diff_path)
86 C_NOFADING_PATH = @_C_DEFINE_STR(NOFADING_PATH, $_bin_nofading_path)
87 C_NPB_PATH = @_C_DEFINE_STR(NPB_PATH, $_bin_npb_path)
88 C_PAL_MIX_PATH = @_C_DEFINE_STR(PAL_MIX_PATH, $_bin_pal_mix_path)
89 C_PAL_MIXDIFF_PATH = @_C_DEFINE_STR(PAL_MIXDIFF_PATH, $_bin_pal_mixdiff_path)
90 C_PAL_UNMIX_PATH = @_C_DEFINE_STR(PAL_UNMIX_PATH, $_bin_pal_unmix_path)
91 C_REMAP_T_1_PATH = @_C_DEFINE_STR(REMAP_T_1_PATH, $_bin_remap_t_1_path)
92 C_REVEAL_PATH = @_C_DEFINE_STR(REVEAL_PATH, $_bin_reveal_path)