|
|
|
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_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.cc
|
|
|
|
libchalkpart_la_LDFLAGS = $(all_libraries) $(LIB_QT) -L../lib/kofficecore/.libs/ -lkofficecore -L../lib/kofficeui/.libs/ -lkofficeui -L../lib/store/.libs/ -lkstore -L../chalk/ui/.libs -lchalkui -module $(KDE_PLUGIN)
|
|
|
|
libchalkpart_la_LIBADD = libchalkcommon.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_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.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
|
|
|
|
|