summaryrefslogtreecommitdiffstats
path: root/example/Makefile.am
blob: 0bcdf91bb4fb2bc7c4bdfcae5a9b6ad0185812be (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

INCLUDES  = $(KOFFICE_INCLUDES) $(all_includes)

## The part
kde_module_LTLIBRARIES = libexamplepart.la
libexamplepart_la_SOURCES = example_part.cpp \
	example_view.cpp example_factory.cpp
libexamplepart_la_LDFLAGS = $(KDE_PLUGIN)
libexamplepart_la_LIBADD = $(LIB_KOFFICEUI)

## The tdeinit loadable module and executable
tdeinit_LTLIBRARIES = example.la
lib_LTLIBRARIES =
bin_PROGRAMS =
example_la_SOURCES = main.cpp
example_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
example_la_LIBADD = $(LIB_KOFFICEUI)

METASOURCES = AUTO

kdelnk_DATA = example.desktop
kdelnkdir = $(kde_appsdir)/Office

# Note: for your application, the mime type should be defined in
#       tdelibs CVS HEAD and a compatibility entry should be added in
#       the directory koffice/mimetypes/kde??
#       where ?? is the version number of the last stable kde(libs) release.
kdemime_DATA = x-vnd.kde.example.desktop
kdemimedir = $(kde_mimedir)/application

rc_DATA = example.rc example_readonly.rc
rcdir = $(kde_datadir)/example

messages: rc.cpp
	$(XGETTEXT) rc.cpp *.cpp example_aboutdata.h -o $(podir)/example.pot
kde_services_DATA = examplepart.desktop

include $(top_srcdir)/admin/Doxyfile.am