summaryrefslogtreecommitdiffstats
path: root/kresources/featureplan/Makefile.am
blob: 3d36b3f9f244728cb89c4e77cb1503ca8f5645a1 (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
INCLUDES = -I$(top_srcdir) $(all_includes)

lib_LTLIBRARIES = libkcal_resourcefeatureplan.la

noinst_LTLIBRARIES = libfeatureplancommon.la
libfeatureplancommon_la_SOURCES = kde-features.cpp kde-features_parser.cpp \
                                  prefs.kcfgc

libkcal_resourcefeatureplan_la_SOURCES = kcal_resourcefeatureplan.cpp \
                                         kcal_resourcefeatureplanconfig.cpp 
libkcal_resourcefeatureplan_la_LDFLAGS = $(KDE_RPATH) $(all_libraries) \
                                         -version-info 1:0:0 -no-undefined
libkcal_resourcefeatureplan_la_LIBADD = libfeatureplancommon.la \
                                        $(top_builddir)/libkcal/libkcal.la \
                                        $(top_builddir)/libkdepim/libkdepim.la
libkcal_resourcefeatureplan_la_COMPILE_FIRST = kde-features.h prefs.h


kde_module_LTLIBRARIES = kcal_resourcefeatureplan.la

kcal_resourcefeatureplan_la_SOURCES = kcal_resourcefeatureplanplugin.cpp 
kcal_resourcefeatureplan_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
kcal_resourcefeatureplan_la_LIBADD = libkcal_resourcefeatureplan.la
kcal_resourcefeatureplan_la_COMPILE_FIRST = kde-features.h prefs.h

kcal_servicedir = $(kde_servicesdir)/kresources/kcal
kcal_service_DATA = kcal_resourcefeatureplan.desktop

check_PROGRAMS = dumpfeaturelist benchmarkfeaturelist

dumpfeaturelist_LDFLAGS = $(all_libraries) $(KDE_RPATH)
dumpfeaturelist_LDADD   = libfeatureplancommon.la $(LIB_KDECORE)
dumpfeaturelist_SOURCES = dumpfeaturelist.cpp
dumpfeaturelist_COMPILE_FIRST = kde-features.h

benchmarkfeaturelist_LDFLAGS = $(all_libraries) $(KDE_RPATH)
benchmarkfeaturelist_LDADD   = libfeatureplancommon.la $(LIB_KDECORE)
benchmarkfeaturelist_SOURCES = benchmarkfeaturelist.cpp
benchmarkfeaturelist_COMPILE_FIRST = kde-features.h

kde-features.cpp: kde-features.h
kde-features_parser.h kde-features_parser.cpp: kde-features.h

kde-features.h kde-features.cpp kde-features_parser.h kde-features_parser.cpp: $(srcdir)/kde-features.rng \
  $(top_builddir)/kode/kxml_compiler/kxml_compiler
	$(top_builddir)/kode/kxml_compiler/kxml_compiler \
          --custom-parser $(srcdir)/kde-features.rng

METASOURCES = AUTO
DISTCLEANFILES = kde-features.h kde-features.cpp \
	kde-features_parser.h kde-features_parser.cpp \
	kde-features.h.backup kde-features.cpp.backup \
	kde-features_parser.h.backup kde-features_parser.cpp.backup

messages: rc.cpp
	$(XGETTEXT) *.cpp -o $(podir)/kres_featureplan.pot

kcal_resourcefeatureplan.lo: kde-features_parser.h
kde-features.lo: kde-features.h
kde-features_parser.lo: kde-features_parser.h kde-features.h