summaryrefslogtreecommitdiffstats
path: root/src/imageutils/Makefile.am
blob: 9fba7c9051bb9f674f715017449ae7b7b69055cb (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
36
# 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 \
	jpegint.h \
	transupp.h \
	jpegerrormanager.h \
	croppedqimage.h

METASOURCES = AUTO

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