summaryrefslogtreecommitdiffstats
path: root/kdeprint/kdeprint_part/Makefile.am
blob: 9646fab6d8acf5f079150ffcbf0f3355851b5253 (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
AM_CPPFLAGS = -D_KDEPRINT_COMPILE

kde_module_LTLIBRARIES = libkdeprint_part.la

libkdeprint_part_la_SOURCES = printpart.cpp
libkdeprint_part_la_LDFLAGS = $(all_libraries) -module -avoid-version -no-undefined
libkdeprint_part_la_LIBADD = -lkdeprint_management $(LIB_KPARTS)

noinst_HEADERS = printpart.h

METASOURCES = AUTO
INCLUDES = $(all_includes)

# service
myservice_DATA = kdeprint_part.desktop
myservicedir = $(kde_servicesdir)

# UI file
myrcfile_DATA = kdeprint_part.rc
myrcfiledir = $(kde_datadir)/kdeprint_part

messages: rc.cpp
	$(EXTRACTRC) kdeprint_part.rc >> rc.cpp
	$(XGETTEXT) *.cpp -o $(podir)/kdeprint_part.pot