buildsystem: build ircd itself as a library to allow removal of -undefined suppress on OS X

This commit is contained in:
William Pitcock 2016-01-05 21:31:21 -06:00
parent c52df12552
commit bc38c72ced
7 changed files with 202 additions and 106 deletions

View file

@ -1,7 +1,7 @@
AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/libratbox/include AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/libratbox/include
AM_LDFLAGS = -module -export-dynamic -avoid-version -shared AM_LDFLAGS = -module -export-dynamic -avoid-version -no-undefined -shared
AM_LDFLAGS += -export-symbols-regex _mheader AM_LDFLAGS += -export-symbols-regex _mheader
LIBS += $(top_srcdir)/libratbox/src/libratbox.la LIBS += $(top_srcdir)/libratbox/src/libratbox.la $(top_srcdir)/src/libcore.la
extensiondir=@moduledir@/extensions extensiondir=@moduledir@/extensions

View file

@ -454,7 +454,8 @@ LIBADD_DLOPEN = @LIBADD_DLOPEN@
LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
LIBLTDL = @LIBLTDL@ LIBLTDL = @LIBLTDL@
LIBOBJS = @LIBOBJS@ LIBOBJS = @LIBOBJS@
LIBS = @LIBS@ $(top_srcdir)/libratbox/src/libratbox.la LIBS = @LIBS@ $(top_srcdir)/libratbox/src/libratbox.la \
$(top_srcdir)/src/libcore.la
LIBTOOL = @LIBTOOL@ LIBTOOL = @LIBTOOL@
LIPO = @LIPO@ LIPO = @LIPO@
LN = @LN@ LN = @LN@
@ -584,8 +585,8 @@ top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@ top_builddir = @top_builddir@
top_srcdir = @top_srcdir@ top_srcdir = @top_srcdir@
AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/libratbox/include AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/libratbox/include
AM_LDFLAGS = -module -export-dynamic -avoid-version -shared \ AM_LDFLAGS = -module -export-dynamic -avoid-version -no-undefined \
-export-symbols-regex _mheader -shared -export-symbols-regex _mheader
extensiondir = @moduledir@/extensions extensiondir = @moduledir@/extensions
extension_LTLIBRARIES = \ extension_LTLIBRARIES = \
chm_adminonly.la \ chm_adminonly.la \

View file

@ -1,9 +1,9 @@
AUTOMAKE_OPTIONS = subdir-objects AUTOMAKE_OPTIONS = subdir-objects
AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/libratbox/include AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/libratbox/include
AM_LDFLAGS = -module -export-dynamic -avoid-version -shared AM_LDFLAGS = -module -export-dynamic -avoid-version -no-undefined -shared
AM_LDFLAGS += -export-symbols-regex _mheader AM_LDFLAGS += -export-symbols-regex _mheader
LIBS += $(top_srcdir)/libratbox/src/libratbox.la LIBS += $(top_srcdir)/libratbox/src/libratbox.la $(top_srcdir)/src/libcore.la
auto_load_moddir=@moduledir@/autoload auto_load_moddir=@moduledir@/autoload

View file

@ -525,7 +525,8 @@ LIBADD_DLOPEN = @LIBADD_DLOPEN@
LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
LIBLTDL = @LIBLTDL@ LIBLTDL = @LIBLTDL@
LIBOBJS = @LIBOBJS@ LIBOBJS = @LIBOBJS@
LIBS = @LIBS@ $(top_srcdir)/libratbox/src/libratbox.la LIBS = @LIBS@ $(top_srcdir)/libratbox/src/libratbox.la \
$(top_srcdir)/src/libcore.la
LIBTOOL = @LIBTOOL@ LIBTOOL = @LIBTOOL@
LIPO = @LIPO@ LIPO = @LIPO@
LN = @LN@ LN = @LN@
@ -656,8 +657,8 @@ top_builddir = @top_builddir@
top_srcdir = @top_srcdir@ top_srcdir = @top_srcdir@
AUTOMAKE_OPTIONS = subdir-objects AUTOMAKE_OPTIONS = subdir-objects
AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/libratbox/include AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/libratbox/include
AM_LDFLAGS = -module -export-dynamic -avoid-version -shared \ AM_LDFLAGS = -module -export-dynamic -avoid-version -no-undefined \
-export-symbols-regex _mheader -shared -export-symbols-regex _mheader
auto_load_moddir = @moduledir@/autoload auto_load_moddir = @moduledir@/autoload
auto_load_mod_LTLIBRARIES = \ auto_load_mod_LTLIBRARIES = \
chm_nocolour.la \ chm_nocolour.la \

View file

@ -1,5 +1,8 @@
AUTOMAKE_OPTIONS = foreign AUTOMAKE_OPTIONS = foreign
prefix = @prefix@
libcoredir = @libdir@
AM_CPPFLAGS = @LTDLINCL@ -I$(top_srcdir)/include -I$(top_srcdir)/libratbox/include AM_CPPFLAGS = @LTDLINCL@ -I$(top_srcdir)/include -I$(top_srcdir)/libratbox/include
AM_LDFLAGS = -L$(top_srcdir)/libratbox/src -export-dynamic -avoid-version -no-undefined AM_LDFLAGS = -L$(top_srcdir)/libratbox/src -export-dynamic -avoid-version -no-undefined
AM_YFLAGS = -d AM_YFLAGS = -d
@ -12,8 +15,7 @@ version.c: version.c.SH ../CREDITS ../include/patchlevel.h ../include/serno.h
$(CP) version.c version.c.last $(CP) version.c version.c.last
touch version.c.SH touch version.c.SH
bin_PROGRAMS = charybdis libcore_la_SOURCES = \
charybdis_SOURCES = \
bandbi.c \ bandbi.c \
blacklist.c \ blacklist.c \
cache.c \ cache.c \
@ -43,6 +45,7 @@ charybdis_SOURCES = \
packet.c \ packet.c \
parse.c \ parse.c \
privilege.c \ privilege.c \
ratelimit.c \
res.c \ res.c \
reslib.c \ reslib.c \
reject.c \ reject.c \
@ -61,3 +64,12 @@ charybdis_SOURCES = \
tgchange.c \ tgchange.c \
version.c \ version.c \
whowas.c whowas.c
libcore_la_LDFLAGS = $(EXTRA_FLAGS) -avoid-version
libcore_LTLIBRARIES = libcore.la
bin_PROGRAMS = charybdis
charybdis_SOURCES = main.c
charybdis_LDADD = libcore.la
install-exec-hook: install-libcoreLTLIBRARIES
$(RM) -f version.c

View file

@ -14,6 +14,7 @@
@SET_MAKE@ @SET_MAKE@
VPATH = @srcdir@ VPATH = @srcdir@
am__is_gnu_make = { \ am__is_gnu_make = { \
if test -z '$(MAKELEVEL)'; then \ if test -z '$(MAKELEVEL)'; then \
@ -105,31 +106,58 @@ mkinstalldirs = $(install_sh) -d
CONFIG_HEADER = $(top_builddir)/include/setup.h CONFIG_HEADER = $(top_builddir)/include/setup.h
CONFIG_CLEAN_FILES = CONFIG_CLEAN_FILES =
CONFIG_CLEAN_VPATH_FILES = CONFIG_CLEAN_VPATH_FILES =
am__installdirs = "$(DESTDIR)$(bindir)" am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
PROGRAMS = $(bin_PROGRAMS) am__vpath_adj = case $$p in \
am_charybdis_OBJECTS = bandbi.$(OBJEXT) blacklist.$(OBJEXT) \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
cache.$(OBJEXT) capability.$(OBJEXT) channel.$(OBJEXT) \ *) f=$$p;; \
chmode.$(OBJEXT) class.$(OBJEXT) client.$(OBJEXT) \ esac;
extban.$(OBJEXT) getopt.$(OBJEXT) hash.$(OBJEXT) \ am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
hook.$(OBJEXT) hostmask.$(OBJEXT) ipv4_from_ipv6.$(OBJEXT) \ am__install_max = 40
irc_dictionary.$(OBJEXT) ircd.$(OBJEXT) ircd_parser.$(OBJEXT) \ am__nobase_strip_setup = \
ircd_lexer.$(OBJEXT) ircd_signal.$(OBJEXT) listener.$(OBJEXT) \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
logger.$(OBJEXT) match.$(OBJEXT) modules.$(OBJEXT) \ am__nobase_strip = \
monitor.$(OBJEXT) newconf.$(OBJEXT) operhash.$(OBJEXT) \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
packet.$(OBJEXT) parse.$(OBJEXT) privilege.$(OBJEXT) \ am__nobase_list = $(am__nobase_strip_setup); \
res.$(OBJEXT) reslib.$(OBJEXT) reject.$(OBJEXT) \ for p in $$list; do echo "$$p $$p"; done | \
restart.$(OBJEXT) s_auth.$(OBJEXT) s_conf.$(OBJEXT) \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
s_newconf.$(OBJEXT) s_serv.$(OBJEXT) s_user.$(OBJEXT) \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
scache.$(OBJEXT) send.$(OBJEXT) snomask.$(OBJEXT) \ if (++n[$$2] == $(am__install_max)) \
sslproc.$(OBJEXT) substitution.$(OBJEXT) supported.$(OBJEXT) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
tgchange.$(OBJEXT) version.$(OBJEXT) whowas.$(OBJEXT) END { for (dir in files) print dir, files[dir] }'
charybdis_OBJECTS = $(am_charybdis_OBJECTS) am__base_list = \
charybdis_LDADD = $(LDADD) sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
charybdis_DEPENDENCIES = sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
am__uninstall_files_from_dir = { \
test -z "$$files" \
|| { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
|| { echo " ( cd '$$dir' && rm -f" $$files ")"; \
$(am__cd) "$$dir" && rm -f $$files; }; \
}
am__installdirs = "$(DESTDIR)$(libcoredir)" "$(DESTDIR)$(bindir)"
LTLIBRARIES = $(libcore_LTLIBRARIES)
libcore_la_LIBADD =
am_libcore_la_OBJECTS = bandbi.lo blacklist.lo cache.lo capability.lo \
channel.lo chmode.lo class.lo client.lo extban.lo getopt.lo \
hash.lo hook.lo hostmask.lo ipv4_from_ipv6.lo \
irc_dictionary.lo ircd.lo ircd_parser.lo ircd_lexer.lo \
ircd_signal.lo listener.lo logger.lo match.lo modules.lo \
monitor.lo newconf.lo operhash.lo packet.lo parse.lo \
privilege.lo ratelimit.lo res.lo reslib.lo reject.lo \
restart.lo s_auth.lo s_conf.lo s_newconf.lo s_serv.lo \
s_user.lo scache.lo send.lo snomask.lo sslproc.lo \
substitution.lo supported.lo tgchange.lo version.lo whowas.lo
libcore_la_OBJECTS = $(am_libcore_la_OBJECTS)
AM_V_lt = $(am__v_lt_@AM_V@) AM_V_lt = $(am__v_lt_@AM_V@)
am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
am__v_lt_0 = --silent am__v_lt_0 = --silent
am__v_lt_1 = am__v_lt_1 =
libcore_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(libcore_la_LDFLAGS) $(LDFLAGS) -o $@
PROGRAMS = $(bin_PROGRAMS)
am_charybdis_OBJECTS = main.$(OBJEXT)
charybdis_OBJECTS = $(am_charybdis_OBJECTS)
charybdis_DEPENDENCIES = libcore.la
AM_V_P = $(am__v_P_@AM_V@) AM_V_P = $(am__v_P_@AM_V@)
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
am__v_P_0 = false am__v_P_0 = false
@ -181,8 +209,8 @@ AM_V_YACC = $(am__v_YACC_@AM_V@)
am__v_YACC_ = $(am__v_YACC_@AM_DEFAULT_V@) am__v_YACC_ = $(am__v_YACC_@AM_DEFAULT_V@)
am__v_YACC_0 = @echo " YACC " $@; am__v_YACC_0 = @echo " YACC " $@;
am__v_YACC_1 = am__v_YACC_1 =
SOURCES = $(charybdis_SOURCES) SOURCES = $(libcore_la_SOURCES) $(charybdis_SOURCES)
DIST_SOURCES = $(charybdis_SOURCES) DIST_SOURCES = $(libcore_la_SOURCES) $(charybdis_SOURCES)
am__can_run_installinfo = \ am__can_run_installinfo = \
case $$AM_UPDATE_INFO_DIR in \ case $$AM_UPDATE_INFO_DIR in \
n|no|NO) false;; \ n|no|NO) false;; \
@ -395,12 +423,13 @@ top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@ top_builddir = @top_builddir@
top_srcdir = @top_srcdir@ top_srcdir = @top_srcdir@
AUTOMAKE_OPTIONS = foreign AUTOMAKE_OPTIONS = foreign
libcoredir = @libdir@
AM_CPPFLAGS = @LTDLINCL@ -I$(top_srcdir)/include -I$(top_srcdir)/libratbox/include AM_CPPFLAGS = @LTDLINCL@ -I$(top_srcdir)/include -I$(top_srcdir)/libratbox/include
AM_LDFLAGS = -L$(top_srcdir)/libratbox/src -export-dynamic -avoid-version -no-undefined AM_LDFLAGS = -L$(top_srcdir)/libratbox/src -export-dynamic -avoid-version -no-undefined
AM_YFLAGS = -d AM_YFLAGS = -d
LDADD = @LIBLTDL@ -lratbox LDADD = @LIBLTDL@ -lratbox
BUILT_SOURCES = version.c BUILT_SOURCES = version.c
charybdis_SOURCES = \ libcore_la_SOURCES = \
bandbi.c \ bandbi.c \
blacklist.c \ blacklist.c \
cache.c \ cache.c \
@ -430,6 +459,7 @@ charybdis_SOURCES = \
packet.c \ packet.c \
parse.c \ parse.c \
privilege.c \ privilege.c \
ratelimit.c \
res.c \ res.c \
reslib.c \ reslib.c \
reject.c \ reject.c \
@ -449,6 +479,10 @@ charybdis_SOURCES = \
version.c \ version.c \
whowas.c whowas.c
libcore_la_LDFLAGS = $(EXTRA_FLAGS) -avoid-version
libcore_LTLIBRARIES = libcore.la
charybdis_SOURCES = main.c
charybdis_LDADD = libcore.la
all: $(BUILT_SOURCES) all: $(BUILT_SOURCES)
$(MAKE) $(AM_MAKEFLAGS) all-am $(MAKE) $(AM_MAKEFLAGS) all-am
@ -483,6 +517,47 @@ $(top_srcdir)/configure: $(am__configure_deps)
$(ACLOCAL_M4): $(am__aclocal_m4_deps) $(ACLOCAL_M4): $(am__aclocal_m4_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(am__aclocal_m4_deps): $(am__aclocal_m4_deps):
install-libcoreLTLIBRARIES: $(libcore_LTLIBRARIES)
@$(NORMAL_INSTALL)
@list='$(libcore_LTLIBRARIES)'; test -n "$(libcoredir)" || list=; \
list2=; for p in $$list; do \
if test -f $$p; then \
list2="$$list2 $$p"; \
else :; fi; \
done; \
test -z "$$list2" || { \
echo " $(MKDIR_P) '$(DESTDIR)$(libcoredir)'"; \
$(MKDIR_P) "$(DESTDIR)$(libcoredir)" || exit 1; \
echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libcoredir)'"; \
$(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libcoredir)"; \
}
uninstall-libcoreLTLIBRARIES:
@$(NORMAL_UNINSTALL)
@list='$(libcore_LTLIBRARIES)'; test -n "$(libcoredir)" || list=; \
for p in $$list; do \
$(am__strip_dir) \
echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libcoredir)/$$f'"; \
$(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libcoredir)/$$f"; \
done
clean-libcoreLTLIBRARIES:
-test -z "$(libcore_LTLIBRARIES)" || rm -f $(libcore_LTLIBRARIES)
@list='$(libcore_LTLIBRARIES)'; \
locs=`for p in $$list; do echo $$p; done | \
sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
sort -u`; \
test -z "$$locs" || { \
echo rm -f $${locs}; \
rm -f $${locs}; \
}
ircd_parser.h: ircd_parser.c
@if test ! -f $@; then rm -f ircd_parser.c; else :; fi
@if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) ircd_parser.c; else :; fi
libcore.la: $(libcore_la_OBJECTS) $(libcore_la_DEPENDENCIES) $(EXTRA_libcore_la_DEPENDENCIES)
$(AM_V_CCLD)$(libcore_la_LINK) -rpath $(libcoredir) $(libcore_la_OBJECTS) $(libcore_la_LIBADD) $(LIBS)
install-binPROGRAMS: $(bin_PROGRAMS) install-binPROGRAMS: $(bin_PROGRAMS)
@$(NORMAL_INSTALL) @$(NORMAL_INSTALL)
@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
@ -532,9 +607,6 @@ clean-binPROGRAMS:
list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
echo " rm -f" $$list; \ echo " rm -f" $$list; \
rm -f $$list rm -f $$list
ircd_parser.h: ircd_parser.c
@if test ! -f $@; then rm -f ircd_parser.c; else :; fi
@if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) ircd_parser.c; else :; fi
charybdis$(EXEEXT): $(charybdis_OBJECTS) $(charybdis_DEPENDENCIES) $(EXTRA_charybdis_DEPENDENCIES) charybdis$(EXEEXT): $(charybdis_OBJECTS) $(charybdis_DEPENDENCIES) $(EXTRA_charybdis_DEPENDENCIES)
@rm -f charybdis$(EXEEXT) @rm -f charybdis$(EXEEXT)
@ -546,53 +618,55 @@ mostlyclean-compile:
distclean-compile: distclean-compile:
-rm -f *.tab.c -rm -f *.tab.c
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bandbi.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bandbi.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/blacklist.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/blacklist.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cache.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cache.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/capability.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/capability.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/channel.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/channel.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/chmode.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/chmode.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/class.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/class.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/client.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/client.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/extban.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/extban.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getopt.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getopt.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hash.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hash.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hook.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hook.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hostmask.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hostmask.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ipv4_from_ipv6.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ipv4_from_ipv6.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irc_dictionary.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/irc_dictionary.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ircd.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ircd.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ircd_lexer.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ircd_lexer.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ircd_parser.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ircd_parser.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ircd_signal.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ircd_signal.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/listener.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/listener.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/logger.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/logger.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/match.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/main.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/modules.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/match.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/monitor.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/modules.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/newconf.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/monitor.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/operhash.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/newconf.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/packet.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/operhash.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/parse.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/packet.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/privilege.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/parse.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/reject.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/privilege.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/res.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ratelimit.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/reslib.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/reject.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/restart.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/res.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/s_auth.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/reslib.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/s_conf.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/restart.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/s_newconf.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/s_auth.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/s_serv.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/s_conf.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/s_user.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/s_newconf.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scache.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/s_serv.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/send.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/s_user.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/snomask.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scache.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sslproc.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/send.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/substitution.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/snomask.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/supported.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sslproc.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tgchange.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/substitution.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/version.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/supported.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/whowas.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tgchange.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/version.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/whowas.Plo@am__quote@
.c.o: .c.o:
@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
@ -712,9 +786,9 @@ distdir: $(DISTFILES)
check-am: all-am check-am: all-am
check: $(BUILT_SOURCES) check: $(BUILT_SOURCES)
$(MAKE) $(AM_MAKEFLAGS) check-am $(MAKE) $(AM_MAKEFLAGS) check-am
all-am: Makefile $(PROGRAMS) all-am: Makefile $(LTLIBRARIES) $(PROGRAMS)
installdirs: installdirs:
for dir in "$(DESTDIR)$(bindir)"; do \ for dir in "$(DESTDIR)$(libcoredir)" "$(DESTDIR)$(bindir)"; do \
test -z "$$dir" || $(MKDIR_P) "$$dir"; \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
done done
install: $(BUILT_SOURCES) install: $(BUILT_SOURCES)
@ -754,7 +828,8 @@ maintainer-clean-generic:
-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
clean: clean-am clean: clean-am
clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am clean-am: clean-binPROGRAMS clean-generic clean-libcoreLTLIBRARIES \
clean-libtool mostlyclean-am
distclean: distclean-am distclean: distclean-am
-rm -rf ./$(DEPDIR) -rm -rf ./$(DEPDIR)
@ -774,14 +849,15 @@ info: info-am
info-am: info-am:
install-data-am: install-data-am: install-libcoreLTLIBRARIES
install-dvi: install-dvi-am install-dvi: install-dvi-am
install-dvi-am: install-dvi-am:
install-exec-am: install-binPROGRAMS install-exec-am: install-binPROGRAMS
@$(NORMAL_INSTALL)
$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
install-html: install-html-am install-html: install-html-am
install-html-am: install-html-am:
@ -820,23 +896,26 @@ ps: ps-am
ps-am: ps-am:
uninstall-am: uninstall-binPROGRAMS uninstall-am: uninstall-binPROGRAMS uninstall-libcoreLTLIBRARIES
.MAKE: all check install install-am install-strip .MAKE: all check install install-am install-exec-am install-strip
.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean \ .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean \
clean-binPROGRAMS clean-generic clean-libtool cscopelist-am \ clean-binPROGRAMS clean-generic clean-libcoreLTLIBRARIES \
ctags ctags-am distclean distclean-compile distclean-generic \ clean-libtool cscopelist-am ctags ctags-am distclean \
distclean-libtool distclean-tags distdir dvi dvi-am html \ distclean-compile distclean-generic distclean-libtool \
html-am info info-am install install-am install-binPROGRAMS \ distclean-tags distdir dvi dvi-am html html-am info info-am \
install-data install-data-am install-dvi install-dvi-am \ install install-am install-binPROGRAMS install-data \
install-exec install-exec-am install-html install-html-am \ install-data-am install-dvi install-dvi-am install-exec \
install-info install-info-am install-man install-pdf \ install-exec-am install-exec-hook install-html install-html-am \
install-pdf-am install-ps install-ps-am install-strip \ install-info install-info-am install-libcoreLTLIBRARIES \
installcheck installcheck-am installdirs maintainer-clean \ install-man install-pdf install-pdf-am install-ps \
maintainer-clean-generic mostlyclean mostlyclean-compile \ install-ps-am install-strip installcheck installcheck-am \
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ installdirs maintainer-clean maintainer-clean-generic \
tags tags-am uninstall uninstall-am uninstall-binPROGRAMS mostlyclean mostlyclean-compile mostlyclean-generic \
mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
uninstall-am uninstall-binPROGRAMS \
uninstall-libcoreLTLIBRARIES
.PRECIOUS: Makefile .PRECIOUS: Makefile
@ -846,6 +925,9 @@ version.c: version.c.SH ../CREDITS ../include/patchlevel.h ../include/serno.h
$(CP) version.c version.c.last $(CP) version.c version.c.last
touch version.c.SH touch version.c.SH
install-exec-hook: install-libcoreLTLIBRARIES
$(RM) -f version.c
# Tell versions [3.59,3.63) of GNU make to not export all variables. # 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. # Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT: .NOEXPORT:

View file

@ -536,7 +536,7 @@ seed_random(void *unused)
* Side Effects - this is where the ircd gets going right now * Side Effects - this is where the ircd gets going right now
*/ */
int int
main(int argc, char *argv[]) charybdis_main(int argc, char *argv[])
{ {
int fd; int fd;