summaryrefslogtreecommitdiffstats
path: root/kugar/kudesigner/Makefile.am
blob: 332fd50cb47c19db00cbd6a951ad9a99066fc386 (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
SUBDIRS = toolbar pics templates

INCLUDES = -I$(srcdir)/../kudesigner_lib -I$(srcdir)/../lib \
	$(KOPROPERTY_INCLUDES) $(KOFFICE_INCLUDES) $(all_includes)

bin_PROGRAMS =

lib_LTLIBRARIES = libkudesignercore.la
libkudesignercore_la_SOURCES = kudesigner_view.cpp kudesigner_factory.cpp \
	kudesigner_doc.cpp
libkudesignercore_la_LDFLAGS = -avoid-version $(all_libraries) $(KDE_RPATH) -no-undefined -ltdecore -ltdeui $(LIB_QT) -lkjs -ltdefx -ltdeio -ltdeparts
libkudesignercore_la_LIBADD = ../kudesigner_lib/libkudesignercommon.la $(LIB_KOFFICEUI) $(LIB_TDEPARTS) $(LIB_KOFFICECORE) $(LIB_KOPROPERTY) $(LIB_TDEIO) $(LIB_TDEPRINT)

## The part
kde_module_LTLIBRARIES = libkudesignerpart.la
libkudesignerpart_la_SOURCES = kudesigner_part.cpp
libkudesignerpart_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) $(KDE_RPATH) -ltdecore -ltdeui $(LIB_QT) -lkjs -ltdefx -ltdeio -ltdeparts
libkudesignerpart_la_LIBADD = libkudesignercore.la $(LIB_KOFFICEUI) $(LIB_TDEPARTS) $(LIB_KOFFICECORE)

## The tdeinit loadable module
tdeinit_LTLIBRARIES = kudesigner.la
kudesigner_la_SOURCES = main.cpp
kudesigner_la_LDFLAGS = $(all_libraries) -module -avoid-version -ltdecore -ltdeui $(LIB_QT) -lkjs -ltdefx -ltdeio -ltdeparts
kudesigner_la_LIBADD = $(LIB_KOFFICECORE)

xdg_apps_DATA = kudesigner.desktop

METASOURCES = AUTO

rcdir = $(kde_datadir)/kudesigner
rc_DATA = kudesignerui.rc kudesigner_readonly.rc

EXTRA_DIST = \
	kudesigner_aboutdata.h \
	kudesigner_factory.h \
	kudesigner_part.h \
	kudesigner_view.h \
	$(rc_DATA) \
	$(xdg_apps_DATA)

KDE_CXXFLAGS = $(USE_EXCEPTIONS) -DKPROPERTY_EXPORT=

.NOTPARALLEL: