summaryrefslogtreecommitdiffstats
path: root/kresources/featureplan/Makefile.am
blob: dffee0bf5590240f8bc2b9171c4e91ccdafb1cd3 (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)/libtdepim/libtdepim.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) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor
dumpfeaturelist_LDADD   = libfeatureplancommon.la $(LIB_TDECORE)
dumpfeaturelist_SOURCES = dumpfeaturelist.cpp
dumpfeaturelist_COMPILE_FIRST = kde-features.h

benchmarkfeaturelist_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor
benchmarkfeaturelist_LDADD   = libfeatureplancommon.la $(LIB_TDECORE)
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