summaryrefslogtreecommitdiffstats
path: root/branches/lydia/xmlrpc++/Makefile
blob: bc8080ae2b0b8482ea17f8442360fd38f1b8a7c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# makefile written for gnu make
CXX		= g++
CXXFLAGS	= -Wall -ggdb
VERSION		= 0.8
LIB		= ./libxmlrpc++.a

# Add your system-dependent network libs here. These are
# only used to build the tests (your application will need them too).
# Linux: none
# Solaris: -lsocket -lnsl
#SYSTEMLIBS	= -lsocket -lnsl
SYSTEMLIBS	=
LDLIBS		= $(LIB) $(SYSTEMLIBS)

OBJ		= XmlRpcClient.o XmlRpcDispatch.o \
		  XmlRpcServer.o XmlRpcServerConnection.o \
		  XmlRpcServerMethod.o XmlRpcSocket.o XmlRpcSource.o \
		  XmlRpcUtil.o XmlRpcValue.o

all:		$(LIB)

$(LIB):		$(OBJ)
		$(AR) $(ARFLAGS) $(LIB) $(OBJ)

doc doxygen:
		doxygen Doxyfile

distclean: clean

clean:
		rm -f *.o
		rm -f *~
		rm -f $(LIB)