summaryrefslogtreecommitdiffstats
path: root/kfind/Makefile.am
blob: 9e4867c6f9098a422beb3226bbf2880033b8069f (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
#Global section
METASOURCES = AUTO
EXTRA_DIST = DESCRIPTION
SUBDIRS = pics
KDE_ICON = kfind
# set the include path for X, qt and KDE
INCLUDES= -I$(top_srcdir)/libkonq $(all_includes)

noinst_LTLIBRARIES = libkfind_common.la
libkfind_common_la_SOURCES = kftabdlg.cpp kfind.cpp kquery.cpp kdatecombo.cpp

#This section is kfindpart
kde_module_LTLIBRARIES = libkfindpart.la

libkfindpart_la_SOURCES = kfindpart.cpp
libkfindpart_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
libkfindpart_la_LIBADD = libkfind_common.la $(LIB_KPARTS) $(top_builddir)/libkonq/libkonq.la 

noinst_HEADERS	= kftabdlg.h kfind.h version.h kquery.h  kdatecombo.h

xdg_apps_DATA = Kfind.desktop

kde_services_DATA = kfindpart.desktop
kde_servicetypes_DATA = findpart.desktop

messages:
	$(XGETTEXT) *.cpp *.h -o $(podir)/kfindpart.pot

#And this is for kfind

bin_PROGRAMS = kfind
kfind_SOURCES = kfwin.cpp kfinddlg.cpp main.cpp 
kfind_LDADD   =  libkfind_common.la $(LIB_KPARTS)

# the library search path.
kfind_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -ltdefx $(LIB_KIO) -lktexteditor