|
a/src/index/Makefile |
|
b/src/index/Makefile |
1 |
depth = ..
|
1 |
PROGS = subtreelist mimetype
|
2 |
include $(depth)/mk/sysconf
|
2 |
all: $(PROGS)
|
3 |
|
|
|
4 |
PROGS = recollindex
|
|
|
5 |
SRCS = recollindex.cpp rclmonrcv.cpp rclmonprc.cpp
|
|
|
6 |
|
|
|
7 |
all: depend librecoll $(PROGS)
|
|
|
8 |
|
|
|
9 |
RECOLLINDEX_OBJS= recollindex.o rclmonrcv.o rclmonprc.o
|
|
|
10 |
recollindex : $(RECOLLINDEX_OBJS)
|
|
|
11 |
$(CXX) $(ALL_CXXFLAGS) $(RECOLL_LDFLAGS) $(LDFLAGS) -o recollindex \
|
|
|
12 |
$(RECOLLINDEX_OBJS) \
|
|
|
13 |
$(BSTATIC) $(LIBRECOLL) $(LIBXAPIAN) $(LIBXAPIANSTATICEXTRA) \
|
|
|
14 |
$(LIBICONV) $(BDYNAMIC) \
|
|
|
15 |
$(LIBFAM) \
|
|
|
16 |
$(X_LIBS) $(X_PRE_LIBS) $(X_LIBX11) $(X_EXTRA_LIBS) \
|
|
|
17 |
$(LIBSYS) $(LIBTHREADS)
|
|
|
18 |
recollindex.o : recollindex.cpp
|
|
|
19 |
$(CXX) $(ALL_CXXFLAGS) -c -o recollindex.o $<
|
|
|
20 |
rclmonrcv.o : rclmonrcv.cpp
|
|
|
21 |
$(CXX) $(ALL_CXXFLAGS) -c -o rclmonrcv.o $<
|
|
|
22 |
rclmonprc.o : rclmonprc.cpp
|
|
|
23 |
$(CXX) $(ALL_CXXFLAGS) -c -o rclmonprc.o $<
|
|
|
24 |
|
3 |
|
25 |
SUBTREELIST_OBJS= subtreelist.o
|
4 |
SUBTREELIST_OBJS= subtreelist.o
|
26 |
subtreelist : $(SUBTREELIST_OBJS)
|
5 |
subtreelist : $(SUBTREELIST_OBJS)
|
27 |
$(CXX) $(ALL_CXXFLAGS) -o subtreelist $(SUBTREELIST_OBJS) \
|
6 |
$(CXX) $(ALL_CXXFLAGS) -o subtreelist $(SUBTREELIST_OBJS) \
|
28 |
$(LIBRECOLL) $(LIBICONV) $(LIBXAPIAN) $(LIBSYS)
|
7 |
$(LIBRECOLL)
|
29 |
subtreelist.o : subtreelist.cpp
|
8 |
subtreelist.o : subtreelist.cpp
|
30 |
$(CXX) $(ALL_CXXFLAGS) -DTEST_SUBTREELIST -c subtreelist.cpp
|
9 |
$(CXX) $(ALL_CXXFLAGS) -DTEST_SUBTREELIST -c subtreelist.cpp
|
31 |
|
10 |
|
32 |
MIMETYPE_OBJS= trmimetype.o
|
11 |
MIMETYPE_OBJS= trmimetype.o
|
33 |
mimetype : $(MIMETYPE_OBJS)
|
12 |
mimetype : $(MIMETYPE_OBJS)
|
34 |
$(CXX) $(ALL_CXXFLAGS) -o mimetype $(MIMETYPE_OBJS) \
|
13 |
$(CXX) $(ALL_CXXFLAGS) -o mimetype $(MIMETYPE_OBJS) $(LIBRECOLL)
|
35 |
$(LIBRECOLL) $(LIBICONV) $(LIBSYS)
|
|
|
36 |
trmimetype.o : mimetype.cpp
|
14 |
trmimetype.o : mimetype.cpp
|
37 |
$(CXX) $(ALL_CXXFLAGS) -DTEST_MIMETYPE -c -o trmimetype.o \
|
15 |
$(CXX) $(ALL_CXXFLAGS) -DTEST_MIMETYPE -c -o trmimetype.o \
|
38 |
mimetype.cpp
|
16 |
mimetype.cpp
|
39 |
|
17 |
|
40 |
include $(depth)/mk/commontargets
|
18 |
include ../utils/utmkdefs.mk
|
41 |
|
|
|
42 |
include alldeps
|
|
|