summaryrefslogtreecommitdiffstats
path: root/kxsldbg/Makefile.am
blob: 13d428baa93b9750b801b3e7012a871920a3e5b4 (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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
bin_PROGRAMS = kxsldbg xsldbg

kxsldbg_SOURCES = kxsldbg.cpp main.cpp kxsldbgif.skel
noinst_HEADERS = kxsldbg.h
kxsldbg_DEPENDENCIES  = ./kxsldbgpart/libqtnotfier/libqtnotfier.la ./kxsldbgpart/libkxsldbgcommon.la ./kxsldbgpart/libxsldbg/libxsldbg.la
kxsldbg_LDADD   = ./kxsldbgpart/libqtnotfier/libqtnotfier.la ./kxsldbgpart/libkxsldbgcommon.la ./kxsldbgpart/libxsldbg/libxsldbg.la  $(LIB_TDEUI) $(LIBXSLT_LIBS) $(LIBXML_LIBS) $(LIB_TDEPARTS)

SUBDIRS = kxsldbgpart

KDE_ICON = kxsldbg

xdg_apps_DATA = kxsldbg.desktop

app_DATA = xsldbg.desktop
appdir = $(kde_appsdir)/.hidden

# Disable building xsldbg application as documentation for it is not ready
#
xsldbg_SOURCES = xsldbgmain.cpp

xsldbg_CFLAGS = $(XSLDBG_CFLAGS) $(all_includes)

xsldbg_DEPENDENCIES  = kxsldbgpart/libxsldbg/libxsldbg.la

# use of configure defined libraries
xsldbg_LDADD = kxsldbgpart/libxsldbg/libxsldbg.la $(LIBXSLT_LIBS) $(LIBXML_LIBS) $(LIB_TDEUI)
#
# the library search path.
xsldbg_LDFLAGS = $(all_libraries) $(XSLDBG_EXTRA_LIBS) $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor

# These paths are KDE specific. Use them:
# kde_appsdir         Where your application's menu entry (.desktop) should go to.
# kde_icondir         Where your icon should go to - better use KDE_ICON.
# kde_sounddir        Where your sounds should go to.
# kde_htmldir         Where your docs should go to. (contains lang subdirs)
# kde_datadir         Where you install application data. (Use a subdir)
# kde_locale          Where translation files should go to. (contains lang subdirs)
# kde_cgidir          Where cgi-bin executables should go to.
# kde_confdir         Where config files should go to (system-wide ones with default values).
# kde_mimedir         Where mimetypes .desktop files should go to.
# kde_servicesdir     Where services .desktop files should go to.
# kde_servicetypesdir Where servicetypes .desktop files should go to.
# kde_toolbardir      Where general toolbar icons should go to (deprecated, use KDE_ICON).
# kde_wallpaperdir    Where general wallpapers should go to.
# kde_templatesdir    Where templates for the "New" menu (Konqueror/KDesktop) should go to.
# kde_bindir          Where executables should go to. Use bin_PROGRAMS or bin_SCRIPTS.
# kde_libdir          Where shared libraries should go to. Use lib_LTLIBRARIES.
# kde_moduledir       Where modules (e.g. parts) should go to. Use kde_module_LTLIBRARIES.
# kde_styledir        Where Qt/KDE widget styles should go to (new in KDE 3).
# kde_designerdir     Where Qt Designer plugins should go to (new in KDE 3).

# set the include path for X, qt and KDE
INCLUDES= $(LIBXML_CFLAGS)  $(LIBXSLT_CFLAGS) $(all_includes)
CXXFLAGS += $(ICU_CXXFLAGS)

METASOURCES = AUTO

# the application source, library search path, and link libraries
kxsldbg_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor

# this is where the shell's XML-GUI resource file goes
shellrcdir   = $(kde_datadir)/kxsldbg
shellrc_DATA = kxsldbg_shell.rc

messages: rc.cpp
	LIST=`find . -name \*.ui -o -name \*.rc`; \
	$(EXTRACTRC) $$LIST >> rc.cpp ;\
	LIST=`find . -name \*.h -o -name \*.hh -o -name \*.H -o -name \*.hxx -o -name \*.hpp -o -name \*.cpp -o -name \*.cc -o -name \*.cxx -o -name \*.ecpp -o -name \*.C`; \
	if test -n "$$LIST"; then \
	 $(XGETTEXT) $$LIST -o $(podir)/kxsldbg.pot; \
	fi