From fcc5a4159ba7893c0fe0eae40faf4fcd81aaced6 Mon Sep 17 00:00:00 2001 From: fishwaldo <> Date: Tue, 12 Mar 2002 13:42:38 +0000 Subject: [PATCH] automake/autoheader/libtool support --- .gitattributes | 20 +++ Makefile.am | 7 + data/Makefile.am | 1 + data/Makefile.in | 211 ++++++++++++++++++++++++ dl/Makefile.am | 1 + dl/cs/Makefile.am | 3 + dl/helper/Makefile.am | 3 + dl/hostserv/Makefile.am | 3 + dl/icq/Makefile.am | 3 + dl/loveserv/Makefile.am | 3 + dl/loveserv/Makefile.in | 349 ++++++++++++++++++++++++++++++++++++++++ dl/ms/Makefile.am | 3 + dl/neoserv/Makefile.am | 3 + dl/netinfo/Makefile.am | 3 + dl/operlog/Makefile.am | 3 + dl/services/Makefile.am | 0 dl/spam/Makefile.am | 3 + dl/statserv/Makefile.am | 3 + dl/version/Makefile.am | 3 + doc/Makefile.am | 1 + doc/Makefile.in | 211 ++++++++++++++++++++++++ 21 files changed, 837 insertions(+) create mode 100644 Makefile.am create mode 100644 data/Makefile.am create mode 100644 data/Makefile.in create mode 100644 dl/Makefile.am create mode 100644 dl/cs/Makefile.am create mode 100644 dl/helper/Makefile.am create mode 100644 dl/hostserv/Makefile.am create mode 100644 dl/icq/Makefile.am create mode 100644 dl/loveserv/Makefile.am create mode 100644 dl/loveserv/Makefile.in create mode 100644 dl/ms/Makefile.am create mode 100644 dl/neoserv/Makefile.am create mode 100644 dl/netinfo/Makefile.am create mode 100644 dl/operlog/Makefile.am create mode 100644 dl/services/Makefile.am create mode 100644 dl/spam/Makefile.am create mode 100644 dl/statserv/Makefile.am create mode 100644 dl/version/Makefile.am create mode 100644 doc/Makefile.am create mode 100644 doc/Makefile.in diff --git a/.gitattributes b/.gitattributes index f6eca84f..f05017ab 100644 --- a/.gitattributes +++ b/.gitattributes @@ -2,6 +2,7 @@ /ChangeLog -text /INSTALL -text /LICENCE -text +/Makefile.am -text /Makefile.in -text /README -text /TODO -text @@ -16,26 +17,33 @@ /config.h.in -text /configure -text /configure.in -text +data/Makefile.am -text +data/Makefile.in -text data/niconfig.db -text data/nstats.db -text data/stats.db -text data/tlds.nfo -text /dl.c -text /dl.h -text +dl/Makefile.am -text dl/Makefile.in -text dl/README -text dl/cs/ChangeLog -text +dl/cs/Makefile.am -text dl/cs/Makefile.in -text dl/cs/cs.c -text dl/cs/cs_help.c -text +dl/helper/Makefile.am -text dl/helper/Makefile.in -text dl/helper/helper.c -text dl/helper/ni_help.c -text dl/hostserv/ChangeLog -text +dl/hostserv/Makefile.am -text dl/hostserv/Makefile.in -text dl/hostserv/hostserv.c -text dl/hostserv/hs_help.c -text dl/icq/DOESNOTCOMPILE -text +dl/icq/Makefile.am -text dl/icq/Makefile.in -text dl/icq/README -text dl/icq/icq.c -text @@ -46,31 +54,40 @@ dl/icq/icqlib.c -text dl/icq/icqlib.h -text dl/loveserv/ChangeLog -text dl/loveserv/Makefile -text +dl/loveserv/Makefile.am -text +dl/loveserv/Makefile.in -text dl/loveserv/loveserv.c -text dl/loveserv/ls_help.c -text dl/modules.txt -text dl/ms/ChangeLog -text +dl/ms/Makefile.am -text dl/ms/Makefile.in -text dl/ms/ms.c -text dl/ms/ms_help.c -text dl/neoserv/ChangeLog -text +dl/neoserv/Makefile.am -text dl/neoserv/Makefile.in -text dl/neoserv/neoserv.c -text dl/neoserv/neoserv_help.c -text +dl/netinfo/Makefile.am -text dl/netinfo/Makefile.in -text dl/netinfo/netinfo.c -text dl/netinfo/ni_help.c -text dl/operlog/ChangeLog -text +dl/operlog/Makefile.am -text dl/operlog/Makefile.in -text dl/operlog/ol_help.c -text dl/operlog/operlog.c -text dl/services/DOESNOTCOMPILE -text +dl/services/Makefile.am -text dl/services/Makefile.in -text dl/services/build -text dl/services/services.c -text dl/services/services.lo -text svneol=unset#unset +dl/spam/Makefile.am -text dl/spam/Makefile.in -text dl/spam/spam.c -text +dl/statserv/Makefile.am -text dl/statserv/Makefile.in -text dl/statserv/m_stats.h -text dl/statserv/ss_help.c -text @@ -80,9 +97,12 @@ dl/tstats/m_stats.h -text dl/tstats/ss_help.c -text dl/tstats/statserv.c -text dl/tstats/statserv.h -text +dl/version/Makefile.am -text dl/version/Makefile.in -text dl/version/version.c -text doc/FAQ -text +doc/Makefile.am -text +doc/Makefile.in -text doc/USERMAN -text doc/read-faq -text doc/read-userman -text diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 00000000..e611ea45 --- /dev/null +++ b/Makefile.am @@ -0,0 +1,7 @@ +bin_PROGRAMS = stats +stats_SOURCES = chans.c conf.c dl.c dotconf.c hash.c ircd.c list.c main.c ns_help.c server.c services.c sock.c timer.c users.c +stats_LDADD = @IRCD_FILES_SRC@ +stats_LDFLAGS = -export-dynamic +SUBDIRS=. dl data doc +sysconf_DATA=stats.cfg.dist chkstats makeconf README BUGS INSTALL AUTHORS BUGS COPYING +include_HEADERS = stats.h dl.h Unreal.h Ultimate.h hash.h list.h config.h dotconf.h diff --git a/data/Makefile.am b/data/Makefile.am new file mode 100644 index 00000000..5b49e0f8 --- /dev/null +++ b/data/Makefile.am @@ -0,0 +1 @@ +data_DATA=niconfig.db tlds.nfo \ No newline at end of file diff --git a/data/Makefile.in b/data/Makefile.in new file mode 100644 index 00000000..b6ae96ca --- /dev/null +++ b/data/Makefile.in @@ -0,0 +1,211 @@ +# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am + +# Copyright (C) 1994, 1995-8, 1999, 2001 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 = : +host_alias = @host_alias@ +host_triplet = @host@ +AS = @AS@ +CC = @CC@ +DLLTOOL = @DLLTOOL@ +ECHO = @ECHO@ +EXEEXT = @EXEEXT@ +IRCD_FILES_OBJS = @IRCD_FILES_OBJS@ +IRCD_FILES_SRC = @IRCD_FILES_SRC@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LN_S = @LN_S@ +MAKEINFO = @MAKEINFO@ +MODULES = @MODULES@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +PACKAGE = @PACKAGE@ +RANLIB = @RANLIB@ +STRIP = @STRIP@ +VERSION = @VERSION@ + +data_DATA = niconfig.db tlds.nfo +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_HEADER = ../config.h +CONFIG_CLEAN_FILES = +DATA = $(data_DATA) + +DIST_COMMON = Makefile.am Makefile.in + + +DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) + +TAR = gtar +GZIP_ENV = --best +all: all-redirect +.SUFFIXES: +$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) + cd $(top_srcdir) && $(AUTOMAKE) --gnu data/Makefile + +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) + cd $(top_builddir) \ + && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status + + +install-dataDATA: $(data_DATA) + @$(NORMAL_INSTALL) + $(mkinstalldirs) $(DESTDIR)$(datadir) + @list='$(data_DATA)'; for p in $$list; do \ + if test -f $(srcdir)/$$p; then \ + echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(datadir)/$$p"; \ + $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(datadir)/$$p; \ + else if test -f $$p; then \ + echo " $(INSTALL_DATA) $$p $(DESTDIR)$(datadir)/$$p"; \ + $(INSTALL_DATA) $$p $(DESTDIR)$(datadir)/$$p; \ + fi; fi; \ + done + +uninstall-dataDATA: + @$(NORMAL_UNINSTALL) + list='$(data_DATA)'; for p in $$list; do \ + rm -f $(DESTDIR)$(datadir)/$$p; \ + done +tags: TAGS +TAGS: + + +distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) + +subdir = data + +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 data/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 +info-am: +info: info-am +dvi-am: +dvi: dvi-am +check-am: all-am +check: check-am +installcheck-am: +installcheck: installcheck-am +install-exec-am: +install-exec: install-exec-am + +install-data-am: install-dataDATA +install-data: install-data-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am +install: install-am +uninstall-am: uninstall-dataDATA +uninstall: uninstall-am +all-am: Makefile $(DATA) +all-redirect: all-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install +installdirs: + $(mkinstalldirs) $(DESTDIR)$(datadir) + + +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-generic + +mostlyclean: mostlyclean-am + +clean-am: clean-generic mostlyclean-am + +clean: clean-am + +distclean-am: distclean-generic clean-am + -rm -f libtool + +distclean: distclean-am + +maintainer-clean-am: 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-am + +.PHONY: uninstall-dataDATA install-dataDATA tags distdir 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 \ +mostlyclean-generic distclean-generic clean-generic \ +maintainer-clean-generic clean mostlyclean distclean maintainer-clean + + +# 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/dl/Makefile.am b/dl/Makefile.am new file mode 100644 index 00000000..494a3c69 --- /dev/null +++ b/dl/Makefile.am @@ -0,0 +1 @@ +SUBDIRS = @MODULES@ \ No newline at end of file diff --git a/dl/cs/Makefile.am b/dl/cs/Makefile.am new file mode 100644 index 00000000..0521853d --- /dev/null +++ b/dl/cs/Makefile.am @@ -0,0 +1,3 @@ +lib_LTLIBRARIES = cs.so +cs_so_SOURCES = cs.c cs_help.c +cs_so_LDFLAGS= -module -shared -nostdlib diff --git a/dl/helper/Makefile.am b/dl/helper/Makefile.am new file mode 100644 index 00000000..be08de98 --- /dev/null +++ b/dl/helper/Makefile.am @@ -0,0 +1,3 @@ +lib_LTLIBRARIES = helper.so +helper_so_SOURCES = helper.c ni_help.c +helper_so_LDFLAGS= -module -shared -nostdlib diff --git a/dl/hostserv/Makefile.am b/dl/hostserv/Makefile.am new file mode 100644 index 00000000..3066687f --- /dev/null +++ b/dl/hostserv/Makefile.am @@ -0,0 +1,3 @@ +lib_LTLIBRARIES = hostserv.so +hostserv_so_SOURCES = hostserv.c hs_help.c +hostserv_so_LDFLAGS= -module -shared -nostdlib diff --git a/dl/icq/Makefile.am b/dl/icq/Makefile.am new file mode 100644 index 00000000..ec18caa2 --- /dev/null +++ b/dl/icq/Makefile.am @@ -0,0 +1,3 @@ +lib_LTLIBRARIES = icqserv.so +icqserv_so_SOURCES = icq.c icq_help.c icqlib.c +icqserv_so_LDFLAGS= -module -shared -nostdlib diff --git a/dl/loveserv/Makefile.am b/dl/loveserv/Makefile.am new file mode 100644 index 00000000..5080687c --- /dev/null +++ b/dl/loveserv/Makefile.am @@ -0,0 +1,3 @@ +lib_LTLIBRARIES = loveserv.so +loveserv_so_SOURCES = loveserv.c ls_help.c +loveserv_so_LDFLAGS= -module -shared -nostdlib diff --git a/dl/loveserv/Makefile.in b/dl/loveserv/Makefile.in new file mode 100644 index 00000000..41656c42 --- /dev/null +++ b/dl/loveserv/Makefile.in @@ -0,0 +1,349 @@ +# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am + +# Copyright (C) 1994, 1995-8, 1999, 2001 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 = : +host_alias = @host_alias@ +host_triplet = @host@ +AS = @AS@ +CC = @CC@ +DLLTOOL = @DLLTOOL@ +ECHO = @ECHO@ +EXEEXT = @EXEEXT@ +IRCD_FILES_OBJS = @IRCD_FILES_OBJS@ +IRCD_FILES_SRC = @IRCD_FILES_SRC@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LN_S = @LN_S@ +MAKEINFO = @MAKEINFO@ +MODULES = @MODULES@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +PACKAGE = @PACKAGE@ +RANLIB = @RANLIB@ +STRIP = @STRIP@ +VERSION = @VERSION@ + +lib_LTLIBRARIES = loveserv.so +loveserv_so_SOURCES = loveserv.c ls_help.c +loveserv_so_LDFLAGS = -module -shared -nostdlib +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_HEADER = ../../config.h +CONFIG_CLEAN_FILES = +LTLIBRARIES = $(lib_LTLIBRARIES) + + +DEFS = @DEFS@ -I. -I$(srcdir) -I../.. +CPPFLAGS = @CPPFLAGS@ +LDFLAGS = @LDFLAGS@ +loveserv_so_LIBADD = +loveserv_so_OBJECTS = loveserv.$(OBJEXT) ls_help.$(OBJEXT) +CFLAGS = @CFLAGS@ +COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +CCLD = $(CC) +LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ +DIST_COMMON = ChangeLog Makefile.am Makefile.in TODO + + +DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) + +TAR = gtar +GZIP_ENV = --best +DEP_FILES = .deps/loveserv.P .deps/ls_help.P +SOURCES = $(loveserv_so_SOURCES) +OBJECTS = $(loveserv_so_OBJECTS) + +all: all-redirect +.SUFFIXES: +.SUFFIXES: .S .c .lo .o .obj .s +$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) + cd $(top_srcdir) && $(AUTOMAKE) --gnu dl/loveserv/Makefile + +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) + cd $(top_builddir) \ + && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status + + +mostlyclean-libLTLIBRARIES: + +clean-libLTLIBRARIES: + -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) + +distclean-libLTLIBRARIES: + +maintainer-clean-libLTLIBRARIES: + +install-libLTLIBRARIES: $(lib_LTLIBRARIES) + @$(NORMAL_INSTALL) + $(mkinstalldirs) $(DESTDIR)$(libdir) + @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ + if test -f $$p; then \ + echo "$(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p"; \ + $(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p; \ + else :; fi; \ + done + +uninstall-libLTLIBRARIES: + @$(NORMAL_UNINSTALL) + list='$(lib_LTLIBRARIES)'; for p in $$list; do \ + $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \ + done + +# FIXME: We should only use cygpath when building on Windows, +# and only if it is available. +.c.obj: + $(COMPILE) -c `cygpath -w $<` + +.s.o: + $(COMPILE) -c $< + +.S.o: + $(COMPILE) -c $< + +mostlyclean-compile: + -rm -f *.o core *.core + -rm -f *.$(OBJEXT) + +clean-compile: + +distclean-compile: + -rm -f *.tab.c + +maintainer-clean-compile: + +.s.lo: + $(LIBTOOL) --mode=compile $(COMPILE) -c $< + +.S.lo: + $(LIBTOOL) --mode=compile $(COMPILE) -c $< + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + +distclean-libtool: + +maintainer-clean-libtool: + +loveserv.so: $(loveserv_so_OBJECTS) $(loveserv_so_DEPENDENCIES) + $(LINK) -rpath $(libdir) $(loveserv_so_LDFLAGS) $(loveserv_so_OBJECTS) $(loveserv_so_LIBADD) $(LIBS) + +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: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) + tags=; \ + here=`pwd`; \ + 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 = dl/loveserv + +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 dl/loveserv/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 + +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-am +dvi-am: +dvi: dvi-am +check-am: all-am +check: check-am +installcheck-am: +installcheck: installcheck-am +install-exec-am: install-libLTLIBRARIES +install-exec: install-exec-am + +install-data-am: +install-data: install-data-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am +install: install-am +uninstall-am: uninstall-libLTLIBRARIES +uninstall: uninstall-am +all-am: Makefile $(LTLIBRARIES) +all-redirect: all-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install +installdirs: + $(mkinstalldirs) $(DESTDIR)$(libdir) + + +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-libLTLIBRARIES mostlyclean-compile \ + mostlyclean-libtool mostlyclean-tags mostlyclean-depend \ + mostlyclean-generic + +mostlyclean: mostlyclean-am + +clean-am: clean-libLTLIBRARIES clean-compile clean-libtool clean-tags \ + clean-depend clean-generic mostlyclean-am + +clean: clean-am + +distclean-am: distclean-libLTLIBRARIES distclean-compile \ + distclean-libtool distclean-tags distclean-depend \ + distclean-generic clean-am + -rm -f libtool + +distclean: distclean-am + +maintainer-clean-am: maintainer-clean-libLTLIBRARIES \ + maintainer-clean-compile maintainer-clean-libtool \ + 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-am + +.PHONY: mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \ +clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \ +uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \ +distclean-compile clean-compile maintainer-clean-compile \ +mostlyclean-libtool distclean-libtool clean-libtool \ +maintainer-clean-libtool tags 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 \ +mostlyclean-generic distclean-generic clean-generic \ +maintainer-clean-generic clean mostlyclean distclean maintainer-clean + + +# 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/dl/ms/Makefile.am b/dl/ms/Makefile.am new file mode 100644 index 00000000..0d3131d3 --- /dev/null +++ b/dl/ms/Makefile.am @@ -0,0 +1,3 @@ +lib_LTLIBRARIES = ms.so +ms_so_SOURCES = ms.c ms_help.c +ms_so_LDFLAGS= -module -shared -nostdlib diff --git a/dl/neoserv/Makefile.am b/dl/neoserv/Makefile.am new file mode 100644 index 00000000..bee15a4c --- /dev/null +++ b/dl/neoserv/Makefile.am @@ -0,0 +1,3 @@ +lib_LTLIBRARIES = neoserv.so +neoserv_so_SOURCES = neoserv.c neoserv_help.c +neoserv_so_LDFLAGS= -module -shared -nostdlib diff --git a/dl/netinfo/Makefile.am b/dl/netinfo/Makefile.am new file mode 100644 index 00000000..c0773d68 --- /dev/null +++ b/dl/netinfo/Makefile.am @@ -0,0 +1,3 @@ +lib_LTLIBRARIES = netinfo.so +netinfo_so_SOURCES = netinfo.c ni_help.c +netinfo_so_LDFLAGS= -module -shared -nostdlib diff --git a/dl/operlog/Makefile.am b/dl/operlog/Makefile.am new file mode 100644 index 00000000..4e4a9c14 --- /dev/null +++ b/dl/operlog/Makefile.am @@ -0,0 +1,3 @@ +lib_LTLIBRARIES = operlog.so +operlog_so_SOURCES = operlog.c ol_help.c +operlog_so_LDFLAGS= -module -shared -nostdlib diff --git a/dl/services/Makefile.am b/dl/services/Makefile.am new file mode 100644 index 00000000..e69de29b diff --git a/dl/spam/Makefile.am b/dl/spam/Makefile.am new file mode 100644 index 00000000..79a4b6c7 --- /dev/null +++ b/dl/spam/Makefile.am @@ -0,0 +1,3 @@ +lib_LTLIBRARIES = spam.so +spam_so_SOURCES = spam.c +spam_so_LDFLAGS= -module -shared -nostdlib diff --git a/dl/statserv/Makefile.am b/dl/statserv/Makefile.am new file mode 100644 index 00000000..1017c89b --- /dev/null +++ b/dl/statserv/Makefile.am @@ -0,0 +1,3 @@ +lib_LTLIBRARIES = statserv.so +statserv_so_SOURCES = statserv.c ss_help.c +statserv_so_LDFLAGS= -module -shared -nostdlib diff --git a/dl/version/Makefile.am b/dl/version/Makefile.am new file mode 100644 index 00000000..202a2dea --- /dev/null +++ b/dl/version/Makefile.am @@ -0,0 +1,3 @@ +lib_LTLIBRARIES = version.so +version_so_SOURCES = version.c +version_so_LDFLAGS= -module -shared -nostdlib diff --git a/doc/Makefile.am b/doc/Makefile.am new file mode 100644 index 00000000..a58e1b5b --- /dev/null +++ b/doc/Makefile.am @@ -0,0 +1 @@ +sysconf_DATA= FAQ read-faq read-userman USERMAN \ No newline at end of file diff --git a/doc/Makefile.in b/doc/Makefile.in new file mode 100644 index 00000000..e18c3d77 --- /dev/null +++ b/doc/Makefile.in @@ -0,0 +1,211 @@ +# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am + +# Copyright (C) 1994, 1995-8, 1999, 2001 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 = : +host_alias = @host_alias@ +host_triplet = @host@ +AS = @AS@ +CC = @CC@ +DLLTOOL = @DLLTOOL@ +ECHO = @ECHO@ +EXEEXT = @EXEEXT@ +IRCD_FILES_OBJS = @IRCD_FILES_OBJS@ +IRCD_FILES_SRC = @IRCD_FILES_SRC@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LN_S = @LN_S@ +MAKEINFO = @MAKEINFO@ +MODULES = @MODULES@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +PACKAGE = @PACKAGE@ +RANLIB = @RANLIB@ +STRIP = @STRIP@ +VERSION = @VERSION@ + +sysconf_DATA = FAQ read-faq read-userman USERMAN +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_HEADER = ../config.h +CONFIG_CLEAN_FILES = +DATA = $(sysconf_DATA) + +DIST_COMMON = Makefile.am Makefile.in + + +DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) + +TAR = gtar +GZIP_ENV = --best +all: all-redirect +.SUFFIXES: +$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) + cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile + +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) + cd $(top_builddir) \ + && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status + + +install-sysconfDATA: $(sysconf_DATA) + @$(NORMAL_INSTALL) + $(mkinstalldirs) $(DESTDIR)$(sysconfdir) + @list='$(sysconf_DATA)'; for p in $$list; do \ + if test -f $(srcdir)/$$p; then \ + echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdir)/$$p"; \ + $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdir)/$$p; \ + else if test -f $$p; then \ + echo " $(INSTALL_DATA) $$p $(DESTDIR)$(sysconfdir)/$$p"; \ + $(INSTALL_DATA) $$p $(DESTDIR)$(sysconfdir)/$$p; \ + fi; fi; \ + done + +uninstall-sysconfDATA: + @$(NORMAL_UNINSTALL) + list='$(sysconf_DATA)'; for p in $$list; do \ + rm -f $(DESTDIR)$(sysconfdir)/$$p; \ + done +tags: TAGS +TAGS: + + +distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) + +subdir = doc + +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 doc/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 +info-am: +info: info-am +dvi-am: +dvi: dvi-am +check-am: all-am +check: check-am +installcheck-am: +installcheck: installcheck-am +install-exec-am: install-sysconfDATA +install-exec: install-exec-am + +install-data-am: +install-data: install-data-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am +install: install-am +uninstall-am: uninstall-sysconfDATA +uninstall: uninstall-am +all-am: Makefile $(DATA) +all-redirect: all-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install +installdirs: + $(mkinstalldirs) $(DESTDIR)$(sysconfdir) + + +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-generic + +mostlyclean: mostlyclean-am + +clean-am: clean-generic mostlyclean-am + +clean: clean-am + +distclean-am: distclean-generic clean-am + -rm -f libtool + +distclean: distclean-am + +maintainer-clean-am: 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-am + +.PHONY: uninstall-sysconfDATA install-sysconfDATA tags distdir 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 \ +mostlyclean-generic distclean-generic clean-generic \ +maintainer-clean-generic clean mostlyclean distclean maintainer-clean + + +# 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: