From: František Dvořák Date: Tue, 14 Jan 2014 09:59:23 +0000 (+0100) Subject: Unbundle: update build system. X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=b98d666c174ae7380feb7a6a384dd54631bb5d1f;p=FreeImage.git Unbundle: update build system. --- diff --git a/Makefile.gnu b/Makefile.gnu index 0c967b8..2edf0ef 100644 --- a/Makefile.gnu +++ b/Makefile.gnu @@ -11,8 +11,8 @@ INSTALLDIR ?= $(DESTDIR)/usr/lib # Converts cr/lf to just lf DOS2UNIX = dos2unix -LIBRARIES = -lstdc++ - +INCLUDE += $(shell pkg-config --cflags libopenjpeg libpng libraw OpenEXR zlib libtiff-4) +LIBRARIES = -lstdc++ $(shell pkg-config --libs libopenjpeg libpng libraw libraw OpenEXR zlib libtiff-4) -ljpeg MODULES = $(SRCS:.c=.o) MODULES := $(MODULES:.cpp=.o) CFLAGS ?= -O3 -fPIC -fexceptions -fvisibility=hidden -DNO_LCMS diff --git a/gensrclist.sh b/gensrclist.sh index 3b32682..329a7cb 100644 --- a/gensrclist.sh +++ b/gensrclist.sh @@ -1,6 +1,6 @@ #!/bin/sh -DIRLIST=". Source Source/Metadata Source/FreeImageToolkit Source/LibJPEG Source/LibPNG Source/LibTIFF4 Source/ZLib Source/LibOpenJPEG Source/OpenEXR Source/OpenEXR/Half Source/OpenEXR/Iex Source/OpenEXR/IlmImf Source/OpenEXR/IlmThread Source/OpenEXR/Imath Source/LibRawLite Source/LibRawLite/dcraw Source/LibRawLite/internal Source/LibRawLite/libraw Source/LibRawLite/src" +DIRLIST=". Source Source/Metadata Source/FreeImageToolkit" echo "VER_MAJOR = 3" > Makefile.srcs echo "VER_MINOR = 15.4" >> Makefile.srcs