Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issues with building of tests #19

Open
wants to merge 1 commit into
base: next
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,8 @@ mordor_tests_run_tests_SOURCES= \

mordor_tests_run_tests_CPPFLAGS=-I$(top_builddir) -include mordor/pch.h $(AM_CPPFLAGS)
mordor_tests_run_tests_LDADD=mordor/libmordor.la mordor/test/libmordortest.la \
$(BOOST_SYSTEM_LIB) \
$(OPENSSL_LIBS) \
$(CORESERVICES_FRAMEWORK_LIBS) \
$(COREFOUNDATION_FRAMEWORK_LIBS) \
$(SECURITY_FRAMEWORK_LIBS) \
Expand All @@ -362,10 +364,13 @@ endif

mordor_pq_tests_run_tests_SOURCES = mordor/pq/tests/pq.cpp
mordor_pq_tests_run_tests_CPPFLAGS=-include mordor/pch.h $(AM_CPPFLAGS)
mordor_pq_tests_run_tests_LDFLAGS=$(POSTGRESQL_LDFLAGS)
mordor_pq_tests_run_tests_LDADD = \
mordor/libmordor.la \
mordor/pq/libmordorpq.la \
mordor/test/libmordortest.la \
$(BOOST_SYSTEM_LIB) \
$(OPENSSL_LIBS) \
$(CORESERVICES_FRAMEWORK_LIBS) \
$(COREFOUNDATION_FRAMEWORK_LIBS) \
$(SECURITY_FRAMEWORK_LIBS) \
Expand All @@ -386,6 +391,7 @@ endif

mordor_examples_cat_SOURCES=mordor/examples/cat.cpp
mordor_examples_cat_LDADD=mordor/libmordor.la \
$(BOOST_SYSTEM_LIB) \
$(CORESERVICES_FRAMEWORK_LIBS) \
$(COREFOUNDATION_FRAMEWORK_LIBS) \
$(SECURITY_FRAMEWORK_LIBS) \
Expand All @@ -394,6 +400,7 @@ mordor_examples_cat_LDADD=mordor/libmordor.la \

mordor_examples_echoserver_SOURCES=mordor/examples/echoserver.cpp
mordor_examples_echoserver_LDADD=mordor/libmordor.la \
$(BOOST_SYSTEM_LIB) \
$(CORESERVICES_FRAMEWORK_LIBS) \
$(COREFOUNDATION_FRAMEWORK_LIBS) \
$(SECURITY_FRAMEWORK_LIBS) \
Expand All @@ -403,6 +410,7 @@ mordor_examples_iombench_SOURCES= \
mordor/examples/iombench.cpp \
mordor/examples/netbench.cpp
mordor_examples_iombench_LDADD=mordor/libmordor.la \
$(BOOST_SYSTEM_LIB) \
$(CORESERVICES_FRAMEWORK_LIBS) \
$(COREFOUNDATION_FRAMEWORK_LIBS) \
$(SECURITY_FRAMEWORK_LIBS) \
Expand All @@ -411,27 +419,31 @@ mordor_examples_iombench_LDADD=mordor/libmordor.la \

mordor_examples_simpleappserver_SOURCES=mordor/examples/simpleappserver.cpp
mordor_examples_simpleappserver_LDADD=mordor/libmordor.la \
$(BOOST_SYSTEM_LIB) \
$(CORESERVICES_FRAMEWORK_LIBS) \
$(COREFOUNDATION_FRAMEWORK_LIBS) \
$(SECURITY_FRAMEWORK_LIBS) \
$(SYSTEMCONFIGURATION_FRAMEWORK_LIBS)

mordor_examples_tunnel_SOURCES=mordor/examples/tunnel.cpp
mordor_examples_tunnel_LDADD=mordor/libmordor.la \
$(BOOST_SYSTEM_LIB) \
$(CORESERVICES_FRAMEWORK_LIBS) \
$(COREFOUNDATION_FRAMEWORK_LIBS) \
$(SECURITY_FRAMEWORK_LIBS) \
$(SYSTEMCONFIGURATION_FRAMEWORK_LIBS)

mordor_examples_udpstats_SOURCES=mordor/examples/udpstats.cpp
mordor_examples_udpstats_LDADD=mordor/libmordor.la \
$(BOOST_SYSTEM_LIB) \
$(CORESERVICES_FRAMEWORK_LIBS) \
$(COREFOUNDATION_FRAMEWORK_LIBS) \
$(SECURITY_FRAMEWORK_LIBS) \
$(SYSTEMCONFIGURATION_FRAMEWORK_LIBS)

mordor_examples_wget_SOURCES=mordor/examples/wget.cpp
mordor_examples_wget_LDADD=mordor/libmordor.la $(BOOST_PROGRAM_OPTIONS_LIB) \
$(BOOST_SYSTEM_LIB) \
$(CORESERVICES_FRAMEWORK_LIBS) \
$(COREFOUNDATION_FRAMEWORK_LIBS) \
$(SECURITY_FRAMEWORK_LIBS) \
Expand Down