ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cvsroot/ermyth/modules/misc/Makefile.in
Revision: 1.5
Committed: Sun Sep 9 20:05:51 2007 UTC (19 years, 2 months ago) by pippijn
Branch: MAIN
Changes since 1.4: +2 -2 lines
Log Message:
- changed configurations to the c++ stdlib
- more #defines to enum
- removed getopt.h and link.h from the system as they were unused
- reworked logstreams
- added an itoa with old syntax
- made klines objects
- moved some global variables into appropriate classes
- fixed boost.foreach's compiler workaround #if's
- allow other files to add exceptions with ADD_EXCEPTION
- changed mynick_t to c++ object
- moved servers.h out of atheme.h
- corrected PING from inspircd 1.2

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.5 # $Id: Makefile.in,v 1.4 2007-08-28 17:08:09 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.5 ${CXX} -c ${PICFLAGS} ${CXXFLAGS} ${CPPFLAGS} ${PERLFLAGS} $< -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