]> git.stg.codes - stg.git/blob - projects/stargazer/plugins/configuration/rpcconfig/Makefile
Remove 'stg' prefixes from headers and add it to libraries
[stg.git] / projects / stargazer / plugins / configuration / rpcconfig / Makefile
1 ###############################################################################
2 # $Id: Makefile,v 1.10 2009/08/03 10:25:40 faust Exp $
3 ###############################################################################
4
5 include ../../../../../Makefile.conf
6
7 PROG = mod_conf_rpc.so
8
9 SRCS = ./rpcconfig.cpp \
10        ./user_helper.cpp \
11        ./tariff_helper.cpp \
12        ./info_methods.cpp \
13        ./users_methods.cpp \
14        ./tariffs_methods.cpp \
15        ./admins_methods.cpp \
16        ./messages_methods.cpp
17
18 XMLRPC_C_LIBS = $(shell xmlrpc-c-config c++2 abyss-server --libs)
19
20 LIBS += $(XMLRPC_C_LIBS) \
21         $(LIB_THREAD)
22
23 ifneq ($(OS),linux)
24 LIBS += -liconv
25 endif
26
27 STGLIBS = -lstgcommon -lstglogger
28
29 include ../../Makefile.in
30