From 6fe1c267d914edfb7b0d677324a3b1883df1ed9f Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Wed, 31 Aug 2011 13:15:30 +0300 Subject: [PATCH 1/1] Add -DLINUX for scriptexecuter --- tests/Makefile | 37 +++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/tests/Makefile b/tests/Makefile index ac6e4e10..6c52d9ea 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -1,21 +1,22 @@ -CXXFLAGS+=-g3 -Wall -W -Wextra -DLINUX -I../include -I../projects/stargazer -I../stglibs/stgconffiles.lib -I. -DUSE_ABSTRACT_SETTINGS -LIBS=-lpthread -PROG=tests - -SOURCES=main.cpp \ - test_raw_ip.cpp \ - test_admin_conf.cpp \ - test_tariff.cpp \ - test_conffiles.cpp \ - test_fee_charge_rules.cpp \ - test_reconnect_on_tariff_change.cpp \ - ../projects/stargazer/tariff_impl.cpp \ - ../projects/stargazer/user_impl.cpp \ - ../projects/stargazer/user_property.cpp \ - ../stglibs/conffiles.lib/conffiles.cpp \ - ../stglibs/common.lib/common.cpp \ - ../stglibs/logger.lib/logger.cpp \ - ../stglibs/scriptexecuter.lib/scriptexecuter.cpp +CFLAGS += -g3 -Wall -W -Wextra -DLINUX -I../include -I../projects/stargazer -I../stglibs/stgconffiles.lib -I. -DUSE_ABSTRACT_SETTINGS -DLINUX +CXXFLAGS = ${CFLAGS} +LIBS = -lpthread +PROG = tests + +SOURCES = main.cpp \ + test_raw_ip.cpp \ + test_admin_conf.cpp \ + test_tariff.cpp \ + test_conffiles.cpp \ + test_fee_charge_rules.cpp \ + test_reconnect_on_tariff_change.cpp \ + ../projects/stargazer/tariff_impl.cpp \ + ../projects/stargazer/user_impl.cpp \ + ../projects/stargazer/user_property.cpp \ + ../stglibs/conffiles.lib/conffiles.cpp \ + ../stglibs/common.lib/common.cpp \ + ../stglibs/logger.lib/logger.cpp \ + ../stglibs/scriptexecuter.lib/scriptexecuter.cpp .PHONY: all includes clean -- 2.44.2