Commit 6e783da9 authored by Guillaume Lazzara's avatar Guillaume Lazzara
Browse files

src/Makefile.am: Remove useless flags. Aesthetic changes.

parent 206ddb6b
2010-08-13 Guillaume Lazzara <z@lrde.epita.fr>
* src/Makefile.am: Remove useless flags. Aesthetic changes.
2010-08-13 Guillaume Lazzara <z@lrde.epita.fr>
* scribo/debug/text_areas_image.hh: Add a typedef to help g++-3.3.
......
......@@ -37,35 +37,32 @@ bin_PROGRAMS =
if HAVE_TESSERACT
bin_PROGRAMS += pbm_text_in_doc
pbm_text_in_doc_CPPFLAGS = $(AM_CPPFLAGS) -g -ggdb \
bin_PROGRAMS += pbm_text_in_doc
pbm_text_in_doc_SOURCES = pbm_text_in_doc.cc
pbm_text_in_doc_CPPFLAGS = $(AM_CPPFLAGS) \
$(TESSERACT_CPPFLAGS) \
$(TIFF_CPPFLAGS)
pbm_text_in_doc_LDFLAGS = $(AM_LDFLAGS) -g -ggdb\
pbm_text_in_doc_LDFLAGS = $(AM_LDFLAGS) \
$(TESSERACT_LDFLAGS) \
$(TIFF_LDFLAGS) \
-lpthread
pbm_text_in_doc_SOURCES = pbm_text_in_doc.cc
endif HAVE_TESSERACT
if HAVE_MAGICKXX
bin_PROGRAMS += text_in_doc_preprocess
bin_PROGRAMS += text_in_doc_preprocess
text_in_doc_preprocess_SOURCES = text_in_doc_preprocess.cc
text_in_doc_preprocess_CPPFLAGS = $(AM_CPPFLAGS) \
$(MAGICKXX_CPPFLAGS)
text_in_doc_preprocess_LDFLAGS = $(AM_LDFLAGS) \
-lpthread \
$(MAGICKXX_LDFLAGS)
text_in_doc_preprocess_SOURCES = text_in_doc_preprocess.cc
bin_PROGRAMS += text_in_picture
text_in_picture_SOURCES = text_in_picture.cc
bin_PROGRAMS += text_in_picture
text_in_picture_SOURCES = text_in_picture.cc
text_in_picture_CPPFLAGS = $(AM_CPPFLAGS) \
$(MAGICKXX_CPPFLAGS)
text_in_picture_LDFLAGS = $(AM_LDFLAGS) \
......@@ -74,29 +71,17 @@ if HAVE_MAGICKXX
if HAVE_TESSERACT
if HAVE_TIFF
bin_PROGRAMS += text_in_doc
text_in_doc_SOURCES = text_in_doc.cc
text_in_doc_CPPFLAGS = $(AM_CPPFLAGS) \
$(TESSERACT_CPPFLAGS) \
$(TIFF_CPPFLAGS)
text_in_doc_LDFLAGS = $(AM_LDFLAGS) \
$(TESSERACT_LDFLAGS) \
$(TIFF_LDFLAGS) \
-lpthread
bin_PROGRAMS += text_in_doc_ppm
text_in_doc_ppm_SOURCES = text_in_doc_ppm.cc
text_in_doc_ppm_CPPFLAGS = $(AM_CPPFLAGS) \
$(TESSERACT_CPPFLAGS) \
$(TIFF_CPPFLAGS)
text_in_doc_ppm_LDFLAGS = $(AM_LDFLAGS) \
$(TESSERACT_LDFLAGS) \
$(TIFF_LDFLAGS) \
-lpthread
endif HAVE_TIFF
bin_PROGRAMS += text_recognition_in_picture
text_recognition_in_picture_SOURCES = text_recognition_in_picture.cc
text_recognition_in_picture_CPPFLAGS = $(AM_CPPFLAGS) \
$(TESSERACT_CPPFLAGS) \
$(TIFF_CPPFLAGS) \
$(MAGICKXX_CPPFLAGS)
text_recognition_in_picture_LDFLAGS = $(AM_LDFLAGS) \
-lpthread \
$(TESSERACT_LDFLAGS) \
$(TIFF_LDFLAGS) \
$(MAGICKXX_LDFLAGS)
endif HAVE_TESSERACT
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment