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 = trecrontab 
4
PROGS = trnetcon trcopyfile trcircache trmd5 trreadfile trfileudi \
5
      #trnetcon trcopyfile trcircache trmd5 trreadfile trfileudi \
5
      trconftree wipedir smallut  trfstreewalk trpathut transcode trbase64 \
6
      #trconftree wipedir smallut  trfstreewalk trpathut transcode trbase64 \
6
      trmimeparse trexecmd utf8iter idfile
7
      #trmimeparse trexecmd utf8iter idfile
7
8
8
all: $(PROGS) $(BIGLIB)
9
all: $(PROGS) $(BIGLIB)
9
10
10
$(BIGLIB): force
11
$(BIGLIB): force
11
    cd $(depth)/lib;$(MAKE)
12
    cd $(depth)/lib;$(MAKE)
12
force:
13
force:
14
15
ECRONTAB_OBJS= trecrontab.o $(BIGLIB)
16
trecrontab : $(ECRONTAB_OBJS)
17
  $(CXX) -o trecrontab $(ECRONTAB_OBJS) $(LIBICONV) \
18
         $(LIBSYS)
19
trecrontab.o : ecrontab.cpp ecrontab.h
20
  $(CXX) -o trecrontab.o -c $(ALL_CXXFLAGS) \
21
         -DTEST_ECRONTAB ecrontab.cpp
13
22
14
FSTREEWALK_OBJS= trfstreewalk.o $(BIGLIB)
23
FSTREEWALK_OBJS= trfstreewalk.o $(BIGLIB)
15
trfstreewalk : $(FSTREEWALK_OBJS)
24
trfstreewalk : $(FSTREEWALK_OBJS)
16
    $(CXX) -o trfstreewalk $(FSTREEWALK_OBJS) $(LIBICONV) \
25
    $(CXX) -o trfstreewalk $(FSTREEWALK_OBJS) $(LIBICONV) \
17
           $(LIBSYS)
26
           $(LIBSYS)