summaryrefslogtreecommitdiffstats
path: root/konq-plugins/domtreeviewer/Makefile.am
blob: 2d5c781c6c0086ed52ff339a8c7c9f961b96a929 (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
40
41
42
43
44
INCLUDES    = $(all_includes)

# Needed to catch DOM exceptions
KDE_CXXFLAGS = $(USE_EXCEPTIONS)
# -DTDEListView=DOMListView

# Install this plugin in the KDE modules directory
kde_module_LTLIBRARIES = libdomtreeviewerplugin.la

libdomtreeviewerplugin_la_SOURCES = 	plugin_domtreeviewer.cpp \
					domtreeview.cpp \
					domlistviewitem.cpp \
					domtreewindow.cpp \
					domtreecommands.cpp \
					signalreceiver.cpp \
					domtreeviewbase.ui \
					attributeeditdialog.ui \
					elementeditdialog.ui \
					texteditdialog.ui \
					messagedialog.ui
#					tdelistview.cpp \
#
libdomtreeviewerplugin_la_LIBADD  = $(LIB_KPARTS) $(LIB_TDEHTML)
libdomtreeviewerplugin_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries)

pluginsdir   = $(kde_datadir)/tdehtml/kpartplugins
plugins_DATA = plugin_domtreeviewer.rc plugin_domtreeviewer.desktop

appsdir = $(kde_appsdir)/.hidden
apps_DATA = plugin_domtreeviewer.desktop 

install-data-local: $(srcdir)/../uninstall.desktop
	$(mkinstalldirs) $(DESTDIR)$(pluginsdir)
	$(INSTALL_DATA) $(srcdir)/../uninstall.desktop $(DESTDIR)$(pluginsdir)/domtreeviewerplugin.desktop

METASOURCES = AUTO
KDE_ICON = domtreeviewer

pluginsdatadir = $(kde_datadir)/domtreeviewer
pluginsdata_DATA = domtreeviewerui.rc

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