# Change this later! -- adrian
automoduledir = @moduledir@/autoload
-INCLUDES = -I../include -I../libcharybdis -I../adns $(SSL_INCLUDES)
+INCLUDES = -I../include -I../libratbox/include $(SSL_INCLUDES)
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 = \
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 \
@$(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