summaryrefslogtreecommitdiffstats
path: root/kugar/kudesigner/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'kugar/kudesigner/Makefile.am')
-rw-r--r--kugar/kudesigner/Makefile.am42
1 files changed, 42 insertions, 0 deletions
diff --git a/kugar/kudesigner/Makefile.am b/kugar/kudesigner/Makefile.am
new file mode 100644
index 00000000..24d4380e
--- /dev/null
+++ b/kugar/kudesigner/Makefile.am
@@ -0,0 +1,42 @@
+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
+libkudesignercore_la_LIBADD = ../kudesigner_lib/libkudesignercommon.la $(LIB_KOFFICEUI) $(LIB_KPARTS) $(LIB_KOFFICECORE) $(LIB_KOPROPERTY) $(LIB_KIO) $(LIB_KDEPRINT)
+
+## The part
+kde_module_LTLIBRARIES = libkudesignerpart.la
+libkudesignerpart_la_SOURCES = kudesigner_part.cpp
+libkudesignerpart_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) $(KDE_RPATH)
+libkudesignerpart_la_LIBADD = libkudesignercore.la $(LIB_KOFFICEUI) $(LIB_KPARTS) $(LIB_KOFFICECORE)
+
+## The kdeinit loadable module
+kdeinit_LTLIBRARIES = kudesigner.la
+kudesigner_la_SOURCES = main.cpp
+kudesigner_la_LDFLAGS = $(all_libraries) -module -avoid-version
+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=
+