dolphin/nsplugins/Makefile.am
George Staikos 36005b4476 Remove the Motif dependency permanently, thereby always having plugins in
KDE and not having to link to a huge library for no reason.

CCMAIL: 80260-done@bugs.kde.org

svn path=/trunk/kdebase/nsplugins/; revision=331545
2004-07-21 17:34:20 +00:00

35 lines
1.1 KiB
Makefile

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
kcm_nsplugins_la_SOURCES = kcm_nsplugins.cpp
kcm_nsplugins_la_LDFLAGS = $(all_libraries) -module -avoid-version -no-undefined
kcm_nsplugins_la_LIBADD = $(LIB_KDECORE)
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