]> bicyclesonthemoon.info Git - yplom/proxy/blob - makefile.1.mak
Support for 206 Partial content.
[yplom/proxy] / 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 ###LD;
30
31 all: moveout copyout moveoutlib remove config.txt
32
33
34 moveout: proxy proxy.pl cleararch oldlogs rewrite access access.pl   setuid exec
35         $(MV) proxy proxy.pl cleararch oldlogs access access.pl rewrite $(OD)
36
37 copyout:   setuid exec
38 #        $(CP) access.pl $(OD)
39
40 moveoutlib: proxy_lib.pm   setuid exec
41         $(MV) proxy_lib.pm $(LD)
42
43 setuid: proxy access
44         $(CM) u+s proxy access
45
46 exec: cleararch oldlogs rewrite access.pl proxy.pl
47         $(CM) +x cleararch oldlogs rewrite access.pl proxy.pl
48
49 remove: proxy proxy.c access access.c   copyout moveout setuid exec 
50         $(RM) proxy.c access.c
51
52
53
54 proxy.pl: proxy.1.pl configure.pl settings
55         $(PL) configure.pl settings <proxy.1.pl >proxy.pl
56
57 proxy_lib.pm: proxy_lib.1.pm configure.pl settings
58         $(PL) configure.pl settings <proxy_lib.1.pm >proxy_lib.pm
59
60 proxy.c: proxy.1.c   configure.pl settings 
61         $(PL) configure.pl settings <proxy.1.c >proxy.c
62
63 proxy: proxy.c
64         $(CC) $(CF) -o proxy proxy.c
65
66 rewrite: rewrite.1.pl   configure.pl settings 
67         $(PL) configure.pl settings <rewrite.1.pl >rewrite
68
69 access.pl: access.1.pl   configure.pl settings
70         $(PL) configure.pl settings <access.1.pl >access.pl
71
72 access.c: access.1.c   configure.pl settings
73         $(PL) configure.pl settings <access.1.c >access.c
74
75 access: access.c
76         $(CC) $(CF) -o access access.c
77
78 cleararch: cleararch.1.pl   configure.pl settings
79         $(PL) configure.pl settings <cleararch.1.pl >cleararch
80
81 oldlogs: oldlogs.1.pl   configure.pl settings
82         $(PL) configure.pl settings <oldlogs.1.pl >oldlogs
83
84 config.txt: config.1.txt   configure.pl settings
85         $(PL) configure.pl settings <config.1.txt >config.txt