Blame libdjvu/Makefile.am

Packit df99a1
lib_LTLIBRARIES = libdjvulibre.la
Packit df99a1
Packit df99a1
includesdir = $(includedir)/libdjvu
Packit df99a1
includes_HEADERS = ddjvuapi.h miniexp.h
Packit df99a1
Packit df99a1
libdjvulibre_la_SOURCES = Arrays.cpp BSByteStream.cpp			\
Packit df99a1
 BSEncodeByteStream.cpp ByteStream.cpp DataPool.cpp DjVmDir.cpp		\
Packit df99a1
 DjVmDir0.cpp DjVmDoc.cpp DjVmNav.cpp DjVuAnno.cpp DjVuDocEditor.cpp	\
Packit df99a1
 DjVuDocument.cpp DjVuDumpHelper.cpp DjVuErrorList.cpp DjVuFile.cpp	\
Packit df99a1
 DjVuFileCache.cpp DjVuGlobal.cpp DjVuGlobalMemory.cpp DjVuImage.cpp	\
Packit df99a1
 DjVuInfo.cpp DjVuMessage.cpp DjVuMessageLite.cpp DjVuNavDir.cpp	\
Packit df99a1
 DjVuPalette.cpp DjVuPort.cpp DjVuText.cpp DjVuToPS.cpp GBitmap.cpp	\
Packit df99a1
 GContainer.cpp GException.cpp GIFFManager.cpp GMapAreas.cpp GOS.cpp	\
Packit df99a1
 GPixmap.cpp GRect.cpp GScaler.cpp GSmartPointer.cpp GString.cpp	\
Packit df99a1
 GThreads.cpp GURL.cpp GUnicode.cpp IFFByteStream.cpp			\
Packit df99a1
 IW44EncodeCodec.cpp IW44Image.cpp JB2EncodeCodec.cpp JB2Image.cpp	\
Packit df99a1
 JPEGDecoder.cpp MMRDecoder.cpp MMX.cpp UnicodeByteStream.cpp		\
Packit df99a1
 XMLParser.cpp XMLTags.cpp ZPCodec.cpp atomic.cpp ddjvuapi.cpp		\
Packit df99a1
 debug.cpp miniexp.cpp Arrays.h BSByteStream.h ByteStream.h		\
Packit df99a1
 DataPool.h DjVmDir.h DjVmDir0.h DjVmDoc.h DjVmNav.h DjVuAnno.h		\
Packit df99a1
 DjVuDocEditor.h DjVuDocument.h DjVuDumpHelper.h DjVuErrorList.h	\
Packit df99a1
 DjVuFile.h DjVuFileCache.h DjVuGlobal.h DjVuImage.h DjVuInfo.h		\
Packit df99a1
 DjVuMessage.h DjVuMessageLite.h DjVuNavDir.h DjVuPalette.h		\
Packit df99a1
 DjVuPort.h DjVuText.h DjVuToPS.h GBitmap.h GContainer.h GException.h	\
Packit df99a1
 GIFFManager.h GMapAreas.h GOS.h GPixmap.h GRect.h GScaler.h		\
Packit df99a1
 GSmartPointer.h GString.h GThreads.h GURL.h IFFByteStream.h		\
Packit df99a1
 IW44Image.h JB2Image.h JPEGDecoder.h MMRDecoder.h MMX.h Template.h	\
Packit df99a1
 UnicodeByteStream.h XMLParser.h XMLTags.h ZPCodec.h atomic.h debug.h
Packit df99a1
Packit df99a1
libdjvulibre_la_CPPFLAGS = -DDIR_DATADIR=\"$(datadir)\"
Packit df99a1
libdjvulibre_la_CXXFLAGS = $(JPEG_CFLAGS) $(PTHREAD_CFLAGS)
Packit df99a1
libdjvulibre_la_LIBADD = $(JPEG_LIBS) $(PTHREAD_LIBS)
Packit df99a1
libdjvulibre_la_LDFLAGS = -no-undefined -version-info $(version_info)
Packit df99a1
Packit df99a1
if HAVE_OS_WIN32
Packit df99a1
libdjvulibre_la_LDFLAGS += -Wl,--export-all-symbols
Packit df99a1
endif
Packit df99a1
Packit df99a1
sed_process = $(SED) \
Packit df99a1
 -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \
Packit df99a1
 -e 's,@prefix\@,$(prefix),g' \
Packit df99a1
 -e 's,@exec_prefix\@,$(exec_prefix),g' \
Packit df99a1
 -e 's,@libdir\@,$(libdir),g' \
Packit df99a1
 -e 's,@includedir\@,$(includedir),g' \
Packit df99a1
 -e 's,@Libs\@,-L$(libdir) -ldjvulibre,g' \
Packit df99a1
 -e 's,@Libsprivate\@,$(JPEG_LIBS) $(PTHREAD_LIBS) $(LIBS),g' \
Packit df99a1
 -e 's,@Cflags\@,-I$(includedir) $(JPEG_CFLAGS) $(PTHREAD_CFLAGS),g' \
Packit df99a1
 < $< > $@ || (rm $@; exit 1)
Packit df99a1
Packit df99a1
pc_verbose = $(pc_verbose_@AM_V@)
Packit df99a1
pc_verbose_ = $(pc_verbose_@AM_DEFAULT_V@)
Packit df99a1
pc_verbose_0 = @echo "  PC      " $@;
Packit df99a1
Packit df99a1
ddjvuapi.pc: ddjvuapi.pc.in Makefile
Packit df99a1
	$(AM_V_at)rm -f $@
Packit df99a1
	$(pc_verbose)$(sed_process)
Packit df99a1
Packit df99a1
pkgconfig_DATA = ddjvuapi.pc
Packit df99a1
EXTRA_DIST = ddjvuapi.pc.in
Packit df99a1
MOSTLYCLEANFILES = ddjvuapi.pc