summaryrefslogtreecommitdiffstats
path: root/src/imageutils/Makefile.am
blob: 927672c57aa15e55e85c4077019abdd5eab15e40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# QT_CLEAN_NAMESPACE is needed when building with automake, otherwise
# compilation fails in jpegcontent.cpp
AM_CPPFLAGS = -I$(srcdir) -I$(srcdir)/.. $(LIBEXIF_CFLAGS) $(all_includes) \
	-DQT_CLEAN_NAMESPACE
AM_CCASFLAGS = -I$(srcdir) $(GV_ASM_DEFS)

KDE_CXXFLAGS = $(USE_EXCEPTIONS)

noinst_LTLIBRARIES = libgvimageutils.la

libgvimageutils_la_SOURCES = \
	imageutils.cpp \
	jpegcontent.cpp \
	scale.cpp \
	transupp.c \
	asm_scale.S \
	croppedqimage.cpp

libgvimageutils_la_LIBADD = $(LIB_TDECORE) $(LIBQT) $(LIBJPEG) $(LIB_EXIV2)

noinst_HEADERS = \
	orientation.h \
	imageutils.h \
	jpegcontent.h \
	jinclude.h \
	transupp.h \
	jpegerrormanager.h \
	croppedqimage.h

METASOURCES = AUTO

check_PROGRAMS = testjpegcontent
testjpegcontent_SOURCES = testjpegcontent.cpp
testjpegcontent_LDADD = $(LIB_TDEFILE) libgvimageutils.la
testjpegcontent_LDFLAGS = $(all_libraries)