freebsd-ports/net/libtnl/files/Makefile.bsd
Mikhail Teterin dfaad2246c Add patches to unbreak -- work with gcc above version 3. Also allow
building on amd64 and note, that support for other platforms is easy
too, as long as one has a system to test on.

Redirect a few functions directly to the standard implementations using
defines, instead of using function-wrappers.

This port ought to use a port-installed libtomcrypt instead of building its
own version of same. Unfortunately, our security/libtomcrypt does not
(yet?) install a shared version.
2008-08-18 01:48:41 +00:00

67 lines
1.4 KiB
Makefile

LIB= tnl
CXXFLAGS+= -I../libtomcrypt -w -g -fpermissive -DNO_IPX_SUPPORT -DTNL_OS_LINUX -DTNL_DEBUG -D_TNL_ENABLE_LOGGING
SHLIB_MAJOR= 1
SHLIB_MINOR= 5
SRCS= assert.cpp\
asymmetricKey.cpp\
bitStream.cpp\
byteBuffer.cpp\
certificate.cpp\
clientPuzzle.cpp\
connectionStringTable.cpp\
dataChunker.cpp\
eventConnection.cpp\
ghostConnection.cpp\
huffmanStringProcessor.cpp\
log.cpp\
netBase.cpp\
netConnection.cpp\
netInterface.cpp\
netObject.cpp\
netStringTable.cpp\
platform.cpp\
random.cpp\
rpc.cpp\
symmetricCipher.cpp\
tnlMethodDispatch.cpp\
journal.cpp\
udp.cpp\
vector.cpp
INCS= tnl.h \
tnlNetBase.h \
tnlAssert.h \
tnlNetConnection.h \
tnlAsymmetricKey.h \
tnlNetEvent.h \
tnlBitSet.h \
tnlNetInterface.h \
tnlBitStream.h \
tnlNetObject.h \
tnlByteBuffer.h \
tnlNetStringTable.h \
tnlCertificate.h \
tnlNonce.h \
tnlClientPuzzle.h \
tnlPlatform.h \
tnlConnectionStringTable.h \
tnlRPC.h \
tnlDataChunker.h \
tnlRandom.h \
tnlEndian.h \
tnlString.h \
tnlEventConnection.h \
tnlSymmetricCipher.h \
tnlGhostConnection.h \
tnlThread.h \
tnlHuffmanStringProcessor.h \
tnlTypes.h \
tnlJournal.h \
tnlUDP.h \
tnlLog.h \
tnlVector.h \
tnlMethodDispatch.h
INCLUDEDIR= ${PREFIX}/include/tnl
LIBDIR= ${PREFIX}/lib
.include <bsd.lib.mk>