1 # makefile is generated from makefile.1.mak.
6 # Copyright (C) 2015-2016 Balthasar SzczepaĆski
8 # This program is free software: you can redistribute it and/or modify
9 # it under the terms of the GNU Affero General Public License as
10 # published by the Free Software Foundation, either version 3 of the
11 # License, or (at your option) any later version.
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU Affero General Public License for more details.
18 # You should have received a copy of the GNU Affero General Public License
19 # along with this program. If not, see <http://www.gnu.org/licenses/>.
32 all: moveout moveoutlib copyoutwww remove config.txt
35 moveout: bot interface interface.pl rmaccess setuid exec
36 $(MV) bot interface interface.pl rmaccess $(OD)
38 moveoutlib: facebug_lib.pm setuid exec
39 $(MV) facebug_lib.pm $(LD)
41 copyoutwww: if.css setuid exec
47 exec: bot interface.pl rmaccess
48 $(CM) +x bot interface.pl rmaccess
50 remove: interface interface.c copyoutwww moveout moveoutlib setuid exec
54 interface.pl: interface.1.pl configure.pl settings
55 $(PL) configure.pl settings <interface.1.pl >interface.pl
57 interface.c: interface.1.c configure.pl settings
58 $(PL) configure.pl settings <interface.1.c >interface.c
60 interface: interface.c
61 $(CC) $(CF) -o interface interface.c
63 bot: bot.1.pl configure.pl settings
64 $(PL) configure.pl settings <bot.1.pl >bot
66 rmaccess: rmaccess.1.pl configure.pl settings
67 $(PL) configure.pl settings <rmaccess.1.pl >rmaccess
69 config.txt: config.1.txt configure.pl settings
70 $(PL) configure.pl settings <config.1.txt >config.txt
72 facebug_lib.pm: facebug_lib.1.pm configure.pl settings
73 $(PL) configure.pl settings <facebug_lib.1.pm >facebug_lib.pm