summaryrefslogtreecommitdiffstats
path: root/nsplugins/Makefile.am
blob: 71c23d69f5c05db9e050e40666c95d956972b052 (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
SUBDIRS = viewer test
INCLUDES = -I$(top_srcdir)/libltdl $(all_includes)
METASOURCES = AUTO
noinst_HEADERS = nspluginloader.h

NSPluginClassIface_DIR = $(srcdir)/viewer

kde_module_LTLIBRARIES = libnsplugin.la kcm_nsplugins.la
libnsplugin_la_SOURCES = plugin_part.cpp nspluginloader.cpp		\
			NSPluginClassIface.stub				\
			NSPluginCallbackIface.skel

libnsplugin_la_LDFLAGS = $(all_libraries) -avoid-version -module $(KDE_PLUGIN) -no-undefined
libnsplugin_la_LIBADD  = -lkparts

bin_PROGRAMS = nspluginscan
nspluginscan_SOURCES = pluginscan.cpp 
nspluginscan_LDFLAGS =  $(KDE_RPATH) $(all_libraries) -export-dynamic
nspluginscan_LDADD = $(LIB_KDEUI) $(LIB_KSYCOCA) -lXt libpluginpaths.la

kcm_nsplugins_la_SOURCES = kcm_nsplugins.cpp 
kcm_nsplugins_la_LDFLAGS = $(all_libraries) -module -avoid-version -no-undefined
kcm_nsplugins_la_LIBADD = $(LIB_KDECORE) libpluginpaths.la

noinst_LTLIBRARIES = libpluginpaths.la
libpluginpaths_la_SOURCES = plugin_paths.cpp

xdg_apps_DATA = khtml_plugins.desktop

partrcdir = $(kde_datadir)/plugin
partrc_DATA = nspluginpart.rc

messages: rc.cpp
#	$(EXTRACTRC) `find . -name "*.ui"` >> rc.cpp
	$(EXTRACTRC) `find . -name "*.rc"` >> rc.cpp
	$(XGETTEXT) *.cpp viewer/*.cpp -o $(podir)/nsplugin.pot