summaryrefslogtreecommitdiffstats
path: root/chalk/plugins/viewplugins/screenshot/Makefile.am
blob: 9ad989c64af428a219ec7f5d880c86ee7fa81217 (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
chalkrcdir = $(kde_datadir)/chalkplugins
chalkrc_DATA = screenshot-chalk.rc

EXTRA_DIST =  $(chalkrc_DATA)

INCLUDES =  -I$(srcdir)/../../../sdk \
	-I$(srcdir)/../../../core \
	-I$(srcdir)/../../../chalkcolor/ \
	-I$(srcdir)/../../../ui \
	$(KOFFICE_INCLUDES) \
	$(all_includes)

kde_module_LTLIBRARIES = chalkscreenshot.la

chalkscreenshot_la_SOURCES = screenshot.cpp ksnapshot.cpp regiongrabber.cpp ksnapshotwidget.ui
noinst_HEADERS = screenshot.h ksnapshot.h regiongrabber.h ksnapshotwidget.h ksnapshotwidget.ui.h

chalkscreenshot_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_TQT) -ltdecore -ltdeui -lkjs -ltdefx -ltdeio -ltdeparts -ltdeprint
chalkscreenshot_la_LIBADD = $(LIB_KOFFICEUI) ../../../libchalkcommon.la \
	../../../../chalk/chalkcolor/libchalkcolor.la \
	../../../../chalk/core/libchalkimage.la \
	../../../../chalk/ui/libchalkui.la

kde_services_DATA = chalkscreenshot.desktop

chalkscreenshot_la_METASOURCES = AUTO

messages: rc.cpp
	$(XGETTEXT) *.cpp -o $(podir)/kscreenshot_plugin.pot