summaryrefslogtreecommitdiffstats
path: root/khelpcenter/htmlsearch/Makefile.am
blob: fc06b1ed6e4749f6da683a2ba9845e82b6adaa80 (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
khelpcenter_en_data_DATA = long.html short.html wrapper.html nomatch.html syntax.html 
khelpcenter_en_datadir = $(kde_datadir)/khelpcenter/en

star_DATA = star.png star_blank.png
stardir = $(kde_datadir)/khelpcenter/pics

INCLUDES = $(all_includes)
METASOURCES = AUTO

lib_LTLIBRARIES = libhtmlsearch.la libkcm_htmlsearch.la

libhtmlsearch_la_SOURCES = htmlsearch.cpp progressdialog.cpp
libhtmlsearch_la_LDFLAGS = $(all_libraries) -module -avoid-version -no-undefined
libhtmlsearch_la_LIBADD = $(LIB_KIO)

libkcm_htmlsearch_la_SOURCES = kcmhtmlsearch.cpp klangcombo.cpp ktagcombobox.cpp
libkcm_htmlsearch_la_LDFLAGS  = $(all_libraries) -module -avoid-version -no-undefined
libkcm_htmlsearch_la_LIBADD = $(LIB_KIO)

noinst_HEADERS = kcmhtmlsearch.h htmlsearch.h

xdg_apps_DATA = htmlsearch.desktop

bin_PROGRAMS = khtmlindex

wrapperdir = $(kde_datadir)/khelpcenter/
wrapper_SCRIPTS = meinproc_wrapper

khtmlindex_SOURCES = index.cpp
khtmlindex_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -ltdefx $(LIB_KIO) -lktexteditor
khtmlindex_LDADD = libhtmlsearch.la $(LIB_KDEUI)

xpm_DATA = unchecked.xpm checked.xpm
xpmdir = $(kde_datadir)/khelpcenter/pics

messages:
	$(XGETTEXT) index.cpp $(libhtmlsearch_la_SOURCES) -o $(podir)/htmlsearch.pot
	$(XGETTEXT) $(libkcm_htmlsearch_la_SOURCES) -o $(podir)/kcmhtmlsearch.pot