From cb2577b29fe7b93e9b168ded7f35da748fdeaf1d Mon Sep 17 00:00:00 2001 From: Fritz Elfert Date: Tue, 5 Mar 2002 17:58:11 +0000 Subject: - Re-Implemented lower levels of ncpd (packet and link). ncpd is now multithreaded. Results in much better performance and less CPU usage. --- ncpd/Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ncpd/Makefile.am') diff --git a/ncpd/Makefile.am b/ncpd/Makefile.am index 1ead85c..ca715b2 100644 --- a/ncpd/Makefile.am +++ b/ncpd/Makefile.am @@ -1,10 +1,12 @@ # $Id$ # INCLUDES=-I$(top_srcdir)/lib +CFLAGS += -D_REENTRANT +CXXFLAGS += -D_REENTRANT sbin_PROGRAMS = ncpd -ncpd_LDADD = $(top_srcdir)/lib/libplp.la $(LIBCCMALLOC_CXX) +ncpd_LDADD = $(top_srcdir)/lib/libplp.la -lpthread $(LIBCCMALLOC_CXX) ncpd_SOURCES = channel.cc link.cc linkchan.cc main.cc \ ncp.cc packet.cc socketchan.cc mp_serial.c EXTRA_DIST = channel.h link.h linkchan.h mp_serial.h ncp.h packet.h socketchan.h -- cgit v1.2.3