summaryrefslogtreecommitdiffstats
path: root/kxmleditor/Makefile.am
blob: 16a001749ef9a8b78e07eae7c712e2048feb7a9a (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
####### kdevelop will overwrite this part!!! (begin)##########

bin_PROGRAMS = kxmleditor

kxmleditor_SOURCES = dcopiface_shell.skel dcopiface_shell.cpp 	kxmleditorshell.cpp 	main.cpp kxeshellmanager.cpp
kxmleditor_LDFLAGS = $(all_libraries) $(KDE_RPATH)
kxmleditor_LDADD = $(LIB_KPARTS) $(LIB_KIO) $(LIB_KDEUI) $(LIB_KDECORE) $(LIB_QT) $(LIBSOCKET) -lDCOP

EXTRA_DIST = main.cpp \
	kxmleditor.desktop \
	kxmleditorshell.cpp kxmleditorshell.h kxmleditorshell.rc \
	dcopiface_shell.cpp dcopiface_shell.h

install-data-local:
	$(mkinstalldirs) $(kde_appsdir)/Applications/
	$(INSTALL_DATA) $(srcdir)/kxmleditor.desktop $(kde_appsdir)/Applications/kxmleditor.desktop

uninstall-local:
	-rm -f $(kde_appsdir)/Applications/kxmleditor.desktop
	-rmdir $(kde_appsdir)/Applications

####### kdevelop will overwrite this part!!! (end)############
# this 10 paths are KDE specific. Use them:
# kde_htmldir       Where your docs should go to. (contains lang subdirs)
# kde_appsdir       Where your application file (.kdelnk) should go to.
# kde_icondir       Where your icon should go to.
# kde_minidir       Where your mini icon should go to.
# 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.
# kde_mimedir       Where mimetypes should go to.
# kde_toolbardir    Where general toolbar icons should go to.
# kde_wallpaperdir  Where general wallpapers should go to.

# set the include path for X, qt and KDE
INCLUDES= $(all_includes)

METASOURCES = AUTO

rcdir = $(kde_datadir)/kxmleditor
rc_DATA = kxmleditorshell.rc

messages: 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 \
	 if ! test -e $(podir)/kxmleditor.pot; then touch $(podir)/kxmleditor.pot; fi; \
	 $(XGETTEXT) -j $$LIST -o $(podir)/kxmleditor.pot; \
	fi

noinst_HEADERS =  kxeshellmanager.h