poco/Crypto/samples/genrsakey/Makefile
Dooeui e251479dde Fix build errors in QNX SDP7
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.
2019-08-11 16:58:47 +09:00

30 lines
553 B
Makefile

#
# Makefile
#
# Makefile for Poco genrsakey
#
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 = genrsakey
target = genrsakey
target_version = 1
target_libs = PocoCrypto PocoUtil PocoJSON PocoXML PocoFoundation
include $(POCO_BASE)/build/rules/exec
ifdef POCO_UNBUNDLED
SYSLIBS += -lpcre -lexpat
endif