Switch to unified view

a/src/utils/Makefile b/src/utils/Makefile
1
depth = ..
1
depth = ..
2
include $(depth)/mk/sysconf
2
include $(depth)/mk/sysconf
3
3
4
PROGS = trcircache trmd5 trreadfile trfileudi trconftree wipedir smallut \
4
PROGS = trcopyfile trcircache trmd5 trreadfile trfileudi trconftree \
5
      wipedir smallut \
5
      trfstreewalk trpathut \
6
      trfstreewalk trpathut \
6
      transcode trbase64 \
7
      transcode trbase64 \
7
      trmimeparse trexecmd utf8iter idfile
8
      trmimeparse trexecmd utf8iter idfile
8
9
9
all: $(PROGS) $(BIGLIB)
10
all: $(PROGS) $(BIGLIB)
...
...
30
trcircache : $(CIRCACHE_OBJS)
31
trcircache : $(CIRCACHE_OBJS)
31
    $(CXX) -o trcircache $(CIRCACHE_OBJS) $(LIBICONV) $(LIBSYS)
32
    $(CXX) -o trcircache $(CIRCACHE_OBJS) $(LIBICONV) $(LIBSYS)
32
trcircache.o : circache.cpp circache.h
33
trcircache.o : circache.cpp circache.h
33
    $(CXX) -o trcircache.o -c $(ALL_CXXFLAGS) \
34
    $(CXX) -o trcircache.o -c $(ALL_CXXFLAGS) \
34
           -DTEST_CIRCACHE circache.cpp
35
           -DTEST_CIRCACHE circache.cpp
36
37
COPYFILE_OBJS= trcopyfile.o copyfile.o $(BIGLIB)
38
trcopyfile : $(COPYFILE_OBJS)
39
  $(CXX) -o trcopyfile $(COPYFILE_OBJS) $(LIBICONV) $(LIBSYS)
40
trcopyfile.o : copyfile.cpp copyfile.h
41
  $(CXX) -o trcopyfile.o -c $(ALL_CXXFLAGS) \
42
         -DTEST_COPYFILE copyfile.cpp
35
43
36
MD5_OBJS= trmd5.o md5.o $(BIGLIB)
44
MD5_OBJS= trmd5.o md5.o $(BIGLIB)
37
trmd5 : $(MD5_OBJS)
45
trmd5 : $(MD5_OBJS)
38
    $(CXX) -o trmd5 $(MD5_OBJS) $(LIBICONV) $(LIBSYS)
46
    $(CXX) -o trmd5 $(MD5_OBJS) $(LIBICONV) $(LIBSYS)
39
trmd5.o : md5.cpp md5.h
47
trmd5.o : md5.cpp md5.h