]> bicyclesonthemoon.info Git - yplom/facebug1/blob - makefile.1.mak
fixed autogenerated config bug: > instead of >>
[yplom/facebug1] / makefile.1.mak
1 # makefile is generated from makefile.1.mak.
2 # 13.01.2016
3 #
4 # This is the makefile
5 #
6 #    Copyright (C) 2015-2016  Balthasar SzczepaƄski
7 #
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.
12 #
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.
17 #
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/>.
20
21 ###CC;
22 ###CF;
23 ###PL;
24 ###CP;
25 ###MV;
26 ###RM;
27 ###CM;
28 ###OD;
29 ###WD;
30 ###LD;
31
32 all: moveout moveoutlib copyoutwww remove config.txt
33
34
35 moveout: bot interface interface.pl rmaccess  setuid exec
36         $(MV) bot interface interface.pl rmaccess $(OD)
37
38 moveoutlib: facebug_lib.pm   setuid exec
39         $(MV) facebug_lib.pm $(LD)
40
41 copyoutwww: if.css   setuid exec
42         $(CP) if.css $(WD)
43
44 setuid: interface
45         $(CM) u+s interface
46
47 exec: bot interface.pl rmaccess
48         $(CM) +x bot interface.pl rmaccess
49
50 remove: interface interface.c   copyoutwww moveout moveoutlib setuid exec 
51         $(RM) interface.c
52
53
54 interface.pl: interface.1.pl   configure.pl settings
55         $(PL) configure.pl settings <interface.1.pl >interface.pl
56
57 interface.c: interface.1.c   configure.pl settings
58         $(PL) configure.pl settings <interface.1.c >interface.c
59
60 interface: interface.c
61         $(CC) $(CF) -o interface interface.c
62
63 bot: bot.1.pl   configure.pl settings 
64         $(PL) configure.pl settings <bot.1.pl >bot
65
66 rmaccess: rmaccess.1.pl   configure.pl settings 
67         $(PL) configure.pl settings <rmaccess.1.pl >rmaccess
68
69 config.txt: config.1.txt   configure.pl settings
70         $(PL) configure.pl settings <config.1.txt >config.txt
71
72 facebug_lib.pm: facebug_lib.1.pm   configure.pl settings
73         $(PL) configure.pl settings <facebug_lib.1.pm >facebug_lib.pm