Some fixes to .depend generation.

This commit is contained in:
Jilles Tjoelker 2008-07-12 01:52:14 +02:00
parent 808749a9c2
commit baacec4186
2 changed files with 2 additions and 2 deletions

View file

@ -203,7 +203,7 @@ depend:
@$(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

View file

@ -144,7 +144,7 @@ version.c: version.c.SH
.PHONY: depend clean distclean
depend:
${MKDEP} ${CPPFLAGS} ${BASE_SRCS} > .depend
${MKDEP} ${CPPFLAGS} ${SRCS} > .depend
clean:
${RM} -f *.o *.exe *~ y.tab.* lex.yy.c ircd.core core ircd