IRCDLIBS = @LIBS@ $(SSL_LIBS)
prefix = @prefix@
+exec_prefix = @exec_prefix@
+libdir = @libdir@
+pkglibdir = @pkglibdir@
moduledir = @moduledir@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
# Change this later! -- adrian
automoduledir = @moduledir@/autoload
CPPFLAGS = ${INCLUDES} @CPPFLAGS@
CORE_SRCS = \
+ core/m_ban.c \
core/m_die.c \
core/m_error.c \
core/m_join.c \
core/m_part.c \
core/m_quit.c \
core/m_server.c \
- core/m_sjoin.c \
core/m_squit.c
TSRCS = \
+ chm_nocolour.c \
+ chm_noctcp.c \
m_accept.c \
m_admin.c \
m_away.c \
m_cap.c \
m_capab.c \
+ m_certfp.c \
m_challenge.c \
m_chghost.c \
m_close.c \
m_dline.c \
m_encap.c \
m_etrace.c \
- m_gline.c \
m_help.c \
m_info.c \
m_invite.c \
m_set.c \
m_signon.c \
m_snote.c \
+ m_starttls.c \
m_stats.c \
m_svinfo.c \
m_tb.c \
m_testline.c \
m_testmask.c \
+ m_tginfo.c \
m_time.c \
m_topic.c \
m_trace.c \
install-mkdirs:
@echo "ircd: setting up modular directory structure"
- -@if test ! -d $(DESTDIR)$(moduledir); then \
- mkdir $(DESTDIR)$(moduledir); \
- fi
-@if test -d $(DESTDIR)$(moduledir)-old; then \
rm -rf $(DESTDIR)$(moduledir)-old; \
fi
${CC} ${CPPFLAGS} ${CFLAGS} -DMODNAME=`basename $< .c`_mheader -c $< -o $@
.c.so:
- ${CC} ${PICFLAGS} ${CPPFLAGS} ${CFLAGS} $< -o $@
+ ${CC} ${PICFLAGS} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} $< -o $@
.so.sl:
$(LD) -b $< -o $@
@$(RM) -f .depend
${MKDEP} ${CPPFLAGS} ${ALL_SRCS} > .depend
@$(SED) -e '${SEDOBJ}' < .depend > .depend.tmp-1
- @$(SED) -e 's/^m_\(die\|kick\|kill\|message\|mode\|nick\|part\|quit\|server\|sjoin\|squit\)/core\/m_\1/' .depend.tmp-1 > .depend.tmp
+ @$(SED) -e 's#^m_die\.#core/&#' -e 's#^m_error\.#core/&#' -e 's#^m_join\.#core/&#' -e 's#^m_kick\.#core/&#' -e 's#^m_kill\.#core/&#' -e 's#^m_message\.#core/&#' -e 's#^m_mode\.#core/&#' -e 's#^m_nick\.#core/&#' -e 's#^m_part\.#core/&#' -e 's#^m_quit\.#core/&#' -e 's#^m_server\.#core/&#' -e 's#^m_squit\.#core/&#' .depend.tmp-1 > .depend.tmp
@$(MV) -f .depend.tmp .depend
@$(RM) -f .depend.tmp-1