summaryrefslogtreecommitdiffstats
path: root/src/gvimagepart/Makefile.am
blob: 2fed737f50b4ec89da7c699e08dc8f17376c60f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
INCLUDES = -I$(srcdir)/.. $(all_includes)

# These are not really libraries, but modules dynamically opened.
# So they should be installed in kde_module_dir, which is usually $kde_prefix/lib/trinity
kde_module_LTLIBRARIES = libgvimagepart.la

libgvimagepart_la_SOURCES = gvimagepart.cpp
libgvimagepart_la_LIBADD = $(LIB_KPARTS) ../gvcore/libgwenviewcore.la
libgvimagepart_la_LDFLAGS = $(all_libraries) $(LIB_QT) $(KDE_PLUGIN) $(LIB_KDECORE) $(LIB_KDEUI) $(LIB_KIO) $(LIB_KDEPRINT)

# Automatically generate moc files
METASOURCES = AUTO

# Install the XML-UI file to its correct location
gvdir = $(kde_datadir)/gvimagepart
gv_DATA = gvimagepart.rc gvimagepartpopup.rc

# Install the .desktop file into the kde_services directory
kde_services_DATA = gvimagepart.desktop