summaryrefslogtreecommitdiffstats
path: root/chalk/chalkcolor/Makefile.am
blob: 635fd6727acc5a055b3962ad97d44dcba139aa0d (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 = libchalkcolor.la

if have_openexr
OPENEXR_SOURCES=kis_f16half_base_colorspace.cc
endif

libchalkcolor_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)

libchalkcolor_la_LDFLAGS = -version-info 1:0:0 -no-undefined $(all_libraries)
libchalkcolor_la_LIBADD  = colorspaces/libchalkcolorspaces.la $(LCMS_LIBS) $(LIB_KPARTS) $(LIB_TDECORE) $(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 =  chalk_colorspace.desktop

METASOURCES = AUTO