summaryrefslogtreecommitdiffstats
path: root/kformula/Makefile.am
blob: 1fdb41b4a4bbbe8903de124dd3e245370d5b32ca (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
INCLUDES  = $(KOFFICE_INCLUDES) $(KFORMULA_INCLUDES) $(KOTEXT_INCLUDES) -I$(interfacedir) $(all_includes)
KDE_CXXFLAGS = $(USE_RTTI)

## The part
kde_module_LTLIBRARIES = libkformulapart.la
libkformulapart_la_SOURCES = kformula_doc.cc \
	kformula_view.cc kformula_factory.cc kformulawidget.cc kfconfig.cc \
	kformula_view_iface.skel kformula_view_iface.cc formulastring.cc fsparser.cc
libkformulapart_la_LDFLAGS = $(all_libraries) -ltdecore -ltdeui $(LIB_QT) -lkjs -ltdefx -lkio $(KDE_PLUGIN) -lDCOP -ltdeparts
libkformulapart_la_LIBADD = $(KOFFICE_LIBS) $(LIB_KFORMULA) $(LIB_KOTEXT)
libkformulapart_la_METASOURCES = AUTO

## The tdeinit loadable module
tdeinit_LTLIBRARIES = kformula.la
kformula_la_SOURCES = main.cc
kformula_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT)
kformula_la_LIBADD = $(LIB_KOFFICECORE)

bin_PROGRAMS =
lib_LTLIBRARIES =

noinst_HEADERS =  kformula_doc.h \
		  kformula_view.h kformula_factory.h \
		  kformula_aboutdata.h kformula_view_iface.h formulastring.h fsparser.h

xdg_apps_DATA = kformula.desktop

rc_DATA = kformula.rc kformula_readonly.rc
rcdir = $(kde_datadir)/kformula

SUBDIRS =  pics

tipdir = $(kde_datadir)/kformula
tip_DATA = tips

messages: rc.cpp
	$(PREPARETIPS) >> rc.cpp
	$(XGETTEXT) rc.cpp *.cc kformula_aboutdata.h -o $(podir)/kformula.pot
kde_services_DATA = kformulapart.desktop

include $(top_srcdir)/admin/Doxyfile.am