summaryrefslogtreecommitdiffstats
path: root/kresources/Makefile.am
blob: 18fccb095f4565ffa97fafc7bfb5205c7cade4f0 (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
INCLUDES = $(all_includes)

METASOURCES = AUTO

lib_LTLIBRARIES = libkresources.la

libkresources_la_SOURCES = resource.cpp \
  factory.cpp \
  manageriface.skel \
  manageriface.stub \
  managerimpl.cpp \
  configwidget.cpp \
  configdialog.cpp \
  selectdialog.cpp \
  configpage.cpp

libkresources_la_LDFLAGS = $(all_libraries) -no-undefined -version-info 3:0:2
libkresources_la_LIBADD = $(LIB_KDEUI) $(LIB_KIO) $(LIB_QT) $(top_builddir)/dcop/libDCOP.la $(LIB_KDECORE)

kresincludedir = $(includedir)/kresources
kresinclude_HEADERS = resource.h \
  configwidget.h \
  factory.h \
  manageriface.h \
  managerimpl.h \
  manager.h \
  selectdialog.h \
  configdialog.h \
  configpage.h

kde_module_LTLIBRARIES = kcm_kresources.la

kcm_kresources_la_SOURCES = kcmkresources.cpp
kcm_kresources_la_LDFLAGS = $(all_libraries) -module -avoid-version -no-undefined
kcm_kresources_la_LIBADD = libkresources.la $(LIB_QT) $(LIB_KDEUI) $(LIB_KDECORE)


check_PROGRAMS = testresources

testresources_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
testresources_LDADD   = libkresources.la
testresources_SOURCES = testresources.cpp

xdg_apps_DATA = kresources.desktop

servicetypedir = $(kde_servicetypesdir)
servicetype_DATA = kresources_plugin.desktop kresources_manager.desktop

include ../admin/Doxyfile.am