1 |
pippijn |
1.1 |
# Copyright © 2003-2004 E. Will et al. |
2 |
|
|
# Rights to this code are documented in doc/LICENSE. |
3 |
|
|
# |
4 |
|
|
# This file contains build instructions. |
5 |
|
|
# |
6 |
|
|
# $Id: Makefile.in,v 1.1 2007-07-11 11:04:42 pippijn Exp $ |
7 |
|
|
# |
8 |
|
|
include Makefile.defs |
9 |
|
|
|
10 |
|
|
default: all |
11 |
|
|
|
12 |
|
|
SUBDIRS = backend chanserv contrib crypto gameserv global memoserv misc nickserv operserv protocol rpc saslserv |
13 |
|
|
|
14 |
|
|
all: build |
15 |
|
|
|
16 |
|
|
.build.stamp: |
17 |
|
|
@${MAKE} ${SILENT} build |
18 |
|
|
@touch .build.stamp |
19 |
|
|
|
20 |
|
|
install: .build.stamp |
21 |
|
|
@for i in $(SUBDIRS); do \ |
22 |
|
|
echo "[$@] ==> - $$i"; \ |
23 |
|
|
${MAKE} ${SILENT} -C $$i $@ || exit; \ |
24 |
|
|
done |
25 |
|
|
-${RM} -f $(DESTDIR)${MODDIR}/modules/userserv/main.so |
26 |
|
|
|
27 |
|
|
build: |
28 |
|
|
@for i in $(SUBDIRS); do \ |
29 |
|
|
echo "[$@] ==> - $$i"; \ |
30 |
|
|
${MAKE} ${SILENT} -C $$i $@ || exit; \ |
31 |
|
|
done |
32 |
|
|
|
33 |
|
|
.PHONY: depend clean distclean |
34 |
|
|
|
35 |
|
|
depend: |
36 |
|
|
@for i in $(SUBDIRS); do \ |
37 |
|
|
echo "[$@] ==> - $$i"; \ |
38 |
|
|
touch $$i/.depend; \ |
39 |
|
|
${MAKE} ${SILENT} -C $$i $@; \ |
40 |
|
|
done |
41 |
|
|
|
42 |
|
|
clean: |
43 |
|
|
@for i in $(SUBDIRS); do \ |
44 |
|
|
echo "[$@] ==> - $$i"; \ |
45 |
|
|
${MAKE} ${SILENT} -C $$i $@ || exit; \ |
46 |
|
|
done |
47 |
|
|
@${RM} -f .build.stamp |
48 |
|
|
|
49 |
|
|
distclean: |
50 |
|
|
@for i in $(SUBDIRS); do \ |
51 |
|
|
echo "[$@] ==> - $$i"; \ |
52 |
|
|
${MAKE} ${SILENT} -C $$i $@ || exit; \ |
53 |
|
|
done |
54 |
|
|
@${RM} -f Makefile Makefile.defs Makefile.common .depend |
55 |
|
|
|
56 |
|
|
maintainer-clean: |
57 |
|
|
@for i in $(SUBDIRS); do \ |
58 |
|
|
echo "[$@] ==> - $$i"; \ |
59 |
|
|
${MAKE} ${SILENT} -C $$i $@ || exit; \ |
60 |
|
|
done |
61 |
|
|
@${RM} -f Makefile Makefile.defs Makefile.common .depend |