# Copyright © 2007 Pippijn van Steenhoven / The Ermyth Team # Copyright © 2003-2004 E. Will et al. # Rights to this code are documented in doc/pod/license.pod. # # This file contains build instructions. # # $Id: Makefile.in,v 1.3 2007/08/28 17:08:07 pippijn Exp $ # include Makefile.defs default: all SUBDIRS = backend chanserv contrib crypto gameserv global memoserv misc nickserv operserv protocol rpc saslserv all: build .build.stamp: @${MAKE} ${SILENT} build @touch .build.stamp install: .build.stamp @for i in $(SUBDIRS); do \ echo "[$@] ==> - $$i"; \ ${MAKE} ${SILENT} -C $$i $@ || exit; \ done @${INSTALL} -m 755 -c ${SRCDIR}/libservices.so $(DESTDIR)$(bindir) build: @for i in $(SUBDIRS); do \ echo "[$@] ==> - $$i"; \ ${MAKE} ${SILENT} -C $$i $@ || exit; \ done @echo " LD libservices.so" @${CXX} ${PICFLAGS} `cat */.objects` ${PERLLIB} ${LDFLAGS} -o ${SRCDIR}/libservices.so .PHONY: depend clean distclean depend: @for i in $(SUBDIRS); do \ echo "[$@] ==> - $$i"; \ touch $$i/.depend; \ ${MAKE} ${SILENT} -C $$i $@; \ done clean: @for i in $(SUBDIRS); do \ echo "[$@] ==> - $$i"; \ ${MAKE} ${SILENT} -C $$i $@ || exit; \ done @${RM} -f .build.stamp libservices.so distclean: @for i in $(SUBDIRS); do \ echo "[$@] ==> - $$i"; \ ${MAKE} ${SILENT} -C $$i $@ || exit; \ done @${RM} -f Makefile Makefile.defs Makefile.common .depend maintainer-clean: @for i in $(SUBDIRS); do \ echo "[$@] ==> - $$i"; \ ${MAKE} ${SILENT} -C $$i $@ || exit; \ done @${RM} -f Makefile Makefile.defs Makefile.common .depend