ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cvsroot/ermyth/modules/rpc/Makefile.in
Revision: 1.2
Committed: Sat Jul 21 01:29:10 2007 UTC (19 years, 2 months ago) by pippijn
Branch: MAIN
Changes since 1.1: +2 -2 lines
Log Message:
- moved to new documentation system
- fixed small build error

File Contents

# User Rev Content
1 pippijn 1.1 # Copyright © 2003-2004 E. Will et al.
2 pippijn 1.2 # Rights to this code are documented in doc/pod/license.pod.
3 pippijn 1.1 #
4     # This file contains build instructions.
5     #
6 pippijn 1.2 # $Id: Makefile.in,v 1.1 2007-07-19 08:24:55 pippijn Exp $
7 pippijn 1.1 #
8    
9     MODULE = rpc
10    
11     include ../Makefile.defs
12    
13     default: all build
14    
15     MODULES = \
16     $(SRCDIR)/httpd.so \
17     $(SRCDIR)/jsonrpc.so \
18     $(SRCDIR)/xmlrpc.so
19    
20     build: ${MODULES}
21    
22     CXXFLAGS += -I$(SRCDIR)/include
23    
24     JSON_SRCS = \
25     $(SRCDIR)/jsonrpc.C \
26     $(SRCDIR)/json/iterator.C \
27     $(SRCDIR)/json/reader.C \
28     $(SRCDIR)/json/value.C \
29     $(SRCDIR)/json/writer.C \
30     $(SRCDIR)/json/rpc.C
31    
32     JSON_OBJS = ${JSON_SRCS:.C=.o}
33    
34     XML_SRCS = \
35     $(SRCDIR)/xmlrpc.C \
36     $(SRCDIR)/xml/rpc.C
37    
38     XML_OBJS = ${XML_SRCS:.C=.o}
39    
40     EXTRA_SRCS = ${JSON_SRCS} ${XML_SRCS}
41    
42     include ../Makefile.common
43    
44     ${SRCDIR}/jsonrpc.so: ${JSON_OBJS}
45     @echo " LD $@"
46     @${CXX} ${CXXFLAGS} ${PICFLAGS} ${CPPFLAGS} ${LDFLAGS} ${JSON_OBJS} -o $@
47    
48     ${SRCDIR}/xmlrpc.so: ${XML_OBJS}
49     @echo " LD $@"
50     @${CXX} ${CXXFLAGS} ${PICFLAGS} ${CPPFLAGS} ${LDFLAGS} ${XML_OBJS} -o $@
51    
52     extra-clean:
53     @${RM} -f ${JSON_OBJS} ${XML_OBJS} ${MODULES}