Permalink
Browse files

unbundled build fixes

  • Loading branch information...
1 parent 8a44e75 commit 161ea4ec1830918ffcdc088000ccd070fb9b9d68 alex committed Jan 5, 2013
@@ -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
@@ -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 \
@@ -15,3 +15,8 @@ target_version = 1
target_libs = PocoFoundation
include $(POCO_BASE)/build/rules/exec
+
+ifdef POCO_UNBUNDLED
+ SYSLIBS += -lz
+endif
+
@@ -15,3 +15,8 @@ target_version = 1
target_libs = PocoFoundation
include $(POCO_BASE)/build/rules/exec
+
+ifdef POCO_UNBUNDLED
+ SYSLIBS += -lz
+endif
+
@@ -15,3 +15,8 @@ target_version = 1
target_libs = PocoFoundation
include $(POCO_BASE)/build/rules/exec
+
+ifdef POCO_UNBUNDLED
+ SYSLIBS += -lpcre
+endif
+
@@ -15,3 +15,8 @@ target_version = 1
target_libs = PocoFoundation
include $(POCO_BASE)/build/rules/exec
+
+ifdef POCO_UNBUNDLED
+ SYSLIBS += -lz
+endif
+
@@ -46,3 +46,7 @@ target_version = 1
target_libs = PocoFoundation CppUnit
include $(POCO_BASE)/build/rules/exec
+
+ifdef POCO_UNBUNDLED
+ SYSLIBS += -lz -lpcre
+endif
View
@@ -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
@@ -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
+
@@ -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
@@ -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
@@ -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
@@ -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
@@ -15,3 +15,7 @@ target_version = 1
target_libs = PocoNet PocoFoundation
include $(POCO_BASE)/build/rules/exec
+
+ifdef POCO_UNBUNDLED
+ SYSLIBS += -lz
+endif
@@ -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
@@ -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
@@ -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
View
@@ -33,3 +33,7 @@ target_version = 1
target_libs = PocoNet PocoFoundation CppUnit
include $(POCO_BASE)/build/rules/exec
+
+ifdef POCO_UNBUNDLED
+ SYSLIBS += -lz
+endif
@@ -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
@@ -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
View
@@ -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
@@ -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" $<
@@ -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
@@ -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
@@ -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
View
@@ -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
@@ -15,3 +15,8 @@ target_version = 1
target_libs = PocoXML PocoFoundation
include $(POCO_BASE)/build/rules/exec
+
+ifdef POCO_UNBUNDLED
+ SYSLIBS += -lexpat
+endif
+
@@ -15,3 +15,8 @@ target_version = 1
target_libs = PocoXML PocoFoundation
include $(POCO_BASE)/build/rules/exec
+
+ifdef POCO_UNBUNDLED
+ SYSLIBS += -lexpat
+endif
+
@@ -15,3 +15,7 @@ target_version = 1
target_libs = PocoXML PocoFoundation
include $(POCO_BASE)/build/rules/exec
+
+ifdef POCO_UNBUNDLED
+ SYSLIBS += -lexpat
+endif
View
@@ -19,3 +19,7 @@ target_version = 1
target_libs = PocoXML PocoFoundation CppUnit
include $(POCO_BASE)/build/rules/exec
+
+ifdef POCO_UNBUNDLED
+ SYSLIBS += -lexpat
+endif
@@ -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
View
@@ -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.