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, 8 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

# User Rev Content
1 pippijn 1.5 # Makefile.in: This file contains build instructions.
2     #
3 pippijn 1.3 # Copyright © 2007 Pippijn van Steenhoven / The Ermyth Team
4 pippijn 1.5 # 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 pippijn 1.1 # Copyright © 2003-2004 E. Will et al.
9 pippijn 1.2 # Rights to this code are documented in doc/pod/license.pod.
10 pippijn 1.1 #
11 pippijn 1.5 # $Id: Makefile.in,v 1.4 2007-08-28 22:18:30 pippijn Exp $
12 pippijn 1.1 #
13 pippijn 1.3
14 pippijn 1.1 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 pippijn 1.3 @${INSTALL} -m 755 -c ${SRCDIR}/libservices.so $(DESTDIR)$(bindir)
32 pippijn 1.1
33     build:
34     @for i in $(SUBDIRS); do \
35     echo "[$@] ==> - $$i"; \
36     ${MAKE} ${SILENT} -C $$i $@ || exit; \
37     done
38 pippijn 1.3 @echo " LD libservices.so"
39     @${CXX} ${PICFLAGS} `cat */.objects` ${PERLLIB} ${LDFLAGS} -o ${SRCDIR}/libservices.so
40 pippijn 1.1
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 pippijn 1.3 @${RM} -f .build.stamp libservices.so
56 pippijn 1.1
57     distclean:
58     @for i in $(SUBDIRS); do \
59     echo "[$@] ==> - $$i"; \
60     ${MAKE} ${SILENT} -C $$i $@ || exit; \
61     done
62 pippijn 1.4 @${RM} -f .build.stamp libservices.so Makefile Makefile.defs Makefile.common
63 pippijn 1.1
64     maintainer-clean:
65     @for i in $(SUBDIRS); do \
66     echo "[$@] ==> - $$i"; \
67     ${MAKE} ${SILENT} -C $$i $@ || exit; \
68     done
69 pippijn 1.4 @${RM} -f .build.stamp libservices.so Makefile Makefile.defs Makefile.common .depend .objects