mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-28 10:08:24 +00:00
1c2801d724
the upstream. Use -lmd instead of OpenSSL for MD5.
21 lines
543 B
Makefile
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>
|