2012-02-15 04:40:32 +01:00
|
|
|
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
|
|
|
|
|
2013-02-27 01:23:38 +01:00
|
|
|
LDADD= -lmd -lpthread
|
2012-02-15 04:40:32 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2014-05-05 11:45:36 +02:00
|
|
|
CXXFLAGS+= -D${MACHINE_ARCH:tu:S/I386/IA32/:S/SPARC64/SPARC/} -DBSD
|
2014-02-11 23:07:04 +01:00
|
|
|
CXXFLAGS+= -Wno-system-headers -Wall -W \
|
2013-02-27 01:23:38 +01:00
|
|
|
-Wpointer-arith -Wreturn-type \
|
2014-02-11 23:07:04 +01:00
|
|
|
-Wwrite-strings -Wswitch -Wno-cast-align \
|
|
|
|
-Wunused-parameter -Werror
|
2012-02-15 04:40:32 +01:00
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|