1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-28 10:08:24 +00:00
freebsd-ports/net/udt/files/BSDmakefile
Mikhail Teterin 1c2801d724 Upgrade from 4.10 to 4.11. Most of my patches have been incorporated by
the upstream.

Use -lmd instead of OpenSSL for MD5.
2013-02-27 00:23:38 +00:00

21 lines
543 B
Makefile

LIB= udt
SHLIB_MAJOR=4
SHLIB_MINOR=10
NO_PROFILE= yes # Ports don't install profile-libraries
LIBDIR= ${PREFIX}/lib
INCLUDEDIR= ${PREFIX}/include
INCS= udt.h
LDADD= -lmd -lpthread
SRCS= common.cpp window.cpp list.cpp buffer.cpp packet.cpp channel.cpp \
queue.cpp ccc.cpp cache.cpp core.cpp epoll.cpp api.cpp
CXXFLAGS+= -D${MACHINE_ARCH:U:S/I386/IA32/:S/SPARC64/SPARC/} -DBSD
CXXFLAGS+= -Wsystem-headers -Werror -Wall -W \
-Wpointer-arith -Wreturn-type \
-Wwrite-strings -Wswitch -Wcast-align \
-Wunused-parameter
.include <bsd.lib.mk>