--- a/src/lib/Makefile
+++ b/src/lib/Makefile
@@ -6,22 +6,24 @@
LIBS = librcl.a
all: $(LIBS)
-OBJS = conftree.o csguess.o debuglog.o \
+OBJS = base64.o conftree.o csguess.o debuglog.o \
execmd.o wipedir.o \
- fstreewalk.o html.o mail.o htmlparse.o idfile.o indexer.o internfile.o \
- mimehandler.o mimeparse.o mimetype.o myhtmlparse.o pathut.o \
+ fstreewalk.o html.o mail.o htmlparse.o idfile.o indexer.o \
+ internfile.o md5.o \
+ mimehandler.o mimeparse.o mimetype.o myhtmlparse.o pathhash.o pathut.o \
rclconfig.o rcldb.o rclinit.o readfile.o smallut.o \
textsplit.o transcode.o \
unacpp.o unac.o
SRCS = ../utils/conftree.cpp ../index/csguess.cpp ../utils/debuglog.cpp \
- ../utils/execmd.cpp ../utils/idfile.cpp ../utils/wipedir.cpp \
+ ../utils/execmd.cpp ../utils/idfile.cpp ../utils/md5.cpp \
+ ../utils/wipedir.cpp \
../utils/fstreewalk.cpp ../common/html.cpp ../common/mail.cpp \
../common/htmlparse.cpp \
../index/indexer.cpp ../common/internfile.cpp \
../common/mimehandler.cpp ../utils/mimeparse.cpp ../index/mimetype.cpp \
- ../common/myhtmlparse.cpp ../utils/pathut.cpp \
+ ../common/myhtmlparse.cpp ../common/pathhash.cpp ../utils/pathut.cpp \
../common/rclconfig.cpp ../common/rcldb.cpp ../common/rclinit.cpp \
- ../utils/readfile.cpp ../utils/smallut.cpp \
+ ../utils/base64.cpp ../utils/readfile.cpp ../utils/smallut.cpp \
../common/textsplit.cpp ../utils/transcode.cpp \
../common/unacpp.cpp ../unac/unac.c
@@ -67,6 +69,8 @@
$(CXX) $(CXXFLAGS) -c $<
pathut.o : ../utils/pathut.cpp
$(CXX) $(CXXFLAGS) -c $<
+pathhash.o : ../common/pathhash.cpp
+ $(CXX) $(CXXFLAGS) -c $<
rclconfig.o : ../common/rclconfig.cpp
$(CXX) $(CXXFLAGS) -c $<
rclinit.o : ../common/rclinit.cpp
@@ -75,11 +79,15 @@
$(CXX) $(CXXFLAGS) -c $<
readfile.o : ../utils/readfile.cpp
$(CXX) $(CXXFLAGS) -c $<
+base64.o : ../utils/base64.cpp
+ $(CXX) $(CXXFLAGS) -c $<
smallut.o : ../utils/smallut.cpp
$(CXX) $(CXXFLAGS) -c $<
textsplit.o : ../common/textsplit.cpp
$(CXX) $(CXXFLAGS) -c $<
transcode.o : ../utils/transcode.cpp
+ $(CXX) $(CXXFLAGS) -c $<
+md5.o : ../utils/md5.cpp
$(CXX) $(CXXFLAGS) -c $<
unacpp.o : ../common/unacpp.cpp
$(CXX) $(CXXFLAGS) -c $<