add config parameter to decide if we use the file command as a final step of mimetype identification
This commit is contained in:
+9
-1
@@ -3,7 +3,7 @@ include ../mk/sysconf
|
||||
BIGLIB = ../lib/librcl.a
|
||||
MIMELIB = ../bincimapmime/libmime.a
|
||||
|
||||
PROGS = recollindex csguess
|
||||
PROGS = recollindex csguess mimetype
|
||||
all: $(PROGS)
|
||||
|
||||
RECOLLINDEX_OBJS= recollindex.o $(BIGLIB) $(MIMELIB)
|
||||
@@ -21,6 +21,14 @@ trcsguess.o : csguess.cpp
|
||||
$(CXX) $(CXXFLAGS) -DTEST_CSGUESS -c -o trcsguess.o \
|
||||
csguess.cpp
|
||||
|
||||
MIMETYPE_OBJS= trmimetype.o $(BIGLIB)
|
||||
mimetype : $(MIMETYPE_OBJS)
|
||||
$(CXX) $(CXXFLAGS) -o mimetype $(MIMETYPE_OBJS) \
|
||||
$(LIBICONV)
|
||||
trmimetype.o : mimetype.cpp
|
||||
$(CXX) $(CXXFLAGS) -DTEST_MIMETYPE -c -o trmimetype.o \
|
||||
mimetype.cpp
|
||||
|
||||
clean:
|
||||
rm -f *.o $(PROGS)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user