From 0d6ed54d963f3bc4a8ae40d3d862b35f54717744 Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Sat, 3 Nov 2001 21:43:44 +0000 Subject: [PATCH] Changed makefile system --- examples/Makefile | 34 +++ examples/Makefile.am | 20 -- examples/Makefile.in | 304 ------------------------- html/Makefile | 126 +++++++++++ html/Makefile.am | 113 ---------- html/Makefile.in | 347 ----------------------------- lang/Makefile | 40 ++++ lang/Makefile.am | 42 ---- lang/Makefile.in | 384 -------------------------------- lib/Makefile | 160 ++++++++++++++ lib/Makefile.am | 35 --- lib/Makefile.in | 462 -------------------------------------- mbcico/Makefile | 133 +++++++++++ mbcico/Makefile.am | 35 --- mbcico/Makefile.in | 419 ----------------------------------- mbfido/Makefile | 185 ++++++++++++++++ mbfido/Makefile.am | 58 ----- mbfido/Makefile.in | 492 ----------------------------------------- mbmon/Makefile | 63 ++++++ mbmon/Makefile.am | 11 - mbmon/Makefile.in | 384 -------------------------------- mbsebbs/Makefile | 194 ++++++++++++++++ mbsebbs/Makefile.am | 61 ----- mbsebbs/Makefile.in | 515 ------------------------------------------- mbsetup/Makefile | 109 +++++++++ mbsetup/Makefile.am | 24 -- mbsetup/Makefile.in | 403 --------------------------------- 27 files changed, 1044 insertions(+), 4109 deletions(-) create mode 100644 examples/Makefile delete mode 100644 examples/Makefile.am delete mode 100644 examples/Makefile.in create mode 100644 html/Makefile delete mode 100644 html/Makefile.am delete mode 100644 html/Makefile.in create mode 100644 lang/Makefile delete mode 100644 lang/Makefile.am delete mode 100644 lang/Makefile.in create mode 100644 lib/Makefile delete mode 100644 lib/Makefile.am delete mode 100644 lib/Makefile.in create mode 100644 mbcico/Makefile delete mode 100644 mbcico/Makefile.am delete mode 100644 mbcico/Makefile.in create mode 100644 mbfido/Makefile delete mode 100644 mbfido/Makefile.am delete mode 100644 mbfido/Makefile.in create mode 100644 mbmon/Makefile delete mode 100644 mbmon/Makefile.am delete mode 100644 mbmon/Makefile.in create mode 100644 mbsebbs/Makefile delete mode 100644 mbsebbs/Makefile.am delete mode 100644 mbsebbs/Makefile.in create mode 100644 mbsetup/Makefile delete mode 100644 mbsetup/Makefile.am delete mode 100644 mbsetup/Makefile.in diff --git a/examples/Makefile b/examples/Makefile new file mode 100644 index 00000000..18075e0f --- /dev/null +++ b/examples/Makefile @@ -0,0 +1,34 @@ +# Copyright (c) M. Broek, 1997-2001 +# $Id: + +include ../Makefile.global + +OTHER = Makefile etc.tar menus.tar txtfiles.tar + +##################################################################################### + +install: + @if [ ! -f ${ETCDIR}/footer.txt ]; then \ + tar xfC etc.tar ${ETCDIR} ; \ + echo "Installing default etc files" ; \ + fi + @if [ ! -f ${PREFIX}/english/menus/main.mnu ]; then \ + tar xfC menus.tar ${PREFIX}/english/menus ; \ + echo "Installing default english menus" ; \ + fi + @if [ ! -f ${PREFIX}/english/txtfiles/main.ans ]; then \ + tar xfC txtfiles.tar ${PREFIX}/english/txtfiles ; \ + echo "Installing default english txtfiles" ; \ + fi + +clean: + rm -f filelist Makefile.bak + +filelist: Makefile + BASE=`pwd`; \ + BASE=`basename $${BASE}`; \ + (for f in ${OTHER} ;do echo ${PACKAGE}-${VERSION}/$${BASE}/$$f; done) >filelist +all: + +depend: + diff --git a/examples/Makefile.am b/examples/Makefile.am deleted file mode 100644 index 1897e136..00000000 --- a/examples/Makefile.am +++ /dev/null @@ -1,20 +0,0 @@ -## Process this file with automake to produce Makefile.in - -SUBDIRS = . - -EXTRA_DIST = etc.tar menus.tar txtfiles.tar - -install-exec-local: - @if [ ! -f $(sysconfdir)/mareas.data ]; then \ - tar xfC etc.tar $(sysconfdir) ; \ - echo "Installing default databases" ; \ - fi - @if [ ! -f $(prefix)/english/menus/main.mnu ]; then \ - tar xfC menus.tar $(prefix)/english/menus ; \ - echo "Installing default english menus" ; \ - fi - @if [ ! -f $(prefix)/english/txtfiles/main.ans ]; then \ - tar xfC txtfiles.tar $(prefix)/english/txtfiles ; \ - echo "Installing default english txtfiles" ; \ - fi - diff --git a/examples/Makefile.in b/examples/Makefile.in deleted file mode 100644 index 62567eb8..00000000 --- a/examples/Makefile.in +++ /dev/null @@ -1,304 +0,0 @@ -# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am - -# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - - -SHELL = @SHELL@ - -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -infodir = @infodir@ -mandir = @mandir@ -includedir = @includedir@ -oldincludedir = /usr/include - -DESTDIR = - -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ - -top_builddir = .. - -ACLOCAL = @ACLOCAL@ -AUTOCONF = @AUTOCONF@ -AUTOMAKE = @AUTOMAKE@ -AUTOHEADER = @AUTOHEADER@ - -INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -transform = @program_transform_name@ - -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -AWK = @AWK@ -CC = @CC@ -CHOWN = @CHOWN@ -COMPRESS = @COMPRESS@ -GROUP = @GROUP@ -GZIP = @GZIP@ -LEX = @LEX@ -LOG_COMPRESS = @LOG_COMPRESS@ -LOG_COMPRESSEXT = @LOG_COMPRESSEXT@ -MAKEINFO = @MAKEINFO@ -OWNER = @OWNER@ -PACKAGE = @PACKAGE@ -RANLIB = @RANLIB@ -VERSION = @VERSION@ -YACC = @YACC@ - -SUBDIRS = . - -EXTRA_DIST = etc.tar menus.tar txtfiles.tar -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_HEADER = ../config.h -CONFIG_CLEAN_FILES = -DIST_COMMON = Makefile.am Makefile.in - - -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) - -TAR = tar -GZIP_ENV = --best -all: all-redirect -.SUFFIXES: -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu examples/Makefile - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status - - -# This directory's subdirectories are mostly independent; you can cd -# into them and run `make' without going through this Makefile. -# To change the values of `make' variables: instead of editing Makefiles, -# (1) if the variable is set in `config.status', edit `config.status' -# (which will cause the Makefiles to be regenerated when you run `make'); -# (2) otherwise, pass the desired values on the `make' command line. - -@SET_MAKE@ - -all-recursive install-data-recursive install-exec-recursive \ -installdirs-recursive install-recursive uninstall-recursive \ -check-recursive installcheck-recursive info-recursive dvi-recursive: - @set fnord $(MAKEFLAGS); amf=$$2; \ - dot_seen=no; \ - target=`echo $@ | sed s/-recursive//`; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - dot_seen=yes; \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ - done; \ - if test "$$dot_seen" = "no"; then \ - $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ - fi; test -z "$$fail" - -mostlyclean-recursive clean-recursive distclean-recursive \ -maintainer-clean-recursive: - @set fnord $(MAKEFLAGS); amf=$$2; \ - dot_seen=no; \ - rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \ - rev="$$subdir $$rev"; \ - test "$$subdir" = "." && dot_seen=yes; \ - done; \ - test "$$dot_seen" = "no" && rev=". $$rev"; \ - target=`echo $@ | sed s/-recursive//`; \ - for subdir in $$rev; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ - done && test -z "$$fail" -tags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ - done - -tags: TAGS - -ID: $(HEADERS) $(SOURCES) $(LISP) - list='$(SOURCES) $(HEADERS)'; \ - unique=`for i in $$list; do echo $$i; done | \ - awk ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - here=`pwd` && cd $(srcdir) \ - && mkid -f$$here/ID $$unique $(LISP) - -TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) - tags=; \ - here=`pwd`; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ - fi; \ - done; \ - list='$(SOURCES) $(HEADERS)'; \ - unique=`for i in $$list; do echo $$i; done | \ - awk ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) - -mostlyclean-tags: - -clean-tags: - -distclean-tags: - -rm -f TAGS ID - -maintainer-clean-tags: - -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) - -subdir = examples - -distdir: $(DISTFILES) - here=`cd $(top_builddir) && pwd`; \ - top_distdir=`cd $(top_distdir) && pwd`; \ - distdir=`cd $(distdir) && pwd`; \ - cd $(top_srcdir) \ - && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu examples/Makefile - @for file in $(DISTFILES); do \ - d=$(srcdir); \ - if test -d $$d/$$file; then \ - cp -pr $$d/$$file $(distdir)/$$file; \ - else \ - test -f $(distdir)/$$file \ - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ - || cp -p $$d/$$file $(distdir)/$$file || :; \ - fi; \ - done - for subdir in $(SUBDIRS); do \ - if test "$$subdir" = .; then :; else \ - test -d $(distdir)/$$subdir \ - || mkdir $(distdir)/$$subdir \ - || exit 1; \ - chmod 777 $(distdir)/$$subdir; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \ - || exit 1; \ - fi; \ - done -info-am: -info: info-recursive -dvi-am: -dvi: dvi-recursive -check-am: all-am -check: check-recursive -installcheck-am: -installcheck: installcheck-recursive -install-exec-am: install-exec-local -install-exec: install-exec-recursive - -install-data-am: -install-data: install-data-recursive - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am -install: install-recursive -uninstall-am: -uninstall: uninstall-recursive -all-am: Makefile -all-redirect: all-recursive -install-strip: - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install -installdirs: installdirs-recursive -installdirs-am: - - -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -rm -f Makefile $(CONFIG_CLEAN_FILES) - -rm -f config.cache config.log stamp-h stamp-h[0-9]* - -maintainer-clean-generic: -mostlyclean-am: mostlyclean-tags mostlyclean-generic - -mostlyclean: mostlyclean-recursive - -clean-am: clean-tags clean-generic mostlyclean-am - -clean: clean-recursive - -distclean-am: distclean-tags distclean-generic clean-am - -distclean: distclean-recursive - -maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \ - distclean-am - @echo "This command is intended for maintainers to use;" - @echo "it deletes files that may require special tools to rebuild." - -maintainer-clean: maintainer-clean-recursive - -.PHONY: install-data-recursive uninstall-data-recursive \ -install-exec-recursive uninstall-exec-recursive installdirs-recursive \ -uninstalldirs-recursive all-recursive check-recursive \ -installcheck-recursive info-recursive dvi-recursive \ -mostlyclean-recursive distclean-recursive clean-recursive \ -maintainer-clean-recursive tags tags-recursive mostlyclean-tags \ -distclean-tags clean-tags maintainer-clean-tags distdir info-am info \ -dvi-am dvi check check-am installcheck-am installcheck \ -install-exec-local install-exec-am install-exec install-data-am \ -install-data install-am install uninstall-am uninstall all-redirect \ -all-am all installdirs-am installdirs mostlyclean-generic \ -distclean-generic clean-generic maintainer-clean-generic clean \ -mostlyclean distclean maintainer-clean - - -install-exec-local: - @if [ ! -f $(sysconfdir)/mareas.data ]; then \ - tar xfC etc.tar $(sysconfdir) ; \ - echo "Installing default databases" ; \ - fi - @if [ ! -f $(prefix)/english/menus/main.mnu ]; then \ - tar xfC menus.tar $(prefix)/english/menus ; \ - echo "Installing default english menus" ; \ - fi - @if [ ! -f $(prefix)/english/txtfiles/main.ans ]; then \ - tar xfC txtfiles.tar $(prefix)/english/txtfiles ; \ - echo "Installing default english txtfiles" ; \ - fi - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/html/Makefile b/html/Makefile new file mode 100644 index 00000000..58b1fdb2 --- /dev/null +++ b/html/Makefile @@ -0,0 +1,126 @@ +# Copyright (c) M Broek, 1997-2000 +# Top-level makefile for MBSE BBS html documentation. + +include ../Makefile.global + +H_BASE = basic.html date.html dist.html manual.css \ + flow.html postfix.html gwnews.html index.htm ups.html \ + install.html intergate.html intro.html invoking.html \ + known_bugs.html mgetty.html routing.html nodelist.html + +H_FTSC = ftsc/fsc-0039.html ftsc/fsc-0056.html ftsc/fsc-0087.html \ + ftsc/fsp-1003.html ftsc/fsp-1009.html ftsc/fts-0007.html \ + ftsc/fsc-0046.html ftsc/fsc-0057.html ftsc/fsc-0091.html \ + ftsc/fsp-1004.html ftsc/fta-1005.html ftsc/fts-0008.html \ + ftsc/fsc-0048.html ftsc/fsc-0059.html ftsc/fsc-0092.html \ + ftsc/fsp-1005.html ftsc/fts-0001.html ftsc/fts-0009.html \ + ftsc/fsc-0049.html ftsc/fsc-0062.html ftsc/fsc-0093.html \ + ftsc/fsp-1006.html ftsc/fts-0004.html ftsc/index.htm \ + ftsc/fsc-0050.html ftsc/fsc-0070.html ftsc/fsp-1001.html \ + ftsc/fsp-1007.html ftsc/fts-5000.html ftsc/fsc-0053.html \ + ftsc/fsc-0072.html ftsc/fsp-1002.html ftsc/fsp-1008.html \ + ftsc/fts-0006.html ftsc/fsc-0035.html ftsc/fsp-1010.html \ + ftsc/fsp-1011.html ftsc/ftscprod.html ftsc/fsc-0088.html \ + ftsc/fts-4001.html ftsc/fts-5001.html + +H_IMAGES = images/b_arrow.gif images/magic.gif images/nodes1.gif \ + images/connec.gif images/mbsetup0.gif images/nodes2.gif \ + images/domains.gif images/mbsetup1.6.S.gif images/nodes3.gif \ + images/e_menu.gif images/mbsetup1.6.gif images/nodes4.gif \ + images/emareas.gif images/mbsetup2.gif images/nodes5.gif \ + images/emgroup.gif images/modems0.gif images/oneliner.gif \ + images/fdb.gif images/newfiles.gif images/protocol.gif \ + images/fegroup.gif images/newgroups.gif images/rarrow.gif \ + images/fileecho.gif images/nodelist.gif images/security.gif \ + images/filefind.gif images/nodelist1.gif images/tty.gif \ + images/files.gif images/nodelist2.gif images/tty1.gif \ + images/go_to.gif images/nodelist3.gif images/tty2.gif \ + images/hatch.gif images/nodelist4.gif images/tty3.gif \ + images/language.gif images/nodelist5.gif images/uarrow.gif \ + images/larrow.gif images/nodes.gif images/users.gif \ + images/mbse.jpg images/taskmgr.gif images/mbsebbs.gif \ + images/mbsebbs.png images/users2.gif + +H_LICENSE = license/copying.html license/hydracom.html license/index.htm \ + license/jam.html + +H_MENUS = menus/control.html menus/index.htm menus/menu100.html \ + menus/menu300.html menus/menu500.html \ + menus/menu0.html menus/menu200.html menus/menu400.html + +H_MISC = misc/dropfile.html misc/fileid.html misc/index.htm \ + misc/jam.html misc/semafore.html misc/filefind.html \ + misc/ftpserver.html misc/ipmailer.html misc/outbound.html \ + misc/usleep.html + +H_PROGS = programs/import.html programs/mbchat.html \ + programs/mbfido.html programs/mbmon.html \ + programs/mbtoberep.html \ + programs/index.htm programs/mbcico.html \ + programs/mbfile.html programs/mbmsg.html \ + programs/mbseq.html programs/mbuser.html \ + programs/mbaff.html programs/mbdiff.html \ + programs/mbindex.html programs/mbout.html \ + programs/mbsetup.html programs/mbuseradd.html \ + programs/mball.html programs/mbfbgen.html \ + programs/mblang.html programs/mbsebbs.html \ + programs/mbstat.html programs/mbpasswd.html \ + programs/mbtask.html programs/mbmail.html + +H_SETUP = setup/archiver.html setup/index.htm setup/bbs.html \ + setup/bbslist.html setup/language.html setup/oneliner.html \ + setup/emareas.html setup/magic.html setup/mail.html \ + setup/protocol.html setup/emgroup.html setup/safe.html \ + setup/fdb.html setup/security.html setup/sitedoc.html \ + setup/fegroup.html setup/modems.html setup/softinfo.html \ + setup/fidonet.html setup/tic.html setup/timebank.html \ + setup/fileecho.html setup/newfiles.html setup/filefind.html \ + setup/newgroups.html setup/files.html setup/nodes.html \ + setup/ttyinfo.html setup/global.html setup/users.html \ + setup/hatch.html setup/virscan.html setup/services.html \ + setup/domains.html setup/taskmgr.html + +FILES = $(H_BASE) $(H_FTSC) $(H_IMAGES) $(H_LICENSE) $(H_MENUS) $(H_MISC) $(H_PROGS) $(H_SETUP) Makefile + +######################################################################################################### + +all depend clean depend: + +install: + @echo "Installing html documentation in ${PREFIX}/html" + @rm -Rf ${PREFIX}/html + @mkdir -p ${PREFIX}/html + @mkdir -p ${PREFIX}/html/ftsc + @mkdir -p ${PREFIX}/html/images + @mkdir -p ${PREFIX}/html/license + @mkdir -p ${PREFIX}/html/menus + @mkdir -p ${PREFIX}/html/misc + @mkdir -p ${PREFIX}/html/programs + @mkdir -p ${PREFIX}/html/setup + @${CHOWN} ${OWNER}.${GROUP} ${PREFIX}/html + @${CHOWN} ${OWNER}.${GROUP} ${PREFIX}/html/ftsc + @${CHOWN} ${OWNER}.${GROUP} ${PREFIX}/html/images + @${CHOWN} ${OWNER}.${GROUP} ${PREFIX}/html/license + @${CHOWN} ${OWNER}.${GROUP} ${PREFIX}/html/menus + @${CHOWN} ${OWNER}.${GROUP} ${PREFIX}/html/misc + @${CHOWN} ${OWNER}.${GROUP} ${PREFIX}/html/programs + @${CHOWN} ${OWNER}.${GROUP} ${PREFIX}/html/setup + @${INSTALL} -o ${OWNER} -g ${GROUP} -m 0444 ${H_BASE} ${PREFIX}/html + @${INSTALL} -o ${OWNER} -g ${GROUP} -m 0444 ${H_FTSC} ${PREFIX}/html/ftsc + @${INSTALL} -o ${OWNER} -g ${GROUP} -m 0444 ${H_IMAGES} ${PREFIX}/html/images + @${INSTALL} -o ${OWNER} -g ${GROUP} -m 0444 ${H_LICENSE} ${PREFIX}/html/license + @${INSTALL} -o ${OWNER} -g ${GROUP} -m 0444 ${H_MENUS} ${PREFIX}/html/menus + @${INSTALL} -o ${OWNER} -g ${GROUP} -m 0444 ${H_MISC} ${PREFIX}/html/misc + @${INSTALL} -o ${OWNER} -g ${GROUP} -m 0444 ${H_PROGS} ${PREFIX}/html/programs + @${INSTALL} -o ${OWNER} -g ${GROUP} -m 0444 ${H_SETUP} ${PREFIX}/html/setup + +clean: + rm -f filelist + +filelist: Makefile + BASE=`pwd`; \ + BASE=`basename $${BASE}`; \ + (for f in ${FILES}; \ + do echo ${PACKAGE}-${VERSION}/$${BASE}/$$f; \ + done) >filelist + diff --git a/html/Makefile.am b/html/Makefile.am deleted file mode 100644 index 342222e9..00000000 --- a/html/Makefile.am +++ /dev/null @@ -1,113 +0,0 @@ -## Process this file with automake to produce Makefile.in -# Makefile for @PACKAGE@-@VERSION@ html documentation - -SUBDIRS = . - -H_BASE = basic.html date.html dist.html manual.css \ -flow.html postfix.html gwnews.html index.htm ups.html \ -install.html intergate.html intro.html invoking.html \ -known_bugs.html mgetty.html routing.html nodelist.html - -H_FTSC = ftsc/fsc-0039.html ftsc/fsc-0056.html ftsc/fsc-0087.html \ -ftsc/fsp-1003.html ftsc/fsp-1009.html ftsc/fts-0007.html \ -ftsc/fsc-0046.html ftsc/fsc-0057.html ftsc/fsc-0091.html \ -ftsc/fsp-1004.html ftsc/fta-1005.html ftsc/fts-0008.html \ -ftsc/fsc-0048.html ftsc/fsc-0059.html ftsc/fsc-0092.html \ -ftsc/fsp-1005.html ftsc/fts-0001.html ftsc/fts-0009.html \ -ftsc/fsc-0049.html ftsc/fsc-0062.html ftsc/fsc-0093.html \ -ftsc/fsp-1006.html ftsc/fts-0004.html ftsc/index.htm \ -ftsc/fsc-0050.html ftsc/fsc-0070.html ftsc/fsp-1001.html \ -ftsc/fsp-1007.html ftsc/fts-5000.html ftsc/fsc-0053.html \ -ftsc/fsc-0072.html ftsc/fsp-1002.html ftsc/fsp-1008.html \ -ftsc/fts-0006.html ftsc/fsc-0035.html ftsc/fsp-1010.html \ -ftsc/fsp-1011.html ftsc/ftscprod.html ftsc/fsc-0088.html \ -ftsc/fts-4001.html ftsc/fts-5001.html - -H_IMAGES = images/b_arrow.gif images/magic.gif images/nodes1.gif \ -images/connec.gif images/mbsetup0.gif images/nodes2.gif \ -images/domains.gif images/mbsetup1.6.S.gif images/nodes3.gif \ -images/e_menu.gif images/mbsetup1.6.gif images/nodes4.gif \ -images/emareas.gif images/mbsetup2.gif images/nodes5.gif \ -images/emgroup.gif images/modems0.gif images/oneliner.gif \ -images/fdb.gif images/newfiles.gif images/protocol.gif \ -images/fegroup.gif images/newgroups.gif images/rarrow.gif \ -images/fileecho.gif images/nodelist.gif images/security.gif \ -images/filefind.gif images/nodelist1.gif images/tty.gif \ -images/files.gif images/nodelist2.gif images/tty1.gif \ -images/go_to.gif images/nodelist3.gif images/tty2.gif \ -images/hatch.gif images/nodelist4.gif images/tty3.gif \ -images/language.gif images/nodelist5.gif images/uarrow.gif \ -images/larrow.gif images/nodes.gif images/users.gif \ -images/mbse.jpg images/taskmgr.gif images/mbsebbs.gif \ -images/mbsebbs.png - -H_LICENSE = license/copying.html license/hydracom.html license/index.htm \ -license/jam.html - -H_MENUS = menus/control.html menus/index.htm menus/menu100.html \ -menus/menu300.html menus/menu500.html \ -menus/menu0.html menus/menu200.html menus/menu400.html - -H_MISC = misc/dropfile.html misc/fileid.html misc/index.htm \ -misc/jam.html misc/semafore.html misc/filefind.html \ -misc/ftpserver.html misc/ipmailer.html misc/outbound.html \ -misc/usleep.html - -H_PROGS = programs/import.html programs/mbchat.html \ -programs/mbfido.html programs/mbmon.html \ -programs/mbtoberep.html \ -programs/index.htm programs/mbcico.html \ -programs/mbfile.html programs/mbmsg.html \ -programs/mbseq.html programs/mbuser.html \ -programs/mbaff.html programs/mbdiff.html \ -programs/mbindex.html programs/mbout.html \ -programs/mbsetup.html programs/mbuseradd.html \ -programs/mball.html programs/mbfbgen.html \ -programs/mblang.html programs/mbsebbs.html \ -programs/mbstat.html programs/mbpasswd.html \ -programs/mbtask.html programs/mbmail.html - -H_SETUP = setup/archiver.html setup/index.htm setup/bbs.html \ -setup/bbslist.html setup/language.html setup/oneliner.html \ -setup/emareas.html setup/magic.html setup/mail.html \ -setup/protocol.html setup/emgroup.html setup/safe.html \ -setup/fdb.html setup/security.html setup/sitedoc.html \ -setup/fegroup.html setup/modems.html setup/softinfo.html \ -setup/fidonet.html setup/tic.html setup/timebank.html \ -setup/fileecho.html setup/newfiles.html setup/filefind.html \ -setup/newgroups.html setup/files.html setup/nodes.html \ -setup/ttyinfo.html setup/global.html setup/users.html \ -setup/hatch.html setup/virscan.html setup/services.html \ -setup/domains.html setup/taskmgr.html - -EXTRA_DIST = $(H_BASE) $(H_FTSC) $(H_IMAGES) $(H_LICENSE) $(H_MENUS) $(H_MISC) $(H_PROGS) $(H_SETUP) - - -install-exec-local: - @echo "Installing html documentation in $(prefix)/html" - @rm -Rf $(prefix)/html - @$(mkinstalldirs) $(prefix)/html - @$(mkinstalldirs) $(prefix)/html/ftsc - @$(mkinstalldirs) $(prefix)/html/images - @$(mkinstalldirs) $(prefix)/html/license - @$(mkinstalldirs) $(prefix)/html/menus - @$(mkinstalldirs) $(prefix)/html/misc - @$(mkinstalldirs) $(prefix)/html/programs - @$(mkinstalldirs) $(prefix)/html/setup - @$(CHOWN) @OWNER@.@GROUP@ $(prefix)/html - @$(CHOWN) @OWNER@.@GROUP@ $(prefix)/html/ftsc - @$(CHOWN) @OWNER@.@GROUP@ $(prefix)/html/images - @$(CHOWN) @OWNER@.@GROUP@ $(prefix)/html/license - @$(CHOWN) @OWNER@.@GROUP@ $(prefix)/html/menus - @$(CHOWN) @OWNER@.@GROUP@ $(prefix)/html/misc - @$(CHOWN) @OWNER@.@GROUP@ $(prefix)/html/programs - @$(CHOWN) @OWNER@.@GROUP@ $(prefix)/html/setup - @$(INSTALL) -o mbse -g bbs -m 0444 $(H_BASE) $(prefix)/html - @$(INSTALL) -o mbse -g bbs -m 0444 $(H_FTSC) $(prefix)/html/ftsc - @$(INSTALL) -o mbse -g bbs -m 0444 $(H_IMAGES) $(prefix)/html/images - @$(INSTALL) -o mbse -g bbs -m 0444 $(H_LICENSE) $(prefix)/html/license - @$(INSTALL) -o mbse -g bbs -m 0444 $(H_MENUS) $(prefix)/html/menus - @$(INSTALL) -o mbse -g bbs -m 0444 $(H_MISC) $(prefix)/html/misc - @$(INSTALL) -o mbse -g bbs -m 0444 $(H_PROGS) $(prefix)/html/programs - @$(INSTALL) -o mbse -g bbs -m 0444 $(H_SETUP) $(prefix)/html/setup - diff --git a/html/Makefile.in b/html/Makefile.in deleted file mode 100644 index afc2370e..00000000 --- a/html/Makefile.in +++ /dev/null @@ -1,347 +0,0 @@ -# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am - -# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -# Makefile for @PACKAGE@-@VERSION@ html documentation - - -SHELL = @SHELL@ - -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -infodir = @infodir@ -mandir = @mandir@ -includedir = @includedir@ -oldincludedir = /usr/include - -DESTDIR = - -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ - -top_builddir = .. - -ACLOCAL = @ACLOCAL@ -AUTOCONF = @AUTOCONF@ -AUTOMAKE = @AUTOMAKE@ -AUTOHEADER = @AUTOHEADER@ - -INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -transform = @program_transform_name@ - -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -AWK = @AWK@ -CC = @CC@ -CHOWN = @CHOWN@ -COMPRESS = @COMPRESS@ -GROUP = @GROUP@ -GZIP = @GZIP@ -LEX = @LEX@ -LOG_COMPRESS = @LOG_COMPRESS@ -LOG_COMPRESSEXT = @LOG_COMPRESSEXT@ -MAKEINFO = @MAKEINFO@ -OWNER = @OWNER@ -PACKAGE = @PACKAGE@ -RANLIB = @RANLIB@ -VERSION = @VERSION@ -YACC = @YACC@ - -SUBDIRS = . - -H_BASE = basic.html date.html dist.html manual.css flow.html postfix.html gwnews.html index.htm ups.html install.html intergate.html intro.html invoking.html known_bugs.html mgetty.html routing.html nodelist.html - - -H_FTSC = ftsc/fsc-0039.html ftsc/fsc-0056.html ftsc/fsc-0087.html ftsc/fsp-1003.html ftsc/fsp-1009.html ftsc/fts-0007.html ftsc/fsc-0046.html ftsc/fsc-0057.html ftsc/fsc-0091.html ftsc/fsp-1004.html ftsc/fta-1005.html ftsc/fts-0008.html ftsc/fsc-0048.html ftsc/fsc-0059.html ftsc/fsc-0092.html ftsc/fsp-1005.html ftsc/fts-0001.html ftsc/fts-0009.html ftsc/fsc-0049.html ftsc/fsc-0062.html ftsc/fsc-0093.html ftsc/fsp-1006.html ftsc/fts-0004.html ftsc/index.htm ftsc/fsc-0050.html ftsc/fsc-0070.html ftsc/fsp-1001.html ftsc/fsp-1007.html ftsc/fts-5000.html ftsc/fsc-0053.html ftsc/fsc-0072.html ftsc/fsp-1002.html ftsc/fsp-1008.html ftsc/fts-0006.html ftsc/fsc-0035.html ftsc/fsp-1010.html ftsc/fsp-1011.html ftsc/ftscprod.html ftsc/fsc-0088.html ftsc/fts-4001.html ftsc/fts-5001.html - - -H_IMAGES = images/b_arrow.gif images/magic.gif images/nodes1.gif images/connec.gif images/mbsetup0.gif images/nodes2.gif images/domains.gif images/mbsetup1.6.S.gif images/nodes3.gif images/e_menu.gif images/mbsetup1.6.gif images/nodes4.gif images/emareas.gif images/mbsetup2.gif images/nodes5.gif images/emgroup.gif images/modems0.gif images/oneliner.gif images/fdb.gif images/newfiles.gif images/protocol.gif images/fegroup.gif images/newgroups.gif images/rarrow.gif images/fileecho.gif images/nodelist.gif images/security.gif images/filefind.gif images/nodelist1.gif images/tty.gif images/files.gif images/nodelist2.gif images/tty1.gif images/go_to.gif images/nodelist3.gif images/tty2.gif images/hatch.gif images/nodelist4.gif images/tty3.gif images/language.gif images/nodelist5.gif images/uarrow.gif images/larrow.gif images/nodes.gif images/users.gif images/mbse.jpg images/taskmgr.gif images/mbsebbs.gif images/mbsebbs.png - - -H_LICENSE = license/copying.html license/hydracom.html license/index.htm license/jam.html - - -H_MENUS = menus/control.html menus/index.htm menus/menu100.html menus/menu300.html menus/menu500.html menus/menu0.html menus/menu200.html menus/menu400.html - - -H_MISC = misc/dropfile.html misc/fileid.html misc/index.htm misc/jam.html misc/semafore.html misc/filefind.html misc/ftpserver.html misc/ipmailer.html misc/outbound.html misc/usleep.html - - -H_PROGS = programs/import.html programs/mbchat.html programs/mbfido.html programs/mbmon.html programs/mbtoberep.html programs/index.htm programs/mbcico.html programs/mbfile.html programs/mbmsg.html programs/mbseq.html programs/mbuser.html programs/mbaff.html programs/mbdiff.html programs/mbindex.html programs/mbout.html programs/mbsetup.html programs/mbuseradd.html programs/mball.html programs/mbfbgen.html programs/mblang.html programs/mbsebbs.html programs/mbstat.html programs/mbpasswd.html programs/mbtask.html programs/mbmail.html - - -H_SETUP = setup/archiver.html setup/index.htm setup/bbs.html setup/bbslist.html setup/language.html setup/oneliner.html setup/emareas.html setup/magic.html setup/mail.html setup/protocol.html setup/emgroup.html setup/safe.html setup/fdb.html setup/security.html setup/sitedoc.html setup/fegroup.html setup/modems.html setup/softinfo.html setup/fidonet.html setup/tic.html setup/timebank.html setup/fileecho.html setup/newfiles.html setup/filefind.html setup/newgroups.html setup/files.html setup/nodes.html setup/ttyinfo.html setup/global.html setup/users.html setup/hatch.html setup/virscan.html setup/services.html setup/domains.html setup/taskmgr.html - - -EXTRA_DIST = $(H_BASE) $(H_FTSC) $(H_IMAGES) $(H_LICENSE) $(H_MENUS) $(H_MISC) $(H_PROGS) $(H_SETUP) -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_HEADER = ../config.h -CONFIG_CLEAN_FILES = -DIST_COMMON = Makefile.am Makefile.in - - -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) - -TAR = tar -GZIP_ENV = --best -all: all-redirect -.SUFFIXES: -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu html/Makefile - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status - - -# This directory's subdirectories are mostly independent; you can cd -# into them and run `make' without going through this Makefile. -# To change the values of `make' variables: instead of editing Makefiles, -# (1) if the variable is set in `config.status', edit `config.status' -# (which will cause the Makefiles to be regenerated when you run `make'); -# (2) otherwise, pass the desired values on the `make' command line. - -@SET_MAKE@ - -all-recursive install-data-recursive install-exec-recursive \ -installdirs-recursive install-recursive uninstall-recursive \ -check-recursive installcheck-recursive info-recursive dvi-recursive: - @set fnord $(MAKEFLAGS); amf=$$2; \ - dot_seen=no; \ - target=`echo $@ | sed s/-recursive//`; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - dot_seen=yes; \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ - done; \ - if test "$$dot_seen" = "no"; then \ - $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ - fi; test -z "$$fail" - -mostlyclean-recursive clean-recursive distclean-recursive \ -maintainer-clean-recursive: - @set fnord $(MAKEFLAGS); amf=$$2; \ - dot_seen=no; \ - rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \ - rev="$$subdir $$rev"; \ - test "$$subdir" = "." && dot_seen=yes; \ - done; \ - test "$$dot_seen" = "no" && rev=". $$rev"; \ - target=`echo $@ | sed s/-recursive//`; \ - for subdir in $$rev; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ - done && test -z "$$fail" -tags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ - done - -tags: TAGS - -ID: $(HEADERS) $(SOURCES) $(LISP) - list='$(SOURCES) $(HEADERS)'; \ - unique=`for i in $$list; do echo $$i; done | \ - awk ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - here=`pwd` && cd $(srcdir) \ - && mkid -f$$here/ID $$unique $(LISP) - -TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) - tags=; \ - here=`pwd`; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ - fi; \ - done; \ - list='$(SOURCES) $(HEADERS)'; \ - unique=`for i in $$list; do echo $$i; done | \ - awk ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) - -mostlyclean-tags: - -clean-tags: - -distclean-tags: - -rm -f TAGS ID - -maintainer-clean-tags: - -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) - -subdir = html - -distdir: $(DISTFILES) - here=`cd $(top_builddir) && pwd`; \ - top_distdir=`cd $(top_distdir) && pwd`; \ - distdir=`cd $(distdir) && pwd`; \ - cd $(top_srcdir) \ - && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu html/Makefile - $(mkinstalldirs) $(distdir)/ftsc $(distdir)/images $(distdir)/license \ - $(distdir)/menus $(distdir)/misc $(distdir)/programs \ - $(distdir)/setup - @for file in $(DISTFILES); do \ - d=$(srcdir); \ - if test -d $$d/$$file; then \ - cp -pr $$d/$$file $(distdir)/$$file; \ - else \ - test -f $(distdir)/$$file \ - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ - || cp -p $$d/$$file $(distdir)/$$file || :; \ - fi; \ - done - for subdir in $(SUBDIRS); do \ - if test "$$subdir" = .; then :; else \ - test -d $(distdir)/$$subdir \ - || mkdir $(distdir)/$$subdir \ - || exit 1; \ - chmod 777 $(distdir)/$$subdir; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \ - || exit 1; \ - fi; \ - done -info-am: -info: info-recursive -dvi-am: -dvi: dvi-recursive -check-am: all-am -check: check-recursive -installcheck-am: -installcheck: installcheck-recursive -install-exec-am: install-exec-local -install-exec: install-exec-recursive - -install-data-am: -install-data: install-data-recursive - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am -install: install-recursive -uninstall-am: -uninstall: uninstall-recursive -all-am: Makefile -all-redirect: all-recursive -install-strip: - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install -installdirs: installdirs-recursive -installdirs-am: - - -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -rm -f Makefile $(CONFIG_CLEAN_FILES) - -rm -f config.cache config.log stamp-h stamp-h[0-9]* - -maintainer-clean-generic: -mostlyclean-am: mostlyclean-tags mostlyclean-generic - -mostlyclean: mostlyclean-recursive - -clean-am: clean-tags clean-generic mostlyclean-am - -clean: clean-recursive - -distclean-am: distclean-tags distclean-generic clean-am - -distclean: distclean-recursive - -maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \ - distclean-am - @echo "This command is intended for maintainers to use;" - @echo "it deletes files that may require special tools to rebuild." - -maintainer-clean: maintainer-clean-recursive - -.PHONY: install-data-recursive uninstall-data-recursive \ -install-exec-recursive uninstall-exec-recursive installdirs-recursive \ -uninstalldirs-recursive all-recursive check-recursive \ -installcheck-recursive info-recursive dvi-recursive \ -mostlyclean-recursive distclean-recursive clean-recursive \ -maintainer-clean-recursive tags tags-recursive mostlyclean-tags \ -distclean-tags clean-tags maintainer-clean-tags distdir info-am info \ -dvi-am dvi check check-am installcheck-am installcheck \ -install-exec-local install-exec-am install-exec install-data-am \ -install-data install-am install uninstall-am uninstall all-redirect \ -all-am all installdirs-am installdirs mostlyclean-generic \ -distclean-generic clean-generic maintainer-clean-generic clean \ -mostlyclean distclean maintainer-clean - - -install-exec-local: - @echo "Installing html documentation in $(prefix)/html" - @rm -Rf $(prefix)/html - @$(mkinstalldirs) $(prefix)/html - @$(mkinstalldirs) $(prefix)/html/ftsc - @$(mkinstalldirs) $(prefix)/html/images - @$(mkinstalldirs) $(prefix)/html/license - @$(mkinstalldirs) $(prefix)/html/menus - @$(mkinstalldirs) $(prefix)/html/misc - @$(mkinstalldirs) $(prefix)/html/programs - @$(mkinstalldirs) $(prefix)/html/setup - @$(CHOWN) @OWNER@.@GROUP@ $(prefix)/html - @$(CHOWN) @OWNER@.@GROUP@ $(prefix)/html/ftsc - @$(CHOWN) @OWNER@.@GROUP@ $(prefix)/html/images - @$(CHOWN) @OWNER@.@GROUP@ $(prefix)/html/license - @$(CHOWN) @OWNER@.@GROUP@ $(prefix)/html/menus - @$(CHOWN) @OWNER@.@GROUP@ $(prefix)/html/misc - @$(CHOWN) @OWNER@.@GROUP@ $(prefix)/html/programs - @$(CHOWN) @OWNER@.@GROUP@ $(prefix)/html/setup - @$(INSTALL) -o mbse -g bbs -m 0444 $(H_BASE) $(prefix)/html - @$(INSTALL) -o mbse -g bbs -m 0444 $(H_FTSC) $(prefix)/html/ftsc - @$(INSTALL) -o mbse -g bbs -m 0444 $(H_IMAGES) $(prefix)/html/images - @$(INSTALL) -o mbse -g bbs -m 0444 $(H_LICENSE) $(prefix)/html/license - @$(INSTALL) -o mbse -g bbs -m 0444 $(H_MENUS) $(prefix)/html/menus - @$(INSTALL) -o mbse -g bbs -m 0444 $(H_MISC) $(prefix)/html/misc - @$(INSTALL) -o mbse -g bbs -m 0444 $(H_PROGS) $(prefix)/html/programs - @$(INSTALL) -o mbse -g bbs -m 0444 $(H_SETUP) $(prefix)/html/setup - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/lang/Makefile b/lang/Makefile new file mode 100644 index 00000000..5cd81113 --- /dev/null +++ b/lang/Makefile @@ -0,0 +1,40 @@ +# Makefile for MBSE BBS under Linux +# Copyright (c) 1998, 2000 by M. Broek. +# $Id: + +include ../Makefile.global + +OTHER = Makefile README Language.xref +SDAT = english.txt dutch.txt italian.txt spanish.txt galego.txt +LDAT = english.lang dutch.lang italian.lang spanish.lang galego.lang + +all: ${LDAT} + +clean: + rm -f core filelist Makefile.bak *.lang + +install: ${LDAT} + ${INSTALL} -o ${OWNER} -g ${GROUP} -m 0444 ${LDAT} ${ETCDIR} + +english.lang: english.txt + ../mbsebbs/mblang english.lang english.txt + +dutch.lang: dutch.txt + ../mbsebbs/mblang dutch.lang dutch.txt + +italian.lang: italian.txt + ../mbsebbs/mblang italian.lang italian.txt + +spanish.lang: spanish.txt + ../mbsebbs/mblang spanish.lang spanish.txt + +galego.lang: galego.txt + ../mbsebbs/mblang galego.lang galego.txt + +filelist: Makefile + BASE=`pwd`; \ + BASE=`basename $${BASE}`; \ + (for f in ${SDAT} ${OTHER} ;do echo ${PACKAGE}-${VERSION}/$${BASE}/$$f; done) >filelist + +depend: + diff --git a/lang/Makefile.am b/lang/Makefile.am deleted file mode 100644 index 63119736..00000000 --- a/lang/Makefile.am +++ /dev/null @@ -1,42 +0,0 @@ -## Process this file with automake to produce Makefile.in -## There are special tricks in this one .... - -SUBDIRS = . -LIBS = - -EXTRA_DIST = Language.xref - -CONFIG_CLEAN_FILES = english.lang dutch.lang italian.lang spanish.lang galego.lang - -noinst_PROGRAMS = english.lang dutch.lang italian.lang spanish.lang galego.lang - -english_lang_SOURCES = english.txt -dutch_lang_SOURCES = dutch.txt -italian_lang_SOURCES = italian.txt -spanish_lang_SOURCES = spanish.txt -galego_lang_SOURCES = galego.txt - - - -install-exec-local: - $(INSTALL) -o @OWNER@ -g @GROUP@ -m 0444 english.lang $(sysconfdir) - $(INSTALL) -o @OWNER@ -g @GROUP@ -m 0444 dutch.lang $(sysconfdir) - $(INSTALL) -o @OWNER@ -g @GROUP@ -m 0444 italian.lang $(sysconfdir) - $(INSTALL) -o @OWNER@ -g @GROUP@ -m 0444 spanish.lang $(sysconfdir) - $(INSTALL) -o @OWNER@ -g @GROUP@ -m 0444 galego.lang $(sysconfdir) - -english.lang: english.txt - ../mbsebbs/mblang english.lang english.txt - -dutch.lang: dutch.txt - ../mbsebbs/mblang dutch.lang dutch.txt - -italian.lang: italian.txt - ../mbsebbs/mblang italian.lang italian.txt - -spanish.lang: spanish.txt - ../mbsebbs/mblang spanish.lang spanish.txt - -galego.lang: galego.txt - ../mbsebbs/mblang galego.lang galego.txt - diff --git a/lang/Makefile.in b/lang/Makefile.in deleted file mode 100644 index 70c010cd..00000000 --- a/lang/Makefile.in +++ /dev/null @@ -1,384 +0,0 @@ -# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am - -# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - - -SHELL = @SHELL@ - -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -infodir = @infodir@ -mandir = @mandir@ -includedir = @includedir@ -oldincludedir = /usr/include - -DESTDIR = - -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ - -top_builddir = .. - -ACLOCAL = @ACLOCAL@ -AUTOCONF = @AUTOCONF@ -AUTOMAKE = @AUTOMAKE@ -AUTOHEADER = @AUTOHEADER@ - -INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -transform = @program_transform_name@ - -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -AWK = @AWK@ -CC = @CC@ -CHOWN = @CHOWN@ -COMPRESS = @COMPRESS@ -GROUP = @GROUP@ -GZIP = @GZIP@ -LEX = @LEX@ -LOG_COMPRESS = @LOG_COMPRESS@ -LOG_COMPRESSEXT = @LOG_COMPRESSEXT@ -MAKEINFO = @MAKEINFO@ -OWNER = @OWNER@ -PACKAGE = @PACKAGE@ -RANLIB = @RANLIB@ -VERSION = @VERSION@ -YACC = @YACC@ - -SUBDIRS = . -LIBS = - -EXTRA_DIST = Language.xref - -CONFIG_CLEAN_FILES = english.lang dutch.lang italian.lang spanish.lang galego.lang - -noinst_PROGRAMS = english.lang dutch.lang italian.lang spanish.lang galego.lang - -english_lang_SOURCES = english.txt -dutch_lang_SOURCES = dutch.txt -italian_lang_SOURCES = italian.txt -spanish_lang_SOURCES = spanish.txt -galego_lang_SOURCES = galego.txt -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_HEADER = ../config.h -PROGRAMS = $(noinst_PROGRAMS) - - -DEFS = @DEFS@ -I. -I$(srcdir) -I.. -CPPFLAGS = @CPPFLAGS@ -LDFLAGS = @LDFLAGS@ -english_lang_OBJECTS = -english_lang_LDADD = $(LDADD) -english_lang_DEPENDENCIES = -english_lang_LDFLAGS = -dutch_lang_OBJECTS = -dutch_lang_LDADD = $(LDADD) -dutch_lang_DEPENDENCIES = -dutch_lang_LDFLAGS = -italian_lang_OBJECTS = -italian_lang_LDADD = $(LDADD) -italian_lang_DEPENDENCIES = -italian_lang_LDFLAGS = -spanish_lang_OBJECTS = -spanish_lang_LDADD = $(LDADD) -spanish_lang_DEPENDENCIES = -spanish_lang_LDFLAGS = -galego_lang_OBJECTS = -galego_lang_LDADD = $(LDADD) -galego_lang_DEPENDENCIES = -galego_lang_LDFLAGS = -DIST_COMMON = README Makefile.am Makefile.in - - -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) - -TAR = tar -GZIP_ENV = --best -SOURCES = $(english_lang_SOURCES) $(dutch_lang_SOURCES) $(italian_lang_SOURCES) $(spanish_lang_SOURCES) $(galego_lang_SOURCES) -OBJECTS = $(english_lang_OBJECTS) $(dutch_lang_OBJECTS) $(italian_lang_OBJECTS) $(spanish_lang_OBJECTS) $(galego_lang_OBJECTS) - -all: all-redirect -.SUFFIXES: -.SUFFIXES: .S .c .o .s -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu lang/Makefile - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status - - -mostlyclean-noinstPROGRAMS: - -clean-noinstPROGRAMS: - -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS) - -distclean-noinstPROGRAMS: - -maintainer-clean-noinstPROGRAMS: - -.s.o: - $(COMPILE) -c $< - -.S.o: - $(COMPILE) -c $< - -mostlyclean-compile: - -rm -f *.o core *.core - -clean-compile: - -distclean-compile: - -rm -f *.tab.c - -maintainer-clean-compile: - -# This directory's subdirectories are mostly independent; you can cd -# into them and run `make' without going through this Makefile. -# To change the values of `make' variables: instead of editing Makefiles, -# (1) if the variable is set in `config.status', edit `config.status' -# (which will cause the Makefiles to be regenerated when you run `make'); -# (2) otherwise, pass the desired values on the `make' command line. - -@SET_MAKE@ - -all-recursive install-data-recursive install-exec-recursive \ -installdirs-recursive install-recursive uninstall-recursive \ -check-recursive installcheck-recursive info-recursive dvi-recursive: - @set fnord $(MAKEFLAGS); amf=$$2; \ - dot_seen=no; \ - target=`echo $@ | sed s/-recursive//`; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - dot_seen=yes; \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ - done; \ - if test "$$dot_seen" = "no"; then \ - $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ - fi; test -z "$$fail" - -mostlyclean-recursive clean-recursive distclean-recursive \ -maintainer-clean-recursive: - @set fnord $(MAKEFLAGS); amf=$$2; \ - dot_seen=no; \ - rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \ - rev="$$subdir $$rev"; \ - test "$$subdir" = "." && dot_seen=yes; \ - done; \ - test "$$dot_seen" = "no" && rev=". $$rev"; \ - target=`echo $@ | sed s/-recursive//`; \ - for subdir in $$rev; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ - done && test -z "$$fail" -tags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ - done - -tags: TAGS - -ID: $(HEADERS) $(SOURCES) $(LISP) - list='$(SOURCES) $(HEADERS)'; \ - unique=`for i in $$list; do echo $$i; done | \ - awk ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - here=`pwd` && cd $(srcdir) \ - && mkid -f$$here/ID $$unique $(LISP) - -TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) - tags=; \ - here=`pwd`; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ - fi; \ - done; \ - list='$(SOURCES) $(HEADERS)'; \ - unique=`for i in $$list; do echo $$i; done | \ - awk ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) - -mostlyclean-tags: - -clean-tags: - -distclean-tags: - -rm -f TAGS ID - -maintainer-clean-tags: - -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) - -subdir = lang - -distdir: $(DISTFILES) - here=`cd $(top_builddir) && pwd`; \ - top_distdir=`cd $(top_distdir) && pwd`; \ - distdir=`cd $(distdir) && pwd`; \ - cd $(top_srcdir) \ - && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu lang/Makefile - @for file in $(DISTFILES); do \ - d=$(srcdir); \ - if test -d $$d/$$file; then \ - cp -pr $$d/$$file $(distdir)/$$file; \ - else \ - test -f $(distdir)/$$file \ - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ - || cp -p $$d/$$file $(distdir)/$$file || :; \ - fi; \ - done - for subdir in $(SUBDIRS); do \ - if test "$$subdir" = .; then :; else \ - test -d $(distdir)/$$subdir \ - || mkdir $(distdir)/$$subdir \ - || exit 1; \ - chmod 777 $(distdir)/$$subdir; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \ - || exit 1; \ - fi; \ - done -info-am: -info: info-recursive -dvi-am: -dvi: dvi-recursive -check-am: all-am -check: check-recursive -installcheck-am: -installcheck: installcheck-recursive -install-exec-am: install-exec-local -install-exec: install-exec-recursive - -install-data-am: -install-data: install-data-recursive - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am -install: install-recursive -uninstall-am: -uninstall: uninstall-recursive -all-am: Makefile $(PROGRAMS) -all-redirect: all-recursive -install-strip: - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install -installdirs: installdirs-recursive -installdirs-am: - - -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -rm -f Makefile $(CONFIG_CLEAN_FILES) - -rm -f config.cache config.log stamp-h stamp-h[0-9]* - -maintainer-clean-generic: -mostlyclean-am: mostlyclean-noinstPROGRAMS mostlyclean-compile \ - mostlyclean-tags mostlyclean-generic - -mostlyclean: mostlyclean-recursive - -clean-am: clean-noinstPROGRAMS clean-compile clean-tags clean-generic \ - mostlyclean-am - -clean: clean-recursive - -distclean-am: distclean-noinstPROGRAMS distclean-compile distclean-tags \ - distclean-generic clean-am - -distclean: distclean-recursive - -maintainer-clean-am: maintainer-clean-noinstPROGRAMS \ - maintainer-clean-compile maintainer-clean-tags \ - maintainer-clean-generic distclean-am - @echo "This command is intended for maintainers to use;" - @echo "it deletes files that may require special tools to rebuild." - -maintainer-clean: maintainer-clean-recursive - -.PHONY: mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \ -clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \ -mostlyclean-compile distclean-compile clean-compile \ -maintainer-clean-compile install-data-recursive \ -uninstall-data-recursive install-exec-recursive \ -uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \ -all-recursive check-recursive installcheck-recursive info-recursive \ -dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \ -maintainer-clean-recursive tags tags-recursive mostlyclean-tags \ -distclean-tags clean-tags maintainer-clean-tags distdir info-am info \ -dvi-am dvi check check-am installcheck-am installcheck \ -install-exec-local install-exec-am install-exec install-data-am \ -install-data install-am install uninstall-am uninstall all-redirect \ -all-am all installdirs-am installdirs mostlyclean-generic \ -distclean-generic clean-generic maintainer-clean-generic clean \ -mostlyclean distclean maintainer-clean - - -install-exec-local: - $(INSTALL) -o @OWNER@ -g @GROUP@ -m 0444 english.lang $(sysconfdir) - $(INSTALL) -o @OWNER@ -g @GROUP@ -m 0444 dutch.lang $(sysconfdir) - $(INSTALL) -o @OWNER@ -g @GROUP@ -m 0444 italian.lang $(sysconfdir) - $(INSTALL) -o @OWNER@ -g @GROUP@ -m 0444 spanish.lang $(sysconfdir) - $(INSTALL) -o @OWNER@ -g @GROUP@ -m 0444 galego.lang $(sysconfdir) - -english.lang: english.txt - ../mbsebbs/mblang english.lang english.txt - -dutch.lang: dutch.txt - ../mbsebbs/mblang dutch.lang dutch.txt - -italian.lang: italian.txt - ../mbsebbs/mblang italian.lang italian.txt - -spanish.lang: spanish.txt - ../mbsebbs/mblang spanish.lang spanish.txt - -galego.lang: galego.txt - ../mbsebbs/mblang galego.lang galego.txt - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/lib/Makefile b/lib/Makefile new file mode 100644 index 00000000..07ecdcc8 --- /dev/null +++ b/lib/Makefile @@ -0,0 +1,160 @@ +# Makefile for the library files. +# Copyright (c) 1997, 2001 by M. Broek. + +include ../Makefile.global + +CLCOMM_SRCS = clcomm.c client.c crc.c semafore.c signame.c +CLCOMM_OBJS = clcomm.o client.o crc.o semafore.o signame.o +CLCOMM_HDRS = clcomm.h +COMMON_SRCS = attach.c charconv_utf.c falists.c hdr.c msgflags.c parsedate.c rfcmsg.c unpacker.c \ + batchrd.c charset.c ftn.c nodelist.c pktname.c \ + charconv.c dostran.c ftnmsg.c mbfile.c nodelock.c rawio.c strcasestr.c \ + charconv_hz.c execute.c expipe.c getheader.c mime.c noderecord.c rfcaddr.c strutil.c \ + charconv_jp.c faddr.c gmtoffset.c packet.c rfcdate.c term.c +COMMON_OBJS = ftscprod.o attach.o charconv_utf.o falists.o hdr.o msgflags.o parsedate.o rfcmsg.o unpacker.o \ + batchrd.o charset.o ftn.o nodelist.o pktname.o \ + charconv.o dostran.o ftnmsg.o mbfile.o nodelock.o rawio.o strcasestr.o \ + charconv_hz.o execute.o expipe.o getheader.o mime.o noderecord.o rfcaddr.o strutil.o \ + charconv_jp.o faddr.o gmtoffset.o packet.o rfcdate.o term.o +COMMON_HDRS = common.h +DBASE_SRCS = dbcfg.c dbdupe.c dbftn.c dbmsgs.c dbnode.c dbtic.c dbuser.c +DBASE_OBJS = dbcfg.o dbdupe.o dbftn.o dbmsgs.o dbnode.o dbtic.o dbuser.o +DBASE_HDRS = dbcfg.h dbdupe.h dbftn.h dbmsgs.h dbnode.h dbtic.h dbuser.h +MSGBASE_SRCS = jammsg.c msg.c msgtext.c +MSGBASE_OBJS = jammsg.o msg.o msgtext.o +MSGBASE_HDRS = jam.h jammsg.h jamsys.h msg.h msgtext.h +MBINET_SRCS = nntp.c pop3.c smtp.c +MBINET_OBJS = nntp.o pop3.o smtp.o +MBINET_HDRS = mbinet.h +MEMWATCH_SRCS = memwatch.c +MEMWATCH_OBJS = memwatch.o +MEMWATCH_HDRS = memwatch.h +OTHER_HDRS = ansi.h bluewave.h libs.h mbse.h records.h structs.h +SRCS = ${CLCOMM_SRCS} ${COMMON_SRCS} ${DBASE_SRCS} ${MSGBASE_SRCS} ${MBINET_SRCS} ${MEMWATCH_SRCS} +OBJS = ${CLCOMM_OBJS} ${COMMON_OBJS} ${DBASE_OBJS} ${MSGBASE_OBJS} ${MBINET_OBJS} ${MEMWATCH_OBJS} +HDRS = ${CLCOMM_HDRS} ${COMMON_HDRS} ${DBASE_HDRS} ${MSGBASE_HDRS} ${MBINET_HDRS} ${MEMWATCH_HDRS} ${OTHER_HDRS} +OTHER = Makefile README ftscprod.006 mkprod.awk FAQ README.memwatch USING test.c memwatch.c.org +TARGET = libclcomm.a libcommon.a libdbase.a libmsgbase.a libmbinet.a libmemwatch.a + +############################################################################# + +.c.o: + ${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $< + +all: ${TARGET} + +ftscprod.c: ftscprod.??? + ${AWK} -F, -f mkprod.awk ftscprod.??? >ftscprod.c + +libclcomm.a: ${CLCOMM_OBJS} + ar r $@ $? + ${RANLIB} $@ + +libcommon.a: ${COMMON_OBJS} + ar r $@ $? + ${RANLIB} $@ + +libdbase.a: ${DBASE_OBJS} + ar r $@ $? + ${RANLIB} $@ + +libmsgbase.a: ${MSGBASE_OBJS} + ar r $@ $? + ${RANLIB} $@ + +libmbinet.a: ${MBINET_OBJS} + ar r $@ $? + ${RANLIB} $@ + +libmemwatch.a: ${MEMWATCH_OBJS} + ar r $@ $? + ${RANLIB} $@ + +install: all + +clean: + @rm -f ${TARGET} *.o *.h~ *.c~ ftscprod.c core filelist Makefile.bak + +filelist: Makefile + BASE=`pwd`; \ + BASE=`basename $${BASE}`; \ + (for f in ${SRCS} ${HDRS} ${OTHER} ;do echo ${PACKAGE}-${VERSION}/$${BASE}/$$f; done) >filelist + +depend: ftscprod.c + @rm -f Makefile.bak; \ + mv Makefile Makefile.bak; \ + sed -e '/^# DO NOT DELETE/,$$d' Makefile.bak >Makefile; \ + ${ECHO} '# DO NOT DELETE THIS LINE - MAKE DEPEND RELIES ON IT' >>Makefile; \ + ${ECHO} '# Dependencies generated by make depend' >>Makefile; \ + for f in ${SRCS} ftscprod.c; \ + do \ + ${ECHO} "Dependencies for $$f:\c"; \ + ${ECHO} "`basename $$f .c`.o:\c" >>Makefile; \ + for h in `sed -n -e \ + 's/^#[ ]*include[ ]*"\([^"]*\)".*/\1/p' $$f`; \ + do \ + ${ECHO} " $$h\c"; \ + ${ECHO} " $$h\c" >>Makefile; \ + done; \ + ${ECHO} " done."; \ + ${ECHO} "" >>Makefile; \ + done; \ + ${ECHO} '# End of generated dependencies' >>Makefile + +# DO NOT DELETE THIS LINE - MAKE DEPEND RELIES ON IT +# Dependencies generated by make depend +clcomm.o: libs.h clcomm.h +client.o: libs.h clcomm.h +crc.o: libs.h clcomm.h +semafore.o: libs.h structs.h clcomm.h common.h +signame.o: libs.h clcomm.h +attach.o: libs.h structs.h records.h clcomm.h common.h +charconv_utf.o: libs.h structs.h common.h +falists.o: libs.h structs.h clcomm.h common.h +hdr.o: libs.h structs.h common.h +msgflags.o: libs.h structs.h clcomm.h common.h +parsedate.o: libs.h structs.h common.h +rfcmsg.o: libs.h structs.h records.h common.h clcomm.h +unpacker.o: libs.h structs.h records.h clcomm.h common.h +batchrd.o: libs.h structs.h clcomm.h common.h +charset.o: libs.h structs.h common.h clcomm.h +ftn.o: libs.h structs.h records.h clcomm.h dbftn.h common.h +nodelist.o: libs.h structs.h records.h clcomm.h common.h +pktname.o: libs.h structs.h records.h clcomm.h common.h +charconv.o: libs.h structs.h records.h common.h clcomm.h +dostran.o: libs.h structs.h records.h common.h +ftnmsg.o: libs.h structs.h common.h clcomm.h +mbfile.o: libs.h structs.h clcomm.h common.h +nodelock.o: libs.h structs.h clcomm.h common.h +rawio.o: libs.h structs.h common.h +strcasestr.o: libs.h +charconv_hz.o: libs.h structs.h common.h clcomm.h +execute.o: libs.h structs.h clcomm.h common.h +expipe.o: libs.h structs.h records.h clcomm.h common.h +getheader.o: libs.h structs.h records.h clcomm.h common.h +mime.o: libs.h structs.h clcomm.h common.h +noderecord.o: libs.h structs.h records.h dbnode.h common.h +rfcaddr.o: libs.h structs.h records.h clcomm.h common.h +strutil.o: libs.h structs.h common.h +charconv_jp.o: libs.h structs.h common.h +faddr.o: libs.h structs.h common.h +gmtoffset.o: libs.h structs.h common.h +packet.o: libs.h structs.h records.h clcomm.h common.h dbnode.h +rfcdate.o: libs.h structs.h common.h clcomm.h +term.o: libs.h structs.h ansi.h records.h common.h +dbcfg.o: libs.h mbse.h structs.h records.h dbcfg.h +dbdupe.o: libs.h structs.h clcomm.h dbdupe.h +dbftn.o: libs.h structs.h records.h dbcfg.h dbftn.h +dbmsgs.o: libs.h structs.h records.h clcomm.h dbcfg.h dbmsgs.h +dbnode.o: libs.h structs.h records.h clcomm.h dbcfg.h dbnode.h +dbtic.o: libs.h structs.h records.h clcomm.h dbcfg.h dbtic.h +dbuser.o: libs.h structs.h records.h dbcfg.h dbuser.h +jammsg.o: libs.h clcomm.h msgtext.h msg.h jam.h jammsg.h +msg.o: libs.h msgtext.h msg.h jammsg.h +msgtext.o: libs.h msgtext.h msg.h +nntp.o: libs.h structs.h records.h clcomm.h mbinet.h +pop3.o: libs.h structs.h records.h clcomm.h mbinet.h +smtp.o: libs.h structs.h records.h clcomm.h mbinet.h +memwatch.o: ../config.h ../config.h libs.h memwatch.h +ftscprod.o: libs.h structs.h common.h +# End of generated dependencies diff --git a/lib/Makefile.am b/lib/Makefile.am deleted file mode 100644 index cff62867..00000000 --- a/lib/Makefile.am +++ /dev/null @@ -1,35 +0,0 @@ -## Makefile.am for mbsebbs ./lib - -SUBDIRS = . - -EXTRA_DIST = README ftscprod.006 mkprod.awk FAQ README.memwatch USING test.c memwatch.c.org - -CONFIG_CLEAN_FILES = ftscprod.c - -noinst_HEADERS = libs.h structs.h records.h mbse.h ansi.h bluewave.h - -noinst_LIBRARIES = libclcomm.a libcommon.a libdbase.a libmsgbase.a libmbinet.a libmemwatch.a - -libclcomm_a_SOURCES = clcomm.c client.c crc.c semafore.c signame.c clcomm.h - -libcommon_a_SOURCES = ftscprod.c attach.c charconv_utf.c falists.c hdr.c msgflags.c parsedate.c rfcmsg.c unpacker.c \ -batchrd.c charset.c ftn.c nodelist.c pktname.c \ -charconv.c dostran.c ftnmsg.c mbfile.c nodelock.c rawio.c strcasestr.c \ -charconv_hz.c execute.c expipe.c getheader.c mime.c noderecord.c rfcaddr.c strutil.c \ -charconv_jp.c faddr.c gmtoffset.c packet.c rfcdate.c term.c common.h - -libdbase_a_SOURCES = dbcfg.c dbdupe.c dbftn.c dbmsgs.c dbnode.c dbtic.c dbuser.c \ -dbcfg.h dbdupe.h dbftn.h dbmsgs.h dbnode.h dbtic.h dbuser.h - -libmsgbase_a_SOURCES = jam.h jammsg.c jammsg.h jamsys.h msg.c msg.h msgtext.c msgtext.h - -libmbinet_a_SOURCES = mbinet.h nntp.c pop3.c smtp.c - -libmemwatch_a_SOURCES = memwatch.c memwatch.h - -BUILT_SOURCES = ftscprod.c - -ftscprod.c: ftscprod.??? - @AWK@ -F, -f mkprod.awk ftscprod.??? >ftscprod.c - - diff --git a/lib/Makefile.in b/lib/Makefile.in deleted file mode 100644 index e1c7f812..00000000 --- a/lib/Makefile.in +++ /dev/null @@ -1,462 +0,0 @@ -# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am - -# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - - -SHELL = @SHELL@ - -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -infodir = @infodir@ -mandir = @mandir@ -includedir = @includedir@ -oldincludedir = /usr/include - -DESTDIR = - -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ - -top_builddir = .. - -ACLOCAL = @ACLOCAL@ -AUTOCONF = @AUTOCONF@ -AUTOMAKE = @AUTOMAKE@ -AUTOHEADER = @AUTOHEADER@ - -INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -transform = @program_transform_name@ - -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -AWK = @AWK@ -CC = @CC@ -CHOWN = @CHOWN@ -COMPRESS = @COMPRESS@ -GROUP = @GROUP@ -GZIP = @GZIP@ -LEX = @LEX@ -LOG_COMPRESS = @LOG_COMPRESS@ -LOG_COMPRESSEXT = @LOG_COMPRESSEXT@ -MAKEINFO = @MAKEINFO@ -OWNER = @OWNER@ -PACKAGE = @PACKAGE@ -RANLIB = @RANLIB@ -VERSION = @VERSION@ -YACC = @YACC@ - -SUBDIRS = . - -EXTRA_DIST = README ftscprod.006 mkprod.awk FAQ README.memwatch USING test.c memwatch.c.org - -CONFIG_CLEAN_FILES = ftscprod.c - -noinst_HEADERS = libs.h structs.h records.h mbse.h ansi.h bluewave.h - -noinst_LIBRARIES = libclcomm.a libcommon.a libdbase.a libmsgbase.a libmbinet.a libmemwatch.a - -libclcomm_a_SOURCES = clcomm.c client.c crc.c semafore.c signame.c clcomm.h - -libcommon_a_SOURCES = ftscprod.c attach.c charconv_utf.c falists.c hdr.c msgflags.c parsedate.c rfcmsg.c unpacker.c batchrd.c charset.c ftn.c nodelist.c pktname.c charconv.c dostran.c ftnmsg.c mbfile.c nodelock.c rawio.c strcasestr.c charconv_hz.c execute.c expipe.c getheader.c mime.c noderecord.c rfcaddr.c strutil.c charconv_jp.c faddr.c gmtoffset.c packet.c rfcdate.c term.c common.h - - -libdbase_a_SOURCES = dbcfg.c dbdupe.c dbftn.c dbmsgs.c dbnode.c dbtic.c dbuser.c dbcfg.h dbdupe.h dbftn.h dbmsgs.h dbnode.h dbtic.h dbuser.h - - -libmsgbase_a_SOURCES = jam.h jammsg.c jammsg.h jamsys.h msg.c msg.h msgtext.c msgtext.h - -libmbinet_a_SOURCES = mbinet.h nntp.c pop3.c smtp.c - -libmemwatch_a_SOURCES = memwatch.c memwatch.h - -BUILT_SOURCES = ftscprod.c -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_HEADER = ../config.h -LIBRARIES = $(noinst_LIBRARIES) - - -DEFS = @DEFS@ -I. -I$(srcdir) -I.. -CPPFLAGS = @CPPFLAGS@ -LDFLAGS = @LDFLAGS@ -LIBS = @LIBS@ -libclcomm_a_LIBADD = -libclcomm_a_OBJECTS = clcomm.o client.o crc.o semafore.o signame.o -libcommon_a_LIBADD = -libcommon_a_OBJECTS = ftscprod.o attach.o charconv_utf.o falists.o \ -hdr.o msgflags.o parsedate.o rfcmsg.o unpacker.o batchrd.o charset.o \ -ftn.o nodelist.o pktname.o charconv.o dostran.o ftnmsg.o mbfile.o \ -nodelock.o rawio.o strcasestr.o charconv_hz.o execute.o expipe.o \ -getheader.o mime.o noderecord.o rfcaddr.o strutil.o charconv_jp.o \ -faddr.o gmtoffset.o packet.o rfcdate.o term.o -libdbase_a_LIBADD = -libdbase_a_OBJECTS = dbcfg.o dbdupe.o dbftn.o dbmsgs.o dbnode.o dbtic.o \ -dbuser.o -libmsgbase_a_LIBADD = -libmsgbase_a_OBJECTS = jammsg.o msg.o msgtext.o -libmbinet_a_LIBADD = -libmbinet_a_OBJECTS = nntp.o pop3.o smtp.o -libmemwatch_a_LIBADD = -libmemwatch_a_OBJECTS = memwatch.o -AR = ar -CFLAGS = @CFLAGS@ -COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -CCLD = $(CC) -LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ -HEADERS = $(noinst_HEADERS) - -DIST_COMMON = README Makefile.am Makefile.in - - -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) - -TAR = tar -GZIP_ENV = --best -DEP_FILES = .deps/attach.P .deps/batchrd.P .deps/charconv.P \ -.deps/charconv_hz.P .deps/charconv_jp.P .deps/charconv_utf.P \ -.deps/charset.P .deps/clcomm.P .deps/client.P .deps/crc.P .deps/dbcfg.P \ -.deps/dbdupe.P .deps/dbftn.P .deps/dbmsgs.P .deps/dbnode.P \ -.deps/dbtic.P .deps/dbuser.P .deps/dostran.P .deps/execute.P \ -.deps/expipe.P .deps/faddr.P .deps/falists.P .deps/ftn.P .deps/ftnmsg.P \ -.deps/ftscprod.P .deps/getheader.P .deps/gmtoffset.P .deps/hdr.P \ -.deps/jammsg.P .deps/mbfile.P .deps/memwatch.P .deps/mime.P .deps/msg.P \ -.deps/msgflags.P .deps/msgtext.P .deps/nntp.P .deps/nodelist.P \ -.deps/nodelock.P .deps/noderecord.P .deps/packet.P .deps/parsedate.P \ -.deps/pktname.P .deps/pop3.P .deps/rawio.P .deps/rfcaddr.P \ -.deps/rfcdate.P .deps/rfcmsg.P .deps/semafore.P .deps/signame.P \ -.deps/smtp.P .deps/strcasestr.P .deps/strutil.P .deps/term.P \ -.deps/unpacker.P -SOURCES = $(libclcomm_a_SOURCES) $(libcommon_a_SOURCES) $(libdbase_a_SOURCES) $(libmsgbase_a_SOURCES) $(libmbinet_a_SOURCES) $(libmemwatch_a_SOURCES) -OBJECTS = $(libclcomm_a_OBJECTS) $(libcommon_a_OBJECTS) $(libdbase_a_OBJECTS) $(libmsgbase_a_OBJECTS) $(libmbinet_a_OBJECTS) $(libmemwatch_a_OBJECTS) - -all: all-redirect -.SUFFIXES: -.SUFFIXES: .S .c .o .s -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu lib/Makefile - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status - - -mostlyclean-noinstLIBRARIES: - -clean-noinstLIBRARIES: - -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) - -distclean-noinstLIBRARIES: - -maintainer-clean-noinstLIBRARIES: - -.s.o: - $(COMPILE) -c $< - -.S.o: - $(COMPILE) -c $< - -mostlyclean-compile: - -rm -f *.o core *.core - -clean-compile: - -distclean-compile: - -rm -f *.tab.c - -maintainer-clean-compile: - -libclcomm.a: $(libclcomm_a_OBJECTS) $(libclcomm_a_DEPENDENCIES) - -rm -f libclcomm.a - $(AR) cru libclcomm.a $(libclcomm_a_OBJECTS) $(libclcomm_a_LIBADD) - $(RANLIB) libclcomm.a - -libcommon.a: $(libcommon_a_OBJECTS) $(libcommon_a_DEPENDENCIES) - -rm -f libcommon.a - $(AR) cru libcommon.a $(libcommon_a_OBJECTS) $(libcommon_a_LIBADD) - $(RANLIB) libcommon.a - -libdbase.a: $(libdbase_a_OBJECTS) $(libdbase_a_DEPENDENCIES) - -rm -f libdbase.a - $(AR) cru libdbase.a $(libdbase_a_OBJECTS) $(libdbase_a_LIBADD) - $(RANLIB) libdbase.a - -libmsgbase.a: $(libmsgbase_a_OBJECTS) $(libmsgbase_a_DEPENDENCIES) - -rm -f libmsgbase.a - $(AR) cru libmsgbase.a $(libmsgbase_a_OBJECTS) $(libmsgbase_a_LIBADD) - $(RANLIB) libmsgbase.a - -libmbinet.a: $(libmbinet_a_OBJECTS) $(libmbinet_a_DEPENDENCIES) - -rm -f libmbinet.a - $(AR) cru libmbinet.a $(libmbinet_a_OBJECTS) $(libmbinet_a_LIBADD) - $(RANLIB) libmbinet.a - -libmemwatch.a: $(libmemwatch_a_OBJECTS) $(libmemwatch_a_DEPENDENCIES) - -rm -f libmemwatch.a - $(AR) cru libmemwatch.a $(libmemwatch_a_OBJECTS) $(libmemwatch_a_LIBADD) - $(RANLIB) libmemwatch.a - -# This directory's subdirectories are mostly independent; you can cd -# into them and run `make' without going through this Makefile. -# To change the values of `make' variables: instead of editing Makefiles, -# (1) if the variable is set in `config.status', edit `config.status' -# (which will cause the Makefiles to be regenerated when you run `make'); -# (2) otherwise, pass the desired values on the `make' command line. - -@SET_MAKE@ - -all-recursive install-data-recursive install-exec-recursive \ -installdirs-recursive install-recursive uninstall-recursive \ -check-recursive installcheck-recursive info-recursive dvi-recursive: - @set fnord $(MAKEFLAGS); amf=$$2; \ - dot_seen=no; \ - target=`echo $@ | sed s/-recursive//`; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - dot_seen=yes; \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ - done; \ - if test "$$dot_seen" = "no"; then \ - $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ - fi; test -z "$$fail" - -mostlyclean-recursive clean-recursive distclean-recursive \ -maintainer-clean-recursive: - @set fnord $(MAKEFLAGS); amf=$$2; \ - dot_seen=no; \ - rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \ - rev="$$subdir $$rev"; \ - test "$$subdir" = "." && dot_seen=yes; \ - done; \ - test "$$dot_seen" = "no" && rev=". $$rev"; \ - target=`echo $@ | sed s/-recursive//`; \ - for subdir in $$rev; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ - done && test -z "$$fail" -tags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ - done - -tags: TAGS - -ID: $(HEADERS) $(SOURCES) $(LISP) - list='$(SOURCES) $(HEADERS)'; \ - unique=`for i in $$list; do echo $$i; done | \ - awk ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - here=`pwd` && cd $(srcdir) \ - && mkid -f$$here/ID $$unique $(LISP) - -TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) - tags=; \ - here=`pwd`; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ - fi; \ - done; \ - list='$(SOURCES) $(HEADERS)'; \ - unique=`for i in $$list; do echo $$i; done | \ - awk ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) - -mostlyclean-tags: - -clean-tags: - -distclean-tags: - -rm -f TAGS ID - -maintainer-clean-tags: - -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) - -subdir = lib - -distdir: $(DISTFILES) - here=`cd $(top_builddir) && pwd`; \ - top_distdir=`cd $(top_distdir) && pwd`; \ - distdir=`cd $(distdir) && pwd`; \ - cd $(top_srcdir) \ - && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu lib/Makefile - @for file in $(DISTFILES); do \ - d=$(srcdir); \ - if test -d $$d/$$file; then \ - cp -pr $$d/$$file $(distdir)/$$file; \ - else \ - test -f $(distdir)/$$file \ - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ - || cp -p $$d/$$file $(distdir)/$$file || :; \ - fi; \ - done - for subdir in $(SUBDIRS); do \ - if test "$$subdir" = .; then :; else \ - test -d $(distdir)/$$subdir \ - || mkdir $(distdir)/$$subdir \ - || exit 1; \ - chmod 777 $(distdir)/$$subdir; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \ - || exit 1; \ - fi; \ - done - -DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) - --include $(DEP_FILES) - -mostlyclean-depend: - -clean-depend: - -distclean-depend: - -rm -rf .deps - -maintainer-clean-depend: - -%.o: %.c - @echo '$(COMPILE) -c $<'; \ - $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< - @-cp .deps/$(*F).pp .deps/$(*F).P; \ - tr ' ' '\012' < .deps/$(*F).pp \ - | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ - >> .deps/$(*F).P; \ - rm .deps/$(*F).pp - -%.lo: %.c - @echo '$(LTCOMPILE) -c $<'; \ - $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< - @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ - < .deps/$(*F).pp > .deps/$(*F).P; \ - tr ' ' '\012' < .deps/$(*F).pp \ - | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ - >> .deps/$(*F).P; \ - rm -f .deps/$(*F).pp -info-am: -info: info-recursive -dvi-am: -dvi: dvi-recursive -check-am: all-am -check: check-recursive -installcheck-am: -installcheck: installcheck-recursive -install-exec-am: -install-exec: install-exec-recursive - -install-data-am: -install-data: install-data-recursive - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am -install: install-recursive -uninstall-am: -uninstall: uninstall-recursive -all-am: Makefile $(LIBRARIES) $(HEADERS) -all-redirect: all-recursive -install-strip: - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install -installdirs: installdirs-recursive -installdirs-am: - - -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -rm -f Makefile $(CONFIG_CLEAN_FILES) - -rm -f config.cache config.log stamp-h stamp-h[0-9]* - -maintainer-clean-generic: - -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) -mostlyclean-am: mostlyclean-noinstLIBRARIES mostlyclean-compile \ - mostlyclean-tags mostlyclean-depend mostlyclean-generic - -mostlyclean: mostlyclean-recursive - -clean-am: clean-noinstLIBRARIES clean-compile clean-tags clean-depend \ - clean-generic mostlyclean-am - -clean: clean-recursive - -distclean-am: distclean-noinstLIBRARIES distclean-compile \ - distclean-tags distclean-depend distclean-generic \ - clean-am - -distclean: distclean-recursive - -maintainer-clean-am: maintainer-clean-noinstLIBRARIES \ - maintainer-clean-compile maintainer-clean-tags \ - maintainer-clean-depend maintainer-clean-generic \ - distclean-am - @echo "This command is intended for maintainers to use;" - @echo "it deletes files that may require special tools to rebuild." - -maintainer-clean: maintainer-clean-recursive - -.PHONY: mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \ -clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \ -mostlyclean-compile distclean-compile clean-compile \ -maintainer-clean-compile install-data-recursive \ -uninstall-data-recursive install-exec-recursive \ -uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \ -all-recursive check-recursive installcheck-recursive info-recursive \ -dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \ -maintainer-clean-recursive tags tags-recursive mostlyclean-tags \ -distclean-tags clean-tags maintainer-clean-tags distdir \ -mostlyclean-depend distclean-depend clean-depend \ -maintainer-clean-depend info-am info dvi-am dvi check check-am \ -installcheck-am installcheck install-exec-am install-exec \ -install-data-am install-data install-am install uninstall-am uninstall \ -all-redirect all-am all installdirs-am installdirs mostlyclean-generic \ -distclean-generic clean-generic maintainer-clean-generic clean \ -mostlyclean distclean maintainer-clean - - -ftscprod.c: ftscprod.??? - @AWK@ -F, -f mkprod.awk ftscprod.??? >ftscprod.c - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/mbcico/Makefile b/mbcico/Makefile new file mode 100644 index 00000000..b2d75de1 --- /dev/null +++ b/mbcico/Makefile @@ -0,0 +1,133 @@ +# Makefile for mbcico. +# Copyright (c) 1998, 2000 by M. Broek. +# $Id: + +include ../Makefile.global + +SRCS = zmmisc.c zmrle.c zmrecv.c zmsend.c binkp.c \ + xmsend.c xmrecv.c m7recv.c m7send.c hydra.c \ + answer.c chat.c dial.c dietifna.c emsidat.c filelist.c \ + openfile.c openport.c opentcp.c rdoptions.c yoohoo.c \ + recvbark.c respfreq.c sendbark.c tcp.c tcpproto.c wazoo.c \ + filetime.c ftsc.c atoul.c portsel.c \ + ttyio.c lutil.c scanout.c emsi.c ulock.c \ + callstat.c session.c call.c callall.c mbcico.c \ + outstat.c nlinfo.c mbout.c +HDRS = zmodem.h binkp.h config.h statetbl.h \ + xmsend.h xmrecv.h m7recv.h m7send.h hydra.h \ + answer.h chat.h dial.h dietifna.h emsidat.h filelist.h \ + openfile.h openport.h opentcp.h rdoptions.h yoohoo.h \ + recvbark.h respfreq.h sendbark.h tcp.h tcpproto.h wazoo.h \ + filetime.h ftsc.h atoul.h portsel.h \ + ttyio.h lutil.h scanout.h emsi.h ulock.h \ + callstat.h session.h call.h callall.h mbcico.h \ + outstat.h nlinfo.h +MBCICO_OBJS = zmmisc.o zmrle.o zmrecv.o zmsend.o binkp.o \ + xmsend.o xmrecv.o m7recv.o m7send.o hydra.o \ + answer.o chat.o dial.o dietifna.o emsidat.o filelist.o \ + openfile.o openport.o opentcp.o rdoptions.o yoohoo.o \ + recvbark.o respfreq.o sendbark.o tcp.o tcpproto.o wazoo.o \ + filetime.o ftsc.o atoul.o portsel.o \ + ttyio.o lutil.o scanout.o emsi.o ulock.o \ + callstat.o session.o call.o callall.o mbcico.o +MBOUT_OBJS = outstat.o nlinfo.o mbout.o scanout.o callstat.o +LIBS += ../lib/libmemwatch.a ../lib/libclcomm.a ../lib/libcommon.a ../lib/libmsgbase.a ../lib/libdbase.a +OTHER = Makefile README +TARGET = mbcico mbout + +############################################################################# + +.c.o: + ${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $< + +all: ${TARGET} + +clean: + rm -f ${TARGET} *.o *.h~ *.c~ core filelist Makefile.bak + +install: all + ${INSTALL} -s -g ${GROUP} -o ${OWNER} -m 4751 mbcico ${BINDIR} + ${INSTALL} -s -g ${GROUP} -o ${OWNER} -m 0755 mbout ${BINDIR} + +mbcico: ${MBCICO_OBJS} ${LIBS} + ${CC} -o mbcico ${MBCICO_OBJS} ${LIBS} + strip mbcico + +mbout: ${MBOUT_OBJS} ${LIBS} + ${CC} -o mbout ${MBOUT_OBJS} ${LIBS} + strip mbout + +filelist: Makefile + BASE=`pwd`; \ + BASE=`basename $${BASE}`; \ + (for f in ${SRCS} ${HDRS} ${OTHER} ;do echo ${PACKAGE}-${VERSION}/$${BASE}/$$f; done) >filelist + +depend: + @rm -f Makefile.bak; \ + mv Makefile Makefile.bak; \ + sed -e '/^# DO NOT DELETE/,$$d' Makefile.bak >Makefile; \ + ${ECHO} '# DO NOT DELETE THIS LINE - MAKE DEPEND RELIES ON IT' \ + >>Makefile; \ + ${ECHO} '# Dependencies generated by make depend' >>Makefile; \ + for f in ${SRCS}; \ + do \ + ${ECHO} "Dependencies for $$f:\c"; \ + ${ECHO} "`basename $$f .c`.o:\c" >>Makefile; \ + for h in `sed -n -e \ + 's/^#[ ]*include[ ]*"\([^"]*\)".*/\1/p' $$f`; \ + do \ + ${ECHO} " $$h\c"; \ + ${ECHO} " $$h\c" >>Makefile; \ + done; \ + ${ECHO} " done."; \ + ${ECHO} "" >>Makefile; \ + done; \ + ${ECHO} '# End of generated dependencies' >>Makefile + +# DO NOT DELETE THIS LINE - MAKE DEPEND RELIES ON IT +# Dependencies generated by make depend +zmmisc.o: ../lib/libs.h ../lib/structs.h ../lib/common.h ../lib/clcomm.h ttyio.h session.h zmodem.h +zmrle.o: ../lib/libs.h ../lib/structs.h ../lib/clcomm.h ../lib/common.h ttyio.h session.h zmodem.h +zmrecv.o: ../lib/libs.h ../lib/structs.h ../lib/clcomm.h ../lib/common.h lutil.h ttyio.h session.h zmodem.h config.h emsi.h openfile.h openport.h +zmsend.o: ../lib/libs.h ../lib/structs.h ../lib/common.h ../lib/clcomm.h ttyio.h session.h zmodem.h lutil.h emsi.h filelist.h +binkp.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/dbnode.h ../lib/clcomm.h ttyio.h session.h statetbl.h config.h emsi.h openfile.h respfreq.h filelist.h opentcp.h rdoptions.h lutil.h binkp.h config.h +xmsend.o: ../lib/libs.h ../lib/structs.h ../lib/common.h ../lib/clcomm.h session.h ttyio.h statetbl.h xmsend.h m7send.h filelist.h filetime.h +xmrecv.o: ../lib/libs.h ../lib/structs.h ../lib/common.h ../lib/clcomm.h session.h ttyio.h statetbl.h config.h lutil.h openfile.h m7recv.h xmrecv.h filetime.h +m7recv.o: ../lib/libs.h ../lib/structs.h ../lib/common.h ../lib/clcomm.h statetbl.h ttyio.h m7recv.h +m7send.o: ../lib/libs.h ../lib/structs.h ../lib/common.h ../lib/clcomm.h statetbl.h ttyio.h m7send.h +hydra.o: ../lib/libs.h ../lib/structs.h ../lib/common.h ../lib/clcomm.h session.h filelist.h filetime.h ttyio.h statetbl.h config.h emsi.h openfile.h lutil.h respfreq.h mbcico.h hydra.h +answer.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/dbnode.h lutil.h session.h config.h answer.h openport.h portsel.h dial.h rdoptions.h mbcico.h +chat.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h config.h portsel.h chat.h ttyio.h +dial.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/dbnode.h portsel.h config.h chat.h ttyio.h session.h dial.h +dietifna.o: ../lib/libs.h ../lib/structs.h ../lib/common.h ../lib/clcomm.h ttyio.h session.h emsi.h dietifna.h respfreq.h filelist.h xmrecv.h xmsend.h +emsidat.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/dbnode.h emsi.h session.h lutil.h config.h emsidat.h filetime.h +filelist.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/clcomm.h ../lib/common.h config.h session.h filelist.h +openfile.o: ../lib/libs.h ../lib/structs.h ../lib/clcomm.h ../lib/common.h config.h lutil.h openfile.h +openport.o: ../lib/libs.h ../lib/structs.h ../lib/common.h ../lib/clcomm.h ulock.h ttyio.h openport.h +opentcp.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/dbnode.h session.h ttyio.h openport.h opentcp.h +rdoptions.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/dbnode.h portsel.h session.h config.h +yoohoo.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/clcomm.h ../lib/common.h ../lib/dbnode.h statetbl.h ttyio.h session.h config.h emsi.h hydra.h rdoptions.h wazoo.h dietifna.h yoohoo.h +recvbark.o: ../lib/libs.h ../lib/structs.h ../lib/common.h ../lib/clcomm.h ttyio.h session.h statetbl.h recvbark.h respfreq.h filelist.h +respfreq.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h session.h lutil.h config.h atoul.h respfreq.h filelist.h +sendbark.o: ../lib/libs.h ../lib/structs.h ../lib/common.h ../lib/clcomm.h ttyio.h session.h statetbl.h sendbark.h xmrecv.h +tcp.o: ../lib/libs.h ../lib/structs.h ../lib/common.h ../lib/clcomm.h ttyio.h session.h statetbl.h config.h emsi.h respfreq.h filelist.h tcpproto.h tcp.h +tcpproto.o: ../lib/libs.h ../lib/structs.h ../lib/common.h ../lib/clcomm.h ttyio.h session.h config.h emsi.h lutil.h openfile.h filelist.h tcpproto.h +wazoo.o: ../lib/libs.h ../lib/structs.h ../lib/common.h ../lib/clcomm.h ttyio.h session.h statetbl.h config.h emsi.h respfreq.h filelist.h wazoo.h zmodem.h +filetime.o: ../lib/libs.h filetime.h +ftsc.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h session.h ttyio.h statetbl.h config.h ftsc.h rdoptions.h recvbark.h filelist.h sendbark.h respfreq.h xmrecv.h xmsend.h +atoul.o: ../lib/libs.h atoul.h +portsel.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h portsel.h +ttyio.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ttyio.h lutil.h +lutil.o: ../lib/libs.h ../lib/structs.h ../lib/common.h ../lib/clcomm.h lutil.h +scanout.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/dbftn.h config.h scanout.h lutil.h +emsi.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/dbnode.h ../lib/clcomm.h ttyio.h session.h statetbl.h config.h emsi.h emsidat.h hydra.h rdoptions.h tcp.h wazoo.h +ulock.o: ../lib/libs.h ../lib/clcomm.h +callstat.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/clcomm.h ../lib/common.h callstat.h +session.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ttyio.h statetbl.h emsi.h ftsc.h session.h yoohoo.h mbcico.h binkp.h callstat.h +call.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/dbnode.h session.h callstat.h call.h config.h dial.h lutil.h portsel.h openport.h opentcp.h rdoptions.h +callall.o: ../lib/libs.h ../lib/structs.h ../lib/common.h config.h ../lib/clcomm.h scanout.h lutil.h callstat.h callall.h +mbcico.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/dbcfg.h ../lib/dbnode.h ../lib/dbftn.h config.h answer.h portsel.h call.h callall.h lutil.h mbcico.h session.h +outstat.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/dbcfg.h ../lib/dbnode.h ../lib/dbftn.h scanout.h callstat.h outstat.h +nlinfo.o: ../lib/libs.h ../lib/structs.h ../lib/common.h ../lib/clcomm.h nlinfo.h +mbout.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/dbcfg.h ../lib/dbnode.h ../lib/dbftn.h outstat.h nlinfo.h +# End of generated dependencies diff --git a/mbcico/Makefile.am b/mbcico/Makefile.am deleted file mode 100644 index 27c2500c..00000000 --- a/mbcico/Makefile.am +++ /dev/null @@ -1,35 +0,0 @@ -## Process this file with automake to produce Makefile.in - -EXTRA_DIST = README -SUBDIRS = . - -noinst_PROGRAMS = mbcico mbout - -mbcico_SOURCES = zmmisc.c zmrle.c zmrecv.c zmsend.c binkp.c \ -xmsend.c xmrecv.c m7recv.c m7send.c hydra.c \ -answer.c chat.c dial.c dietifna.c emsidat.c filelist.c \ -openfile.c openport.c opentcp.c rdoptions.c yoohoo.c \ -recvbark.c respfreq.c sendbark.c tcp.c tcpproto.c wazoo.c \ -filetime.c ftsc.c atoul.c portsel.c \ -ttyio.c lutil.c scanout.c emsi.c ulock.c \ -callstat.c session.c call.c callall.c mbcico.c \ -zmodem.h binkp.h config.h statetbl.h \ -xmsend.h xmrecv.h m7recv.h m7send.h hydra.h \ -answer.h chat.h dial.h dietifna.h emsidat.h filelist.h \ -openfile.h openport.h opentcp.h rdoptions.h yoohoo.h \ -recvbark.h respfreq.h sendbark.h tcp.h tcpproto.h wazoo.h \ -filetime.h ftsc.h atoul.h portsel.h \ -ttyio.h lutil.h scanout.h emsi.h ulock.h \ -callstat.h session.h call.h callall.h mbcico.h - -mbout_SOURCES = outstat.c nlinfo.c mbout.c scanout.c callstat.c \ -outstat.h nlinfo.h scanout.h callstat.h - -LDADD = ../lib/libmemwatch.a ../lib/libclcomm.a ../lib/libcommon.a \ -../lib/libmsgbase.a ../lib/libdbase.a - -install-exec-local: - $(INSTALL) -s -o @OWNER@ -g @GROUP@ -m 4751 mbcico $(bindir) - $(INSTALL) -s -o @OWNER@ -g @GROUP@ -m 0711 mbout $(bindir) - - diff --git a/mbcico/Makefile.in b/mbcico/Makefile.in deleted file mode 100644 index 54cc0def..00000000 --- a/mbcico/Makefile.in +++ /dev/null @@ -1,419 +0,0 @@ -# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am - -# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - - -SHELL = @SHELL@ - -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -infodir = @infodir@ -mandir = @mandir@ -includedir = @includedir@ -oldincludedir = /usr/include - -DESTDIR = - -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ - -top_builddir = .. - -ACLOCAL = @ACLOCAL@ -AUTOCONF = @AUTOCONF@ -AUTOMAKE = @AUTOMAKE@ -AUTOHEADER = @AUTOHEADER@ - -INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -transform = @program_transform_name@ - -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -AWK = @AWK@ -CC = @CC@ -CHOWN = @CHOWN@ -COMPRESS = @COMPRESS@ -GROUP = @GROUP@ -GZIP = @GZIP@ -LEX = @LEX@ -LOG_COMPRESS = @LOG_COMPRESS@ -LOG_COMPRESSEXT = @LOG_COMPRESSEXT@ -MAKEINFO = @MAKEINFO@ -OWNER = @OWNER@ -PACKAGE = @PACKAGE@ -RANLIB = @RANLIB@ -VERSION = @VERSION@ -YACC = @YACC@ - -EXTRA_DIST = README -SUBDIRS = . - -noinst_PROGRAMS = mbcico mbout - -mbcico_SOURCES = zmmisc.c zmrle.c zmrecv.c zmsend.c binkp.c xmsend.c xmrecv.c m7recv.c m7send.c hydra.c answer.c chat.c dial.c dietifna.c emsidat.c filelist.c openfile.c openport.c opentcp.c rdoptions.c yoohoo.c recvbark.c respfreq.c sendbark.c tcp.c tcpproto.c wazoo.c filetime.c ftsc.c atoul.c portsel.c ttyio.c lutil.c scanout.c emsi.c ulock.c callstat.c session.c call.c callall.c mbcico.c zmodem.h binkp.h config.h statetbl.h xmsend.h xmrecv.h m7recv.h m7send.h hydra.h answer.h chat.h dial.h dietifna.h emsidat.h filelist.h openfile.h openport.h opentcp.h rdoptions.h yoohoo.h recvbark.h respfreq.h sendbark.h tcp.h tcpproto.h wazoo.h filetime.h ftsc.h atoul.h portsel.h ttyio.h lutil.h scanout.h emsi.h ulock.h callstat.h session.h call.h callall.h mbcico.h - - -mbout_SOURCES = outstat.c nlinfo.c mbout.c scanout.c callstat.c outstat.h nlinfo.h scanout.h callstat.h - - -LDADD = ../lib/libmemwatch.a ../lib/libclcomm.a ../lib/libcommon.a ../lib/libmsgbase.a ../lib/libdbase.a - -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_HEADER = ../config.h -CONFIG_CLEAN_FILES = -PROGRAMS = $(noinst_PROGRAMS) - - -DEFS = @DEFS@ -I. -I$(srcdir) -I.. -CPPFLAGS = @CPPFLAGS@ -LDFLAGS = @LDFLAGS@ -LIBS = @LIBS@ -mbcico_OBJECTS = zmmisc.o zmrle.o zmrecv.o zmsend.o binkp.o xmsend.o \ -xmrecv.o m7recv.o m7send.o hydra.o answer.o chat.o dial.o dietifna.o \ -emsidat.o filelist.o openfile.o openport.o opentcp.o rdoptions.o \ -yoohoo.o recvbark.o respfreq.o sendbark.o tcp.o tcpproto.o wazoo.o \ -filetime.o ftsc.o atoul.o portsel.o ttyio.o lutil.o scanout.o emsi.o \ -ulock.o callstat.o session.o call.o callall.o mbcico.o -mbcico_LDADD = $(LDADD) -mbcico_DEPENDENCIES = ../lib/libmemwatch.a ../lib/libclcomm.a \ -../lib/libcommon.a ../lib/libmsgbase.a ../lib/libdbase.a -mbcico_LDFLAGS = -mbout_OBJECTS = outstat.o nlinfo.o mbout.o scanout.o callstat.o -mbout_LDADD = $(LDADD) -mbout_DEPENDENCIES = ../lib/libmemwatch.a ../lib/libclcomm.a \ -../lib/libcommon.a ../lib/libmsgbase.a ../lib/libdbase.a -mbout_LDFLAGS = -CFLAGS = @CFLAGS@ -COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -CCLD = $(CC) -LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ -DIST_COMMON = README Makefile.am Makefile.in - - -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) - -TAR = tar -GZIP_ENV = --best -DEP_FILES = .deps/answer.P .deps/atoul.P .deps/binkp.P .deps/call.P \ -.deps/callall.P .deps/callstat.P .deps/chat.P .deps/dial.P \ -.deps/dietifna.P .deps/emsi.P .deps/emsidat.P .deps/filelist.P \ -.deps/filetime.P .deps/ftsc.P .deps/hydra.P .deps/lutil.P \ -.deps/m7recv.P .deps/m7send.P .deps/mbcico.P .deps/mbout.P \ -.deps/nlinfo.P .deps/openfile.P .deps/openport.P .deps/opentcp.P \ -.deps/outstat.P .deps/portsel.P .deps/rdoptions.P .deps/recvbark.P \ -.deps/respfreq.P .deps/scanout.P .deps/sendbark.P .deps/session.P \ -.deps/tcp.P .deps/tcpproto.P .deps/ttyio.P .deps/ulock.P .deps/wazoo.P \ -.deps/xmrecv.P .deps/xmsend.P .deps/yoohoo.P .deps/zmmisc.P \ -.deps/zmrecv.P .deps/zmrle.P .deps/zmsend.P -SOURCES = $(mbcico_SOURCES) $(mbout_SOURCES) -OBJECTS = $(mbcico_OBJECTS) $(mbout_OBJECTS) - -all: all-redirect -.SUFFIXES: -.SUFFIXES: .S .c .o .s -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu mbcico/Makefile - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status - - -mostlyclean-noinstPROGRAMS: - -clean-noinstPROGRAMS: - -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS) - -distclean-noinstPROGRAMS: - -maintainer-clean-noinstPROGRAMS: - -.s.o: - $(COMPILE) -c $< - -.S.o: - $(COMPILE) -c $< - -mostlyclean-compile: - -rm -f *.o core *.core - -clean-compile: - -distclean-compile: - -rm -f *.tab.c - -maintainer-clean-compile: - -mbcico: $(mbcico_OBJECTS) $(mbcico_DEPENDENCIES) - @rm -f mbcico - $(LINK) $(mbcico_LDFLAGS) $(mbcico_OBJECTS) $(mbcico_LDADD) $(LIBS) - -mbout: $(mbout_OBJECTS) $(mbout_DEPENDENCIES) - @rm -f mbout - $(LINK) $(mbout_LDFLAGS) $(mbout_OBJECTS) $(mbout_LDADD) $(LIBS) - -# This directory's subdirectories are mostly independent; you can cd -# into them and run `make' without going through this Makefile. -# To change the values of `make' variables: instead of editing Makefiles, -# (1) if the variable is set in `config.status', edit `config.status' -# (which will cause the Makefiles to be regenerated when you run `make'); -# (2) otherwise, pass the desired values on the `make' command line. - -@SET_MAKE@ - -all-recursive install-data-recursive install-exec-recursive \ -installdirs-recursive install-recursive uninstall-recursive \ -check-recursive installcheck-recursive info-recursive dvi-recursive: - @set fnord $(MAKEFLAGS); amf=$$2; \ - dot_seen=no; \ - target=`echo $@ | sed s/-recursive//`; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - dot_seen=yes; \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ - done; \ - if test "$$dot_seen" = "no"; then \ - $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ - fi; test -z "$$fail" - -mostlyclean-recursive clean-recursive distclean-recursive \ -maintainer-clean-recursive: - @set fnord $(MAKEFLAGS); amf=$$2; \ - dot_seen=no; \ - rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \ - rev="$$subdir $$rev"; \ - test "$$subdir" = "." && dot_seen=yes; \ - done; \ - test "$$dot_seen" = "no" && rev=". $$rev"; \ - target=`echo $@ | sed s/-recursive//`; \ - for subdir in $$rev; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ - done && test -z "$$fail" -tags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ - done - -tags: TAGS - -ID: $(HEADERS) $(SOURCES) $(LISP) - list='$(SOURCES) $(HEADERS)'; \ - unique=`for i in $$list; do echo $$i; done | \ - awk ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - here=`pwd` && cd $(srcdir) \ - && mkid -f$$here/ID $$unique $(LISP) - -TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) - tags=; \ - here=`pwd`; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ - fi; \ - done; \ - list='$(SOURCES) $(HEADERS)'; \ - unique=`for i in $$list; do echo $$i; done | \ - awk ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) - -mostlyclean-tags: - -clean-tags: - -distclean-tags: - -rm -f TAGS ID - -maintainer-clean-tags: - -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) - -subdir = mbcico - -distdir: $(DISTFILES) - here=`cd $(top_builddir) && pwd`; \ - top_distdir=`cd $(top_distdir) && pwd`; \ - distdir=`cd $(distdir) && pwd`; \ - cd $(top_srcdir) \ - && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu mbcico/Makefile - @for file in $(DISTFILES); do \ - d=$(srcdir); \ - if test -d $$d/$$file; then \ - cp -pr $$d/$$file $(distdir)/$$file; \ - else \ - test -f $(distdir)/$$file \ - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ - || cp -p $$d/$$file $(distdir)/$$file || :; \ - fi; \ - done - for subdir in $(SUBDIRS); do \ - if test "$$subdir" = .; then :; else \ - test -d $(distdir)/$$subdir \ - || mkdir $(distdir)/$$subdir \ - || exit 1; \ - chmod 777 $(distdir)/$$subdir; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \ - || exit 1; \ - fi; \ - done - -DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) - --include $(DEP_FILES) - -mostlyclean-depend: - -clean-depend: - -distclean-depend: - -rm -rf .deps - -maintainer-clean-depend: - -%.o: %.c - @echo '$(COMPILE) -c $<'; \ - $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< - @-cp .deps/$(*F).pp .deps/$(*F).P; \ - tr ' ' '\012' < .deps/$(*F).pp \ - | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ - >> .deps/$(*F).P; \ - rm .deps/$(*F).pp - -%.lo: %.c - @echo '$(LTCOMPILE) -c $<'; \ - $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< - @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ - < .deps/$(*F).pp > .deps/$(*F).P; \ - tr ' ' '\012' < .deps/$(*F).pp \ - | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ - >> .deps/$(*F).P; \ - rm -f .deps/$(*F).pp -info-am: -info: info-recursive -dvi-am: -dvi: dvi-recursive -check-am: all-am -check: check-recursive -installcheck-am: -installcheck: installcheck-recursive -install-exec-am: install-exec-local -install-exec: install-exec-recursive - -install-data-am: -install-data: install-data-recursive - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am -install: install-recursive -uninstall-am: -uninstall: uninstall-recursive -all-am: Makefile $(PROGRAMS) -all-redirect: all-recursive -install-strip: - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install -installdirs: installdirs-recursive -installdirs-am: - - -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -rm -f Makefile $(CONFIG_CLEAN_FILES) - -rm -f config.cache config.log stamp-h stamp-h[0-9]* - -maintainer-clean-generic: -mostlyclean-am: mostlyclean-noinstPROGRAMS mostlyclean-compile \ - mostlyclean-tags mostlyclean-depend mostlyclean-generic - -mostlyclean: mostlyclean-recursive - -clean-am: clean-noinstPROGRAMS clean-compile clean-tags clean-depend \ - clean-generic mostlyclean-am - -clean: clean-recursive - -distclean-am: distclean-noinstPROGRAMS distclean-compile distclean-tags \ - distclean-depend distclean-generic clean-am - -distclean: distclean-recursive - -maintainer-clean-am: maintainer-clean-noinstPROGRAMS \ - maintainer-clean-compile maintainer-clean-tags \ - maintainer-clean-depend maintainer-clean-generic \ - distclean-am - @echo "This command is intended for maintainers to use;" - @echo "it deletes files that may require special tools to rebuild." - -maintainer-clean: maintainer-clean-recursive - -.PHONY: mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \ -clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \ -mostlyclean-compile distclean-compile clean-compile \ -maintainer-clean-compile install-data-recursive \ -uninstall-data-recursive install-exec-recursive \ -uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \ -all-recursive check-recursive installcheck-recursive info-recursive \ -dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \ -maintainer-clean-recursive tags tags-recursive mostlyclean-tags \ -distclean-tags clean-tags maintainer-clean-tags distdir \ -mostlyclean-depend distclean-depend clean-depend \ -maintainer-clean-depend info-am info dvi-am dvi check check-am \ -installcheck-am installcheck install-exec-local install-exec-am \ -install-exec install-data-am install-data install-am install \ -uninstall-am uninstall all-redirect all-am all installdirs-am \ -installdirs mostlyclean-generic distclean-generic clean-generic \ -maintainer-clean-generic clean mostlyclean distclean maintainer-clean - - -install-exec-local: - $(INSTALL) -s -o @OWNER@ -g @GROUP@ -m 4751 mbcico $(bindir) - $(INSTALL) -s -o @OWNER@ -g @GROUP@ -m 0711 mbout $(bindir) - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/mbfido/Makefile b/mbfido/Makefile new file mode 100644 index 00000000..54784ffa --- /dev/null +++ b/mbfido/Makefile @@ -0,0 +1,185 @@ +# Makefile for MBSE BBS under Linux +# Copyright (c) 1998, 2000 by M. Broek. +# $Id: + +include ../Makefile.global + +SRCS = addbbs.c backalias.c flock.c hatch.c mbdiff.c mgrutil.c pack.c \ + ptic.c sendmail.c tracker.c addpkt.c bwrite.c forward.c lhash.c \ + mbfido.c mkftnhdr.c ping.c rfc2ftn.c storeecho.c ulock.c aliasdb.c \ + cookie.c fsort.c magic.c mbfile.c mover.c post.c rnews.c storenet.c \ + utic.c announce.c fflist.c ftn2rfc.c makestat.c mbindex.c msgutil.c \ + postecho.c rollover.c tic.c areamgr.c filefind.c grlist.c maketags.c \ + mbmsg.c newspost.c postemail.c scan.c toberep.c atoul.c filemgr.c \ + hash.c mbaff.c mbseq.c notify.c postnetmail.c scannews.c tosspkt.c +HDRS = addbbs.h backalias.h flock.h hatch.h mbdiff.h mgrutil.h pack.h \ + postnetmail.h scannews.h tosspkt.h addpkt.h bwrite.h forward.h \ + lhash.h mbfido.h mkftnhdr.h paths.h ptic.h sendmail.h tracker.h \ + aliasdb.h cookie.h fsort.h magic.h mbfile.h mover.h ping.h rfc2ftn.h \ + storeecho.h ulock.h announce.h fflist.h ftn2rfc.h makestat.h mbindex.h \ + msgutil.h post.h rnews.h storenet.h utic.h areamgr.h filefind.h \ + grlist.h maketags.h mbmsg.h newspost.h postecho.h rollover.h tic.h \ + atoul.h filemgr.h hash.h mbaff.h mbseq.h notify.h postemail.h scan.h toberep.h +MBFIDO_OBJS = flock.o tosspkt.o mbfido.o hatch.o maketags.o \ + tracker.o makestat.o scannews.o lhash.o \ + pack.o ulock.o tic.o ptic.o utic.o mover.o hash.o mkftnhdr.o \ + addbbs.o magic.o fsort.o toberep.o ftn2rfc.o atoul.o ping.o \ + cookie.o forward.o sendmail.o scan.o addpkt.o storenet.o storeecho.o \ + areamgr.o filemgr.o notify.o mgrutil.o rollover.o bwrite.o rfc2ftn.o \ + rnews.o newspost.o aliasdb.o postemail.o postnetmail.o postecho.o backalias.o +MBSEQ_OBJS = mbseq.o +MBAFF_OBJS = announce.o fflist.o filefind.o grlist.o mbaff.o msgutil.o +MBINDEX_OBJS = mbindex.o +MBDIFF_OBJS = mbdiff.o +MBFILE_OBJS = mbfile.o +MBMSG_OBJS = post.o mbmsg.o +MBFIDO_LIBS = ../lib/libmemwatch.a ../lib/libclcomm.a ../lib/libcommon.a ../lib/libmsgbase.a \ + ../lib/libdbase.a ../lib/libmbinet.a +MBSEQ_LIBS = ../lib/libmemwatch.a ../lib/libclcomm.a ../lib/libcommon.a ../lib/libdbase.a +MBAFF_LIBS = ../lib/libmemwatch.a ../lib/libclcomm.a ../lib/libcommon.a ../lib/libmsgbase.a ../lib/libdbase.a +MBINDEX_LIBS = ../lib/libmemwatch.a ../lib/libclcomm.a ../lib/libcommon.a ../lib/libdbase.a +MBDIFF_LIBS = ../lib/libmemwatch.a ../lib/libclcomm.a ../lib/libcommon.a ../lib/libdbase.a +MBFILE_LIBS = ../lib/libmemwatch.a ../lib/libclcomm.a ../lib/libcommon.a ../lib/libdbase.a +MBMSG_LIBS = ../lib/libmemwatch.a ../lib/libclcomm.a ../lib/libcommon.a ../lib/libmsgbase.a ../lib/libdbase.a +OTHER = Makefile README maptabs.tgz paths.h.in +TARGET = mbfido mbseq mbaff mbindex mbdiff mbfile mbmsg + +#################################################################################################################### + +.c.o: + ${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $< + +all: ${TARGET} + +mbfido: ${MBFIDO_OBJS} ${MBFIDO_LIBS} + ${CC} -o mbfido ${MBFIDO_OBJS} ${LIBS} ${MBFIDO_LIBS} + strip mbfido + +mbseq: ${MBSEQ_OBJS} ${MBSEQ_LIBS} + ${CC} -o mbseq ${MBSEQ_OBJS} ${LIBS} ${MBSEQ_LIBS} + strip mbseq + +mbaff: ${MBAFF_OBJS} ${MBAFF_LIBS} + ${CC} -o mbaff ${MBAFF_OBJS} ${LIBS} ${MBAFF_LIBS} + strip mbaff + +mbindex: ${MBINDEX_OBJS} ${MBINDEX_LIBS} + ${CC} -o mbindex ${MBINDEX_OBJS} ${LIBS} ${MBINDEX_LIBS} + strip mbindex + +mbdiff: ${MBDIFF_OBJS} ${MBDIFF_LIBS} + ${CC} -o mbdiff ${MBDIFF_OBJS} ${LIBS} ${MBDIFF_LIBS} + strip mbdiff + +mbfile: ${MBFILE_OBJS} ${MBFILE_LIBS} + ${CC} -o mbfile ${MBFILE_OBJS} ${LIBS} ${MBFILE_LIBS} + strip mbfile + +mbmsg: ${MBMSG_OBJS} ${MBMSG_LIBS} + ${CC} -o mbmsg ${MBMSG_OBJS} ${LIBS} ${MBMSG_LIBS} + strip mbmsg + +clean: + rm -f ${TARGET} *.o *.h~ *.c~ core filelist Makefile.bak + +install: all + ${INSTALL} -s -o ${OWNER} -g ${GROUP} -m 4751 mbfido ${BINDIR} + ${INSTALL} -s -o ${OWNER} -g ${GROUP} -m 0711 mbseq ${BINDIR} + ${INSTALL} -s -o ${OWNER} -g ${GROUP} -m 0711 mbaff ${BINDIR} + ${INSTALL} -s -o ${OWNER} -g ${GROUP} -m 0711 mbindex ${BINDIR} + ${INSTALL} -s -o ${OWNER} -g ${GROUP} -m 0711 mbdiff ${BINDIR} + ${INSTALL} -s -o ${OWNER} -g ${GROUP} -m 0711 mbfile ${BINDIR} + ${INSTALL} -s -o ${OWNER} -g ${GROUP} -m 0711 mbmsg ${BINDIR} + rm -f ${BINDIR}/mbmail + ln -s ${BINDIR}/mbfido ${BINDIR}/mbmail + rm -f ${BINDIR}/mbnews + ln -s ${BINDIR}/mbfido ${BINDIR}/mbnews + (cd ${PREFIX}; tar xfz ${PACKAGE}-${VERSION}/mbfido/maptabs.tgz; ${CHOWN} ${OWNER}.${GROUP} etc/maptabs/*) + +filelist: Makefile + BASE=`pwd`; \ + BASE=`basename $${BASE}`; \ + (for f in ${SRCS} ${HDRS} ${OTHER} ;do echo ${PACKAGE}-${VERSION}/$${BASE}/$$f; done) >filelist + +depend: + @rm -f Makefile.bak; \ + mv Makefile Makefile.bak; \ + sed -e '/^# DO NOT DELETE/,$$d' Makefile.bak >Makefile; \ + ${ECHO} '# DO NOT DELETE THIS LINE - MAKE DEPEND RELIES ON IT' \ + >>Makefile; \ + ${ECHO} '# Dependencies generated by make depend' >>Makefile; \ + for f in ${SRCS}; \ + do \ + ${ECHO} "Dependencies for $$f:\c"; \ + ${ECHO} "`basename $$f .c`.o:\c" >>Makefile; \ + for h in `sed -n -e \ + 's/^#[ ]*include[ ]*"\([^"]*\)".*/\1/p' $$f`; \ + do \ + ${ECHO} " $$h\c"; \ + ${ECHO} " $$h\c" >>Makefile; \ + done; \ + ${ECHO} " done."; \ + ${ECHO} "" >>Makefile; \ + done; \ + ${ECHO} '# End of generated dependencies' >>Makefile + +# DO NOT DELETE THIS LINE - MAKE DEPEND RELIES ON IT +# Dependencies generated by make depend +addbbs.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h tic.h fsort.h addbbs.h +backalias.o: ../lib/libs.h ../lib/structs.h ../lib/common.h ../lib/clcomm.h ../lib/dbcfg.h backalias.h +flock.o: ../lib/libs.h ../lib/clcomm.h flock.h +hatch.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/dbtic.h utic.h rollover.h hatch.h +mbdiff.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/dbcfg.h mbdiff.h +mgrutil.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/dbnode.h sendmail.h mgrutil.h +pack.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/dbftn.h ../lib/clcomm.h ../lib/dbnode.h pack.h +ptic.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/dbtic.h ../lib/clcomm.h ../lib/dbnode.h ../lib/dbdupe.h ulock.h mover.h toberep.h tic.h utic.h addbbs.h magic.h forward.h rollover.h ptic.h magic.h +sendmail.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/dbnode.h ../lib/clcomm.h ../lib/dbmsgs.h addpkt.h rollover.h sendmail.h +tracker.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/dbnode.h ../lib/dbftn.h tracker.h +addpkt.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/clcomm.h ../lib/common.h ../lib/dbnode.h ../lib/dbmsgs.h pack.h addpkt.h +bwrite.o: ../lib/libs.h bwrite.h +forward.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/dbnode.h ../lib/dbtic.h tic.h cookie.h sendmail.h rollover.h forward.h +lhash.o: ../lib/libs.h ../lib/clcomm.h lhash.h +mbfido.o: ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/dbdupe.h ../lib/dbcfg.h ../lib/dbnode.h ../lib/dbmsgs.h ../lib/dbuser.h ../lib/dbftn.h ../lib/dbtic.h ../lib/msg.h flock.h tosspkt.h pack.h ulock.h tic.h fsort.h scan.h mbfido.h tracker.h notify.h rollover.h hatch.h scannews.h maketags.h makestat.h newspost.h rnews.h backalias.h rfc2ftn.h +mkftnhdr.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/dbcfg.h atoul.h hash.h aliasdb.h mkftnhdr.h +ping.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/msg.h ../lib/msgtext.h ../lib/dbcfg.h ../lib/dbnode.h ../lib/dbtic.h ../lib/dbdupe.h ../lib/dbuser.h ../lib/dbftn.h sendmail.h mgrutil.h postnetmail.h ping.h +rfc2ftn.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/mbinet.h ../lib/dbdupe.h ../lib/dbnode.h ../lib/dbmsgs.h ../lib/msg.h ../lib/msgtext.h mkftnhdr.h hash.h rollover.h pack.h postnetmail.h postecho.h rfc2ftn.h +storeecho.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/msg.h ../lib/msgtext.h ../lib/dbmsgs.h ../lib/dbuser.h rollover.h storeecho.h +ulock.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h flock.h ulock.h +aliasdb.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h aliasdb.h +cookie.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h cookie.h +fsort.o: ../lib/libs.h ../lib/clcomm.h fsort.h +magic.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/dbtic.h tic.h utic.h magic.h +mbfile.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/dbcfg.h mbfile.h +mover.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h tic.h mover.h +post.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/dbcfg.h ../lib/msg.h ../lib/msgtext.h post.h +rnews.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/mbinet.h ../lib/dbdupe.h ../lib/dbnode.h ../lib/dbmsgs.h ../lib/msg.h ../lib/msgtext.h pack.h rfc2ftn.h mbfido.h paths.h rnews.h +storenet.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/msg.h ../lib/msgtext.h ../lib/dbmsgs.h ../lib/dbuser.h rollover.h storenet.h +utic.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h tic.h mover.h tic.h utic.h +announce.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/dbcfg.h ../lib/msg.h ../lib/msgtext.h grlist.h msgutil.h announce.h +fflist.o: ../lib/libs.h ../lib/clcomm.h ../lib/msg.h fflist.h +ftn2rfc.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/dbftn.h ../lib/dbdupe.h ../lib/dbuser.h ../lib/common.h ../lib/clcomm.h rollover.h aliasdb.h postemail.h backalias.h ftn2rfc.h +makestat.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h makestat.h +mbindex.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/dbcfg.h ../lib/dbftn.h mbindex.h +msgutil.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/dbcfg.h ../lib/msg.h ../lib/msgtext.h msgutil.h +postecho.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/msg.h ../lib/msgtext.h ../lib/dbcfg.h ../lib/dbnode.h ../lib/dbmsgs.h ../lib/dbdupe.h ../lib/dbuser.h ../lib/dbftn.h ftn2rfc.h postecho.h storeecho.h addpkt.h rollover.h +rollover.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h rollover.h +tic.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/dbftn.h ../lib/clcomm.h ulock.h ptic.h fsort.h pack.h tic.h +areamgr.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/msg.h ../lib/msgtext.h ../lib/dbcfg.h ../lib/dbnode.h ../lib/dbmsgs.h ../lib/dbdupe.h ../lib/dbuser.h ../lib/dbftn.h sendmail.h mgrutil.h scan.h areamgr.h +filefind.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/dbcfg.h ../lib/msg.h ../lib/msgtext.h fflist.h filefind.h msgutil.h +grlist.o: ../lib/libs.h ../lib/clcomm.h grlist.h +maketags.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h maketags.h +mbmsg.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/msg.h ../lib/dbcfg.h post.h mbmsg.h +newspost.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/mbinet.h newspost.h +postemail.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/dbuser.h ../lib/common.h ../lib/clcomm.h ../lib/mbinet.h postemail.h +scan.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/msg.h ../lib/clcomm.h ../lib/msgtext.h ../lib/dbnode.h ../lib/dbmsgs.h addpkt.h pack.h tracker.h ftn2rfc.h rfc2ftn.h postemail.h scan.h +toberep.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h tic.h toberep.h +atoul.o: ../lib/libs.h atoul.h +filemgr.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/msg.h ../lib/msgtext.h ../lib/dbcfg.h ../lib/dbnode.h ../lib/dbtic.h ../lib/dbdupe.h ../lib/dbuser.h ../lib/dbftn.h sendmail.h mgrutil.h filemgr.h +hash.o: ../lib/libs.h hash.h lhash.h +mbaff.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/dbcfg.h ../lib/msg.h announce.h filefind.h mbaff.h +mbseq.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/dbcfg.h mbseq.h +notify.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/msg.h ../lib/msgtext.h ../lib/dbnode.h filemgr.h areamgr.h sendmail.h notify.h +postnetmail.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/dbcfg.h ../lib/dbuser.h ../lib/dbnode.h ../lib/dbftn.h ../lib/common.h ../lib/clcomm.h tracker.h addpkt.h storenet.h ftn2rfc.h areamgr.h filemgr.h ping.h postemail.h +scannews.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/mbinet.h ../lib/dbdupe.h ../lib/dbnode.h ../lib/dbmsgs.h ../lib/msg.h ../lib/msgtext.h mkftnhdr.h hash.h rollover.h pack.h storeecho.h rfc2ftn.h scannews.h +tosspkt.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/msg.h ../lib/msgtext.h ../lib/dbcfg.h ../lib/dbnode.h ../lib/dbmsgs.h ../lib/dbdupe.h ../lib/dbuser.h ../lib/dbftn.h tosspkt.h postnetmail.h postecho.h rollover.h +# End of generated dependencies diff --git a/mbfido/Makefile.am b/mbfido/Makefile.am deleted file mode 100644 index 423bbe31..00000000 --- a/mbfido/Makefile.am +++ /dev/null @@ -1,58 +0,0 @@ -## Process this file with automake to produce Makefile.in - -SUBDIRS = . - -EXTRA_DIST = maptabs.tgz paths.h.in README - -noinst_PROGRAMS = mbfido mbseq mbaff mbindex mbdiff mbfile mbmsg - -mbfido_SOURCES = flock.c tosspkt.c mbfido.c hatch.c maketags.c \ -tracker.c makestat.c scannews.c lhash.c \ -pack.c ulock.c tic.c ptic.c utic.c mover.c hash.c mkftnhdr.c \ -addbbs.c magic.c fsort.c toberep.c ftn2rfc.c atoul.c ping.c \ -cookie.c forward.c sendmail.c scan.c addpkt.c storenet.c storeecho.c \ -areamgr.c filemgr.c notify.c mgrutil.c rollover.c bwrite.c rfc2ftn.c \ -rnews.c newspost.c aliasdb.c postemail.c postnetmail.c postecho.c backalias.c \ -flock.h tosspkt.h mbfido.h hatch.h maketags.h \ -tracker.h makestat.h scannews.h lhash.h \ -pack.h ulock.h tic.h ptic.h utic.h mover.h hash.h mkftnhdr.h \ -addbbs.h magic.h fsort.h toberep.h ftn2rfc.h atoul.h ping.h \ -cookie.h forward.h sendmail.h scan.h addpkt.h storenet.h storeecho.h \ -areamgr.h filemgr.h notify.h mgrutil.h rollover.h bwrite.h rfc2ftn.h \ -rnews.h newspost.h aliasdb.h postemail.h postnetmail.h postecho.h backalias.h - -mbseq_SOURCES = mbseq.c mbseq.h - -mbaff_SOURCES = announce.c fflist.c filefind.c grlist.c mbaff.c msgutil.c \ -announce.h fflist.h filefind.h grlist.h mbaff.h msgutil.h - -mbindex_SOURCES = mbindex.c mbindex.h - -mbdiff_SOURCES = mbdiff.c mbdiff.h - -mbfile_SOURCES = mbfile.c mbfile.h - -mbmsg_SOURCES = post.c mbmsg.c post.h mbmsg.h - -mbfido_LDADD = ../lib/libmemwatch.a ../lib/libclcomm.a ../lib/libcommon.a ../lib/libmsgbase.a ../lib/libdbase.a ../lib/libmbinet.a -mbseq_LDADD = ../lib/libmemwatch.a ../lib/libclcomm.a ../lib/libcommon.a ../lib/libdbase.a -mbaff_LDADD = ../lib/libmemwatch.a ../lib/libclcomm.a ../lib/libcommon.a ../lib/libmsgbase.a ../lib/libdbase.a -mbindex_LDADD = ../lib/libmemwatch.a ../lib/libclcomm.a ../lib/libcommon.a ../lib/libdbase.a -mbdiff_LDADD = ../lib/libmemwatch.a ../lib/libclcomm.a ../lib/libcommon.a ../lib/libdbase.a -mbfile_LDADD = ../lib/libmemwatch.a ../lib/libclcomm.a ../lib/libcommon.a ../lib/libdbase.a -mbmsg_LDADD = ../lib/libmemwatch.a ../lib/libclcomm.a ../lib/libcommon.a ../lib/libmsgbase.a ../lib/libdbase.a - -install-exec-local: - $(INSTALL) -s -o @OWNER@ -g @GROUP@ -m 4751 mbfido $(bindir) - $(INSTALL) -s -o @OWNER@ -g @GROUP@ -m 0711 mbseq $(bindir) - $(INSTALL) -s -o @OWNER@ -g @GROUP@ -m 0711 mbaff $(bindir) - $(INSTALL) -s -o @OWNER@ -g @GROUP@ -m 0711 mbindex $(bindir) - $(INSTALL) -s -o @OWNER@ -g @GROUP@ -m 0711 mbdiff $(bindir) - $(INSTALL) -s -o @OWNER@ -g @GROUP@ -m 0711 mbfile $(bindir) - $(INSTALL) -s -o @OWNER@ -g @GROUP@ -m 0711 mbmsg $(bindir) - rm -f $(bindir)/mbmail - ln -s $(bindir)/mbfido $(bindir)/mbmail - rm -f $(bindir)/mbnews - ln -s $(bindir)/mbfido $(bindir)/mbnews - (cd ${exec_prefix}; tar xfz @PACKAGE@-@VERSION@/mbfido/maptabs.tgz; $(CHOWN) @OWNER@.@GROUP@ etc/maptabs/*) - diff --git a/mbfido/Makefile.in b/mbfido/Makefile.in deleted file mode 100644 index 20b5c2c4..00000000 --- a/mbfido/Makefile.in +++ /dev/null @@ -1,492 +0,0 @@ -# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am - -# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - - -SHELL = @SHELL@ - -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -infodir = @infodir@ -mandir = @mandir@ -includedir = @includedir@ -oldincludedir = /usr/include - -DESTDIR = - -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ - -top_builddir = .. - -ACLOCAL = @ACLOCAL@ -AUTOCONF = @AUTOCONF@ -AUTOMAKE = @AUTOMAKE@ -AUTOHEADER = @AUTOHEADER@ - -INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -transform = @program_transform_name@ - -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -AWK = @AWK@ -CC = @CC@ -CHOWN = @CHOWN@ -COMPRESS = @COMPRESS@ -GROUP = @GROUP@ -GZIP = @GZIP@ -LEX = @LEX@ -LOG_COMPRESS = @LOG_COMPRESS@ -LOG_COMPRESSEXT = @LOG_COMPRESSEXT@ -MAKEINFO = @MAKEINFO@ -OWNER = @OWNER@ -PACKAGE = @PACKAGE@ -RANLIB = @RANLIB@ -VERSION = @VERSION@ -YACC = @YACC@ - -SUBDIRS = . - -EXTRA_DIST = maptabs.tgz paths.h.in README - -noinst_PROGRAMS = mbfido mbseq mbaff mbindex mbdiff mbfile mbmsg - -mbfido_SOURCES = flock.c tosspkt.c mbfido.c hatch.c maketags.c tracker.c makestat.c scannews.c lhash.c pack.c ulock.c tic.c ptic.c utic.c mover.c hash.c mkftnhdr.c addbbs.c magic.c fsort.c toberep.c ftn2rfc.c atoul.c ping.c cookie.c forward.c sendmail.c scan.c addpkt.c storenet.c storeecho.c areamgr.c filemgr.c notify.c mgrutil.c rollover.c bwrite.c rfc2ftn.c rnews.c newspost.c aliasdb.c postemail.c postnetmail.c postecho.c backalias.c flock.h tosspkt.h mbfido.h hatch.h maketags.h tracker.h makestat.h scannews.h lhash.h pack.h ulock.h tic.h ptic.h utic.h mover.h hash.h mkftnhdr.h addbbs.h magic.h fsort.h toberep.h ftn2rfc.h atoul.h ping.h cookie.h forward.h sendmail.h scan.h addpkt.h storenet.h storeecho.h areamgr.h filemgr.h notify.h mgrutil.h rollover.h bwrite.h rfc2ftn.h rnews.h newspost.h aliasdb.h postemail.h postnetmail.h postecho.h backalias.h - - -mbseq_SOURCES = mbseq.c mbseq.h - -mbaff_SOURCES = announce.c fflist.c filefind.c grlist.c mbaff.c msgutil.c announce.h fflist.h filefind.h grlist.h mbaff.h msgutil.h - - -mbindex_SOURCES = mbindex.c mbindex.h - -mbdiff_SOURCES = mbdiff.c mbdiff.h - -mbfile_SOURCES = mbfile.c mbfile.h - -mbmsg_SOURCES = post.c mbmsg.c post.h mbmsg.h - -mbfido_LDADD = ../lib/libmemwatch.a ../lib/libclcomm.a ../lib/libcommon.a ../lib/libmsgbase.a ../lib/libdbase.a ../lib/libmbinet.a -mbseq_LDADD = ../lib/libmemwatch.a ../lib/libclcomm.a ../lib/libcommon.a ../lib/libdbase.a -mbaff_LDADD = ../lib/libmemwatch.a ../lib/libclcomm.a ../lib/libcommon.a ../lib/libmsgbase.a ../lib/libdbase.a -mbindex_LDADD = ../lib/libmemwatch.a ../lib/libclcomm.a ../lib/libcommon.a ../lib/libdbase.a -mbdiff_LDADD = ../lib/libmemwatch.a ../lib/libclcomm.a ../lib/libcommon.a ../lib/libdbase.a -mbfile_LDADD = ../lib/libmemwatch.a ../lib/libclcomm.a ../lib/libcommon.a ../lib/libdbase.a -mbmsg_LDADD = ../lib/libmemwatch.a ../lib/libclcomm.a ../lib/libcommon.a ../lib/libmsgbase.a ../lib/libdbase.a -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_HEADER = ../config.h -CONFIG_CLEAN_FILES = paths.h -PROGRAMS = $(noinst_PROGRAMS) - - -DEFS = @DEFS@ -I. -I$(srcdir) -I.. -CPPFLAGS = @CPPFLAGS@ -LDFLAGS = @LDFLAGS@ -LIBS = @LIBS@ -mbfido_OBJECTS = flock.o tosspkt.o mbfido.o hatch.o maketags.o \ -tracker.o makestat.o scannews.o lhash.o pack.o ulock.o tic.o ptic.o \ -utic.o mover.o hash.o mkftnhdr.o addbbs.o magic.o fsort.o toberep.o \ -ftn2rfc.o atoul.o ping.o cookie.o forward.o sendmail.o scan.o addpkt.o \ -storenet.o storeecho.o areamgr.o filemgr.o notify.o mgrutil.o \ -rollover.o bwrite.o rfc2ftn.o rnews.o newspost.o aliasdb.o postemail.o \ -postnetmail.o postecho.o backalias.o -mbfido_DEPENDENCIES = ../lib/libmemwatch.a ../lib/libclcomm.a \ -../lib/libcommon.a ../lib/libmsgbase.a ../lib/libdbase.a \ -../lib/libmbinet.a -mbfido_LDFLAGS = -mbseq_OBJECTS = mbseq.o -mbseq_DEPENDENCIES = ../lib/libmemwatch.a ../lib/libclcomm.a \ -../lib/libcommon.a ../lib/libdbase.a -mbseq_LDFLAGS = -mbaff_OBJECTS = announce.o fflist.o filefind.o grlist.o mbaff.o \ -msgutil.o -mbaff_DEPENDENCIES = ../lib/libmemwatch.a ../lib/libclcomm.a \ -../lib/libcommon.a ../lib/libmsgbase.a ../lib/libdbase.a -mbaff_LDFLAGS = -mbindex_OBJECTS = mbindex.o -mbindex_DEPENDENCIES = ../lib/libmemwatch.a ../lib/libclcomm.a \ -../lib/libcommon.a ../lib/libdbase.a -mbindex_LDFLAGS = -mbdiff_OBJECTS = mbdiff.o -mbdiff_DEPENDENCIES = ../lib/libmemwatch.a ../lib/libclcomm.a \ -../lib/libcommon.a ../lib/libdbase.a -mbdiff_LDFLAGS = -mbfile_OBJECTS = mbfile.o -mbfile_DEPENDENCIES = ../lib/libmemwatch.a ../lib/libclcomm.a \ -../lib/libcommon.a ../lib/libdbase.a -mbfile_LDFLAGS = -mbmsg_OBJECTS = post.o mbmsg.o -mbmsg_DEPENDENCIES = ../lib/libmemwatch.a ../lib/libclcomm.a \ -../lib/libcommon.a ../lib/libmsgbase.a ../lib/libdbase.a -mbmsg_LDFLAGS = -CFLAGS = @CFLAGS@ -COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -CCLD = $(CC) -LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ -DIST_COMMON = README Makefile.am Makefile.in paths.h.in - - -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) - -TAR = tar -GZIP_ENV = --best -DEP_FILES = .deps/addbbs.P .deps/addpkt.P .deps/aliasdb.P \ -.deps/announce.P .deps/areamgr.P .deps/atoul.P .deps/backalias.P \ -.deps/bwrite.P .deps/cookie.P .deps/fflist.P .deps/filefind.P \ -.deps/filemgr.P .deps/flock.P .deps/forward.P .deps/fsort.P \ -.deps/ftn2rfc.P .deps/grlist.P .deps/hash.P .deps/hatch.P .deps/lhash.P \ -.deps/magic.P .deps/makestat.P .deps/maketags.P .deps/mbaff.P \ -.deps/mbdiff.P .deps/mbfido.P .deps/mbfile.P .deps/mbindex.P \ -.deps/mbmsg.P .deps/mbseq.P .deps/mgrutil.P .deps/mkftnhdr.P \ -.deps/mover.P .deps/msgutil.P .deps/newspost.P .deps/notify.P \ -.deps/pack.P .deps/ping.P .deps/post.P .deps/postecho.P \ -.deps/postemail.P .deps/postnetmail.P .deps/ptic.P .deps/rfc2ftn.P \ -.deps/rnews.P .deps/rollover.P .deps/scan.P .deps/scannews.P \ -.deps/sendmail.P .deps/storeecho.P .deps/storenet.P .deps/tic.P \ -.deps/toberep.P .deps/tosspkt.P .deps/tracker.P .deps/ulock.P \ -.deps/utic.P -SOURCES = $(mbfido_SOURCES) $(mbseq_SOURCES) $(mbaff_SOURCES) $(mbindex_SOURCES) $(mbdiff_SOURCES) $(mbfile_SOURCES) $(mbmsg_SOURCES) -OBJECTS = $(mbfido_OBJECTS) $(mbseq_OBJECTS) $(mbaff_OBJECTS) $(mbindex_OBJECTS) $(mbdiff_OBJECTS) $(mbfile_OBJECTS) $(mbmsg_OBJECTS) - -all: all-redirect -.SUFFIXES: -.SUFFIXES: .S .c .o .s -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu mbfido/Makefile - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status - -paths.h: $(top_builddir)/config.status paths.h.in - cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status - -mostlyclean-noinstPROGRAMS: - -clean-noinstPROGRAMS: - -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS) - -distclean-noinstPROGRAMS: - -maintainer-clean-noinstPROGRAMS: - -.s.o: - $(COMPILE) -c $< - -.S.o: - $(COMPILE) -c $< - -mostlyclean-compile: - -rm -f *.o core *.core - -clean-compile: - -distclean-compile: - -rm -f *.tab.c - -maintainer-clean-compile: - -mbfido: $(mbfido_OBJECTS) $(mbfido_DEPENDENCIES) - @rm -f mbfido - $(LINK) $(mbfido_LDFLAGS) $(mbfido_OBJECTS) $(mbfido_LDADD) $(LIBS) - -mbseq: $(mbseq_OBJECTS) $(mbseq_DEPENDENCIES) - @rm -f mbseq - $(LINK) $(mbseq_LDFLAGS) $(mbseq_OBJECTS) $(mbseq_LDADD) $(LIBS) - -mbaff: $(mbaff_OBJECTS) $(mbaff_DEPENDENCIES) - @rm -f mbaff - $(LINK) $(mbaff_LDFLAGS) $(mbaff_OBJECTS) $(mbaff_LDADD) $(LIBS) - -mbindex: $(mbindex_OBJECTS) $(mbindex_DEPENDENCIES) - @rm -f mbindex - $(LINK) $(mbindex_LDFLAGS) $(mbindex_OBJECTS) $(mbindex_LDADD) $(LIBS) - -mbdiff: $(mbdiff_OBJECTS) $(mbdiff_DEPENDENCIES) - @rm -f mbdiff - $(LINK) $(mbdiff_LDFLAGS) $(mbdiff_OBJECTS) $(mbdiff_LDADD) $(LIBS) - -mbfile: $(mbfile_OBJECTS) $(mbfile_DEPENDENCIES) - @rm -f mbfile - $(LINK) $(mbfile_LDFLAGS) $(mbfile_OBJECTS) $(mbfile_LDADD) $(LIBS) - -mbmsg: $(mbmsg_OBJECTS) $(mbmsg_DEPENDENCIES) - @rm -f mbmsg - $(LINK) $(mbmsg_LDFLAGS) $(mbmsg_OBJECTS) $(mbmsg_LDADD) $(LIBS) - -# This directory's subdirectories are mostly independent; you can cd -# into them and run `make' without going through this Makefile. -# To change the values of `make' variables: instead of editing Makefiles, -# (1) if the variable is set in `config.status', edit `config.status' -# (which will cause the Makefiles to be regenerated when you run `make'); -# (2) otherwise, pass the desired values on the `make' command line. - -@SET_MAKE@ - -all-recursive install-data-recursive install-exec-recursive \ -installdirs-recursive install-recursive uninstall-recursive \ -check-recursive installcheck-recursive info-recursive dvi-recursive: - @set fnord $(MAKEFLAGS); amf=$$2; \ - dot_seen=no; \ - target=`echo $@ | sed s/-recursive//`; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - dot_seen=yes; \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ - done; \ - if test "$$dot_seen" = "no"; then \ - $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ - fi; test -z "$$fail" - -mostlyclean-recursive clean-recursive distclean-recursive \ -maintainer-clean-recursive: - @set fnord $(MAKEFLAGS); amf=$$2; \ - dot_seen=no; \ - rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \ - rev="$$subdir $$rev"; \ - test "$$subdir" = "." && dot_seen=yes; \ - done; \ - test "$$dot_seen" = "no" && rev=". $$rev"; \ - target=`echo $@ | sed s/-recursive//`; \ - for subdir in $$rev; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ - done && test -z "$$fail" -tags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ - done - -tags: TAGS - -ID: $(HEADERS) $(SOURCES) $(LISP) - list='$(SOURCES) $(HEADERS)'; \ - unique=`for i in $$list; do echo $$i; done | \ - awk ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - here=`pwd` && cd $(srcdir) \ - && mkid -f$$here/ID $$unique $(LISP) - -TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) - tags=; \ - here=`pwd`; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ - fi; \ - done; \ - list='$(SOURCES) $(HEADERS)'; \ - unique=`for i in $$list; do echo $$i; done | \ - awk ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) - -mostlyclean-tags: - -clean-tags: - -distclean-tags: - -rm -f TAGS ID - -maintainer-clean-tags: - -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) - -subdir = mbfido - -distdir: $(DISTFILES) - here=`cd $(top_builddir) && pwd`; \ - top_distdir=`cd $(top_distdir) && pwd`; \ - distdir=`cd $(distdir) && pwd`; \ - cd $(top_srcdir) \ - && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu mbfido/Makefile - @for file in $(DISTFILES); do \ - d=$(srcdir); \ - if test -d $$d/$$file; then \ - cp -pr $$d/$$file $(distdir)/$$file; \ - else \ - test -f $(distdir)/$$file \ - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ - || cp -p $$d/$$file $(distdir)/$$file || :; \ - fi; \ - done - for subdir in $(SUBDIRS); do \ - if test "$$subdir" = .; then :; else \ - test -d $(distdir)/$$subdir \ - || mkdir $(distdir)/$$subdir \ - || exit 1; \ - chmod 777 $(distdir)/$$subdir; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \ - || exit 1; \ - fi; \ - done - -DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) - --include $(DEP_FILES) - -mostlyclean-depend: - -clean-depend: - -distclean-depend: - -rm -rf .deps - -maintainer-clean-depend: - -%.o: %.c - @echo '$(COMPILE) -c $<'; \ - $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< - @-cp .deps/$(*F).pp .deps/$(*F).P; \ - tr ' ' '\012' < .deps/$(*F).pp \ - | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ - >> .deps/$(*F).P; \ - rm .deps/$(*F).pp - -%.lo: %.c - @echo '$(LTCOMPILE) -c $<'; \ - $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< - @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ - < .deps/$(*F).pp > .deps/$(*F).P; \ - tr ' ' '\012' < .deps/$(*F).pp \ - | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ - >> .deps/$(*F).P; \ - rm -f .deps/$(*F).pp -info-am: -info: info-recursive -dvi-am: -dvi: dvi-recursive -check-am: all-am -check: check-recursive -installcheck-am: -installcheck: installcheck-recursive -install-exec-am: install-exec-local -install-exec: install-exec-recursive - -install-data-am: -install-data: install-data-recursive - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am -install: install-recursive -uninstall-am: -uninstall: uninstall-recursive -all-am: Makefile $(PROGRAMS) -all-redirect: all-recursive -install-strip: - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install -installdirs: installdirs-recursive -installdirs-am: - - -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -rm -f Makefile $(CONFIG_CLEAN_FILES) - -rm -f config.cache config.log stamp-h stamp-h[0-9]* - -maintainer-clean-generic: -mostlyclean-am: mostlyclean-noinstPROGRAMS mostlyclean-compile \ - mostlyclean-tags mostlyclean-depend mostlyclean-generic - -mostlyclean: mostlyclean-recursive - -clean-am: clean-noinstPROGRAMS clean-compile clean-tags clean-depend \ - clean-generic mostlyclean-am - -clean: clean-recursive - -distclean-am: distclean-noinstPROGRAMS distclean-compile distclean-tags \ - distclean-depend distclean-generic clean-am - -distclean: distclean-recursive - -maintainer-clean-am: maintainer-clean-noinstPROGRAMS \ - maintainer-clean-compile maintainer-clean-tags \ - maintainer-clean-depend maintainer-clean-generic \ - distclean-am - @echo "This command is intended for maintainers to use;" - @echo "it deletes files that may require special tools to rebuild." - -maintainer-clean: maintainer-clean-recursive - -.PHONY: mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \ -clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \ -mostlyclean-compile distclean-compile clean-compile \ -maintainer-clean-compile install-data-recursive \ -uninstall-data-recursive install-exec-recursive \ -uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \ -all-recursive check-recursive installcheck-recursive info-recursive \ -dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \ -maintainer-clean-recursive tags tags-recursive mostlyclean-tags \ -distclean-tags clean-tags maintainer-clean-tags distdir \ -mostlyclean-depend distclean-depend clean-depend \ -maintainer-clean-depend info-am info dvi-am dvi check check-am \ -installcheck-am installcheck install-exec-local install-exec-am \ -install-exec install-data-am install-data install-am install \ -uninstall-am uninstall all-redirect all-am all installdirs-am \ -installdirs mostlyclean-generic distclean-generic clean-generic \ -maintainer-clean-generic clean mostlyclean distclean maintainer-clean - - -install-exec-local: - $(INSTALL) -s -o @OWNER@ -g @GROUP@ -m 4751 mbfido $(bindir) - $(INSTALL) -s -o @OWNER@ -g @GROUP@ -m 0711 mbseq $(bindir) - $(INSTALL) -s -o @OWNER@ -g @GROUP@ -m 0711 mbaff $(bindir) - $(INSTALL) -s -o @OWNER@ -g @GROUP@ -m 0711 mbindex $(bindir) - $(INSTALL) -s -o @OWNER@ -g @GROUP@ -m 0711 mbdiff $(bindir) - $(INSTALL) -s -o @OWNER@ -g @GROUP@ -m 0711 mbfile $(bindir) - $(INSTALL) -s -o @OWNER@ -g @GROUP@ -m 0711 mbmsg $(bindir) - rm -f $(bindir)/mbmail - ln -s $(bindir)/mbfido $(bindir)/mbmail - rm -f $(bindir)/mbnews - ln -s $(bindir)/mbfido $(bindir)/mbnews - (cd ${exec_prefix}; tar xfz @PACKAGE@-@VERSION@/mbfido/maptabs.tgz; $(CHOWN) @OWNER@.@GROUP@ etc/maptabs/*) - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/mbmon/Makefile b/mbmon/Makefile new file mode 100644 index 00000000..90621e5f --- /dev/null +++ b/mbmon/Makefile @@ -0,0 +1,63 @@ +# Makefile for the mbsetup. +# Copyright (c) 1997-2000 by M. Broek. +# $Id: + +include ../Makefile.global + +SRCS = mutil.c mbmon.c common.c +HDRS = mutil.h mbmon.h common.h +OBJS = mutil.o mbmon.o common.o +LIBS += ../lib/libmemwatch.a +OTHER = Makefile + +############################################################################# + +.c.o: + ${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $< + +all: mbmon + + +mbmon: ${OBJS} ${LIBS} + ${CC} -o mbmon ${OBJS} ${LIBS} + strip mbmon + +clean: + rm -f mbmon *.o *.h~ *.c~ core filelist Makefile.bak + +install: all + ${INSTALL} -s -g ${GROUP} -o ${OWNER} -m ${MODE} mbmon ${BINDIR} + +filelist: Makefile + BASE=`pwd`; \ + BASE=`basename $${BASE}`; \ + (for f in ${SRCS} ${HDRS} ${OTHER} ;do echo ${PACKAGE}-${VERSION}/$${BASE}/$$f; done) >filelist + +depend: + @rm -f Makefile.bak; \ + mv Makefile Makefile.bak; \ + sed -e '/^# DO NOT DELETE/,$$d' Makefile.bak >Makefile; \ + ${ECHO} '# DO NOT DELETE THIS LINE - MAKE DEPEND RELIES ON IT' \ + >>Makefile; \ + ${ECHO} '# Dependencies generated by make depend' >>Makefile; \ + for f in ${SRCS}; \ + do \ + ${ECHO} "Dependencies for $$f:\c"; \ + ${ECHO} "`basename $$f .c`.o:\c" >>Makefile; \ + for h in `sed -n -e \ + 's/^#[ ]*include[ ]*"\([^"]*\)".*/\1/p' $$f`; \ + do \ + ${ECHO} " $$h\c"; \ + ${ECHO} " $$h\c" >>Makefile; \ + done; \ + ${ECHO} " done."; \ + ${ECHO} "" >>Makefile; \ + done; \ + ${ECHO} '# End of generated dependencies' >>Makefile + +# DO NOT DELETE THIS LINE - MAKE DEPEND RELIES ON IT +# Dependencies generated by make depend +mutil.o: ../lib/libs.h common.h mutil.h +mbmon.o: ../lib/libs.h common.h mutil.h +common.o: ../lib/libs.h common.h +# End of generated dependencies diff --git a/mbmon/Makefile.am b/mbmon/Makefile.am deleted file mode 100644 index 6009cdb4..00000000 --- a/mbmon/Makefile.am +++ /dev/null @@ -1,11 +0,0 @@ -## Process this file with automake to produce Makefile.in - -SUBDIRS = . -noinst_PROGRAMS = mbmon -mbmon_SOURCES = mutil.c mbmon.c common.c mutil.h mbmon.h common.h - -mbmon_LDADD = ../lib/libmemwatch.a - -install-exec-local: - $(INSTALL) -s -o @OWNER@ -g @GROUP@ -m 0711 mbmon $(bindir) - diff --git a/mbmon/Makefile.in b/mbmon/Makefile.in deleted file mode 100644 index 781c1c99..00000000 --- a/mbmon/Makefile.in +++ /dev/null @@ -1,384 +0,0 @@ -# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am - -# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - - -SHELL = @SHELL@ - -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -infodir = @infodir@ -mandir = @mandir@ -includedir = @includedir@ -oldincludedir = /usr/include - -DESTDIR = - -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ - -top_builddir = .. - -ACLOCAL = @ACLOCAL@ -AUTOCONF = @AUTOCONF@ -AUTOMAKE = @AUTOMAKE@ -AUTOHEADER = @AUTOHEADER@ - -INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -transform = @program_transform_name@ - -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -AWK = @AWK@ -CC = @CC@ -CHOWN = @CHOWN@ -COMPRESS = @COMPRESS@ -GROUP = @GROUP@ -GZIP = @GZIP@ -LEX = @LEX@ -LOG_COMPRESS = @LOG_COMPRESS@ -LOG_COMPRESSEXT = @LOG_COMPRESSEXT@ -MAKEINFO = @MAKEINFO@ -OWNER = @OWNER@ -PACKAGE = @PACKAGE@ -RANLIB = @RANLIB@ -VERSION = @VERSION@ -YACC = @YACC@ - -SUBDIRS = . -noinst_PROGRAMS = mbmon -mbmon_SOURCES = mutil.c mbmon.c common.c mutil.h mbmon.h common.h - -mbmon_LDADD = ../lib/libmemwatch.a -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_HEADER = ../config.h -CONFIG_CLEAN_FILES = -PROGRAMS = $(noinst_PROGRAMS) - - -DEFS = @DEFS@ -I. -I$(srcdir) -I.. -CPPFLAGS = @CPPFLAGS@ -LDFLAGS = @LDFLAGS@ -LIBS = @LIBS@ -mbmon_OBJECTS = mutil.o mbmon.o common.o -mbmon_DEPENDENCIES = ../lib/libmemwatch.a -mbmon_LDFLAGS = -CFLAGS = @CFLAGS@ -COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -CCLD = $(CC) -LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ -DIST_COMMON = Makefile.am Makefile.in - - -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) - -TAR = tar -GZIP_ENV = --best -DEP_FILES = .deps/common.P .deps/mbmon.P .deps/mutil.P -SOURCES = $(mbmon_SOURCES) -OBJECTS = $(mbmon_OBJECTS) - -all: all-redirect -.SUFFIXES: -.SUFFIXES: .S .c .o .s -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu mbmon/Makefile - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status - - -mostlyclean-noinstPROGRAMS: - -clean-noinstPROGRAMS: - -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS) - -distclean-noinstPROGRAMS: - -maintainer-clean-noinstPROGRAMS: - -.s.o: - $(COMPILE) -c $< - -.S.o: - $(COMPILE) -c $< - -mostlyclean-compile: - -rm -f *.o core *.core - -clean-compile: - -distclean-compile: - -rm -f *.tab.c - -maintainer-clean-compile: - -mbmon: $(mbmon_OBJECTS) $(mbmon_DEPENDENCIES) - @rm -f mbmon - $(LINK) $(mbmon_LDFLAGS) $(mbmon_OBJECTS) $(mbmon_LDADD) $(LIBS) - -# This directory's subdirectories are mostly independent; you can cd -# into them and run `make' without going through this Makefile. -# To change the values of `make' variables: instead of editing Makefiles, -# (1) if the variable is set in `config.status', edit `config.status' -# (which will cause the Makefiles to be regenerated when you run `make'); -# (2) otherwise, pass the desired values on the `make' command line. - -@SET_MAKE@ - -all-recursive install-data-recursive install-exec-recursive \ -installdirs-recursive install-recursive uninstall-recursive \ -check-recursive installcheck-recursive info-recursive dvi-recursive: - @set fnord $(MAKEFLAGS); amf=$$2; \ - dot_seen=no; \ - target=`echo $@ | sed s/-recursive//`; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - dot_seen=yes; \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ - done; \ - if test "$$dot_seen" = "no"; then \ - $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ - fi; test -z "$$fail" - -mostlyclean-recursive clean-recursive distclean-recursive \ -maintainer-clean-recursive: - @set fnord $(MAKEFLAGS); amf=$$2; \ - dot_seen=no; \ - rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \ - rev="$$subdir $$rev"; \ - test "$$subdir" = "." && dot_seen=yes; \ - done; \ - test "$$dot_seen" = "no" && rev=". $$rev"; \ - target=`echo $@ | sed s/-recursive//`; \ - for subdir in $$rev; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ - done && test -z "$$fail" -tags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ - done - -tags: TAGS - -ID: $(HEADERS) $(SOURCES) $(LISP) - list='$(SOURCES) $(HEADERS)'; \ - unique=`for i in $$list; do echo $$i; done | \ - awk ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - here=`pwd` && cd $(srcdir) \ - && mkid -f$$here/ID $$unique $(LISP) - -TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) - tags=; \ - here=`pwd`; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ - fi; \ - done; \ - list='$(SOURCES) $(HEADERS)'; \ - unique=`for i in $$list; do echo $$i; done | \ - awk ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) - -mostlyclean-tags: - -clean-tags: - -distclean-tags: - -rm -f TAGS ID - -maintainer-clean-tags: - -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) - -subdir = mbmon - -distdir: $(DISTFILES) - here=`cd $(top_builddir) && pwd`; \ - top_distdir=`cd $(top_distdir) && pwd`; \ - distdir=`cd $(distdir) && pwd`; \ - cd $(top_srcdir) \ - && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu mbmon/Makefile - @for file in $(DISTFILES); do \ - d=$(srcdir); \ - if test -d $$d/$$file; then \ - cp -pr $$d/$$file $(distdir)/$$file; \ - else \ - test -f $(distdir)/$$file \ - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ - || cp -p $$d/$$file $(distdir)/$$file || :; \ - fi; \ - done - for subdir in $(SUBDIRS); do \ - if test "$$subdir" = .; then :; else \ - test -d $(distdir)/$$subdir \ - || mkdir $(distdir)/$$subdir \ - || exit 1; \ - chmod 777 $(distdir)/$$subdir; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \ - || exit 1; \ - fi; \ - done - -DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) - --include $(DEP_FILES) - -mostlyclean-depend: - -clean-depend: - -distclean-depend: - -rm -rf .deps - -maintainer-clean-depend: - -%.o: %.c - @echo '$(COMPILE) -c $<'; \ - $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< - @-cp .deps/$(*F).pp .deps/$(*F).P; \ - tr ' ' '\012' < .deps/$(*F).pp \ - | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ - >> .deps/$(*F).P; \ - rm .deps/$(*F).pp - -%.lo: %.c - @echo '$(LTCOMPILE) -c $<'; \ - $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< - @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ - < .deps/$(*F).pp > .deps/$(*F).P; \ - tr ' ' '\012' < .deps/$(*F).pp \ - | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ - >> .deps/$(*F).P; \ - rm -f .deps/$(*F).pp -info-am: -info: info-recursive -dvi-am: -dvi: dvi-recursive -check-am: all-am -check: check-recursive -installcheck-am: -installcheck: installcheck-recursive -install-exec-am: install-exec-local -install-exec: install-exec-recursive - -install-data-am: -install-data: install-data-recursive - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am -install: install-recursive -uninstall-am: -uninstall: uninstall-recursive -all-am: Makefile $(PROGRAMS) -all-redirect: all-recursive -install-strip: - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install -installdirs: installdirs-recursive -installdirs-am: - - -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -rm -f Makefile $(CONFIG_CLEAN_FILES) - -rm -f config.cache config.log stamp-h stamp-h[0-9]* - -maintainer-clean-generic: -mostlyclean-am: mostlyclean-noinstPROGRAMS mostlyclean-compile \ - mostlyclean-tags mostlyclean-depend mostlyclean-generic - -mostlyclean: mostlyclean-recursive - -clean-am: clean-noinstPROGRAMS clean-compile clean-tags clean-depend \ - clean-generic mostlyclean-am - -clean: clean-recursive - -distclean-am: distclean-noinstPROGRAMS distclean-compile distclean-tags \ - distclean-depend distclean-generic clean-am - -distclean: distclean-recursive - -maintainer-clean-am: maintainer-clean-noinstPROGRAMS \ - maintainer-clean-compile maintainer-clean-tags \ - maintainer-clean-depend maintainer-clean-generic \ - distclean-am - @echo "This command is intended for maintainers to use;" - @echo "it deletes files that may require special tools to rebuild." - -maintainer-clean: maintainer-clean-recursive - -.PHONY: mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \ -clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \ -mostlyclean-compile distclean-compile clean-compile \ -maintainer-clean-compile install-data-recursive \ -uninstall-data-recursive install-exec-recursive \ -uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \ -all-recursive check-recursive installcheck-recursive info-recursive \ -dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \ -maintainer-clean-recursive tags tags-recursive mostlyclean-tags \ -distclean-tags clean-tags maintainer-clean-tags distdir \ -mostlyclean-depend distclean-depend clean-depend \ -maintainer-clean-depend info-am info dvi-am dvi check check-am \ -installcheck-am installcheck install-exec-local install-exec-am \ -install-exec install-data-am install-data install-am install \ -uninstall-am uninstall all-redirect all-am all installdirs-am \ -installdirs mostlyclean-generic distclean-generic clean-generic \ -maintainer-clean-generic clean mostlyclean distclean maintainer-clean - - -install-exec-local: - $(INSTALL) -s -o @OWNER@ -g @GROUP@ -m 0711 mbmon $(bindir) - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/mbsebbs/Makefile b/mbsebbs/Makefile new file mode 100644 index 00000000..d3887306 --- /dev/null +++ b/mbsebbs/Makefile @@ -0,0 +1,194 @@ +# Makefile for MBSE BBS under Linux +# Copyright (c) 1998, 2000 by M. Broek. +# $Id: + +include ../Makefile.global + +SRCS = bank.c commonio.c filesub.c language.c mbfbgen.c mbtoberep.c \ + msgutil.c oneline.c pwcheck.c sgetpwent.c xmalloc.c bbslist.c \ + email.c fsedit.c lineedit.c mblang.c mbuser.c myname.c page.c \ + pwio.c shadowio.c bye.c encrypt.c funcs.c mail.c mbpasswd.c \ + mbuseradd.c newuser.c pinfo.c rad64.c timecheck.c change.c \ + exitinfo.c funcs4.c mball.c mbsebbs.c menu.c nextuser.c pop3.c \ + safe.c timeout.c chat.c file.c getdef.c mbchat.c mbstat.c misc.c \ + offline.c putpwent.c salt.c user.c +HDRS = bank.h commonio.h filesub.h language.h mbsebbs.h misc.h offline.h \ + putpwent.h salt.h timeout.h bbslist.h email.h fsedit.h lineedit.h \ + mbstat.h msgutil.h oneline.h pwcheck.h sgetpwent.h user.h bye.h \ + encrypt.h funcs.h mail.h mbuser.h myname.h page.h pwio.h shadowio.h \ + xmalloc.h change.h exitinfo.h funcs4.h mball.h mbuseradd.h newuser.h \ + pinfo.h rad64.h statetbl.h chat.h file.h getdef.h mbpasswd.h menu.h \ + nextuser.h pop3.h safe.h timecheck.h +MBSEBBS_OBJS = bank.o bbslist.o chat.o file.o funcs.o funcs4.o mail.o menu.o \ + misc.o pinfo.o nextuser.o oneline.o page.o pwcheck.o fsedit.o \ + bye.o change.o mbsebbs.o safe.o timeout.o user.o timecheck.o \ + exitinfo.o filesub.o lineedit.o offline.o language.o msgutil.o \ + newuser.o pop3.o email.o +MBSEBBS_LIBS = ../lib/libmemwatch.a ../lib/libclcomm.a ../lib/libcommon.a ../lib/libmsgbase.a \ + ../lib/libdbase.a ../lib/libmbinet.a +MBALL_OBJS = mball.o +MBALL_LIBS = ../lib/libmemwatch.a ../lib/libclcomm.a ../lib/libcommon.a ../lib/libdbase.a +MBLANG_OBJS = mblang.o +MBLANG_LIBS = ../lib/libmemwatch.a ../lib/libclcomm.a ../lib/libcommon.a ../lib/libdbase.a +MBCHAT_OBJS = mbchat.o +MBCHAT_LIBS = ../lib/libmemwatch.a ../lib/libclcomm.a ../lib/libcommon.a ../lib/libdbase.a +MBFBGEN_OBJS = mbfbgen.o +MBFBGEN_LIBS = ../lib/libmemwatch.a ../lib/libclcomm.a ../lib/libcommon.a ../lib/libmsgbase.a ../lib/libdbase.a +MBSTAT_OBJS = mbstat.o +MBSTAT_LIBS = ../lib/libmemwatch.a ../lib/libclcomm.a ../lib/libcommon.a ../lib/libdbase.a +MBTOBEREP_OBJS = mbtoberep.o +MBTOBEREP_LIBS = ../lib/libmemwatch.a ../lib/libclcomm.a ../lib/libcommon.a ../lib/libdbase.a +MBUSER_OBJS = mbuser.o +MBUSER_LIBS = ../lib/libmemwatch.a ../lib/libclcomm.a ../lib/libcommon.a ../lib/libdbase.a +MBUSERADD_OBJS = mbuseradd.o +MBPASSWD_OBJS = mbpasswd.o commonio.o pwio.o shadowio.o sgetpwent.o \ + xmalloc.o myname.o rad64.o salt.o getdef.o encrypt.o putpwent.o +OTHER = Makefile +TARGET = mbsebbs mball mblang mbchat mbfbgen mbstat mbtoberep mbuser mbuseradd mbpasswd + +############################################################################################################# + +.c.o: + ${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $< + +all: ${TARGET} + +clean: + rm -f ${TARGET} *.o *.h~ *.c~ core filelist Makefile.bak + +mbsebbs: ${MBSEBBS_OBJS} ${MBSEBBS_LIBS} + ${CC} -o mbsebbs ${MBSEBBS_OBJS} ${LIBS} ${MBSEBBS_LIBS} + strip mbsebbs + +mball: ${MBALL_OBJS} ${MBALL_LIBS} + ${CC} -o mball ${MBALL_OBJS} ${LIBS} ${MBALL_LIBS} + strip mball + +mblang: ${MBLANG_OBJS} ${MBLANG_LIBS} + ${CC} -o mblang ${MBLANG_OBJS} ${LIBS} ${MBLANG_LIBS} + strip mblang + +mbchat: ${MBCHAT_OBJS} ${MBCHAT_LIBS} + ${CC} -o mbchat ${MBCHAT_OBJS} ${LIBS} ${MBCHAT_LIBS} + strip mbchat + +mbfbgen: ${MBFBGEN_OBJS} ${MBFBGEN_LIBS} + ${CC} -o mbfbgen ${MBFBGEN_OBJS} ${LIBS} ${MBFBGEN_LIBS} + strip mbfbgen + +mbstat: ${MBSTAT_OBJS} ${MBSTAT_LIBS} + ${CC} -o mbstat ${MBSTAT_OBJS} ${LIBS} ${MBSTAT_LIBS} + strip mbstat + +mbtberep: ${MBTOBEREP_OBJS} ${MBTOBEREP_LIBS} + ${CC} -o mbtoberep ${MBTOBEREP_OBJS} ${LIBS} ${MBTOBEREP_LIBS} + strip mbtoberep + +mbuser: ${MBUSER_OBJS} ${MBUSER_LIBS} + ${CC} -o mbuser ${MBUSER_OBJS} ${LIBS} ${MBUSER_LIBS} + strip mbuser + +mbuseradd: ${MBUSERADD_OBJS} + ${CC} -o mbuseradd ${MBUSERADD_OBJS} ${LIBS} + strip mbuseradd + +mbpasswd: ${MBPASSWD_OBJS} + ${CC} -o mbpasswd ${MBPASSWD_OBJS} ${LIBS} + strip mbpasswd + +install: all + @if [ "`id -un`" != "root" ] ; then \ + echo; echo " Must be root to install!"; echo; exit 3; \ + fi + ${INSTALL} -s -o ${OWNER} -g ${GROUP} -m 6711 mbsebbs ${BINDIR} + ${INSTALL} -s -o ${OWNER} -g ${GROUP} -m 0711 mball ${BINDIR} + ${INSTALL} -s -o ${OWNER} -g ${GROUP} -m 0711 mblang ${BINDIR} + ${INSTALL} -s -o ${OWNER} -g ${GROUP} -m 0711 mbchat ${BINDIR} + ${INSTALL} -s -o ${OWNER} -g ${GROUP} -m 0711 mbfbgen ${BINDIR} + ${INSTALL} -s -o ${OWNER} -g ${GROUP} -m 0711 mbstat ${BINDIR} + ${INSTALL} -s -o ${OWNER} -g ${GROUP} -m 0711 mbtoberep ${BINDIR} + ${INSTALL} -s -o `id -un` -g `id -gn` -m 6711 mbuser ${BINDIR} + ${INSTALL} -s -o `id -un` -g `id -gn` -m 6711 mbuseradd ${BINDIR} + ${INSTALL} -s -o `id -un` -g `id -gn` -m 6711 mbpasswd ${BINDIR} + +filelist: Makefile + BASE=`pwd`; \ + BASE=`basename $${BASE}`; \ + (for f in ${SRCS} ${HDRS} ${OTHER} ; do echo ${PACKAGE}-${VERSION}/$${BASE}/$$f; done) >filelist + +depend: + @rm -f Makefile.bak; \ + mv Makefile Makefile.bak; \ + sed -e '/^# DO NOT DELETE/,$$d' Makefile.bak >Makefile; \ + ${ECHO} '# DO NOT DELETE THIS LINE - MAKE DEPEND RELIES ON IT' \ + >>Makefile; \ + ${ECHO} '# Dependencies generated by make depend' >>Makefile; \ + for f in ${SRCS}; \ + do \ + ${ECHO} "Dependencies for $$f:\c"; \ + ${ECHO} "`basename $$f .c`.o:\c" >>Makefile; \ + for h in `sed -n -e \ + 's/^#[ ]*include[ ]*"\([^"]*\)".*/\1/p' $$f`; \ + do \ + ${ECHO} " $$h\c"; \ + ${ECHO} " $$h\c" >>Makefile; \ + done; \ + ${ECHO} " done."; \ + ${ECHO} "" >>Makefile; \ + done; \ + ${ECHO} '# End of generated dependencies' >>Makefile + +# DO NOT DELETE THIS LINE - MAKE DEPEND RELIES ON IT +# Dependencies generated by make depend +bank.o: ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/records.h ../lib/clcomm.h ../lib/common.h bank.h funcs4.h language.h funcs.h timeout.h timecheck.h exitinfo.h +commonio.o: ../config.h commonio.h +filesub.o: ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h filesub.h funcs.h language.h funcs4.h misc.h timeout.h exitinfo.h change.h +language.o: ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h funcs4.h language.h +mbfbgen.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/dbcfg.h +mbtoberep.o: ../lib/libs.h ../lib/structs.h +msgutil.o: ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/msgtext.h ../lib/msg.h oneline.h msgutil.h +oneline.o: ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h oneline.h funcs.h funcs4.h language.h +pwcheck.o: ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h pwcheck.h funcs4.h timeout.h +sgetpwent.o: ../config.h sgetpwent.h +xmalloc.o: ../config.h xmalloc.h +bbslist.o: ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/records.h ../lib/clcomm.h ../lib/common.h bbslist.h funcs.h funcs4.h language.h +email.o: ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/records.h ../lib/msgtext.h ../lib/msg.h ../lib/common.h ../lib/clcomm.h ../lib/mbinet.h exitinfo.h language.h mail.h timeout.h msgutil.h funcs4.h email.h +fsedit.o: fsedit.h +lineedit.o: ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h mail.h funcs4.h language.h timeout.h lineedit.h +mblang.o: ../lib/libs.h ../lib/structs.h ../lib/records.h +mbuser.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/dbcfg.h mbuser.h +myname.o: ../config.h +page.o: ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h funcs.h funcs4.h chat.h page.h timeout.h mail.h language.h +pwio.o: ../config.h sgetpwent.h commonio.h putpwent.h pwio.h +shadowio.o: ../config.h commonio.h shadowio.h +bye.o: ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/records.h ../lib/clcomm.h ../lib/common.h funcs.h misc.h language.h bye.h +encrypt.o: ../config.h encrypt.h +funcs.o: ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/msgtext.h ../lib/msg.h ../lib/clcomm.h funcs.h language.h funcs4.h oneline.h misc.h bye.h timeout.h timecheck.h exitinfo.h mail.h email.h +mail.o: ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/msgtext.h ../lib/clcomm.h ../lib/msg.h mail.h funcs.h funcs4.h language.h misc.h timeout.h oneline.h exitinfo.h lineedit.h fsedit.h filesub.h msgutil.h pop3.h email.h +mbpasswd.o: ../config.h encrypt.h rad64.h myname.h xmalloc.h pwio.h shadowio.h mbpasswd.h +mbuseradd.o: ../config.h mbuseradd.h +newuser.o: ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/records.h ../lib/clcomm.h ../lib/common.h funcs4.h pwcheck.h newuser.h language.h timeout.h change.h bye.h +pinfo.o: ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h funcs4.h +rad64.o: ../config.h rad64.h +timecheck.o: ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/records.h ../lib/clcomm.h ../lib/common.h timecheck.h funcs.h funcs4.h misc.h bye.h exitinfo.h language.h +change.o: ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h change.h funcs.h funcs4.h language.h misc.h pwcheck.h timeout.h exitinfo.h bye.h +exitinfo.o: ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h funcs.h funcs4.h language.h oneline.h misc.h bye.h timeout.h timecheck.h exitinfo.h +funcs4.o: ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/records.h ../lib/clcomm.h ../lib/common.h ../lib/msg.h funcs4.h misc.h timeout.h language.h +mball.o: ../lib/libs.h ../lib/structs.h ../lib/mbse.h ../lib/records.h ../lib/common.h ../lib/dbcfg.h ../lib/clcomm.h mball.h +mbsebbs.o: ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/msg.h mbsebbs.h user.h funcs.h funcs4.h language.h menu.h misc.h bye.h timeout.h +menu.o: ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h oneline.h mail.h bbslist.h change.h bank.h chat.h file.h funcs.h funcs4.h misc.h nextuser.h safe.h timeout.h menu.h page.h pinfo.h bye.h timecheck.h exitinfo.h language.h offline.h email.h +nextuser.o: ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/records.h ../lib/ansi.h ../lib/clcomm.h ../lib/common.h nextuser.h funcs.h funcs4.h language.h timeout.h +pop3.o: ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/mbinet.h ../lib/msgtext.h ../lib/msg.h msgutil.h pop3.h +safe.o: ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/records.h ../lib/clcomm.h ../lib/common.h exitinfo.h funcs.h funcs4.h misc.h safe.h timeout.h language.h +timeout.o: ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/msg.h timeout.h funcs.h funcs4.h bye.h filesub.h language.h +chat.o: ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h chat.h funcs.h funcs4.h language.h misc.h exitinfo.h +file.o: ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h filesub.h file.h funcs.h funcs4.h language.h misc.h timeout.h exitinfo.h change.h +getdef.o: ../config.h getdef.h +mbchat.o: ../lib/libs.h ../lib/structs.h ../lib/common.h ../lib/clcomm.h +mbstat.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/dbcfg.h mbstat.h +misc.o: ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/records.h ../lib/clcomm.h ../lib/common.h funcs.h funcs4.h language.h misc.h timeout.h exitinfo.h +offline.o: ../lib/libs.h ../lib/structs.h ../lib/mbse.h ../lib/records.h ../lib/bluewave.h ../lib/common.h ../lib/clcomm.h ../lib/msgtext.h ../lib/msg.h mail.h funcs.h funcs4.h language.h file.h filesub.h exitinfo.h timeout.h msgutil.h pop3.h offline.h +putpwent.o: ../config.h putpwent.h +salt.o: ../config.h rad64.h getdef.h +user.o: ../lib/libs.h ../lib/mbse.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h timeout.h user.h pwcheck.h funcs.h funcs4.h misc.h bye.h file.h mail.h change.h menu.h exitinfo.h language.h offline.h statetbl.h email.h newuser.h +# End of generated dependencies diff --git a/mbsebbs/Makefile.am b/mbsebbs/Makefile.am deleted file mode 100644 index c7ca5c29..00000000 --- a/mbsebbs/Makefile.am +++ /dev/null @@ -1,61 +0,0 @@ -## Process this file with automake to produce Makefile.in - -SUBDIRS = . -noinst_PROGRAMS = mbsebbs mball mblang mbchat mbfbgen mbstat mbtoberep mbuser mbuseradd mbpasswd - -mbsebbs_SOURCES = bank.c bbslist.c chat.c file.c funcs.c funcs4.c mail.c menu.c \ -misc.c pinfo.c nextuser.c oneline.c page.c pwcheck.c fsedit.c \ -bye.c change.c mbsebbs.c safe.c timeout.c user.c timecheck.c \ -exitinfo.c filesub.c lineedit.c offline.c language.c msgutil.c \ -newuser.c pop3.c email.c \ -bank.h bbslist.h chat.h file.h funcs.h funcs4.h mail.h menu.h \ -misc.h pinfo.h nextuser.h oneline.h page.h pwcheck.h fsedit.h \ -bye.h change.h mbsebbs.h safe.h timeout.h user.h timecheck.h \ -exitinfo.h filesub.h lineedit.h offline.h language.h msgutil.h \ -newuser.h pop3.h email.h statetbl.h - -mball_SOURCES = mball.c mball.h - -mblang_SOURCES = mblang.c - -mbchat_SOURCES = mbchat.c - -mbfbgen_SOURCES = mbfbgen.c - -mbstat_SOURCES = mbstat.c mbstat.h - -mbtoberep_SOURCES = mbtoberep.c - -mbuser_SOURCES = mbuser.c mbuser.h - -mbuseradd_SOURCES = mbuseradd.c mbuseradd.h - -mbpasswd_SOURCES = mbpasswd.c commonio.c pwio.c shadowio.c sgetpwent.c \ -xmalloc.c myname.c rad64.c salt.c getdef.c encrypt.c putpwent.c \ -mbpasswd.h commonio.h pwio.h shadowio.h sgetpwent.h \ -xmalloc.h myname.h rad64.h salt.h getdef.h encrypt.h putpwent.h - -mbsebbs_LDADD = ../lib/libmemwatch.a ../lib/libclcomm.a ../lib/libcommon.a ../lib/libmsgbase.a ../lib/libdbase.a ../lib/libmbinet.a -mball_LDADD = ../lib/libmemwatch.a ../lib/libclcomm.a ../lib/libcommon.a ../lib/libdbase.a -mblang_LDADD = ../lib/libmemwatch.a ../lib/libclcomm.a ../lib/libcommon.a ../lib/libdbase.a -mbchat_LDADD = ../lib/libmemwatch.a ../lib/libclcomm.a ../lib/libcommon.a ../lib/libdbase.a -mbfbgen_LDADD = ../lib/libmemwatch.a ../lib/libclcomm.a ../lib/libcommon.a ../lib/libmsgbase.a ../lib/libdbase.a -mbstat_LDADD = ../lib/libmemwatch.a ../lib/libclcomm.a ../lib/libcommon.a ../lib/libdbase.a -mbtoberep_LDADD = ../lib/libmemwatch.a ../lib/libclcomm.a ../lib/libcommon.a ../lib/libdbase.a -mbuser_LDADD = ../lib/libmemwatch.a ../lib/libclcomm.a ../lib/libcommon.a ../lib/libdbase.a - -install-exec-local: - @if [ "`id -un`" != "root" ] ; then \ - echo; echo " Must be root to install!"; echo; exit 3; \ - fi - $(INSTALL) -s -o @OWNER@ -g @GROUP@ -m 6711 mbsebbs $(bindir) - $(INSTALL) -s -o @OWNER@ -g @GROUP@ -m 0711 mball $(bindir) - $(INSTALL) -s -o @OWNER@ -g @GROUP@ -m 0711 mblang $(bindir) - $(INSTALL) -s -o @OWNER@ -g @GROUP@ -m 0711 mbchat $(bindir) - $(INSTALL) -s -o @OWNER@ -g @GROUP@ -m 0711 mbfbgen $(bindir) - $(INSTALL) -s -o @OWNER@ -g @GROUP@ -m 0711 mbstat $(bindir) - $(INSTALL) -s -o @OWNER@ -g @GROUP@ -m 0711 mbtoberep $(bindir) - $(INSTALL) -s -o `id -un` -g `id -gn` -m 6711 mbuser $(bindir) - $(INSTALL) -s -o `id -un` -g `id -gn` -m 6711 mbuseradd $(bindir) - $(INSTALL) -s -o `id -un` -g `id -gn` -m 6711 mbpasswd $(bindir) - diff --git a/mbsebbs/Makefile.in b/mbsebbs/Makefile.in deleted file mode 100644 index 46074294..00000000 --- a/mbsebbs/Makefile.in +++ /dev/null @@ -1,515 +0,0 @@ -# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am - -# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - - -SHELL = @SHELL@ - -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -infodir = @infodir@ -mandir = @mandir@ -includedir = @includedir@ -oldincludedir = /usr/include - -DESTDIR = - -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ - -top_builddir = .. - -ACLOCAL = @ACLOCAL@ -AUTOCONF = @AUTOCONF@ -AUTOMAKE = @AUTOMAKE@ -AUTOHEADER = @AUTOHEADER@ - -INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -transform = @program_transform_name@ - -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -AWK = @AWK@ -CC = @CC@ -CHOWN = @CHOWN@ -COMPRESS = @COMPRESS@ -GROUP = @GROUP@ -GZIP = @GZIP@ -LEX = @LEX@ -LOG_COMPRESS = @LOG_COMPRESS@ -LOG_COMPRESSEXT = @LOG_COMPRESSEXT@ -MAKEINFO = @MAKEINFO@ -OWNER = @OWNER@ -PACKAGE = @PACKAGE@ -RANLIB = @RANLIB@ -VERSION = @VERSION@ -YACC = @YACC@ - -SUBDIRS = . -noinst_PROGRAMS = mbsebbs mball mblang mbchat mbfbgen mbstat mbtoberep mbuser mbuseradd mbpasswd - -mbsebbs_SOURCES = bank.c bbslist.c chat.c file.c funcs.c funcs4.c mail.c menu.c misc.c pinfo.c nextuser.c oneline.c page.c pwcheck.c fsedit.c bye.c change.c mbsebbs.c safe.c timeout.c user.c timecheck.c exitinfo.c filesub.c lineedit.c offline.c language.c msgutil.c newuser.c pop3.c email.c bank.h bbslist.h chat.h file.h funcs.h funcs4.h mail.h menu.h misc.h pinfo.h nextuser.h oneline.h page.h pwcheck.h fsedit.h bye.h change.h mbsebbs.h safe.h timeout.h user.h timecheck.h exitinfo.h filesub.h lineedit.h offline.h language.h msgutil.h newuser.h pop3.h email.h statetbl.h - - -mball_SOURCES = mball.c mball.h - -mblang_SOURCES = mblang.c - -mbchat_SOURCES = mbchat.c - -mbfbgen_SOURCES = mbfbgen.c - -mbstat_SOURCES = mbstat.c mbstat.h - -mbtoberep_SOURCES = mbtoberep.c - -mbuser_SOURCES = mbuser.c mbuser.h - -mbuseradd_SOURCES = mbuseradd.c mbuseradd.h - -mbpasswd_SOURCES = mbpasswd.c commonio.c pwio.c shadowio.c sgetpwent.c xmalloc.c myname.c rad64.c salt.c getdef.c encrypt.c putpwent.c mbpasswd.h commonio.h pwio.h shadowio.h sgetpwent.h xmalloc.h myname.h rad64.h salt.h getdef.h encrypt.h putpwent.h - - -mbsebbs_LDADD = ../lib/libmemwatch.a ../lib/libclcomm.a ../lib/libcommon.a ../lib/libmsgbase.a ../lib/libdbase.a ../lib/libmbinet.a -mball_LDADD = ../lib/libmemwatch.a ../lib/libclcomm.a ../lib/libcommon.a ../lib/libdbase.a -mblang_LDADD = ../lib/libmemwatch.a ../lib/libclcomm.a ../lib/libcommon.a ../lib/libdbase.a -mbchat_LDADD = ../lib/libmemwatch.a ../lib/libclcomm.a ../lib/libcommon.a ../lib/libdbase.a -mbfbgen_LDADD = ../lib/libmemwatch.a ../lib/libclcomm.a ../lib/libcommon.a ../lib/libmsgbase.a ../lib/libdbase.a -mbstat_LDADD = ../lib/libmemwatch.a ../lib/libclcomm.a ../lib/libcommon.a ../lib/libdbase.a -mbtoberep_LDADD = ../lib/libmemwatch.a ../lib/libclcomm.a ../lib/libcommon.a ../lib/libdbase.a -mbuser_LDADD = ../lib/libmemwatch.a ../lib/libclcomm.a ../lib/libcommon.a ../lib/libdbase.a -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_HEADER = ../config.h -CONFIG_CLEAN_FILES = -PROGRAMS = $(noinst_PROGRAMS) - - -DEFS = @DEFS@ -I. -I$(srcdir) -I.. -CPPFLAGS = @CPPFLAGS@ -LDFLAGS = @LDFLAGS@ -LIBS = @LIBS@ -mbsebbs_OBJECTS = bank.o bbslist.o chat.o file.o funcs.o funcs4.o \ -mail.o menu.o misc.o pinfo.o nextuser.o oneline.o page.o pwcheck.o \ -fsedit.o bye.o change.o mbsebbs.o safe.o timeout.o user.o timecheck.o \ -exitinfo.o filesub.o lineedit.o offline.o language.o msgutil.o \ -newuser.o pop3.o email.o -mbsebbs_DEPENDENCIES = ../lib/libmemwatch.a ../lib/libclcomm.a \ -../lib/libcommon.a ../lib/libmsgbase.a ../lib/libdbase.a \ -../lib/libmbinet.a -mbsebbs_LDFLAGS = -mball_OBJECTS = mball.o -mball_DEPENDENCIES = ../lib/libmemwatch.a ../lib/libclcomm.a \ -../lib/libcommon.a ../lib/libdbase.a -mball_LDFLAGS = -mblang_OBJECTS = mblang.o -mblang_DEPENDENCIES = ../lib/libmemwatch.a ../lib/libclcomm.a \ -../lib/libcommon.a ../lib/libdbase.a -mblang_LDFLAGS = -mbchat_OBJECTS = mbchat.o -mbchat_DEPENDENCIES = ../lib/libmemwatch.a ../lib/libclcomm.a \ -../lib/libcommon.a ../lib/libdbase.a -mbchat_LDFLAGS = -mbfbgen_OBJECTS = mbfbgen.o -mbfbgen_DEPENDENCIES = ../lib/libmemwatch.a ../lib/libclcomm.a \ -../lib/libcommon.a ../lib/libmsgbase.a ../lib/libdbase.a -mbfbgen_LDFLAGS = -mbstat_OBJECTS = mbstat.o -mbstat_DEPENDENCIES = ../lib/libmemwatch.a ../lib/libclcomm.a \ -../lib/libcommon.a ../lib/libdbase.a -mbstat_LDFLAGS = -mbtoberep_OBJECTS = mbtoberep.o -mbtoberep_DEPENDENCIES = ../lib/libmemwatch.a ../lib/libclcomm.a \ -../lib/libcommon.a ../lib/libdbase.a -mbtoberep_LDFLAGS = -mbuser_OBJECTS = mbuser.o -mbuser_DEPENDENCIES = ../lib/libmemwatch.a ../lib/libclcomm.a \ -../lib/libcommon.a ../lib/libdbase.a -mbuser_LDFLAGS = -mbuseradd_OBJECTS = mbuseradd.o -mbuseradd_LDADD = $(LDADD) -mbuseradd_DEPENDENCIES = -mbuseradd_LDFLAGS = -mbpasswd_OBJECTS = mbpasswd.o commonio.o pwio.o shadowio.o sgetpwent.o \ -xmalloc.o myname.o rad64.o salt.o getdef.o encrypt.o putpwent.o -mbpasswd_LDADD = $(LDADD) -mbpasswd_DEPENDENCIES = -mbpasswd_LDFLAGS = -CFLAGS = @CFLAGS@ -COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -CCLD = $(CC) -LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ -DIST_COMMON = Makefile.am Makefile.in - - -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) - -TAR = tar -GZIP_ENV = --best -DEP_FILES = .deps/bank.P .deps/bbslist.P .deps/bye.P .deps/change.P \ -.deps/chat.P .deps/commonio.P .deps/email.P .deps/encrypt.P \ -.deps/exitinfo.P .deps/file.P .deps/filesub.P .deps/fsedit.P \ -.deps/funcs.P .deps/funcs4.P .deps/getdef.P .deps/language.P \ -.deps/lineedit.P .deps/mail.P .deps/mball.P .deps/mbchat.P \ -.deps/mbfbgen.P .deps/mblang.P .deps/mbpasswd.P .deps/mbsebbs.P \ -.deps/mbstat.P .deps/mbtoberep.P .deps/mbuser.P .deps/mbuseradd.P \ -.deps/menu.P .deps/misc.P .deps/msgutil.P .deps/myname.P \ -.deps/newuser.P .deps/nextuser.P .deps/offline.P .deps/oneline.P \ -.deps/page.P .deps/pinfo.P .deps/pop3.P .deps/putpwent.P \ -.deps/pwcheck.P .deps/pwio.P .deps/rad64.P .deps/safe.P .deps/salt.P \ -.deps/sgetpwent.P .deps/shadowio.P .deps/timecheck.P .deps/timeout.P \ -.deps/user.P .deps/xmalloc.P -SOURCES = $(mbsebbs_SOURCES) $(mball_SOURCES) $(mblang_SOURCES) $(mbchat_SOURCES) $(mbfbgen_SOURCES) $(mbstat_SOURCES) $(mbtoberep_SOURCES) $(mbuser_SOURCES) $(mbuseradd_SOURCES) $(mbpasswd_SOURCES) -OBJECTS = $(mbsebbs_OBJECTS) $(mball_OBJECTS) $(mblang_OBJECTS) $(mbchat_OBJECTS) $(mbfbgen_OBJECTS) $(mbstat_OBJECTS) $(mbtoberep_OBJECTS) $(mbuser_OBJECTS) $(mbuseradd_OBJECTS) $(mbpasswd_OBJECTS) - -all: all-redirect -.SUFFIXES: -.SUFFIXES: .S .c .o .s -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu mbsebbs/Makefile - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status - - -mostlyclean-noinstPROGRAMS: - -clean-noinstPROGRAMS: - -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS) - -distclean-noinstPROGRAMS: - -maintainer-clean-noinstPROGRAMS: - -.s.o: - $(COMPILE) -c $< - -.S.o: - $(COMPILE) -c $< - -mostlyclean-compile: - -rm -f *.o core *.core - -clean-compile: - -distclean-compile: - -rm -f *.tab.c - -maintainer-clean-compile: - -mbsebbs: $(mbsebbs_OBJECTS) $(mbsebbs_DEPENDENCIES) - @rm -f mbsebbs - $(LINK) $(mbsebbs_LDFLAGS) $(mbsebbs_OBJECTS) $(mbsebbs_LDADD) $(LIBS) - -mball: $(mball_OBJECTS) $(mball_DEPENDENCIES) - @rm -f mball - $(LINK) $(mball_LDFLAGS) $(mball_OBJECTS) $(mball_LDADD) $(LIBS) - -mblang: $(mblang_OBJECTS) $(mblang_DEPENDENCIES) - @rm -f mblang - $(LINK) $(mblang_LDFLAGS) $(mblang_OBJECTS) $(mblang_LDADD) $(LIBS) - -mbchat: $(mbchat_OBJECTS) $(mbchat_DEPENDENCIES) - @rm -f mbchat - $(LINK) $(mbchat_LDFLAGS) $(mbchat_OBJECTS) $(mbchat_LDADD) $(LIBS) - -mbfbgen: $(mbfbgen_OBJECTS) $(mbfbgen_DEPENDENCIES) - @rm -f mbfbgen - $(LINK) $(mbfbgen_LDFLAGS) $(mbfbgen_OBJECTS) $(mbfbgen_LDADD) $(LIBS) - -mbstat: $(mbstat_OBJECTS) $(mbstat_DEPENDENCIES) - @rm -f mbstat - $(LINK) $(mbstat_LDFLAGS) $(mbstat_OBJECTS) $(mbstat_LDADD) $(LIBS) - -mbtoberep: $(mbtoberep_OBJECTS) $(mbtoberep_DEPENDENCIES) - @rm -f mbtoberep - $(LINK) $(mbtoberep_LDFLAGS) $(mbtoberep_OBJECTS) $(mbtoberep_LDADD) $(LIBS) - -mbuser: $(mbuser_OBJECTS) $(mbuser_DEPENDENCIES) - @rm -f mbuser - $(LINK) $(mbuser_LDFLAGS) $(mbuser_OBJECTS) $(mbuser_LDADD) $(LIBS) - -mbuseradd: $(mbuseradd_OBJECTS) $(mbuseradd_DEPENDENCIES) - @rm -f mbuseradd - $(LINK) $(mbuseradd_LDFLAGS) $(mbuseradd_OBJECTS) $(mbuseradd_LDADD) $(LIBS) - -mbpasswd: $(mbpasswd_OBJECTS) $(mbpasswd_DEPENDENCIES) - @rm -f mbpasswd - $(LINK) $(mbpasswd_LDFLAGS) $(mbpasswd_OBJECTS) $(mbpasswd_LDADD) $(LIBS) - -# This directory's subdirectories are mostly independent; you can cd -# into them and run `make' without going through this Makefile. -# To change the values of `make' variables: instead of editing Makefiles, -# (1) if the variable is set in `config.status', edit `config.status' -# (which will cause the Makefiles to be regenerated when you run `make'); -# (2) otherwise, pass the desired values on the `make' command line. - -@SET_MAKE@ - -all-recursive install-data-recursive install-exec-recursive \ -installdirs-recursive install-recursive uninstall-recursive \ -check-recursive installcheck-recursive info-recursive dvi-recursive: - @set fnord $(MAKEFLAGS); amf=$$2; \ - dot_seen=no; \ - target=`echo $@ | sed s/-recursive//`; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - dot_seen=yes; \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ - done; \ - if test "$$dot_seen" = "no"; then \ - $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ - fi; test -z "$$fail" - -mostlyclean-recursive clean-recursive distclean-recursive \ -maintainer-clean-recursive: - @set fnord $(MAKEFLAGS); amf=$$2; \ - dot_seen=no; \ - rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \ - rev="$$subdir $$rev"; \ - test "$$subdir" = "." && dot_seen=yes; \ - done; \ - test "$$dot_seen" = "no" && rev=". $$rev"; \ - target=`echo $@ | sed s/-recursive//`; \ - for subdir in $$rev; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ - done && test -z "$$fail" -tags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ - done - -tags: TAGS - -ID: $(HEADERS) $(SOURCES) $(LISP) - list='$(SOURCES) $(HEADERS)'; \ - unique=`for i in $$list; do echo $$i; done | \ - awk ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - here=`pwd` && cd $(srcdir) \ - && mkid -f$$here/ID $$unique $(LISP) - -TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) - tags=; \ - here=`pwd`; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ - fi; \ - done; \ - list='$(SOURCES) $(HEADERS)'; \ - unique=`for i in $$list; do echo $$i; done | \ - awk ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) - -mostlyclean-tags: - -clean-tags: - -distclean-tags: - -rm -f TAGS ID - -maintainer-clean-tags: - -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) - -subdir = mbsebbs - -distdir: $(DISTFILES) - here=`cd $(top_builddir) && pwd`; \ - top_distdir=`cd $(top_distdir) && pwd`; \ - distdir=`cd $(distdir) && pwd`; \ - cd $(top_srcdir) \ - && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu mbsebbs/Makefile - @for file in $(DISTFILES); do \ - d=$(srcdir); \ - if test -d $$d/$$file; then \ - cp -pr $$d/$$file $(distdir)/$$file; \ - else \ - test -f $(distdir)/$$file \ - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ - || cp -p $$d/$$file $(distdir)/$$file || :; \ - fi; \ - done - for subdir in $(SUBDIRS); do \ - if test "$$subdir" = .; then :; else \ - test -d $(distdir)/$$subdir \ - || mkdir $(distdir)/$$subdir \ - || exit 1; \ - chmod 777 $(distdir)/$$subdir; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \ - || exit 1; \ - fi; \ - done - -DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) - --include $(DEP_FILES) - -mostlyclean-depend: - -clean-depend: - -distclean-depend: - -rm -rf .deps - -maintainer-clean-depend: - -%.o: %.c - @echo '$(COMPILE) -c $<'; \ - $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< - @-cp .deps/$(*F).pp .deps/$(*F).P; \ - tr ' ' '\012' < .deps/$(*F).pp \ - | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ - >> .deps/$(*F).P; \ - rm .deps/$(*F).pp - -%.lo: %.c - @echo '$(LTCOMPILE) -c $<'; \ - $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< - @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ - < .deps/$(*F).pp > .deps/$(*F).P; \ - tr ' ' '\012' < .deps/$(*F).pp \ - | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ - >> .deps/$(*F).P; \ - rm -f .deps/$(*F).pp -info-am: -info: info-recursive -dvi-am: -dvi: dvi-recursive -check-am: all-am -check: check-recursive -installcheck-am: -installcheck: installcheck-recursive -install-exec-am: install-exec-local -install-exec: install-exec-recursive - -install-data-am: -install-data: install-data-recursive - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am -install: install-recursive -uninstall-am: -uninstall: uninstall-recursive -all-am: Makefile $(PROGRAMS) -all-redirect: all-recursive -install-strip: - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install -installdirs: installdirs-recursive -installdirs-am: - - -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -rm -f Makefile $(CONFIG_CLEAN_FILES) - -rm -f config.cache config.log stamp-h stamp-h[0-9]* - -maintainer-clean-generic: -mostlyclean-am: mostlyclean-noinstPROGRAMS mostlyclean-compile \ - mostlyclean-tags mostlyclean-depend mostlyclean-generic - -mostlyclean: mostlyclean-recursive - -clean-am: clean-noinstPROGRAMS clean-compile clean-tags clean-depend \ - clean-generic mostlyclean-am - -clean: clean-recursive - -distclean-am: distclean-noinstPROGRAMS distclean-compile distclean-tags \ - distclean-depend distclean-generic clean-am - -distclean: distclean-recursive - -maintainer-clean-am: maintainer-clean-noinstPROGRAMS \ - maintainer-clean-compile maintainer-clean-tags \ - maintainer-clean-depend maintainer-clean-generic \ - distclean-am - @echo "This command is intended for maintainers to use;" - @echo "it deletes files that may require special tools to rebuild." - -maintainer-clean: maintainer-clean-recursive - -.PHONY: mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \ -clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \ -mostlyclean-compile distclean-compile clean-compile \ -maintainer-clean-compile install-data-recursive \ -uninstall-data-recursive install-exec-recursive \ -uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \ -all-recursive check-recursive installcheck-recursive info-recursive \ -dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \ -maintainer-clean-recursive tags tags-recursive mostlyclean-tags \ -distclean-tags clean-tags maintainer-clean-tags distdir \ -mostlyclean-depend distclean-depend clean-depend \ -maintainer-clean-depend info-am info dvi-am dvi check check-am \ -installcheck-am installcheck install-exec-local install-exec-am \ -install-exec install-data-am install-data install-am install \ -uninstall-am uninstall all-redirect all-am all installdirs-am \ -installdirs mostlyclean-generic distclean-generic clean-generic \ -maintainer-clean-generic clean mostlyclean distclean maintainer-clean - - -install-exec-local: - @if [ "`id -un`" != "root" ] ; then \ - echo; echo " Must be root to install!"; echo; exit 3; \ - fi - $(INSTALL) -s -o @OWNER@ -g @GROUP@ -m 6711 mbsebbs $(bindir) - $(INSTALL) -s -o @OWNER@ -g @GROUP@ -m 0711 mball $(bindir) - $(INSTALL) -s -o @OWNER@ -g @GROUP@ -m 0711 mblang $(bindir) - $(INSTALL) -s -o @OWNER@ -g @GROUP@ -m 0711 mbchat $(bindir) - $(INSTALL) -s -o @OWNER@ -g @GROUP@ -m 0711 mbfbgen $(bindir) - $(INSTALL) -s -o @OWNER@ -g @GROUP@ -m 0711 mbstat $(bindir) - $(INSTALL) -s -o @OWNER@ -g @GROUP@ -m 0711 mbtoberep $(bindir) - $(INSTALL) -s -o `id -un` -g `id -gn` -m 6711 mbuser $(bindir) - $(INSTALL) -s -o `id -un` -g `id -gn` -m 6711 mbuseradd $(bindir) - $(INSTALL) -s -o `id -un` -g `id -gn` -m 6711 mbpasswd $(bindir) - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/mbsetup/Makefile b/mbsetup/Makefile new file mode 100644 index 00000000..2a04d1bd --- /dev/null +++ b/mbsetup/Makefile @@ -0,0 +1,109 @@ +# Makefile for the mbsetup. +# Copyright (c) 1997-2000 by M. Broek. +# $Id: + +include ../Makefile.global + +SRCS = grlist.c m_domain.c m_fgroup.c m_lang.c m_marea.c m_new.c \ + m_protocol.c m_ticarea.c mbsetup.c ledit.c m_farea.c m_fido.c \ + m_limits.c m_menu.c m_ngroup.c m_service.c m_tty.c mutil.c m_archive.c \ + m_fdb.c m_global.c m_magic.c m_mgroup.c m_node.c m_task.c m_users.c \ + screen.c m_bbs.c m_ff.c m_hatch.c m_mail.c m_modem.c m_ol.c m_tic.c \ + m_virus.c stlist.c +HDRS = grlist.h m_domain.h m_fgroup.h m_lang.h m_marea.h m_new.h m_protocol.h \ + m_ticarea.h mutil.h ledit.h m_farea.h m_fido.h m_limits.h m_menu.h \ + m_ngroup.h m_service.h m_tty.h screen.h m_archive.h m_fdb.h m_global.h \ + m_magic.h m_mgroup.h m_node.h m_task.h m_users.h stlist.h m_bbs.h m_ff.h \ + m_hatch.h m_mail.h m_modem.h m_ol.h m_tic.h m_virus.h +OBJS = grlist.o m_domain.o m_fgroup.o m_lang.o m_marea.o m_new.o m_protocol.o \ + m_ticarea.o mbsetup.o ledit.o m_farea.o m_fido.o m_limits.o m_menu.o \ + m_ngroup.o m_service.o m_tty.o mutil.o m_archive.o m_fdb.o m_global.o \ + m_magic.o m_mgroup.o m_node.o m_task.o m_users.o screen.o m_bbs.o m_ff.o \ + m_hatch.o m_mail.o m_modem.o m_ol.o m_tic.o m_virus.o stlist.o +LIBS += ../lib/libmemwatch.a ../lib/libclcomm.a ../lib/libcommon.a ../lib/libmsgbase.a ../lib/libdbase.a +OTHER = Makefile + +############################################################################# + +.c.o: + ${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $< + +all: mbsetup + + +mbsetup: ${OBJS} ${LIBS} + ${CC} -o mbsetup ${OBJS} ${LIBS} + strip mbsetup + +clean: + rm -f mbsetup *.o *.h~ *.c~ core filelist Makefile.bak + +install: all + ${INSTALL} -s -g ${GROUP} -o ${OWNER} -m ${MODE} mbsetup ${BINDIR} + +filelist: Makefile + BASE=`pwd`; \ + BASE=`basename $${BASE}`; \ + (for f in ${SRCS} ${HDRS} ${OTHER} ;do echo ${PACKAGE}-${VERSION}/$${BASE}/$$f; done) >filelist + +depend: + @rm -f Makefile.bak; \ + mv Makefile Makefile.bak; \ + sed -e '/^# DO NOT DELETE/,$$d' Makefile.bak >Makefile; \ + ${ECHO} '# DO NOT DELETE THIS LINE - MAKE DEPEND RELIES ON IT' \ + >>Makefile; \ + ${ECHO} '# Dependencies generated by make depend' >>Makefile; \ + for f in ${SRCS}; \ + do \ + ${ECHO} "Dependencies for $$f:\c"; \ + ${ECHO} "`basename $$f .c`.o:\c" >>Makefile; \ + for h in `sed -n -e \ + 's/^#[ ]*include[ ]*"\([^"]*\)".*/\1/p' $$f`; \ + do \ + ${ECHO} " $$h\c"; \ + ${ECHO} " $$h\c" >>Makefile; \ + done; \ + ${ECHO} " done."; \ + ${ECHO} "" >>Makefile; \ + done; \ + ${ECHO} '# End of generated dependencies' >>Makefile + +# DO NOT DELETE THIS LINE - MAKE DEPEND RELIES ON IT +# Dependencies generated by make depend +grlist.o: ../lib/libs.h ../lib/structs.h ../lib/common.h ../lib/clcomm.h screen.h grlist.h ledit.h +m_domain.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h screen.h mutil.h ledit.h m_global.h m_menu.h m_domain.h +m_fgroup.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h screen.h mutil.h ledit.h stlist.h m_global.h m_node.h m_ticarea.h m_fgroup.h +m_lang.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h screen.h mutil.h ledit.h stlist.h m_global.h m_lang.h +m_marea.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h screen.h mutil.h ledit.h grlist.h m_global.h m_node.h m_mgroup.h m_marea.h +m_new.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h screen.h mutil.h ledit.h stlist.h m_global.h grlist.h m_new.h m_lang.h m_marea.h m_ngroup.h +m_protocol.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/clcomm.h ../lib/common.h screen.h mutil.h ledit.h stlist.h m_global.h m_protocol.h +m_ticarea.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h screen.h mutil.h ledit.h stlist.h grlist.h m_global.h m_node.h m_fgroup.h m_farea.h m_archive.h m_ticarea.h +mbsetup.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h screen.h mutil.h ledit.h m_global.h m_bbs.h m_farea.h m_fgroup.h m_mail.h m_mgroup.h m_hatch.h m_tic.h m_ticarea.h m_magic.h m_fido.h m_lang.h m_archive.h m_virus.h m_tty.h m_limits.h m_users.h m_node.h m_fdb.h m_new.h m_ol.h m_protocol.h m_ff.h m_modem.h m_marea.h m_ngroup.h m_service.h m_domain.h m_task.h +ledit.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h ../lib/msg.h screen.h mutil.h ledit.h +m_farea.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h screen.h mutil.h ledit.h m_global.h m_fgroup.h m_archive.h m_farea.h m_fgroup.h m_ngroup.h +m_fido.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h screen.h mutil.h ledit.h stlist.h m_global.h m_fido.h +m_limits.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h screen.h mutil.h ledit.h stlist.h m_global.h m_limits.h +m_menu.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h mutil.h screen.h ledit.h m_lang.h m_menu.h +m_ngroup.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h screen.h mutil.h ledit.h stlist.h m_global.h m_ngroup.h +m_service.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h screen.h mutil.h ledit.h stlist.h m_global.h m_service.h +m_tty.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h screen.h mutil.h ledit.h stlist.h m_modem.h m_global.h m_tty.h +mutil.o: ../lib/libs.h ../lib/structs.h ../lib/common.h ../lib/clcomm.h screen.h mutil.h +m_archive.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h screen.h mutil.h ledit.h stlist.h m_global.h m_archive.h +m_fdb.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h screen.h mutil.h ledit.h m_global.h m_farea.h m_fdb.h +m_global.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h screen.h mutil.h ledit.h m_node.h m_marea.h m_ticarea.h m_new.h m_global.h +m_magic.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h screen.h mutil.h ledit.h stlist.h m_ticarea.h m_global.h m_magic.h +m_mgroup.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h screen.h mutil.h ledit.h stlist.h m_global.h m_node.h m_marea.h m_mgroup.h +m_node.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h screen.h mutil.h ledit.h grlist.h stlist.h m_global.h m_lang.h m_ticarea.h m_marea.h m_node.h +m_task.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h screen.h mutil.h ledit.h m_task.h +m_users.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h screen.h mutil.h ledit.h m_lang.h m_global.h m_archive.h m_protocol.h m_users.h +screen.o: ../lib/libs.h ../lib/structs.h ../lib/ansi.h ../lib/common.h screen.h +m_bbs.o: ../lib/libs.h ../lib/structs.h ../lib/common.h screen.h mutil.h ledit.h m_lang.h m_protocol.h m_ol.h m_fgroup.h m_farea.h m_menu.h m_bbs.h m_limits.h +m_ff.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/clcomm.h ../lib/common.h screen.h mutil.h ledit.h stlist.h m_global.h m_ff.h m_lang.h m_marea.h +m_hatch.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h screen.h mutil.h ledit.h stlist.h m_global.h m_fgroup.h m_ticarea.h m_hatch.h +m_mail.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h screen.h mutil.h ledit.h m_global.h m_marea.h m_mgroup.h m_mail.h +m_modem.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h screen.h mutil.h ledit.h stlist.h m_global.h m_modem.h +m_ol.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/common.h ../lib/clcomm.h screen.h mutil.h ledit.h m_global.h m_ol.h +m_tic.o: ../lib/libs.h ../lib/structs.h ../lib/common.h screen.h mutil.h ledit.h m_fgroup.h m_ticarea.h m_magic.h m_hatch.h m_tic.h +m_virus.o: ../lib/libs.h ../lib/structs.h ../lib/records.h ../lib/clcomm.h ../lib/common.h screen.h mutil.h ledit.h stlist.h m_global.h m_virus.h +stlist.o: ../lib/libs.h ../lib/structs.h ../lib/common.h ../lib/clcomm.h stlist.h +# End of generated dependencies diff --git a/mbsetup/Makefile.am b/mbsetup/Makefile.am deleted file mode 100644 index 119651ba..00000000 --- a/mbsetup/Makefile.am +++ /dev/null @@ -1,24 +0,0 @@ -## Process this file with automake to produce Makefile.in - -SUBDIRS = . - -noinst_PROGRAMS = mbsetup - -mbsetup_SOURCES = screen.c mutil.c ledit.c m_bbs.c m_global.c m_mail.c m_tic.c \ -m_fido.c m_archive.c m_virus.c m_tty.c m_users.c m_protocol.c \ -m_limits.c m_lang.c m_ol.c m_node.c m_marea.c m_mgroup.c m_ff.c \ -m_ticarea.c m_magic.c m_menu.c m_new.c m_modem.c grlist.c \ -m_fgroup.c m_farea.c m_fdb.c m_hatch.c stlist.c mbsetup.c \ -m_ngroup.c m_service.c m_domain.c m_task.c \ -screen.h mutil.h ledit.h m_bbs.h m_global.h m_mail.h m_tic.h \ -m_fido.h m_archive.h m_virus.h m_tty.h m_users.h m_protocol.h \ -m_limits.h m_lang.h m_ol.h m_node.h m_marea.h m_mgroup.h m_ff.h \ -m_ticarea.h m_magic.h m_menu.h m_new.h m_modem.h grlist.h \ -m_fgroup.h m_farea.h m_fdb.h m_hatch.h stlist.h \ -m_ngroup.h m_service.h m_domain.h m_task.h - -LDADD = ../lib/libmemwatch.a ../lib/libclcomm.a ../lib/libcommon.a ../lib/libmsgbase.a ../lib/libdbase.a - -install-exec-local: - $(INSTALL) -s -o @OWNER@ -g @GROUP@ -m 0711 mbsetup $(bindir) - diff --git a/mbsetup/Makefile.in b/mbsetup/Makefile.in deleted file mode 100644 index 0dcd0703..00000000 --- a/mbsetup/Makefile.in +++ /dev/null @@ -1,403 +0,0 @@ -# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am - -# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - - -SHELL = @SHELL@ - -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -infodir = @infodir@ -mandir = @mandir@ -includedir = @includedir@ -oldincludedir = /usr/include - -DESTDIR = - -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ - -top_builddir = .. - -ACLOCAL = @ACLOCAL@ -AUTOCONF = @AUTOCONF@ -AUTOMAKE = @AUTOMAKE@ -AUTOHEADER = @AUTOHEADER@ - -INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -transform = @program_transform_name@ - -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -AWK = @AWK@ -CC = @CC@ -CHOWN = @CHOWN@ -COMPRESS = @COMPRESS@ -GROUP = @GROUP@ -GZIP = @GZIP@ -LEX = @LEX@ -LOG_COMPRESS = @LOG_COMPRESS@ -LOG_COMPRESSEXT = @LOG_COMPRESSEXT@ -MAKEINFO = @MAKEINFO@ -OWNER = @OWNER@ -PACKAGE = @PACKAGE@ -RANLIB = @RANLIB@ -VERSION = @VERSION@ -YACC = @YACC@ - -SUBDIRS = . - -noinst_PROGRAMS = mbsetup - -mbsetup_SOURCES = screen.c mutil.c ledit.c m_bbs.c m_global.c m_mail.c m_tic.c m_fido.c m_archive.c m_virus.c m_tty.c m_users.c m_protocol.c m_limits.c m_lang.c m_ol.c m_node.c m_marea.c m_mgroup.c m_ff.c m_ticarea.c m_magic.c m_menu.c m_new.c m_modem.c grlist.c m_fgroup.c m_farea.c m_fdb.c m_hatch.c stlist.c mbsetup.c m_ngroup.c m_service.c m_domain.c m_task.c screen.h mutil.h ledit.h m_bbs.h m_global.h m_mail.h m_tic.h m_fido.h m_archive.h m_virus.h m_tty.h m_users.h m_protocol.h m_limits.h m_lang.h m_ol.h m_node.h m_marea.h m_mgroup.h m_ff.h m_ticarea.h m_magic.h m_menu.h m_new.h m_modem.h grlist.h m_fgroup.h m_farea.h m_fdb.h m_hatch.h stlist.h m_ngroup.h m_service.h m_domain.h m_task.h - - -LDADD = ../lib/libmemwatch.a ../lib/libclcomm.a ../lib/libcommon.a ../lib/libmsgbase.a ../lib/libdbase.a -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_HEADER = ../config.h -CONFIG_CLEAN_FILES = -PROGRAMS = $(noinst_PROGRAMS) - - -DEFS = @DEFS@ -I. -I$(srcdir) -I.. -CPPFLAGS = @CPPFLAGS@ -LDFLAGS = @LDFLAGS@ -LIBS = @LIBS@ -mbsetup_OBJECTS = screen.o mutil.o ledit.o m_bbs.o m_global.o m_mail.o \ -m_tic.o m_fido.o m_archive.o m_virus.o m_tty.o m_users.o m_protocol.o \ -m_limits.o m_lang.o m_ol.o m_node.o m_marea.o m_mgroup.o m_ff.o \ -m_ticarea.o m_magic.o m_menu.o m_new.o m_modem.o grlist.o m_fgroup.o \ -m_farea.o m_fdb.o m_hatch.o stlist.o mbsetup.o m_ngroup.o m_service.o \ -m_domain.o m_task.o -mbsetup_LDADD = $(LDADD) -mbsetup_DEPENDENCIES = ../lib/libmemwatch.a ../lib/libclcomm.a \ -../lib/libcommon.a ../lib/libmsgbase.a ../lib/libdbase.a -mbsetup_LDFLAGS = -CFLAGS = @CFLAGS@ -COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -CCLD = $(CC) -LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ -DIST_COMMON = Makefile.am Makefile.in - - -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) - -TAR = tar -GZIP_ENV = --best -DEP_FILES = .deps/grlist.P .deps/ledit.P .deps/m_archive.P \ -.deps/m_bbs.P .deps/m_domain.P .deps/m_farea.P .deps/m_fdb.P \ -.deps/m_ff.P .deps/m_fgroup.P .deps/m_fido.P .deps/m_global.P \ -.deps/m_hatch.P .deps/m_lang.P .deps/m_limits.P .deps/m_magic.P \ -.deps/m_mail.P .deps/m_marea.P .deps/m_menu.P .deps/m_mgroup.P \ -.deps/m_modem.P .deps/m_new.P .deps/m_ngroup.P .deps/m_node.P \ -.deps/m_ol.P .deps/m_protocol.P .deps/m_service.P .deps/m_task.P \ -.deps/m_tic.P .deps/m_ticarea.P .deps/m_tty.P .deps/m_users.P \ -.deps/m_virus.P .deps/mbsetup.P .deps/mutil.P .deps/screen.P \ -.deps/stlist.P -SOURCES = $(mbsetup_SOURCES) -OBJECTS = $(mbsetup_OBJECTS) - -all: all-redirect -.SUFFIXES: -.SUFFIXES: .S .c .o .s -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu mbsetup/Makefile - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status - - -mostlyclean-noinstPROGRAMS: - -clean-noinstPROGRAMS: - -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS) - -distclean-noinstPROGRAMS: - -maintainer-clean-noinstPROGRAMS: - -.s.o: - $(COMPILE) -c $< - -.S.o: - $(COMPILE) -c $< - -mostlyclean-compile: - -rm -f *.o core *.core - -clean-compile: - -distclean-compile: - -rm -f *.tab.c - -maintainer-clean-compile: - -mbsetup: $(mbsetup_OBJECTS) $(mbsetup_DEPENDENCIES) - @rm -f mbsetup - $(LINK) $(mbsetup_LDFLAGS) $(mbsetup_OBJECTS) $(mbsetup_LDADD) $(LIBS) - -# This directory's subdirectories are mostly independent; you can cd -# into them and run `make' without going through this Makefile. -# To change the values of `make' variables: instead of editing Makefiles, -# (1) if the variable is set in `config.status', edit `config.status' -# (which will cause the Makefiles to be regenerated when you run `make'); -# (2) otherwise, pass the desired values on the `make' command line. - -@SET_MAKE@ - -all-recursive install-data-recursive install-exec-recursive \ -installdirs-recursive install-recursive uninstall-recursive \ -check-recursive installcheck-recursive info-recursive dvi-recursive: - @set fnord $(MAKEFLAGS); amf=$$2; \ - dot_seen=no; \ - target=`echo $@ | sed s/-recursive//`; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - dot_seen=yes; \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ - done; \ - if test "$$dot_seen" = "no"; then \ - $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ - fi; test -z "$$fail" - -mostlyclean-recursive clean-recursive distclean-recursive \ -maintainer-clean-recursive: - @set fnord $(MAKEFLAGS); amf=$$2; \ - dot_seen=no; \ - rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \ - rev="$$subdir $$rev"; \ - test "$$subdir" = "." && dot_seen=yes; \ - done; \ - test "$$dot_seen" = "no" && rev=". $$rev"; \ - target=`echo $@ | sed s/-recursive//`; \ - for subdir in $$rev; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ - done && test -z "$$fail" -tags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ - done - -tags: TAGS - -ID: $(HEADERS) $(SOURCES) $(LISP) - list='$(SOURCES) $(HEADERS)'; \ - unique=`for i in $$list; do echo $$i; done | \ - awk ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - here=`pwd` && cd $(srcdir) \ - && mkid -f$$here/ID $$unique $(LISP) - -TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) - tags=; \ - here=`pwd`; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ - fi; \ - done; \ - list='$(SOURCES) $(HEADERS)'; \ - unique=`for i in $$list; do echo $$i; done | \ - awk ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) - -mostlyclean-tags: - -clean-tags: - -distclean-tags: - -rm -f TAGS ID - -maintainer-clean-tags: - -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) - -subdir = mbsetup - -distdir: $(DISTFILES) - here=`cd $(top_builddir) && pwd`; \ - top_distdir=`cd $(top_distdir) && pwd`; \ - distdir=`cd $(distdir) && pwd`; \ - cd $(top_srcdir) \ - && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu mbsetup/Makefile - @for file in $(DISTFILES); do \ - d=$(srcdir); \ - if test -d $$d/$$file; then \ - cp -pr $$d/$$file $(distdir)/$$file; \ - else \ - test -f $(distdir)/$$file \ - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ - || cp -p $$d/$$file $(distdir)/$$file || :; \ - fi; \ - done - for subdir in $(SUBDIRS); do \ - if test "$$subdir" = .; then :; else \ - test -d $(distdir)/$$subdir \ - || mkdir $(distdir)/$$subdir \ - || exit 1; \ - chmod 777 $(distdir)/$$subdir; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \ - || exit 1; \ - fi; \ - done - -DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) - --include $(DEP_FILES) - -mostlyclean-depend: - -clean-depend: - -distclean-depend: - -rm -rf .deps - -maintainer-clean-depend: - -%.o: %.c - @echo '$(COMPILE) -c $<'; \ - $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< - @-cp .deps/$(*F).pp .deps/$(*F).P; \ - tr ' ' '\012' < .deps/$(*F).pp \ - | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ - >> .deps/$(*F).P; \ - rm .deps/$(*F).pp - -%.lo: %.c - @echo '$(LTCOMPILE) -c $<'; \ - $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< - @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ - < .deps/$(*F).pp > .deps/$(*F).P; \ - tr ' ' '\012' < .deps/$(*F).pp \ - | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ - >> .deps/$(*F).P; \ - rm -f .deps/$(*F).pp -info-am: -info: info-recursive -dvi-am: -dvi: dvi-recursive -check-am: all-am -check: check-recursive -installcheck-am: -installcheck: installcheck-recursive -install-exec-am: install-exec-local -install-exec: install-exec-recursive - -install-data-am: -install-data: install-data-recursive - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am -install: install-recursive -uninstall-am: -uninstall: uninstall-recursive -all-am: Makefile $(PROGRAMS) -all-redirect: all-recursive -install-strip: - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install -installdirs: installdirs-recursive -installdirs-am: - - -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -rm -f Makefile $(CONFIG_CLEAN_FILES) - -rm -f config.cache config.log stamp-h stamp-h[0-9]* - -maintainer-clean-generic: -mostlyclean-am: mostlyclean-noinstPROGRAMS mostlyclean-compile \ - mostlyclean-tags mostlyclean-depend mostlyclean-generic - -mostlyclean: mostlyclean-recursive - -clean-am: clean-noinstPROGRAMS clean-compile clean-tags clean-depend \ - clean-generic mostlyclean-am - -clean: clean-recursive - -distclean-am: distclean-noinstPROGRAMS distclean-compile distclean-tags \ - distclean-depend distclean-generic clean-am - -distclean: distclean-recursive - -maintainer-clean-am: maintainer-clean-noinstPROGRAMS \ - maintainer-clean-compile maintainer-clean-tags \ - maintainer-clean-depend maintainer-clean-generic \ - distclean-am - @echo "This command is intended for maintainers to use;" - @echo "it deletes files that may require special tools to rebuild." - -maintainer-clean: maintainer-clean-recursive - -.PHONY: mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \ -clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \ -mostlyclean-compile distclean-compile clean-compile \ -maintainer-clean-compile install-data-recursive \ -uninstall-data-recursive install-exec-recursive \ -uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \ -all-recursive check-recursive installcheck-recursive info-recursive \ -dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \ -maintainer-clean-recursive tags tags-recursive mostlyclean-tags \ -distclean-tags clean-tags maintainer-clean-tags distdir \ -mostlyclean-depend distclean-depend clean-depend \ -maintainer-clean-depend info-am info dvi-am dvi check check-am \ -installcheck-am installcheck install-exec-local install-exec-am \ -install-exec install-data-am install-data install-am install \ -uninstall-am uninstall all-redirect all-am all installdirs-am \ -installdirs mostlyclean-generic distclean-generic clean-generic \ -maintainer-clean-generic clean mostlyclean distclean maintainer-clean - - -install-exec-local: - $(INSTALL) -s -o @OWNER@ -g @GROUP@ -m 0711 mbsetup $(bindir) - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: