summaryrefslogtreecommitdiffstats
path: root/krita/kritacolor/Makefile.am
blob: e51e13d9ac82ea245a84fb35ec4238db63399b1a (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
37
38
39
40
41
42
43
44
45
# all_includes must remain last!
INCLUDES  = $(KOFFICE_INCLUDES) \
    -I$(srcdir) \
    -I$(srcdir)/../sdk \
    -I$(srcdir)/colorspaces \
    $(OPENEXR_CFLAGS) \
    $(all_includes)

lib_LTLIBRARIES = libkritacolor.la

if have_openexr
OPENEXR_SOURCES=kis_f16half_base_colorspace.cc
endif

libkritacolor_la_SOURCES = kis_color.cc kis_colorspace.cc \
	kis_colorspace_iface.cc kis_colorspace_iface.skel kis_composite_op.cc kis_profile.cc \
	kis_histogram_producer.cc kis_basic_histogram_producers.cc kis_abstract_colorspace.cc \
	kis_colorspace_factory_registry.cc kis_color_conversions.cc kis_u8_base_colorspace.cc \
	kis_u16_base_colorspace.cc kis_f32_base_colorspace.cc $(OPENEXR_SOURCES)

libkritacolor_la_LDFLAGS = -version-info 1:0:0 -no-undefined $(all_libraries)
libkritacolor_la_LIBADD  = colorspaces/libkritacolorspaces.la $(LCMS_LIBS) $(LIB_KPARTS) $(LIB_KDECORE) $(LIB_QT) $(OPENEXR_LIBS)

include_HEADERS =  \
    kis_channelinfo.h \
    kis_color.h \
    kis_colorspace.h \
    kis_composite_op.h \
    kis_profile.h \
    kis_histogram_producer.h \
    kis_basic_histogram_producers.h kis_u8_base_colorspace.h kis_u16_base_colorspace.h kis_f16half_base_colorspace.h kis_f32_base_colorspace.h \
    kis_colorspace_factory_registry.h kis_abstract_colorspace.h


if include_kunittest_tests
TESTSDIR = tests
endif

SUBDIRS = colorspaces . $(TESTSDIR)

kde_servicetypes_DATA =  krita_colorspace.desktop

METASOURCES = AUTO