|
a/src/index/Makefile |
|
b/src/index/Makefile |
1 |
include ../mk/sysconf
|
1 |
include ../mk/sysconf
|
2 |
|
2 |
|
3 |
BIGLIB = ../lib/librcl.a
|
3 |
BIGLIB = ../lib/librcl.a
|
4 |
MIMELIB = ../bincimapmime/libmime.a
|
4 |
MIMELIB = ../bincimapmime/libmime.a
|
5 |
|
5 |
|
6 |
PROGS = recollindex csguess
|
6 |
PROGS = recollindex csguess mimetype
|
7 |
all: $(PROGS)
|
7 |
all: $(PROGS)
|
8 |
|
8 |
|
9 |
RECOLLINDEX_OBJS= recollindex.o $(BIGLIB) $(MIMELIB)
|
9 |
RECOLLINDEX_OBJS= recollindex.o $(BIGLIB) $(MIMELIB)
|
10 |
recollindex : $(RECOLLINDEX_OBJS)
|
10 |
recollindex : $(RECOLLINDEX_OBJS)
|
11 |
$(CXX) $(CXXFLAGS) -o recollindex $(RECOLLINDEX_OBJS) \
|
11 |
$(CXX) $(CXXFLAGS) -o recollindex $(RECOLLINDEX_OBJS) \
|
|
... |
|
... |
19 |
$(LIBICONV)
|
19 |
$(LIBICONV)
|
20 |
trcsguess.o : csguess.cpp
|
20 |
trcsguess.o : csguess.cpp
|
21 |
$(CXX) $(CXXFLAGS) -DTEST_CSGUESS -c -o trcsguess.o \
|
21 |
$(CXX) $(CXXFLAGS) -DTEST_CSGUESS -c -o trcsguess.o \
|
22 |
csguess.cpp
|
22 |
csguess.cpp
|
23 |
|
23 |
|
|
|
24 |
MIMETYPE_OBJS= trmimetype.o $(BIGLIB)
|
|
|
25 |
mimetype : $(MIMETYPE_OBJS)
|
|
|
26 |
$(CXX) $(CXXFLAGS) -o mimetype $(MIMETYPE_OBJS) \
|
|
|
27 |
$(LIBICONV)
|
|
|
28 |
trmimetype.o : mimetype.cpp
|
|
|
29 |
$(CXX) $(CXXFLAGS) -DTEST_MIMETYPE -c -o trmimetype.o \
|
|
|
30 |
mimetype.cpp
|
|
|
31 |
|
24 |
clean:
|
32 |
clean:
|
25 |
rm -f *.o $(PROGS)
|
33 |
rm -f *.o $(PROGS)
|
26 |
|
34 |
|
27 |
alldeps:depend
|
35 |
alldeps:depend
|
28 |
depend:
|
36 |
depend:
|