-add_subdirectory ( authorization )
-add_subdirectory ( capture )
-add_subdirectory ( configuration )
-add_subdirectory ( other )
-add_subdirectory ( store )
+if ( BUILD_MOD_AO )
+ add_library ( mod_auth_ao MODULE authorization/ao/ao.cpp )
+ target_link_libraries ( mod_auth_ao scriptexecuter logger common )
+ set_target_properties ( mod_auth_ao PROPERTIES PREFIX "" )
+endif ( BUILD_MOD_AO )
+
+if ( BUILD_MOD_IA )
+ add_library ( mod_auth_ia MODULE authorization/inetaccess/inetaccess.cpp )
+ target_link_libraries ( mod_auth_ia scriptexecuter crypto logger common )
+ set_target_properties ( mod_auth_ia PROPERTIES PREFIX "" )
+endif ( BUILD_MOD_IA )
+
+if ( BUILD_MOD_CAP_NF )
+ add_library ( mod_cap_nf MODULE capture/cap_nf/cap_nf.cpp )
+ target_link_libraries ( mod_cap_nf logger common )
+ set_target_properties ( mod_cap_nf PROPERTIES PREFIX "" )
+endif ( BUILD_MOD_CAP_NF )
+
+if ( BUILD_MOD_CAP_DIVERT )
+ add_library ( mod_cap_divert MODULE capture/divert_freebsd/divert_cap.cpp )
+ target_link_libraries ( mod_cap_divert logger common )
+ set_target_properties ( mod_cap_divert PROPERTIES PREFIX "" )
+endif ( BUILD_MOD_CAP_DIVERT )
+
+if ( BUILD_MOD_CAP_ETHER_FREEBSD )
+ add_library ( mod_cap_bpf MODULE capture/ether_freebsd/ether_cap.cpp )
+ target_link_libraries ( mod_cap_bpf logger common )
+ set_target_properties ( mod_cap_bpf PROPERTIES PREFIX "" )
+endif ( BUILD_MOD_CAP_ETHER_FREEBSD )
+
+if ( BUILD_MOD_CAP_ETHER_LINUX )
+ add_library ( mod_cap_ether MODULE capture/ether_linux/ether_cap.cpp )
+ target_link_libraries ( mod_cap_ether logger common )
+ set_target_properties ( mod_cap_ether PROPERTIES PREFIX "" )
+endif ( BUILD_MOD_CAP_ETHER_LINUX )
+
+if ( BUILD_MOD_CAP_PCAP )
+ find_package ( PCap REQUIRED )
+ add_library ( mod_cap_pcap MODULE capture/pcap/pcap_cap.cpp )
+ target_link_libraries ( mod_cap_pcap logger common PCap::PCap )
+ set_target_properties ( mod_cap_pcap PROPERTIES PREFIX "" )
+endif ( BUILD_MOD_CAP_PCAP )
+
+if ( BUILD_MOD_CAP_NFQUEUE )
+ find_package ( NFQueue REQUIRED )
+ find_package ( NFNetLink REQUIRED )
+ find_package ( MNL REQUIRED )
+ add_library ( mod_cap_nfqueue MODULE capture/nfqueue/nfqueue.cpp )
+ target_link_libraries ( mod_cap_nfqueue logger common NF::Queue NF::NetLink MNL::MNL )
+ set_target_properties ( mod_cap_nfqueue PROPERTIES PREFIX "" )
+endif ( BUILD_MOD_CAP_NFQUEUE )
+
+if ( BUILD_MOD_SGCONFIG )
+ find_package ( EXPAT REQUIRED )
+ add_library ( mod_conf_sg MODULE configuration/sgconfig/stgconfig.cpp
+ configuration/sgconfig/conn.cpp
+ configuration/sgconfig/configproto.cpp
+ configuration/sgconfig/parser.cpp
+ configuration/sgconfig/parser_tariffs.cpp
+ configuration/sgconfig/parser_admins.cpp
+ configuration/sgconfig/parser_users.cpp
+ configuration/sgconfig/parser_services.cpp
+ configuration/sgconfig/parser_message.cpp
+ configuration/sgconfig/parser_auth_by.cpp
+ configuration/sgconfig/parser_user_info.cpp
+ configuration/sgconfig/parser_server_info.cpp )
+ target_link_libraries ( mod_conf_sg scriptexecuter crypto logger common EXPAT::EXPAT )
+ set_target_properties ( mod_conf_sg PROPERTIES PREFIX "" )
+endif ( BUILD_MOD_SGCONFIG )
+
+if ( BUILD_MOD_RPCCONFIG )
+ find_package ( XMLRPC REQUIRED c++ abyss-server )
+ add_library ( mod_conf_rpc MODULE configuration/rpcconfig/rpcconfig.cpp
+ configuration/rpcconfig/user_helper.cpp
+ configuration/rpcconfig/tariff_helper.cpp
+ configuration/rpcconfig/info_methods.cpp
+ configuration/rpcconfig/users_methods.cpp
+ configuration/rpcconfig/tariffs_methods.cpp
+ configuration/rpcconfig/admins_methods.cpp
+ configuration/rpcconfig/messages_methods.cpp )
+ target_link_libraries ( mod_conf_rpc scriptexecuter logger common xmlrpc_server_abyss++ )
+ set_target_properties ( mod_conf_rpc PROPERTIES PREFIX "" )
+endif ( BUILD_MOD_RPCCONFIG )
+
+if ( BUILD_MOD_PING )
+ add_library ( mod_ping MODULE other/ping/ping.cpp )
+ target_link_libraries ( mod_ping scriptexecuter logger pinger common )
+ set_target_properties ( mod_ping PROPERTIES PREFIX "" )
+endif ( BUILD_MOD_PING )
+
+if ( BUILD_MOD_RADIUS )
+ find_package ( YAJL REQUIRED )
+ add_library ( mod_radius MODULE other/radius/radius.cpp
+ other/radius/config.cpp
+ other/radius/conn.cpp )
+ target_link_libraries ( mod_radius logger json common YAJL::YAJL )
+ set_target_properties ( mod_radius PROPERTIES PREFIX "" )
+endif ( BUILD_MOD_RADIUS )
+
+if ( BUILD_MOD_RSCRYPT )
+ add_library ( mod_remote_script MODULE other/rscript/rscript.cpp other/rscript/nrmap_parser.cpp )
+ target_link_libraries ( mod_remote_script crypto scriptexecuter logger common )
+ set_target_properties ( mod_remote_script PROPERTIES PREFIX "" )
+endif ( BUILD_MOD_RSCRYPT )
+
+if ( BUILD_MOD_SMUX )
+ add_library ( mod_smux MODULE other/smux/smux.cpp
+ other/smux/sensors.cpp
+ other/smux/tables.cpp
+ other/smux/handlers.cpp
+ other/smux/utils.cpp
+ other/smux/types.cpp )
+ target_link_libraries ( mod_smux scriptexecuter logger smux common )
+ set_target_properties ( mod_smux PROPERTIES PREFIX "" )
+endif ( BUILD_MOD_SMUX )
+
+if ( BUILD_MOD_STORE_FILES )
+ add_library ( mod_store_files MODULE store/files/file_store.cpp )
+ target_link_libraries ( mod_store_files crypto conffiles logger common )
+ set_target_properties ( mod_store_files PROPERTIES PREFIX "" )
+endif ( BUILD_MOD_STORE_FILES )
+
+if ( BUILD_MOD_STORE_FIREBIRD )
+ find_package ( FBClient REQUIRED )
+ add_library ( mod_store_firebird MODULE store/firebird/firebird_store.cpp
+ store/firebird/firebird_store_admins.cpp
+ store/firebird/firebird_store_corporations.cpp
+ store/firebird/firebird_store_messages.cpp
+ store/firebird/firebird_store_services.cpp
+ store/firebird/firebird_store_tariffs.cpp
+ store/firebird/firebird_store_users.cpp
+ store/firebird/firebird_store_utils.cpp )
+ target_link_libraries ( mod_store_firebird crypto common logger ibpp FBClient::FBClient )
+ set_target_properties ( mod_store_firebird PROPERTIES PREFIX "" )
+endif ( BUILD_MOD_STORE_FIREBIRD )
+
+if ( BUILD_MOD_STORE_MYSQL )
+ find_package ( MySQLConnector REQUIRED )
+ add_library ( mod_store_mysql MODULE store/mysql/mysql_store.cpp )
+ target_link_libraries ( mod_store_mysql crypto logger common MySQL::Connector )
+ set_target_properties ( mod_store_mysql PROPERTIES PREFIX "" )
+endif ( BUILD_MOD_STORE_MYSQL )
+
+if ( BUILD_MOD_STORE_POSTGRESQL )
+ find_package ( PostgreSQL REQUIRED )
+ add_library ( mod_store_postgresql MODULE store/postgresql/postgresql_store.cpp
+ store/postgresql/postgresql_store_admins.cpp
+ store/postgresql/postgresql_store_corporations.cpp
+ store/postgresql/postgresql_store_messages.cpp
+ store/postgresql/postgresql_store_services.cpp
+ store/postgresql/postgresql_store_tariffs.cpp
+ store/postgresql/postgresql_store_users.cpp
+ store/postgresql/postgresql_store_utils.cpp )
+ target_link_libraries ( mod_store_postgresql crypto logger common PostgreSQL::PostgreSQL )
+ set_target_properties ( mod_store_postgresql PROPERTIES PREFIX "" )
+endif ( BUILD_MOD_STORE_POSTGRESQL )
+++ /dev/null
-###############################################################################
-# $Id: Makefile,v 1.1 2007/09/26 13:55:45 faust Exp $
-###############################################################################
-
-include ../../../Makefile.conf
-
-.PHONY: clean install uninstall
-.PHONY: all $(PLUGINS)
-
-all: $(PLUGINS)
-
-$(PLUGINS):
- $(MAKE) $(MAKECMDGOALS) -C $@
-
-clean: all
-
-install: all
-
-uninstall: all
-
+++ /dev/null
-###############################################################################
-# $Id: Makefile.in,v 1.11 2009/03/03 15:49:35 faust Exp $
-###############################################################################
-
-SEARCH_DIRS = -I $(DIR_INCLUDE)
-
-OBJS = $(notdir $(patsubst %.cpp, %.o, $(patsubst %.c, %.o, $(SRCS))))
-
-LN = ln
-
-STGLIBS_INCS = $(addprefix -I ../../../../../stglibs/,$(addsuffix .lib/include,$(STGLIBS)))
-STGLIBS_PATHS = $(addprefix -L ../../../../../stglibs/,$(addsuffix .lib,$(STGLIBS)))
-
-STGLIBS_LIBS = $(addprefix -lstg,$(STGLIBS))
-
-CXXFLAGS += -fPIC $(DEFS) $(SEARCH_DIRS) $(STGLIBS_INCS)
-CFLAGS += -fPIC $(DEFS) $(SEARCH_DIRS) $(STGLIBS_INCS)
-
-ifneq ($(OS),darwin)
-LDFLAGS += -shared -Wl,-rpath,$(PREFIX)/usr/lib/stg
-else
-LDFLAGS += -dynamiclib -undefined suppress -flat_namespace -Wl,-rpath,$(PREFIX)/usr/lib/stg
-endif
-
-all: $(PROG)
-
-$(PROG): $(OBJS)
- $(CXX) $^ $(LDFLAGS) $(STGLIBS_PATHS) $(STGLIBS_LIBS) $(LIBS) -o $(PROG)
- $(LN) -fs "`pwd`/$(PROG)" $(DIR_MOD)/$(PROG)
-
-clean:
- rm -f deps $(PROG) *.o tags *.*~
-
-install: $(PROG)
- mkdir -m $(DIR_MODE) -p $(PREFIX)/usr/lib/stg
-ifeq ($(DEBUG), yes)
- install -m $(BIN_MODE) -o $(OWNER) $(PROG) $(PREFIX)/usr/lib/stg/$(PROG)
-else
- install -m $(BIN_MODE) -o $(OWNER) -s $(PROG) $(PREFIX)/usr/lib/stg/$(PROG)
-endif
-
-uninstall:
- rm -f $(PREFIX)/usr/lib/stg/$(PROG)
-
-ifneq ($(MAKECMDGOALS),clean)
-ifneq ($(MAKECMDGOALS),uninstall)
--include deps
-endif
-endif
-
-deps: $(SRCS) ../../../../../Makefile.conf
- @>deps ;\
- for file in $(SRCS); do\
- echo "$$file" | grep ".c$$" > /dev/null;\
- if [ $$? -eq 0 ];\
- then\
- echo "`$(CC) $(CFLAGS) $(DEFS) $(SEARCH_DIRS) -MM $$file` Makefile ../../../../../Makefile.conf" >> deps ;\
- printf '%b\n' '\t$$(CC) -c $$< $(CFLAGS) $(SEARCH_DIRS) $(DEFS)' >> deps ;\
- else\
- echo "`$(CXX) $(CXXFLAGS) $(DEFS) $(SEARCH_DIRS) -MM $$file` Makefile ../../../../../Makefile.conf" >> deps ;\
- printf '%b\n' '\t$$(CXX) -c $$< $(CXXFLAGS) $(SEARCH_DIRS) $(DEFS)' >> deps ;\
- fi;\
- done
+++ /dev/null
-if ( BUILD_MOD_AO )
- add_subdirectory ( ao )
-endif ( BUILD_MOD_AO )
-
-if ( BUILD_MOD_IA )
- add_subdirectory ( inetaccess )
-endif ( BUILD_MOD_IA )
+++ /dev/null
-set ( CPP_FILES ao.cpp )
-
-add_library ( mod_auth_ao MODULE ${CPP_FILES} )
-
-target_link_libraries ( mod_auth_ao scriptexecuter logger common )
+++ /dev/null
-###############################################################################
-# $Id: Makefile,v 1.10 2008/12/04 15:41:03 faust Exp $
-###############################################################################
-
-include ../../../../../Makefile.conf
-
-PROG = mod_auth_ao.so
-
-SRCS = ./ao.cpp
-
-STGLIBS = scriptexecuter \
- logger \
- common
-
-include ../../Makefile.in
-
+++ /dev/null
-set ( CPP_FILES inetaccess.cpp )
-
-add_library ( mod_auth_ia MODULE ${CPP_FILES} )
-
-target_link_libraries ( mod_auth_ia scriptexecuter crypto logger common )
+++ /dev/null
-###############################################################################
-# $Id: Makefile,v 1.10 2010/02/16 11:41:00 faust Exp $
-###############################################################################
-
-include ../../../../../Makefile.conf
-
-LIBS += $(LIB_THREAD)
-
-PROG = mod_auth_ia.so
-
-SRCS = ./inetaccess.cpp
-
-STGLIBS = common \
- crypto \
- logger \
- scriptexecuter
-
-include ../../Makefile.in
-
+++ /dev/null
-if ( BUILD_MOD_CAP_NF )
- add_subdirectory ( cap_nf )
-endif ( BUILD_MOD_CAP_NF )
-
-if ( BUILD_MOD_CAP_ETHER_LINUX )
- add_subdirectory ( ether_linux )
-endif ( BUILD_MOD_CAP_ETHER_LINUX )
-
-if ( BUILD_MOD_CAP_ETHER_FREEBSD )
- add_subdirectory ( ether_freebsd )
-endif ( BUILD_MOD_CAP_ETHER_FREEBSD )
-
-if ( BUILD_MOD_CAP_DIVERT )
- add_subdirectory ( divert_freebsd )
-endif ( BUILD_MOD_CAP_DIVERT )
-
-if ( BUILD_MOD_CAP_PCAP )
- add_subdirectory ( pcap )
-endif ( BUILD_MOD_CAP_PCAP )
-
-if ( BUILD_MOD_CAP_NFQUEUE )
- add_subdirectory ( nfqueue )
-endif ( BUILD_MOD_CAP_NFQUEUE )
+++ /dev/null
-set ( CPP_FILES cap_nf.cpp )
-
-add_library ( mod_cap_nf MODULE ${CPP_FILES} )
-
-target_link_libraries ( mod_cap_nf logger common )
+++ /dev/null
-###############################################################################
-# $Id: Makefile,v 1.2 2008/12/04 17:04:41 faust Exp $
-###############################################################################
-
-include ../../../../../Makefile.conf
-
-PROG = mod_cap_nf.so
-
-SRCS = ./cap_nf.cpp
-
-LIBS += $(LIB_THREAD)
-
-STGLIBS = common \
- logger
-
-include ../../Makefile.in
-
+++ /dev/null
-set ( CPP_FILES divert_cap.cpp )
-
-add_library ( mod_cap_divert MODULE ${CPP_FILES} )
-
-target_link_libraries ( mod_cap_divert logger common )
+++ /dev/null
-###############################################################################
-# $Id: Makefile,v 1.4 2008/12/04 17:05:21 faust Exp $
-###############################################################################
-
-include ../../../../../Makefile.conf
-
-PROG = mod_cap_divert.so
-
-SRCS = ./divert_cap.cpp
-
-LIBS += $(LIB_THREAD)
-
-STGLIBS = common \
- logger
-
-include ../../Makefile.in
-
+++ /dev/null
-set ( CPP_FILES ether_cap.cpp )
-
-add_library ( mod_cap_bpf MODULE ${CPP_FILES} )
-
-target_link_libraries ( mod_cap_bpf logger common )
+++ /dev/null
-###############################################################################
-# $Id: Makefile,v 1.7 2008/12/04 17:06:56 faust Exp $
-###############################################################################
-
-include ../../../../../Makefile.conf
-
-PROG = mod_cap_bpf.so
-
-SRCS = ./ether_cap.cpp
-
-LIBS += $(LIB_THREAD)
-
-STGLIBS = common \
- logger
-
-include ../../Makefile.in
-
+++ /dev/null
-set ( CPP_FILES ether_cap.cpp )
-
-add_library ( mod_cap_ether MODULE ${CPP_FILES} )
-
-target_link_libraries ( mod_cap_ether logger common )
+++ /dev/null
-###############################################################################
-# $Id: Makefile,v 1.9 2008/12/04 17:07:37 faust Exp $
-###############################################################################
-
-include ../../../../../Makefile.conf
-
-PROG = mod_cap_ether.so
-
-SRCS = ./ether_cap.cpp
-
-LIBS += $(LIB_THREAD)
-
-STGLIBS = common \
- logger
-
-include ../../Makefile.in
-
+++ /dev/null
-find_package ( NFQueue REQUIRED )
-find_package ( NFNetLink REQUIRED )
-find_package ( MNL REQUIRED )
-
-set ( CPP_FILES nfqueue.cpp )
-
-add_library ( mod_cap_nfqueue MODULE ${CPP_FILES} )
-
-target_link_libraries ( mod_cap_nfqueue logger common NF::Queue NF::NetLink MNL::MNL )
+++ /dev/null
-include ../../../../../Makefile.conf
-
-PROG = mod_cap_nfqueue.so
-
-SRCS = ./nfqueue.cpp
-
-LIBS += $(NFQ_LDFLAGS) $(NETLINK_LDFLAGS) $(LIB_THREAD)
-
-STGLIBS = common \
- logger
-
-include ../../Makefile.in
-
+++ /dev/null
-find_package ( PCap REQUIRED )
-
-set ( CPP_FILES pcap_cap.cpp )
-
-add_library ( mod_cap_pcap MODULE ${CPP_FILES} )
-
-target_link_libraries ( mod_cap_pcap logger common PCap::PCap )
+++ /dev/null
-include ../../../../../Makefile.conf
-
-PROG = mod_cap_pcap.so
-
-SRCS = ./pcap_cap.cpp
-
-LIBS += -lpcap $(LIB_THREAD)
-
-STGLIBS = common \
- logger
-
-include ../../Makefile.in
-
+++ /dev/null
-if ( BUILD_MOD_SGCONFIG )
- add_subdirectory ( sgconfig )
-endif ( BUILD_MOD_SGCONFIG )
-
-if ( BUILD_MOD_RPCCONFIG )
- add_subdirectory ( rpcconfig )
-endif ( BUILD_MOD_RPCCONFIG )
+++ /dev/null
-find_package ( XMLRPC REQUIRED c++ abyss-server )
-
-set ( CPP_FILES rpcconfig.cpp
- user_helper.cpp
- tariff_helper.cpp
- info_methods.cpp
- users_methods.cpp
- tariffs_methods.cpp
- admins_methods.cpp
- messages_methods.cpp )
-
-add_library ( mod_conf_rpc MODULE ${CPP_FILES} )
-
-target_link_libraries ( mod_conf_rpc scriptexecuter logger common xmlrpc_server_abyss++ )
+++ /dev/null
-###############################################################################
-# $Id: Makefile,v 1.10 2009/08/03 10:25:40 faust Exp $
-###############################################################################
-
-include ../../../../../Makefile.conf
-
-PROG = mod_conf_rpc.so
-
-SRCS = ./rpcconfig.cpp \
- ./user_helper.cpp \
- ./tariff_helper.cpp \
- ./info_methods.cpp \
- ./users_methods.cpp \
- ./tariffs_methods.cpp \
- ./admins_methods.cpp \
- ./messages_methods.cpp
-
-LIBS += $(XMLRPC_LDFLAGS) \
- $(LIB_THREAD) \
- $(LIBICONV)
-
-STGLIBS = common \
- logger \
- scriptexecuter
-
-include ../../Makefile.in
-
+++ /dev/null
-find_package ( EXPAT REQUIRED )
-
-set ( CPP_FILES stgconfig.cpp
- conn.cpp
- configproto.cpp
- parser.cpp
- parser_tariffs.cpp
- parser_admins.cpp
- parser_users.cpp
- parser_services.cpp
- parser_message.cpp
- parser_auth_by.cpp
- parser_user_info.cpp
- parser_server_info.cpp )
-
-add_library ( mod_conf_sg MODULE ${CPP_FILES} )
-
-target_link_libraries ( mod_conf_sg scriptexecuter crypto logger common EXPAT::EXPAT )
+++ /dev/null
-###############################################################################
-# $Id: Makefile,v 1.11 2010/03/04 10:47:45 faust Exp $
-###############################################################################
-
-include ../../../../../Makefile.conf
-
-PROG = mod_conf_sg.so
-
-SRCS = ./stgconfig.cpp \
- ./conn.cpp \
- ./configproto.cpp \
- ./parser.cpp \
- ./parser_tariffs.cpp \
- ./parser_admins.cpp \
- ./parser_users.cpp \
- ./parser_services.cpp \
- ./parser_message.cpp \
- ./parser_auth_by.cpp \
- ./parser_user_info.cpp \
- ./parser_server_info.cpp
-
-LIBS += -lexpat \
- $(LIB_THREAD)
-
-STGLIBS = common \
- logger \
- crypto \
- scriptexecuter
-
-include ../../Makefile.in
-
+++ /dev/null
-if ( BUILD_MOD_PING )
- add_subdirectory ( ping )
-endif ( BUILD_MOD_PING )
-
-if ( BUILD_MOD_RADIUS )
- add_subdirectory ( radius )
-endif ( BUILD_MOD_RADIUS )
-
-if ( BUILD_MOD_RSCRYPT )
- add_subdirectory ( rscript )
-endif ( BUILD_MOD_RSCRYPT )
-
-if ( BUILD_MOD_SMUX )
- add_subdirectory ( smux )
-endif ( BUILD_MOD_SMUX )
+++ /dev/null
-set ( CPP_FILES ping.cpp )
-
-add_library ( mod_ping MODULE ${CPP_FILES} )
-
-target_link_libraries ( mod_ping scriptexecuter logger pinger common )
+++ /dev/null
-###############################################################################
-# $Id: Makefile,v 1.11 2008/12/04 17:21:14 faust Exp $
-###############################################################################
-
-include ../../../../../Makefile.conf
-
-LIBS += $(LIB_THREAD)
-
-PROG = mod_ping.so
-
-SRCS = ./ping.cpp
-
-STGLIBS = pinger \
- common \
- logger \
- scriptexecuter
-
-include ../../Makefile.in
-
+++ /dev/null
-find_package ( YAJL REQUIRED )
-
-set ( CPP_FILES radius.cpp
- config.cpp
- conn.cpp )
-
-add_library ( mod_radius MODULE ${CPP_FILES} )
-
-target_link_libraries ( mod_radius logger json common YAJL::YAJL )
+++ /dev/null
-###############################################################################
-# $Id: Makefile,v 1.3 2010/04/26 12:44:42 faust Exp $
-###############################################################################
-
-include ../../../../../Makefile.conf
-
-LIBS += $(LIB_THREAD) -lyajl
-
-PROG = mod_radius.so
-
-SRCS = radius.cpp \
- config.cpp \
- conn.cpp
-
-STGLIBS = common \
- crypto \
- logger \
- scriptexecuter \
- json
-
-include ../../Makefile.in
-
+++ /dev/null
-set ( CPP_FILES rscript.cpp nrmap_parser.cpp )
-
-add_library ( mod_remote_script MODULE ${CPP_FILES} )
-
-target_link_libraries ( mod_remote_script crypto scriptexecuter logger common )
+++ /dev/null
-###############################################################################
-# $Id: Makefile,v 1.7 2010/02/16 11:41:00 faust Exp $
-###############################################################################
-
-include ../../../../../Makefile.conf
-
-LIBS += $(LIB_THREAD)
-
-PROG = mod_remote_script.so
-
-SRCS = ./rscript.cpp \
- ./nrmap_parser.cpp
-
-STGLIBS = common \
- crypto \
- logger \
- scriptexecuter
-
-include ../../Makefile.in
-
+++ /dev/null
-set ( CPP_FILES smux.cpp
- sensors.cpp
- tables.cpp
- handlers.cpp
- utils.cpp
- types.cpp )
-
-add_library ( mod_smux MODULE ${CPP_FILES} )
-
-target_link_libraries ( mod_smux scriptexecuter logger smux common )
+++ /dev/null
-include ../../../../../Makefile.conf
-
-LIBS += $(LIB_THREAD)
-
-PROG = mod_smux.so
-
-SRCS = smux.cpp \
- sensors.cpp \
- tables.cpp \
- handlers.cpp \
- utils.cpp \
- types.cpp
-
-STGLIBS = common \
- smux \
- logger \
- scriptexecuter
-
-CFLAGS += -I ../../../../../stglibs/smux.lib/include/stg
-CXXFLAGS += -I ../../../../../stglibs/smux.lib/include/stg
-
-include ../../Makefile.in
+++ /dev/null
-if ( BUILD_MOD_STORE_FILES )
- add_subdirectory ( files )
-endif ( BUILD_MOD_STORE_FILES )
-
-if ( BUILD_MOD_STORE_FIREBIRD )
- add_subdirectory ( firebird )
-endif ( BUILD_MOD_STORE_FIREBIRD )
-
-if ( BUILD_MOD_STORE_MYSQL )
- add_subdirectory ( mysql )
-endif ( BUILD_MOD_STORE_MYSQL )
-
-if ( BUILD_MOD_STORE_POSTGRESQL )
- add_subdirectory ( postgresql )
-endif ( BUILD_MOD_STORE_POSTGRESQL )
+++ /dev/null
-set ( CPP_FILES file_store.cpp )
-
-add_library ( mod_store_files MODULE ${CPP_FILES} )
-
-target_link_libraries ( mod_store_files crypto conffiles logger common )
+++ /dev/null
-###############################################################################
-# $Id: Makefile,v 1.16 2010/03/04 10:47:45 faust Exp $
-###############################################################################
-
-include ../../../../../Makefile.conf
-
-PROG = mod_store_files.so
-
-SRCS = ./file_store.cpp
-
-STGLIBS = conffiles \
- common \
- logger \
- crypto
-
-include ../../Makefile.in
-
+++ /dev/null
-find_package ( FBClient REQUIRED )
-
-set ( CPP_FILES firebird_store.cpp
- firebird_store_admins.cpp
- firebird_store_corporations.cpp
- firebird_store_messages.cpp
- firebird_store_services.cpp
- firebird_store_tariffs.cpp
- firebird_store_users.cpp
- firebird_store_utils.cpp )
-
-add_library ( mod_store_firebird MODULE ${CPP_FILES} )
-
-target_link_libraries ( mod_store_firebird crypto common logger ibpp FBClient::FBClient )
+++ /dev/null
-###############################################################################
-# $Id: Makefile,v 1.9 2008/12/04 17:15:53 faust Exp $
-###############################################################################
-
-include ../../../../../Makefile.conf
-
-DEFS += -DIBPP_LINUX
-
-PROG = mod_store_firebird.so
-
-SRCS = ./firebird_store.cpp \
- ./firebird_store_admins.cpp \
- ./firebird_store_corporations.cpp \
- ./firebird_store_messages.cpp \
- ./firebird_store_services.cpp \
- ./firebird_store_tariffs.cpp \
- ./firebird_store_users.cpp \
- ./firebird_store_utils.cpp
-
-STGLIBS = ibpp \
- common \
- logger \
- crypto
-
-CXXFLAGS += $(FB_CFLAGS)
-LDFLAGS += $(FB_LDFLAGS)
-
-include ../../Makefile.in
-
+++ /dev/null
-find_package ( MySQLConnector REQUIRED )
-
-set ( CPP_FILES mysql_store.cpp )
-
-add_library ( mod_store_mysql MODULE ${CPP_FILES} )
-
-target_link_libraries ( mod_store_mysql crypto logger common MySQL::Connector )
+++ /dev/null
-###############################################################################
-# $Id: Makefile,v 1.6 2010/03/25 10:35:55 faust Exp $
-###############################################################################
-
-include ../../../../../Makefile.conf
-
-PROG = mod_store_mysql.so
-
-SRCS = ./mysql_store.cpp
-
-STGLIBS = common \
- crypto \
- logger
-
-CXXFLAGS += $(MYSQL_CFLAGS)
-LIBS += $(MYSQL_LDFLAGS)
-
-include ../../Makefile.in
-
+++ /dev/null
-find_package ( PostgreSQL REQUIRED )
-
-set ( CPP_FILES postgresql_store.cpp
- postgresql_store_admins.cpp
- postgresql_store_corporations.cpp
- postgresql_store_messages.cpp
- postgresql_store_services.cpp
- postgresql_store_tariffs.cpp
- postgresql_store_users.cpp
- postgresql_store_utils.cpp )
-
-add_library ( mod_store_postgresql MODULE ${CPP_FILES} )
-
-target_link_libraries ( mod_store_postgresql crypto logger common PostgreSQL::PostgreSQL )
+++ /dev/null
-###############################################################################
-# $Id: Makefile,v 1.4 2010/04/26 12:44:42 faust Exp $
-###############################################################################
-
-include ../../../../../Makefile.conf
-
-PROG = mod_store_postgresql.so
-
-SRCS = ./postgresql_store.cpp \
- ./postgresql_store_admins.cpp \
- ./postgresql_store_corporations.cpp \
- ./postgresql_store_messages.cpp \
- ./postgresql_store_services.cpp \
- ./postgresql_store_tariffs.cpp \
- ./postgresql_store_users.cpp \
- ./postgresql_store_utils.cpp
-
-STGLIBS = common \
- crypto \
- logger
-
-CXXFLAGS += $(PG_CFLAGS)
-LDFLAGS += $(PG_LDFLAGS)
-
-LIBS += -lpq
-
-include ../../Makefile.in
-