ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/ermyth/modules/Makefile.in
Revision: 1.3
Committed: Tue Aug 28 17:08:07 2007 UTC (19 years ago) by pippijn
Branch: MAIN
Changes since 1.2: +7 -3 lines
Log Message:
- changed name
- updated the example config to the new system
- added more documentation
- enhanced documentation generators
- added a link to the pdf to the website
- added an RSS feed generator
- transitioned hooks to c++ callbacks
- did various merges with upstream along the way
- added const where appropriate
- removed the old block allocator
- fixed most memory leaks
- transitioned some dictionaries to std::map
- transitioned some lists to std::vector
- made some free functions members where appropriate
- renamed string to dynstr and added a static string ststr
- use NOW instead of time (NULL) if possible
- completely reworked database backends, crypto handlers and protocol handlers
  to use an object factory
- removed the old module system. ermyth does not do any dynamic loading anymore
- fixed most of the build system
- reworked how protocol commands work

File Contents

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