summaryrefslogtreecommitdiffstats
path: root/konq-plugins/domtreeviewer/Makefile.am
blob: ce5cbb4dcd99001686c139be7c79c7ac5ec49aaf (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)
# -DKListView=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
#					klistview.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