Skip to content

Commit

Permalink
unbundled build fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
alex committed Jan 5, 2013
1 parent 8a44e75 commit 161ea4e
Show file tree
Hide file tree
Showing 32 changed files with 144 additions and 18 deletions.
6 changes: 5 additions & 1 deletion Crypto/samples/genrsakey/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ objects = genrsakey

target = genrsakey
target_version = 1
target_libs = PocoCrypto PocoUtil PocoXML PocoFoundation
target_libs = PocoCrypto PocoUtil PocoJSON PocoXML PocoFoundation

include $(POCO_BASE)/build/rules/exec

ifdef POCO_UNBUNDLED
SYSLIBS += -lpcre -lexpat
endif
3 changes: 3 additions & 0 deletions Crypto/testsuite/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ ifeq ($(POCO_CONFIG),FreeBSD)
SYSLIBS += -lssl -lcrypto -lz
else
SYSLIBS += -lssl -lcrypto -lz -ldl
ifeq ($(POCO_CONFIG),Linux)
SYSLIBS += -lkrb5
endif
endif

objects = CryptoTestSuite Driver \
Expand Down
5 changes: 5 additions & 0 deletions Foundation/samples/Logger/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,8 @@ target_version = 1
target_libs = PocoFoundation

include $(POCO_BASE)/build/rules/exec

ifdef POCO_UNBUNDLED
SYSLIBS += -lz
endif

5 changes: 5 additions & 0 deletions Foundation/samples/deflate/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,8 @@ target_version = 1
target_libs = PocoFoundation

include $(POCO_BASE)/build/rules/exec

ifdef POCO_UNBUNDLED
SYSLIBS += -lz
endif

5 changes: 5 additions & 0 deletions Foundation/samples/grep/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,8 @@ target_version = 1
target_libs = PocoFoundation

include $(POCO_BASE)/build/rules/exec

ifdef POCO_UNBUNDLED
SYSLIBS += -lpcre
endif

5 changes: 5 additions & 0 deletions Foundation/samples/inflate/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,8 @@ target_version = 1
target_libs = PocoFoundation

include $(POCO_BASE)/build/rules/exec

ifdef POCO_UNBUNDLED
SYSLIBS += -lz
endif

4 changes: 4 additions & 0 deletions Foundation/testsuite/Makefile-Driver
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,7 @@ target_version = 1
target_libs = PocoFoundation CppUnit

include $(POCO_BASE)/build/rules/exec

ifdef POCO_UNBUNDLED
SYSLIBS += -lz -lpcre
endif
4 changes: 4 additions & 0 deletions JSON/testsuite/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@ target_version = 1
target_libs = PocoJSON PocoFoundation CppUnit

include $(POCO_BASE)/build/rules/exec

ifdef POCO_UNBUNDLED
SYSLIBS += -lpcre -lexpat
endif
7 changes: 6 additions & 1 deletion Net/samples/EchoServer/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ objects = EchoServer

target = EchoServer
target_version = 1
target_libs = PocoUtil PocoNet PocoXML PocoFoundation
target_libs = PocoUtil PocoJSON PocoNet PocoXML PocoFoundation

include $(POCO_BASE)/build/rules/exec

ifdef POCO_UNBUNDLED
SYSLIBS += -lz -lpcre -lexpat
endif

6 changes: 5 additions & 1 deletion Net/samples/HTTPFormServer/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ objects = HTTPFormServer

target = HTTPFormServer
target_version = 1
target_libs = PocoUtil PocoNet PocoXML PocoFoundation
target_libs = PocoUtil PocoJSON PocoNet PocoXML PocoFoundation

include $(POCO_BASE)/build/rules/exec

ifdef POCO_UNBUNDLED
SYSLIBS += -lz -lpcre -lexpat
endif
6 changes: 5 additions & 1 deletion Net/samples/HTTPLoadTest/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ objects = HTTPLoadTest

target = HTTPLoadTest
target_version = 1
target_libs = PocoUtil PocoNet PocoXML PocoFoundation
target_libs = PocoUtil PocoJSON PocoNet PocoXML PocoFoundation

include $(POCO_BASE)/build/rules/exec

ifdef POCO_UNBUNDLED
SYSLIBS += -lz -lpcre -lexpat
endif
6 changes: 5 additions & 1 deletion Net/samples/HTTPTimeServer/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ objects = HTTPTimeServer

target = HTTPTimeServer
target_version = 1
target_libs = PocoUtil PocoNet PocoXML PocoFoundation
target_libs = PocoUtil PocoJSON PocoNet PocoXML PocoFoundation

include $(POCO_BASE)/build/rules/exec

ifdef POCO_UNBUNDLED
SYSLIBS += -lz -lpcre -lexpat
endif
6 changes: 5 additions & 1 deletion Net/samples/Ping/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ objects = Ping

target = Ping
target_version = 1
target_libs = PocoNet PocoUtil PocoXML PocoFoundation
target_libs = PocoUtil PocoJSON PocoNet PocoXML PocoFoundation

include $(POCO_BASE)/build/rules/exec

ifdef POCO_UNBUNDLED
SYSLIBS += -lz -lpcre -lexpat
endif
4 changes: 4 additions & 0 deletions Net/samples/SMTPLogger/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@ target_version = 1
target_libs = PocoNet PocoFoundation

include $(POCO_BASE)/build/rules/exec

ifdef POCO_UNBUNDLED
SYSLIBS += -lz
endif
6 changes: 5 additions & 1 deletion Net/samples/TimeServer/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ objects = TimeServer

target = TimeServer
target_version = 1
target_libs = PocoUtil PocoNet PocoXML PocoFoundation
target_libs = PocoUtil PocoJSON PocoNet PocoXML PocoFoundation

include $(POCO_BASE)/build/rules/exec

ifdef POCO_UNBUNDLED
SYSLIBS += -lz -lpcre -lexpat
endif
6 changes: 5 additions & 1 deletion Net/samples/TwitterClient/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ objects = Twitter TweetApp

target = tweet
target_version = 1
target_libs = PocoUtil PocoNet PocoXML PocoFoundation
target_libs = PocoUtil PocoJSON PocoNet PocoXML PocoFoundation

include $(POCO_BASE)/build/rules/exec

ifdef POCO_UNBUNDLED
SYSLIBS += -lz -lpcre -lexpat
endif
6 changes: 5 additions & 1 deletion Net/samples/WebSocketServer/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ objects = WebSocketServer

target = WebSocketServer
target_version = 1
target_libs = PocoUtil PocoNet PocoXML PocoFoundation
target_libs = PocoUtil PocoJSON PocoNet PocoXML PocoFoundation

include $(POCO_BASE)/build/rules/exec

ifdef POCO_UNBUNDLED
SYSLIBS += -lz -lpcre -lexpat
endif
4 changes: 4 additions & 0 deletions Net/testsuite/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,7 @@ target_version = 1
target_libs = PocoNet PocoFoundation CppUnit

include $(POCO_BASE)/build/rules/exec

ifdef POCO_UNBUNDLED
SYSLIBS += -lz
endif
6 changes: 5 additions & 1 deletion NetSSL_OpenSSL/samples/HTTPSTimeServer/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ objects = HTTPSTimeServer

target = HTTPSTimeServer
target_version = 1
target_libs = PocoNetSSL PocoCrypto PocoNet PocoUtil PocoXML PocoFoundation
target_libs = PocoNetSSL PocoCrypto PocoNet PocoUtil PocoJSON PocoXML PocoFoundation

include $(POCO_BASE)/build/rules/exec

ifdef POCO_UNBUNDLED
SYSLIBS += -lpcre -lexpat
endif
2 changes: 1 addition & 1 deletion PageCompiler/File2Page/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ endif

target = f2cpsp
target_version = 1
target_libs = PocoUtil PocoXML PocoFoundation
target_libs = PocoUtil PocoXML PocoJSON PocoFoundation

include $(POCO_BASE)/build/rules/exec
2 changes: 1 addition & 1 deletion PageCompiler/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ endif

target = cpspc
target_version = 1
target_libs = PocoNet PocoUtil PocoXML PocoFoundation
target_libs = PocoNet PocoUtil PocoXML PocoJSON PocoFoundation

include $(POCO_BASE)/build/rules/exec
6 changes: 5 additions & 1 deletion PageCompiler/samples/HTTPTimeServer/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,14 @@ objects = HTTPTimeServerApp TimeHandler

target = HTTPTimeServer
target_version = 1
target_libs = PocoUtil PocoNet PocoXML PocoFoundation
target_libs = PocoUtil PocoJSON PocoNet PocoXML PocoFoundation

include $(POCO_BASE)/build/rules/exec

ifdef POCO_UNBUNDLED
SYSLIBS += -lz -lpcre -lexpat
endif

# Rule for runnning PageCompiler
src/%.cpp: src/%.cpsp
@echo "** Compiling Page" $<
Expand Down
6 changes: 5 additions & 1 deletion Util/samples/SampleApp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ objects = SampleApp

target = SampleApp
target_version = 1
target_libs = PocoUtil PocoXML PocoFoundation
target_libs = PocoUtil PocoJSON PocoXML PocoFoundation

include $(POCO_BASE)/build/rules/exec

ifdef POCO_UNBUNDLED
SYSLIBS += -lz -lpcre -lexpat
endif
6 changes: 5 additions & 1 deletion Util/samples/SampleServer/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ objects = SampleServer

target = SampleServer
target_version = 1
target_libs = PocoUtil PocoXML PocoFoundation
target_libs = PocoUtil PocoJSON PocoXML PocoFoundation

include $(POCO_BASE)/build/rules/exec

ifdef POCO_UNBUNDLED
SYSLIBS += -lz -lpcre -lexpat
endif
6 changes: 5 additions & 1 deletion Util/samples/pkill/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ objects = pkill

target = pkill
target_version = 1
target_libs = PocoUtil PocoXML PocoFoundation
target_libs = PocoUtil PocoJSON PocoXML PocoFoundation

include $(POCO_BASE)/build/rules/exec

ifdef POCO_UNBUNDLED
SYSLIBS += -lz -lpcre -lexpat
endif
4 changes: 4 additions & 0 deletions Util/testsuite/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,7 @@ target_version = 1
target_libs = PocoUtil PocoXML PocoJSON PocoFoundation CppUnit

include $(POCO_BASE)/build/rules/exec

ifdef POCO_UNBUNDLED
SYSLIBS += -lz -lpcre -lexpat
endif
5 changes: 5 additions & 0 deletions XML/samples/DOMParser/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,8 @@ target_version = 1
target_libs = PocoXML PocoFoundation

include $(POCO_BASE)/build/rules/exec

ifdef POCO_UNBUNDLED
SYSLIBS += -lexpat
endif

5 changes: 5 additions & 0 deletions XML/samples/PrettyPrint/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,8 @@ target_version = 1
target_libs = PocoXML PocoFoundation

include $(POCO_BASE)/build/rules/exec

ifdef POCO_UNBUNDLED
SYSLIBS += -lexpat
endif

4 changes: 4 additions & 0 deletions XML/samples/SAXParser/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@ target_version = 1
target_libs = PocoXML PocoFoundation

include $(POCO_BASE)/build/rules/exec

ifdef POCO_UNBUNDLED
SYSLIBS += -lexpat
endif
4 changes: 4 additions & 0 deletions XML/testsuite/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,7 @@ target_version = 1
target_libs = PocoXML PocoFoundation CppUnit

include $(POCO_BASE)/build/rules/exec

ifdef POCO_UNBUNDLED
SYSLIBS += -lexpat
endif
6 changes: 5 additions & 1 deletion Zip/samples/unzip/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ objects = unzip

target = unzip
target_version = 1
target_libs = PocoZip PocoUtil PocoXML PocoFoundation
target_libs = PocoZip PocoUtil PocoJSON PocoXML PocoFoundation

include $(POCO_BASE)/build/rules/exec

ifdef POCO_UNBUNDLED
SYSLIBS += -lz -lpcre -lexpat
endif
6 changes: 5 additions & 1 deletion Zip/samples/zip/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ objects = zip

target = zip
target_version = 1
target_libs = PocoZip PocoUtil PocoXML PocoFoundation
target_libs = PocoZip PocoUtil PocoJSON PocoXML PocoFoundation

include $(POCO_BASE)/build/rules/exec

ifdef POCO_UNBUNDLED
SYSLIBS += -lz -lpcre -lexpat
endif

0 comments on commit 161ea4e

Please sign in to comment.