summaryrefslogtreecommitdiffstats
path: root/chalk/Makefile.am
blob: 0940e393d2d6f3125dd470bc0a5a4bc9ae3b971f (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.cc
libchalkcommon_la_LDFLAGS = $(all_libraries) $(LIB_TQT) -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.cc
libchalkpart_la_LDFLAGS = $(all_libraries) $(LIB_TQT) -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.cc
chalk_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_TQT)
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.cc:
	echo > dummy.cc

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 \*.cc -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: