summaryrefslogtreecommitdiff
path: root/src/Makefile
blob: 2ea6a4d7fc00b98b76c24bb348e8f076d7c4d560 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# Copyright (C) 1998 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
# 
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
# 
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.


HOME=/home/mailman
CGI=${HOME}/cgi-bin
MAILMAN=${HOME}/mailman


all: admin_wrapper admindb_wrapper archives_wrapper edithtml_wrapper options_wrapper listinfo_wrapper subscribe_wrapper roster_wrapper handle_opts_wrapper mail_wrapper alias_wrapper private_wrapper

admin_wrapper:
	gcc -D SCRIPT="\"admin\"" -o ${CGI}/admin cgi-wrapper.c
	chmod a+sx ${CGI}/admin

admindb_wrapper:
	gcc -D SCRIPT="\"admindb\"" -o ${CGI}/admindb cgi-wrapper.c
	chmod a+sx ${CGI}/admindb

archives_wrapper:
	gcc -D SCRIPT="\"archives\"" -o ${CGI}/archives cgi-wrapper.c
	chmod a+sx ${CGI}/archives

edithtml_wrapper:
	gcc -D SCRIPT="\"edithtml\"" -o ${CGI}/edithtml cgi-wrapper.c
	chmod a+sx ${CGI}/edithtml

options_wrapper: 
	gcc -D SCRIPT="\"options\"" -o ${CGI}/options cgi-wrapper.c
	chmod a+sx ${CGI}/options

listinfo_wrapper:
	gcc -D SCRIPT="\"listinfo\"" -o ${CGI}/listinfo cgi-wrapper.c
	chmod a+sx ${CGI}/listinfo

subscribe_wrapper:
	gcc -D SCRIPT="\"subscribe\"" -o ${CGI}/subscribe cgi-wrapper.c
	chmod a+sx ${CGI}/subscribe

roster_wrapper:
	gcc -D SCRIPT="\"roster\"" -o ${CGI}/roster cgi-wrapper.c
	chmod a+sx ${CGI}/roster

handle_opts_wrapper:
	gcc -D SCRIPT="\"handle_opts\"" -o ${CGI}/handle_opts cgi-wrapper.c
	chmod a+sx ${CGI}/handle_opts

private_wrapper:
	gcc -D SCRIPT="\"private\"" -o ${CGI}/private cgi-wrapper.c
	chmod a+sx ${CGI}/private

mail_wrapper:
	gcc -o ${MAILMAN}/mail/wrapper mail-wrapper.c
	chmod a+sx ${MAILMAN}/mail/wrapper

alias_wrapper:
	gcc -o ${MAILMAN}/bin/addaliases alias-wrapper.c
	chmod a+sx ${MAILMAN}/bin/addaliases