ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/ermyth/modules/Makefile.in
Revision: 1.4
Committed: Tue Aug 28 22:18:30 2007 UTC (16 years, 9 months ago) by pippijn
Branch: MAIN
Changes since 1.3: +3 -3 lines
Log Message:
added type traits

File Contents

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