diff options
| author | bwarsaw | 1998-05-26 18:24:18 +0000 |
|---|---|---|
| committer | bwarsaw | 1998-05-26 18:24:18 +0000 |
| commit | b630ef6bf897c2c3f7f808f075c02eef1f3ed127 (patch) | |
| tree | 503d968f6618a54578fc858a0ff64ba30be77075 | |
| parent | 1dd964487dab7f714197f4f2f84e349f6d828d61 (diff) | |
| download | mailman-b630ef6bf897c2c3f7f808f075c02eef1f3ed127.tar.gz mailman-b630ef6bf897c2c3f7f808f075c02eef1f3ed127.tar.zst mailman-b630ef6bf897c2c3f7f808f075c02eef1f3ed127.zip | |
Autoconf template for this directory's Makefile.
| -rw-r--r-- | cron/Makefile.in | 70 | ||||
| -rw-r--r-- | filters/Makefile.in | 69 | ||||
| -rw-r--r-- | mail/Makefile.in | 69 | ||||
| -rw-r--r-- | misc/Makefile.in | 72 | ||||
| -rw-r--r-- | src/Makefile.in | 124 | ||||
| -rw-r--r-- | templates/Makefile.in | 70 |
6 files changed, 474 insertions, 0 deletions
diff --git a/cron/Makefile.in b/cron/Makefile.in new file mode 100644 index 000000000..42a058d29 --- /dev/null +++ b/cron/Makefile.in @@ -0,0 +1,70 @@ +# 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. + +# NOTE: Makefile.in is converted into Makefile by the configure script +# in the parent directory. Once configure has run, you can recreate +# the Makefile by running just config.status. + +# Variables set by configure + +VERSION= @VERSION@ + +VPATH= @srcdir@ +srcdir= @srcdir@ +bindir= @bindir@ +prefix= @prefix@ +exec_prefix= @exec_prefix@ + +CC= @CC@ +CHMOD= @CHMOD@ +INSTALL= @INSTALL@ + +DEFS= @DEFS@ + +# Customizable but not set by configure + +OPT= @OPT@ +CFLAGS= $(OPT) $(DEFS) +CRONDIR= $(prefix)/cron + +SHELL= /bin/sh + +SCRIPTS= archive checkdbs crontab.in mailpasswds senddigests \ +upvolumes_monthly upvolumes_yearly + +# Modes for directories and executables created by the install +# process. Default to group-writable directories but +# user-only-writable for executables. +DIRMODE= 775 +EXEMODE= 755 +FILEMODE= 644 +INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE) + + +# Rules + +all: + +install: + for f in $(SCRIPTS); \ + do \ + $(INSTALL) -m $(FILEMODE) $$f $(CRONDIR); \ + done + +clean: + +distclean: + -rm Makefile diff --git a/filters/Makefile.in b/filters/Makefile.in new file mode 100644 index 000000000..2f138c387 --- /dev/null +++ b/filters/Makefile.in @@ -0,0 +1,69 @@ +# 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. + +# NOTE: Makefile.in is converted into Makefile by the configure script +# in the parent directory. Once configure has run, you can recreate +# the Makefile by running just config.status. + +# Variables set by configure + +VERSION= @VERSION@ + +VPATH= @srcdir@ +srcdir= @srcdir@ +bindir= @bindir@ +prefix= @prefix@ +exec_prefix= @exec_prefix@ + +CC= @CC@ +CHMOD= @CHMOD@ +INSTALL= @INSTALL@ + +DEFS= @DEFS@ + +# Customizable but not set by configure + +OPT= @OPT@ +CFLAGS= $(OPT) $(DEFS) +FILTERSDIR= $(prefix)/filters + +SHELL= /bin/sh + +FILTERS= bowa-strip + +# Modes for directories and executables created by the install +# process. Default to group-writable directories but +# user-only-writable for executables. +DIRMODE= 775 +EXEMODE= 755 +FILEMODE= 644 +INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE) + + +# Rules + +all: + +install: + for f in $(FILTERS); \ + do \ + $(INSTALL) -m $(FILEMODE) $$f $(FILTERSDIR); \ + done + +clean: + +distclean: + -rm Makefile diff --git a/mail/Makefile.in b/mail/Makefile.in new file mode 100644 index 000000000..88e20bc90 --- /dev/null +++ b/mail/Makefile.in @@ -0,0 +1,69 @@ +# 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. + +# NOTE: Makefile.in is converted into Makefile by the configure script +# in the parent directory. Once configure has run, you can recreate +# the Makefile by running just config.status. + +# Variables set by configure + +VERSION= @VERSION@ + +VPATH= @srcdir@ +srcdir= @srcdir@ +bindir= @bindir@ +prefix= @prefix@ +exec_prefix= @exec_prefix@ + +CC= @CC@ +CHMOD= @CHMOD@ +INSTALL= @INSTALL@ + +DEFS= @DEFS@ + +# Customizable but not set by configure + +OPT= @OPT@ +CFLAGS= $(OPT) $(DEFS) +SCRIPTSDIR= $(prefix)/scripts + +SHELL= /bin/sh + +MODULES= deliver dumb_deliver + +# Modes for directories and executables created by the install +# process. Default to group-writable directories but +# user-only-writable for executables. +DIRMODE= 775 +EXEMODE= 755 +FILEMODE= 644 +INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE) + + +# Rules + +all: + +install: + for f in $(MODULES); \ + do \ + $(INSTALL) -m $(FILEMODE) $$f $(SCRIPTSDIR); \ + done + +clean: + +distclean: + -rm Makefile diff --git a/misc/Makefile.in b/misc/Makefile.in new file mode 100644 index 000000000..cb480aa7c --- /dev/null +++ b/misc/Makefile.in @@ -0,0 +1,72 @@ +# 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. + +# NOTE: Makefile.in is converted into Makefile by the configure script +# in the parent directory. Once configure has run, you can recreate +# the Makefile by running just config.status. + +# Variables set by configure + +VERSION= @VERSION@ + +VPATH= @srcdir@ +srcdir= @srcdir@ +bindir= @bindir@ +prefix= @prefix@ +exec_prefix= @exec_prefix@ + +CC= @CC@ +CHMOD= @CHMOD@ +INSTALL= @INSTALL@ + +DEFS= @DEFS@ + +# Customizable but not set by configure + +OPT= @OPT@ +CFLAGS= $(OPT) $(DEFS) +PACKAGEDIR= $(prefix)/Mailman + +SHELL= /bin/sh + + +# Modes for directories and executables created by the install +# process. Default to group-writable directories but +# user-only-writable for executables. +DIRMODE= 775 +EXEMODE= 755 +FILEMODE= 644 +INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE) + +PATHSDIRS= bin cron scripts + + +# Rules + +all: + +install: + $(INSTALL) -m $(FILEMODE) Cookie.py $(PACKAGEDIR) + for d in $(PATHSDIRS); \ + do \ + dir=$(prefix)/$$d; \ + $(INSTALL) -m $(FILEMODE) paths.py $$dir; \ + done + +clean: + +distclean: + -rm Makefile paths.py diff --git a/src/Makefile.in b/src/Makefile.in new file mode 100644 index 000000000..d25ccd3ee --- /dev/null +++ b/src/Makefile.in @@ -0,0 +1,124 @@ +# 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. + +# NOTE: Makefile.in is converted into Makefile by the configure script +# in the parent directory. Once configure has run, you can recreate +# the Makefile by running just config.status. + +# Variables set by configure + +VERSION= @VERSION@ + +prefix= @prefix@ +exec_prefix= @exec_prefix@ +VPATH= @srcdir@ +srcdir= @srcdir@ +bindir= @bindir@ + +CC= @CC@ +CHMOD= @CHMOD@ +INSTALL= @INSTALL@ +PYTHON= @PYTHON@ + +DEFS= @DEFS@ + +# UIDs and GIDs +MAIL_UID= @MAIL_UID@ +MAIL_GID= @MAIL_GID@ +ALIAS_UID= @ALIAS_UID@ +ALIAS_GID= @ALIAS_GID@ +CGI_UID= @CGI_UID@ +CGI_GID= @CGI_GID@ + +# Customizable but not set by configure + +OPT= @OPT@ +CFLAGS= $(OPT) $(DEFS) +CGIDIR= $(exec_prefix)/cgi-bin +MAILDIR= $(exec_prefix)/mail + +SHELL= /bin/sh + +#ALIAS_FLAGS= -DALIAS_UID=$(ALIAS_UID) \ +# -DALIAS_GID=$(ALIAS_GID) + +MAIL_FLAGS= -DMAIL_UID=$(MAIL_UID) \ + -DMAIL_GID=$(MAIL_GID) + +CGI_FLAGS= -DCGI_UID=$(CGI_UID) \ + -DCGI_GID=$(CGI_GID) + +COMMON_FLAGS= -DPREFIX="\"$(prefix)\"" \ + -DPYTHON="\"$(PYTHON)\"" + + +# Modes for directories and executables created by the install +# process. Default to group-writable directories but +# user-only-writable for executables. +DIRMODE= 775 +EXEMODE= 755 +INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE) + +# Fixed definitions + +CGI_PROGS= admin admindb archives edithtml options \ +listinfo subscribe roster handle_opts private + +MAIL_PROGS= wrapper + +#ALIAS_PROGS= addaliases + +PROGRAMS= $(CGI_PROGS) $(MAIL_PROGS) $(ALIAS_PROGS) + + +# Rules + +all: $(PROGRAMS) + +wrapper: $(srcdir)/mail-wrapper.c common.o + $(CC) -I. $(MAIL_FLAGS) $(CFLAGS) common.o -o $@ $< + +#addaliases: $(srcdir)/alias-wrapper.c common.o +# $(CC) -I. $(ALIAS_FLAGS) $(CFLAGS) -o $@ $< + +$(CGI_PROGS): $(srcdir)/cgi-wrapper.c common.o + $(CC) -DSCRIPT="\"$@\"" -I. $(CGI_FLAGS) $(CFLAGS) common.o -o $@ $< + +common.o: $(srcdir)/common.c + $(CC) -c -I. $(COMMON_FLAGS) $(CFLAGS) $< + +install: all + for f in $(CGI_PROGS); \ + do \ + $(INSTALL_PROGRAM) $$f $(CGIDIR); \ + chmod g+s $(CGIDIR)/$$f; \ + done + for f in $(MAIL_PROGS); \ + do \ + $(INSTALL_PROGRAM) $$f $(MAILDIR); \ + chmod g+s $(MAILDIR)/$$f; \ + done +# @for f in $(ALIAS_PROGS); \ +# do \ +# $(INSTALL_PROGRAM) $$f $(bindir) ; \ +# done + +clean: + -@rm *.o + -@rm -f $(PROGRAMS) + +distclean: clean + -@rm Makefile diff --git a/templates/Makefile.in b/templates/Makefile.in new file mode 100644 index 000000000..aaa77f5e5 --- /dev/null +++ b/templates/Makefile.in @@ -0,0 +1,70 @@ +# 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. + +# NOTE: Makefile.in is converted into Makefile by the configure script +# in the parent directory. Once configure has run, you can recreate +# the Makefile by running just config.status. + +# Variables set by configure + +VERSION= @VERSION@ + +VPATH= @srcdir@ +srcdir= @srcdir@ +bindir= @bindir@ +prefix= @prefix@ +exec_prefix= @exec_prefix@ + +CC= @CC@ +CHMOD= @CHMOD@ +INSTALL= @INSTALL@ + +DEFS= @DEFS@ + +# Customizable but not set by configure + +OPT= @OPT@ +CFLAGS= $(OPT) $(DEFS) +TEMPLATEDIR= $(prefix)/templates + +SHELL= /bin/sh + +TEMPLATES= archives.html handle_opts.html listinfo.html options.html \ +roster.html subscribe.html + +# Modes for directories and executables created by the install +# process. Default to group-writable directories but +# user-only-writable for executables. +DIRMODE= 775 +EXEMODE= 755 +FILEMODE= 644 +INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE) + + +# Rules + +all: + +install: + for f in $(TEMPLATES); \ + do \ + $(INSTALL) -m $(FILEMODE) $$f $(TEMPLATEDIR); \ + done + +clean: + +distclean: + -rm Makefile |
