new libs Makefile+autoSearchOnWS
This commit is contained in:
+147
-80
@@ -5,125 +5,192 @@ UNACCFLAGS = -g -I. -I$(depth)/unac $(INCICONV) -DUNAC_VERSION=\"1.0.7\"
|
||||
|
||||
LIBS = librcl.a
|
||||
|
||||
all: depend $(LIBS)
|
||||
all: $(LIBS)
|
||||
|
||||
OBJS = base64.o conftree.o csguess.o debuglog.o \
|
||||
execmd.o wipedir.o \
|
||||
fstreewalk.o mh_html.o mh_mail.o mh_exec.o mh_text.o history.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 docseq.o sortseq.o copyfile.o stemdb.o
|
||||
OBJS = conftree.o csguess.o debuglog.o execmd.o idfile.o md5.o wipedir.o fstreewalk.o mh_html.o mh_mail.o mh_exec.o mh_text.o htmlparse.o indexer.o internfile.o mimehandler.o mimeparse.o mimetype.o myhtmlparse.o pathhash.o pathut.o rclconfig.o rcldb.o rclinit.o stemdb.o base64.o readfile.o smallut.o textsplit.o transcode.o unacpp.o history.o docseq.o sortseq.o copyfile.o
|
||||
DEPS = conftree.dep csguess.dep debuglog.dep execmd.dep idfile.dep md5.dep wipedir.dep fstreewalk.dep mh_html.dep mh_mail.dep mh_exec.dep mh_text.dep htmlparse.dep indexer.dep internfile.dep mimehandler.dep mimeparse.dep mimetype.dep myhtmlparse.dep pathhash.dep pathut.dep rclconfig.dep rcldb.dep rclinit.dep stemdb.dep base64.dep readfile.dep smallut.dep textsplit.dep transcode.dep unacpp.dep history.dep docseq.dep sortseq.dep copyfile.dep
|
||||
|
||||
SRCS = \
|
||||
$(depth)/utils/conftree.cpp $(depth)/index/csguess.cpp \
|
||||
$(depth)/utils/debuglog.cpp $(depth)/utils/execmd.cpp \
|
||||
$(depth)/utils/idfile.cpp $(depth)/utils/md5.cpp \
|
||||
$(depth)/utils/wipedir.cpp $(depth)/utils/fstreewalk.cpp \
|
||||
$(depth)/common/mh_html.cpp $(depth)/common/mh_mail.cpp \
|
||||
$(depth)/common/mh_exec.cpp $(depth)/common/mh_text.cpp \
|
||||
$(depth)/common/htmlparse.cpp $(depth)/index/indexer.cpp \
|
||||
$(depth)/common/internfile.cpp $(depth)/common/mimehandler.cpp \
|
||||
$(depth)/utils/mimeparse.cpp $(depth)/index/mimetype.cpp \
|
||||
$(depth)/common/myhtmlparse.cpp $(depth)/common/pathhash.cpp \
|
||||
$(depth)/utils/pathut.cpp $(depth)/common/rclconfig.cpp \
|
||||
$(depth)/common/rcldb.cpp $(depth)/common/rclinit.cpp \
|
||||
$(depth)/common/stemdb.cpp \
|
||||
$(depth)/utils/base64.cpp $(depth)/utils/readfile.cpp \
|
||||
$(depth)/utils/smallut.cpp $(depth)/common/textsplit.cpp \
|
||||
$(depth)/utils/transcode.cpp $(depth)/common/unacpp.cpp \
|
||||
$(depth)/unac/unac.c $(depth)/query/history.cpp \
|
||||
$(depth)/query/docseq.cpp $(depth)/query/sortseq.cpp \
|
||||
$(depth)/utils/copyfile.cpp
|
||||
|
||||
librcl.a : $(OBJS)
|
||||
ar ru librcl.a $(OBJS)
|
||||
librcl.a : $(OBJS) $(DEPS) unac.o
|
||||
ar ru librcl.a $(OBJS) unac.o
|
||||
$(RANLIB) librcl.a
|
||||
|
||||
unac.o : $(depth)/unac/unac.c $(depth)/unac/unac.h
|
||||
$(CC) $(UNACCFLAGS) -c $<
|
||||
|
||||
conftree.o : $(depth)/utils/conftree.cpp
|
||||
conftree.o :
|
||||
$(CXX) $(ALL_CXXFLAGS) -c $<
|
||||
csguess.o : $(depth)/index/csguess.cpp
|
||||
csguess.o :
|
||||
$(CXX) $(ALL_CXXFLAGS) -c $<
|
||||
debuglog.o : $(depth)/utils/debuglog.cpp
|
||||
debuglog.o :
|
||||
$(CXX) $(ALL_CXXFLAGS) -c $<
|
||||
execmd.o : $(depth)/utils/execmd.cpp
|
||||
execmd.o :
|
||||
$(CXX) $(ALL_CXXFLAGS) -c $<
|
||||
wipedir.o : $(depth)/utils/wipedir.cpp
|
||||
idfile.o :
|
||||
$(CXX) $(ALL_CXXFLAGS) -c $<
|
||||
fstreewalk.o : $(depth)/utils/fstreewalk.cpp
|
||||
md5.o :
|
||||
$(CXX) $(ALL_CXXFLAGS) -c $<
|
||||
history.o : $(depth)/query/history.cpp
|
||||
wipedir.o :
|
||||
$(CXX) $(ALL_CXXFLAGS) -c $<
|
||||
sortseq.o : $(depth)/query/sortseq.cpp
|
||||
fstreewalk.o :
|
||||
$(CXX) $(ALL_CXXFLAGS) -c $<
|
||||
docseq.o : $(depth)/query/docseq.cpp
|
||||
mh_html.o :
|
||||
$(CXX) $(ALL_CXXFLAGS) -c $<
|
||||
mh_html.o : $(depth)/common/mh_html.cpp
|
||||
mh_mail.o :
|
||||
$(CXX) $(ALL_CXXFLAGS) -c $<
|
||||
mh_exec.o : $(depth)/common/mh_exec.cpp
|
||||
mh_exec.o :
|
||||
$(CXX) $(ALL_CXXFLAGS) -c $<
|
||||
mh_text.o : $(depth)/common/mh_text.cpp
|
||||
mh_text.o :
|
||||
$(CXX) $(ALL_CXXFLAGS) -c $<
|
||||
htmlparse.o : $(depth)/common/htmlparse.cpp
|
||||
htmlparse.o :
|
||||
$(CXX) $(ALL_CXXFLAGS) -c $<
|
||||
idfile.o : $(depth)/utils/idfile.cpp
|
||||
indexer.o :
|
||||
$(CXX) $(ALL_CXXFLAGS) -c $<
|
||||
indexer.o : $(depth)/index/indexer.cpp
|
||||
internfile.o :
|
||||
$(CXX) $(ALL_CXXFLAGS) -c $<
|
||||
internfile.o : $(depth)/common/internfile.cpp
|
||||
mimehandler.o :
|
||||
$(CXX) $(ALL_CXXFLAGS) -c $<
|
||||
mh_mail.o : $(depth)/common/mh_mail.cpp
|
||||
mimeparse.o :
|
||||
$(CXX) $(ALL_CXXFLAGS) -c $<
|
||||
mimehandler.o : $(depth)/common/mimehandler.cpp
|
||||
mimetype.o :
|
||||
$(CXX) $(ALL_CXXFLAGS) -c $<
|
||||
mimeparse.o : $(depth)/utils/mimeparse.cpp
|
||||
myhtmlparse.o :
|
||||
$(CXX) $(ALL_CXXFLAGS) -c $<
|
||||
mimetype.o : $(depth)/index/mimetype.cpp
|
||||
pathhash.o :
|
||||
$(CXX) $(ALL_CXXFLAGS) -c $<
|
||||
myhtmlparse.o : $(depth)/common/myhtmlparse.cpp
|
||||
pathut.o :
|
||||
$(CXX) $(ALL_CXXFLAGS) -c $<
|
||||
pathut.o : $(depth)/utils/pathut.cpp
|
||||
rclconfig.o :
|
||||
$(CXX) $(ALL_CXXFLAGS) -c $<
|
||||
pathhash.o : $(depth)/common/pathhash.cpp
|
||||
rcldb.o :
|
||||
$(CXX) $(ALL_CXXFLAGS) -c $<
|
||||
rclconfig.o : $(depth)/common/rclconfig.cpp
|
||||
rclinit.o :
|
||||
$(CXX) $(ALL_CXXFLAGS) -c $<
|
||||
rclinit.o : $(depth)/common/rclinit.cpp
|
||||
stemdb.o :
|
||||
$(CXX) $(ALL_CXXFLAGS) -c $<
|
||||
rcldb.o : $(depth)/common/rcldb.cpp
|
||||
base64.o :
|
||||
$(CXX) $(ALL_CXXFLAGS) -c $<
|
||||
stemdb.o : $(depth)/common/stemdb.cpp
|
||||
readfile.o :
|
||||
$(CXX) $(ALL_CXXFLAGS) -c $<
|
||||
readfile.o : $(depth)/utils/readfile.cpp
|
||||
smallut.o :
|
||||
$(CXX) $(ALL_CXXFLAGS) -c $<
|
||||
base64.o : $(depth)/utils/base64.cpp
|
||||
textsplit.o :
|
||||
$(CXX) $(ALL_CXXFLAGS) -c $<
|
||||
smallut.o : $(depth)/utils/smallut.cpp
|
||||
transcode.o :
|
||||
$(CXX) $(ALL_CXXFLAGS) -c $<
|
||||
textsplit.o : $(depth)/common/textsplit.cpp
|
||||
unacpp.o :
|
||||
$(CXX) $(ALL_CXXFLAGS) -c $<
|
||||
transcode.o : $(depth)/utils/transcode.cpp
|
||||
history.o :
|
||||
$(CXX) $(ALL_CXXFLAGS) -c $<
|
||||
md5.o : $(depth)/utils/md5.cpp
|
||||
docseq.o :
|
||||
$(CXX) $(ALL_CXXFLAGS) -c $<
|
||||
unacpp.o : $(depth)/common/unacpp.cpp
|
||||
sortseq.o :
|
||||
$(CXX) $(ALL_CXXFLAGS) -c $<
|
||||
copyfile.o : $(depth)/utils/copyfile.cpp
|
||||
copyfile.o :
|
||||
$(CXX) $(ALL_CXXFLAGS) -c $<
|
||||
|
||||
depend: alldeps.stamp
|
||||
alldeps.stamp : $(SRCS)
|
||||
$(CXX) -M $(ALL_CXXFLAGS) $(SRCS) > alldeps
|
||||
touch alldeps.stamp
|
||||
|
||||
depend: $(DEPS)
|
||||
clean:
|
||||
cp /dev/null alldeps
|
||||
rm -f alldeps.stamp
|
||||
rm -f $(OBJS) $(LIBS)
|
||||
|
||||
include alldeps
|
||||
rm -f $(OBJS) $(LIBS) $(DEPS) unac.o
|
||||
conftree.dep : ../utils/conftree.cpp
|
||||
$(CXX) -M $(ALL_CXXFLAGS) $< > conftree.dep
|
||||
csguess.dep : ../index/csguess.cpp
|
||||
$(CXX) -M $(ALL_CXXFLAGS) $< > csguess.dep
|
||||
debuglog.dep : ../utils/debuglog.cpp
|
||||
$(CXX) -M $(ALL_CXXFLAGS) $< > debuglog.dep
|
||||
execmd.dep : ../utils/execmd.cpp
|
||||
$(CXX) -M $(ALL_CXXFLAGS) $< > execmd.dep
|
||||
idfile.dep : ../utils/idfile.cpp
|
||||
$(CXX) -M $(ALL_CXXFLAGS) $< > idfile.dep
|
||||
md5.dep : ../utils/md5.cpp
|
||||
$(CXX) -M $(ALL_CXXFLAGS) $< > md5.dep
|
||||
wipedir.dep : ../utils/wipedir.cpp
|
||||
$(CXX) -M $(ALL_CXXFLAGS) $< > wipedir.dep
|
||||
fstreewalk.dep : ../utils/fstreewalk.cpp
|
||||
$(CXX) -M $(ALL_CXXFLAGS) $< > fstreewalk.dep
|
||||
mh_html.dep : ../common/mh_html.cpp
|
||||
$(CXX) -M $(ALL_CXXFLAGS) $< > mh_html.dep
|
||||
mh_mail.dep : ../common/mh_mail.cpp
|
||||
$(CXX) -M $(ALL_CXXFLAGS) $< > mh_mail.dep
|
||||
mh_exec.dep : ../common/mh_exec.cpp
|
||||
$(CXX) -M $(ALL_CXXFLAGS) $< > mh_exec.dep
|
||||
mh_text.dep : ../common/mh_text.cpp
|
||||
$(CXX) -M $(ALL_CXXFLAGS) $< > mh_text.dep
|
||||
htmlparse.dep : ../common/htmlparse.cpp
|
||||
$(CXX) -M $(ALL_CXXFLAGS) $< > htmlparse.dep
|
||||
indexer.dep : ../index/indexer.cpp
|
||||
$(CXX) -M $(ALL_CXXFLAGS) $< > indexer.dep
|
||||
internfile.dep : ../common/internfile.cpp
|
||||
$(CXX) -M $(ALL_CXXFLAGS) $< > internfile.dep
|
||||
mimehandler.dep : ../common/mimehandler.cpp
|
||||
$(CXX) -M $(ALL_CXXFLAGS) $< > mimehandler.dep
|
||||
mimeparse.dep : ../utils/mimeparse.cpp
|
||||
$(CXX) -M $(ALL_CXXFLAGS) $< > mimeparse.dep
|
||||
mimetype.dep : ../index/mimetype.cpp
|
||||
$(CXX) -M $(ALL_CXXFLAGS) $< > mimetype.dep
|
||||
myhtmlparse.dep : ../common/myhtmlparse.cpp
|
||||
$(CXX) -M $(ALL_CXXFLAGS) $< > myhtmlparse.dep
|
||||
pathhash.dep : ../common/pathhash.cpp
|
||||
$(CXX) -M $(ALL_CXXFLAGS) $< > pathhash.dep
|
||||
pathut.dep : ../utils/pathut.cpp
|
||||
$(CXX) -M $(ALL_CXXFLAGS) $< > pathut.dep
|
||||
rclconfig.dep : ../common/rclconfig.cpp
|
||||
$(CXX) -M $(ALL_CXXFLAGS) $< > rclconfig.dep
|
||||
rcldb.dep : ../common/rcldb.cpp
|
||||
$(CXX) -M $(ALL_CXXFLAGS) $< > rcldb.dep
|
||||
rclinit.dep : ../common/rclinit.cpp
|
||||
$(CXX) -M $(ALL_CXXFLAGS) $< > rclinit.dep
|
||||
stemdb.dep : ../common/stemdb.cpp
|
||||
$(CXX) -M $(ALL_CXXFLAGS) $< > stemdb.dep
|
||||
base64.dep : ../utils/base64.cpp
|
||||
$(CXX) -M $(ALL_CXXFLAGS) $< > base64.dep
|
||||
readfile.dep : ../utils/readfile.cpp
|
||||
$(CXX) -M $(ALL_CXXFLAGS) $< > readfile.dep
|
||||
smallut.dep : ../utils/smallut.cpp
|
||||
$(CXX) -M $(ALL_CXXFLAGS) $< > smallut.dep
|
||||
textsplit.dep : ../common/textsplit.cpp
|
||||
$(CXX) -M $(ALL_CXXFLAGS) $< > textsplit.dep
|
||||
transcode.dep : ../utils/transcode.cpp
|
||||
$(CXX) -M $(ALL_CXXFLAGS) $< > transcode.dep
|
||||
unacpp.dep : ../common/unacpp.cpp
|
||||
$(CXX) -M $(ALL_CXXFLAGS) $< > unacpp.dep
|
||||
history.dep : ../query/history.cpp
|
||||
$(CXX) -M $(ALL_CXXFLAGS) $< > history.dep
|
||||
docseq.dep : ../query/docseq.cpp
|
||||
$(CXX) -M $(ALL_CXXFLAGS) $< > docseq.dep
|
||||
sortseq.dep : ../query/sortseq.cpp
|
||||
$(CXX) -M $(ALL_CXXFLAGS) $< > sortseq.dep
|
||||
copyfile.dep : ../utils/copyfile.cpp
|
||||
$(CXX) -M $(ALL_CXXFLAGS) $< > copyfile.dep
|
||||
include conftree.dep
|
||||
include csguess.dep
|
||||
include debuglog.dep
|
||||
include execmd.dep
|
||||
include idfile.dep
|
||||
include md5.dep
|
||||
include wipedir.dep
|
||||
include fstreewalk.dep
|
||||
include mh_html.dep
|
||||
include mh_mail.dep
|
||||
include mh_exec.dep
|
||||
include mh_text.dep
|
||||
include htmlparse.dep
|
||||
include indexer.dep
|
||||
include internfile.dep
|
||||
include mimehandler.dep
|
||||
include mimeparse.dep
|
||||
include mimetype.dep
|
||||
include myhtmlparse.dep
|
||||
include pathhash.dep
|
||||
include pathut.dep
|
||||
include rclconfig.dep
|
||||
include rcldb.dep
|
||||
include rclinit.dep
|
||||
include stemdb.dep
|
||||
include base64.dep
|
||||
include readfile.dep
|
||||
include smallut.dep
|
||||
include textsplit.dep
|
||||
include transcode.dep
|
||||
include unacpp.dep
|
||||
include history.dep
|
||||
include docseq.dep
|
||||
include sortseq.dep
|
||||
include copyfile.dep
|
||||
|
||||
Reference in New Issue
Block a user