define renameormove() function and use it in internfile

This commit is contained in:
Jean-Francois Dockes
2010-09-27 12:59:42 +02:00
parent 2ab51e449c
commit 5b8bb28c5d
4 changed files with 145 additions and 44 deletions
+9 -1
View File
@@ -1,7 +1,8 @@
depth = ..
include $(depth)/mk/sysconf
PROGS = trcircache trmd5 trreadfile trfileudi trconftree wipedir smallut \
PROGS = trcopyfile trcircache trmd5 trreadfile trfileudi trconftree \
wipedir smallut \
trfstreewalk trpathut \
transcode trbase64 \
trmimeparse trexecmd utf8iter idfile
@@ -33,6 +34,13 @@ trcircache.o : circache.cpp circache.h
$(CXX) -o trcircache.o -c $(ALL_CXXFLAGS) \
-DTEST_CIRCACHE circache.cpp
COPYFILE_OBJS= trcopyfile.o copyfile.o $(BIGLIB)
trcopyfile : $(COPYFILE_OBJS)
$(CXX) -o trcopyfile $(COPYFILE_OBJS) $(LIBICONV) $(LIBSYS)
trcopyfile.o : copyfile.cpp copyfile.h
$(CXX) -o trcopyfile.o -c $(ALL_CXXFLAGS) \
-DTEST_COPYFILE copyfile.cpp
MD5_OBJS= trmd5.o md5.o $(BIGLIB)
trmd5 : $(MD5_OBJS)
$(CXX) -o trmd5 $(MD5_OBJS) $(LIBICONV) $(LIBSYS)