Files
poco/Net/Makefile
Lara Dzivdzanovic 3e10fb2b0f Adapt makefiles for external dependencies (#5049)
* build(makefile): adapt makefiles for external dependencies

* chore(makefile): remove redundant src directory
2025-10-22 14:55:41 +02:00

55 lines
2.3 KiB
Makefile

#
# Makefile
#
# Makefile for Poco Net
#
include $(POCO_BASE)/build/rules/global
SHAREDOPT_CXX += -DNet_EXPORTS
objects = \
Net DNS HTTPResponse HostEntry Socket \
DatagramSocket HTTPServer IPAddress IPAddressImpl SocketAddress SocketAddressImpl \
HTTPBasicCredentials HTTPCookie HTMLForm MediaType DialogSocket \
DatagramSocketImpl FilePartSource HTTPServerConnection MessageHeader \
HTTPChunkedStream HTTPServerConnectionFactory MulticastSocket SocketStream \
HTTPClientSession HTTPServerParams MultipartReader StreamSocket SocketImpl \
HTTPFixedLengthStream HTTPServerRequest HTTPServerRequestImpl MultipartWriter StreamSocketImpl \
HTTPHeaderStream HTTPServerResponse HTTPServerResponseImpl NameValueCollection TCPServer \
HTTPMessage HTTPServerSession NetException TCPServerConnection HTTPBufferAllocator \
HTTPAuthenticationParams HTTPCredentials HTTPDigestCredentials \
HTTPRequest HTTPSession HTTPSessionInstantiator HTTPSessionFactory NetworkInterface \
HTTPRequestHandler HTTPStream HTTPIOStream ServerSocket TCPServerDispatcher TCPServerConnectionFactory \
HTTPRequestHandlerFactory HTTPStreamFactory ServerSocketImpl TCPServerParams \
HTTPReactorServer HTTPReactorServerSession \
TCPReactorAcceptor TCPReactorServer TCPReactorServerConnection \
QuotedPrintableEncoder QuotedPrintableDecoder StringPartSource \
FTPClientSession FTPStreamFactory PartHandler PartSource PartStore NullPartHandler \
SocketReactor SocketProactor SocketNotifier SocketNotification AbstractHTTPRequestHandler \
MailRecipient MailMessage MailStream SMTPClientSession POP3ClientSession \
RawSocket RawSocketImpl ICMPClient ICMPEventArgs ICMPPacket ICMPPacketImpl \
ICMPSocket ICMPSocketImpl ICMPv4PacketImpl \
NTPClient NTPEventArgs NTPPacket \
RemoteSyslogChannel RemoteSyslogListener SMTPChannel \
WebSocket WebSocketImpl \
OAuth10Credentials OAuth20Credentials \
PollSet UDPClient UDPServerParams \
NTLMCredentials SSPINTLMCredentials HTTPNTLMCredentials \
EscapeHTMLStream
target = PocoNet
target_version = $(LIBVERSION)
target_libs = PocoFoundation
# poco build system looks for sources in src/
ifeq ($(findstring MinGW, $(POCO_CONFIG)), MinGW)
prebuild = $(shell \
ln -sf $(POCO_BASE)/dependencies/wepoll/wepoll.c src/wepoll.c \
)
INCLUDE += -I$(POCO_BASE)/dependencies/wepoll
objects += wepoll
endif
include $(POCO_BASE)/build/rules/lib