ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/ermyth/modules/Makefile.in
Revision: 1.5
Committed: Sat Sep 22 14:27:26 2007 UTC (16 years, 7 months ago) by pippijn
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +7 -3 lines
Log Message:
split up ermyth into ermyth-modules, libermyth (currently just ermyth-util) and ermyth-core

File Contents

# Content
1 # Makefile.in: This file contains build instructions.
2 #
3 # Copyright © 2007 Pippijn van Steenhoven / The Ermyth Team
4 # Rights to this code are as documented in COPYING.
5 #
6 #
7 # Portions of this file were derived from sources bearing the following license:
8 # Copyright © 2003-2004 E. Will et al.
9 # Rights to this code are documented in doc/pod/license.pod.
10 #
11 # $Id: Makefile.in,v 1.4 2007-08-28 22:18:30 pippijn Exp $
12 #
13
14 include Makefile.defs
15
16 default: all
17
18 SUBDIRS = backend chanserv contrib crypto gameserv global memoserv misc nickserv operserv protocol rpc saslserv
19
20 all: build
21
22 .build.stamp:
23 @${MAKE} ${SILENT} build
24 @touch .build.stamp
25
26 install: .build.stamp
27 @for i in $(SUBDIRS); do \
28 echo "[$@] ==> - $$i"; \
29 ${MAKE} ${SILENT} -C $$i $@ || exit; \
30 done
31 @${INSTALL} -m 755 -c ${SRCDIR}/libservices.so $(DESTDIR)$(bindir)
32
33 build:
34 @for i in $(SUBDIRS); do \
35 echo "[$@] ==> - $$i"; \
36 ${MAKE} ${SILENT} -C $$i $@ || exit; \
37 done
38 @echo " LD libservices.so"
39 @${CXX} ${PICFLAGS} `cat */.objects` ${PERLLIB} ${LDFLAGS} -o ${SRCDIR}/libservices.so
40
41 .PHONY: depend clean distclean
42
43 depend:
44 @for i in $(SUBDIRS); do \
45 echo "[$@] ==> - $$i"; \
46 touch $$i/.depend; \
47 ${MAKE} ${SILENT} -C $$i $@; \
48 done
49
50 clean:
51 @for i in $(SUBDIRS); do \
52 echo "[$@] ==> - $$i"; \
53 ${MAKE} ${SILENT} -C $$i $@ || exit; \
54 done
55 @${RM} -f .build.stamp libservices.so
56
57 distclean:
58 @for i in $(SUBDIRS); do \
59 echo "[$@] ==> - $$i"; \
60 ${MAKE} ${SILENT} -C $$i $@ || exit; \
61 done
62 @${RM} -f .build.stamp libservices.so Makefile Makefile.defs Makefile.common
63
64 maintainer-clean:
65 @for i in $(SUBDIRS); do \
66 echo "[$@] ==> - $$i"; \
67 ${MAKE} ${SILENT} -C $$i $@ || exit; \
68 done
69 @${RM} -f .build.stamp libservices.so Makefile Makefile.defs Makefile.common .depend .objects