Fix FSM-libexec dependencies. Remove XOPEN define in Cygwin config that

makes compilation of Data/MySQL testsuite fail.
This commit is contained in:
FrancisANDRE 2016-07-19 09:12:02 +02:00
parent 3782f03466
commit eb32210345
2 changed files with 19 additions and 5 deletions

View File

@ -80,7 +80,7 @@ all: libexecs tests samples
INSTALLDIR = $(DESTDIR)$(POCO_PREFIX)
COMPONENTS = CppUnit Foundation XML JSON Util Net Crypto NetSSL_OpenSSL
COMPONENTS += Data Data/ODBC Data/SQLite Data/MySQL Data/PostgreSQL
COMPONENTS += FSM Data Data/ODBC Data/SQLite Data/MySQL Data/PostgreSQL
COMPONENTS += MongoDB Redis Zip PageCompiler PageCompiler/File2Page CppParser PDF
cppunit:
@ -110,7 +110,7 @@ endif
# -------------------------------------------------------------------------------------------------------------------------------------
libexecs = Foundation-libexec XML-libexec JSON-libexec Util-libexec Net-libexec Crypto-libexec NetSSL_OpenSSL-libexec
libexecs += Data-libexec Data/ODBC-libexec Data/SQLite-libexec Data/MySQL-libexec Data/PostgreSQL-libexec
libexecs += FSM-libexec Data-libexec Data/ODBC-libexec Data/SQLite-libexec Data/MySQL-libexec Data/PostgreSQL-libexec
libexecs += MongoDB-libexec Redis-libexec Zip-libexec PageCompiler-libexec PageCompiler/File2Page-libexec CppParser-libexec PDF-libexec
# -------------------------------------------------------------------------------------------------------------------------------------
@ -120,11 +120,11 @@ tests += MongoDB-tests Redis-tests Zip-tests CppParser-tests PDF-tests
# -------------------------------------------------------------------------------------------------------------------------------------
samples = Foundation-samples XML-samples JSON-samples Util-samples Net-samples Crypto-samples NetSSL_OpenSSL-samples
samples += Data-samples
samples += FSM-samples Data-samples
samples += MongoDB-samples Zip-samples PageCompiler-samples PDF-samples
# -------------------------------------------------------------------------------------------------------------------------------------
cleans = Foundation-clean XML-clean JSON-clean Util-clean Net-clean Crypto-clean NetSSL_OpenSSL-clean
cleans = Foundation-clean XML-clean JSON-clean FSM-clean Util-clean Net-clean Crypto-clean NetSSL_OpenSSL-clean
cleans += Data-clean Data/ODBC-clean Data/SQLite-clean Data/MySQL-clean Data/PostgreSQL-clean
cleans += MongoDB-clean Redis-clean Zip-clean PageCompiler-clean PageCompiler/File2Page-clean CppParser-clean PDF-clean
@ -181,6 +181,20 @@ JSON-clean:
$(MAKE) -C $(POCO_BASE)/JSON/testsuite clean
$(MAKE) -C $(POCO_BASE)/JSON/samples clean
FSM-libexec: Foundation-libexec Util-libexec
$(MAKE) -C $(POCO_BASE)/FSM
FSM-tests: FSM-libexec cppunit
$(MAKE) -C $(POCO_BASE)/FSM/testsuite
FSM-samples: FSM-libexec
$(MAKE) -C $(POCO_BASE)/FSM/samples
FSM-clean:
$(MAKE) -C $(POCO_BASE)/FSM clean
$(MAKE) -C $(POCO_BASE)/FSM/testsuite clean
$(MAKE) -C $(POCO_BASE)/FSM/samples clean
Util-libexec: Foundation-libexec XML-libexec JSON-libexec
$(MAKE) -C $(POCO_BASE)/Util

View File

@ -73,7 +73,7 @@ RELEASEOPT_LINK =
#
# System Specific Flags
#
SYSFLAGS = -D_XOPEN_SOURCE=500 -D__BSD_VISIBLE
SYSFLAGS = -D__BSD_VISIBLE=1 -D__MISC_VISIBLE=1
#
# System Specific Libraries