mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-13 10:32:57 +01:00
e251479dde
Because QNX SDP7 doesn't have separate "dl" library but it's include din "C" library. Therefore, -ldl option should not be used to build programs for QNX SDP7.
31 lines
585 B
Makefile
31 lines
585 B
Makefile
#
|
|
# Makefile
|
|
#
|
|
# Makefile for Poco Twitter Client
|
|
#
|
|
|
|
include $(POCO_BASE)/build/rules/global
|
|
|
|
# Note: linking order is important, do not change it.
|
|
ifeq ($(POCO_CONFIG),FreeBSD)
|
|
SYSLIBS += -lssl -lcrypto -lz
|
|
else
|
|
ifeq ($(POCO_CONFIG),QNX)
|
|
SYSLIBS += -lssl -lcrypto -lz
|
|
else
|
|
SYSLIBS += -lssl -lcrypto -lz -ldl
|
|
endif
|
|
endif
|
|
|
|
objects = Twitter TweetApp
|
|
|
|
target = tweet
|
|
target_version = 1
|
|
target_libs = PocoNetSSL PocoCrypto PocoNet PocoUtil PocoJSON PocoXML PocoFoundation
|
|
|
|
include $(POCO_BASE)/build/rules/exec
|
|
|
|
ifdef POCO_UNBUNDLED
|
|
SYSLIBS += -lz -lpcre -lexpat
|
|
endif
|