|
a/src/utils/Makefile |
|
b/src/utils/Makefile |
1 |
include ../mk/sysconf
|
1 |
include ../mk/sysconf
|
2 |
|
2 |
|
3 |
BIGLIB = ../lib/librcl.a
|
3 |
BIGLIB = ../lib/librcl.a
|
4 |
|
4 |
|
5 |
PROGS = wipedir smallut trfstreewalk trpathut transcode trmimeparse \
|
5 |
PROGS = trconftree wipedir smallut trfstreewalk trpathut transcode \
|
6 |
trexecmd utf8iter idfile
|
6 |
trmimeparse trexecmd utf8iter idfile
|
7 |
|
7 |
|
8 |
all: $(PROGS)
|
8 |
all: $(PROGS)
|
9 |
|
9 |
|
10 |
FSTREEWALK_OBJS= trfstreewalk.o fstreewalk.o pathut.o
|
10 |
FSTREEWALK_OBJS= trfstreewalk.o fstreewalk.o pathut.o
|
11 |
trfstreewalk : $(FSTREEWALK_OBJS)
|
11 |
trfstreewalk : $(FSTREEWALK_OBJS)
|
|
... |
|
... |
65 |
utf8iter : $(UTF8ITER_OBJS)
|
65 |
utf8iter : $(UTF8ITER_OBJS)
|
66 |
$(CXX) $(CXXFLAGS) -o utf8iter $(UTF8ITER_OBJS) $(LIBICONV)
|
66 |
$(CXX) $(CXXFLAGS) -o utf8iter $(UTF8ITER_OBJS) $(LIBICONV)
|
67 |
trutf8iter.o : ../utils/utf8iter.cpp utf8iter.h
|
67 |
trutf8iter.o : ../utils/utf8iter.cpp utf8iter.h
|
68 |
$(CXX) $(CXXFLAGS) -DTEST_UTF8ITER -c -o trutf8iter.o \
|
68 |
$(CXX) $(CXXFLAGS) -DTEST_UTF8ITER -c -o trutf8iter.o \
|
69 |
utf8iter.cpp
|
69 |
utf8iter.cpp
|
|
|
70 |
|
|
|
71 |
|
|
|
72 |
|
|
|
73 |
CONFTREE_OBJS= trconftree.o $(BIGLIB)
|
|
|
74 |
trconftree : $(CONFTREE_OBJS)
|
|
|
75 |
$(CXX) $(CXXFLAGS) -o trconftree $(CONFTREE_OBJS)
|
|
|
76 |
trconftree.o : ../utils/conftree.cpp
|
|
|
77 |
$(CXX) $(CXXFLAGS) -DTEST_CONFTREE -c -o trconftree.o \
|
|
|
78 |
conftree.cpp
|
|
|
79 |
|
|
|
80 |
|
|
|
81 |
|
70 |
clean:
|
82 |
clean:
|
71 |
rm -f *.o $(PROGS)
|
83 |
rm -f *.o $(PROGS)
|