Cleaned up execmd/netcon to enable multiple exec without locking

This commit is contained in:
Jean-Francois Dockes
2011-04-29 15:01:14 +02:00
parent 4869dfa775
commit 7d2928022c
9 changed files with 175 additions and 132 deletions
+11 -5
View File
@@ -1,11 +1,11 @@
depth = ..
include $(depth)/mk/sysconf
PROGS = trcopyfile trcircache trmd5 trreadfile trfileudi trconftree \
wipedir smallut \
trfstreewalk trpathut \
transcode trbase64 \
trmimeparse trexecmd utf8iter idfile
PROGS = trnetcon trcopyfile trcircache trmd5 trreadfile trfileudi trconftree \
wipedir smallut \
trfstreewalk trpathut \
transcode trbase64 \
trmimeparse trexecmd utf8iter idfile
all: $(PROGS) $(BIGLIB)
@@ -54,6 +54,12 @@ trpathut : $(PATHUT_OBJS)
trpathut.o : pathut.cpp pathut.h
$(CXX) -o trpathut.o -c $(ALL_CXXFLAGS) -DTEST_PATHUT pathut.cpp
NETCON_OBJS= trnetcon.o $(BIGLIB)
trnetcon : $(NETCON_OBJS)
$(CXX) $(ALL_CXXFLAGS) -o trnetcon $(NETCON_OBJS) $(LIBICONV) $(LIBSYS)
trnetcon.o : netcon.cpp netcon.h
$(CXX) -o trnetcon.o -c $(ALL_CXXFLAGS) -DTEST_NETCON netcon.cpp
FILEUDI_OBJS= trfileudi.o $(BIGLIB)
trfileudi : $(FILEUDI_OBJS)
$(CXX) $(ALL_CXXFLAGS) -o trfileudi $(FILEUDI_OBJS)