summaryrefslogtreecommitdiffstats
path: root/chalk/plugins/viewplugins/screenshot/Makefile.am
blob: 9887b7a2519aa2ee18c957a6acd994d4aac8814e (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
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_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../chalk/chalkcolor/.libs -lchalkcolor -L../../../../chalk/core/.libs -lchalkimage \
        -L../../../../chalk/ui/.libs -lchalkui -L../../../../lib/kofficeui/.libs -lkofficeui -lkdeprint
chalkscreenshot_la_LIBADD =  ../../../libchalkcommon.la 

kde_services_DATA = chalkscreenshot.desktop

chalkscreenshot_la_METASOURCES = AUTO

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