summaryrefslogtreecommitdiffstats
path: root/chalk/Makefile.am
blob: b0b06bbded0f89899adb43315654bf15e3b6ffb4 (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
46
47
48
INCLUDES  = $(KOFFICE_INCLUDES) $(KOPAINTER_INCLUDES) $(all_includes)

## The common lib, shared between the part, the plugins, and the filters
lib_LTLIBRARIES = libchalkcommon.la
libchalkcommon_la_SOURCES = dummy.cpp
libchalkcommon_la_LDFLAGS = $(all_libraries) $(LIB_QT) -version-info 1:0 -no-undefined
libchalkcommon_la_LIBADD = sdk/libchalksdk.la core/libchalkimage.la ui/libchalkui.la chalkcolor/libchalkcolor.la $(LCMS_LIBS) $(LIB_KOFFICEUI) $(LIB_KOPAINTER) $(LIB_KOPALETTE) $(LIB_XINPUTEXT)

## The part
kde_module_LTLIBRARIES = libchalkpart.la
libchalkpart_la_SOURCES = chalk_part_init.cpp
libchalkpart_la_LDFLAGS = $(all_libraries) $(LIB_QT) -module $(KDE_PLUGIN)
libchalkpart_la_LIBADD = $(KOFFICE_LIBS) libchalkcommon.la ../chalk/ui/libchalkui.la

METASOURCES = AUTO

## The tdeinit loadable module and executable
tdeinit_LTLIBRARIES = chalk.la
bin_PROGRAMS =
chalk_la_SOURCES = main.cpp
chalk_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT)
chalk_la_LIBADD = $(LIB_KOFFICECORE)

xdg_apps_DATA = chalk.desktop
kdemimedir = $(kde_mimedir)/application

rcdir = $(kde_datadir)/chalk
rc_DATA = chalk.rc chalk_readonly.rc

SUBDIRS = sdk chalkcolor core ui . dtd colorspaces plugins data pics 
# Needed to compile libchalkcommon.la, which has no source files to itself
# but everything in static libs.
dummy.cpp:
	echo > dummy.cpp

messages: rc.cpp
	$(EXTRACTRC) `find . -name \*.ui` >> rc.cpp
	$(EXTRACTRC) `find . -name \*.rc` >> rc.cpp
	perl extracti18n.pl > i18ndata
	$(XGETTEXT) i18ndata rc.cpp `find . -name \*.cpp -o -name \*.h -o -name \*.cpp` ui/kis_aboutdata.h -o $(podir)/chalk.pot
	rm -f i18ndata

DOXYGEN_EXCLUDE = CImg.h colorspaces plugins chalkcolor/colorspaces core/tiles
include $(top_srcdir)/admin/Doxyfile.am

kde_services_DATA = chalkpart.desktop

.NOTPARALLEL: