summaryrefslogtreecommitdiffstats
path: root/konq-plugins/fsview/Makefile.am
blob: 0d0e0e067704c6860f35fdc951318142a90771cf (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
INCLUDES= $(all_includes)
METASOURCES = AUTO

KDE_ICON = fsview

EXTRA_DIST = main.cpp fsview.cpp fsview.h scan.cpp scan.h scantest.cpp \
	inode.h inode.cpp \
	fsview.desktop hi32-app-fsview.png

#xdg_apps_DATA = fsview.desktop

messages: rc.cpp
	LIST=`find . -name \*.h -o -name \*.cpp`; \
	if test -n "$$LIST"; then \
	 $(XGETTEXT) $$LIST -o $(podir)/fsview.pot; \
	fi

# Used both by application and KPart

noinst_LTLIBRARIES = libfsview.la
libfsview_la_SOURCES = treemap.cpp fsview.cpp scan.cpp inode.cpp

# Application

bin_PROGRAMS = fsview

fsview_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
fsview_SOURCES = main.cpp
fsview_LDADD   = libfsview.la $(LIB_KIO) $(LIB_KDECORE) $(LIB_QT)

check_PROGRAMS = scantest

scantest_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
scantest_SOURCES = scantest.cpp
scantest_LDADD   = libfsview.la $(LIB_KIO) $(LIB_KDECORE) $(LIB_QT)

# The KPart

kde_module_LTLIBRARIES = libfsviewpart.la
libfsviewpart_la_SOURCES = fsview_part.cpp
libfsviewpart_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries)
libfsviewpart_la_LIBADD  = libfsview.la $(LIB_KPARTS) $(LIB_KIO) -lkonq

partdesktopdir   = $(kde_servicesdir)
partdesktop_DATA = fsview_part.desktop

rcdir = $(kde_datadir)/fsview
rc_DATA = fsview_part.rc

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