ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cvsroot/ermyth/modules/misc/Makefile.in
Revision: 1.4
Committed: Tue Aug 28 17:08:09 2007 UTC (19 years, 1 month ago) by pippijn
Branch: MAIN
Changes since 1.3: +8 -7 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.4 # 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.4 # $Id: Makefile.in,v 1.3 2007-07-21 15:12:25 pippijn Exp $
8 pippijn 1.1 #
9    
10     MODULE = misc
11    
12     include ../Makefile.defs
13    
14     BASE_SRCS = \
15     $(SRCDIR)/svsperl.C
16    
17     include ../Makefile.common
18    
19     $(SRCDIR)/svsperl.C: $(SRCDIR)/svsperl.xs $(SRCDIR)/svsperl/typemap
20    
21 pippijn 1.4 $(SRCDIR)/svsperl.o: $(SRCDIR)/svsperl.C
22 pippijn 1.1 @if [ "${HAVE_PERL}" = "yes" ]; then \
23     echo " LD $@"; \
24 pippijn 1.4 ${CXX} -c ${PERLFLAGS} ${PICFLAGS} ${CPPFLAGS} `echo ${CXXFLAGS} | sed -e 's/-pedantic//g;s/-Wall//g'` $< -o $@; \
25 pippijn 1.1 else \
26 pippijn 1.4 echo "Not compiling perl module"; \
27 pippijn 1.1 fi
28    
29     $(SRCDIR)/svsperl.C: $(SRCDIR)/svsperl.xs $(SRCDIR)/svsperl/typemap $(SRCDIR)/perlxsi.c $(SRCDIR)/svsperl/genacc
30     @if [ "${HAVE_PERL}" = "yes" ]; then \
31 pippijn 1.4 echo "Generating $@"; \
32 pippijn 1.1 PERL="${PERL}" SRCDIR="${SRCDIR}" \
33 pippijn 1.3 ${PERL} ${PERLPRIVLIBEXP}/ExtUtils/xsubpp -C++ -csuffix .C \
34     -typemap ${PERLPRIVLIBEXP}/ExtUtils/typemap -typemap $(SRCDIR)/svsperl/typemap \
35 pippijn 1.1 -prototypes $< > $@; \
36     else \
37 pippijn 1.4 echo "Not generating $@"; \
38 pippijn 1.1 echo -n > $@; \
39     fi
40    
41     $(SRCDIR)/perlxsi.c:
42     @${PERL} -MExtUtils::Embed -e xsinit -- -std svs
43    
44     extra-clean:
45     @${RM} -f svsperl.C perlxsi.c
46    
47 pippijn 1.4 install:
48 pippijn 1.1 @$(INSTALL) -m 755 -d $(DESTDIR)$(sysconfdir)
49     @$(INSTALL) -m 640 -c $(SRCDIR)/svsperl/svs.pm ${sysconfdir}
50    
51     depend: ${SRCDIR}/svsperl.C