summaryrefslogtreecommitdiffstats
path: root/karbon/Makefile.am
blob: 556b49523057ed878157370bd8a91252c91b5807 (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 = $(KOFFICE_INCLUDES) $(KOTEXT_INCLUDES) $(KOPALETTE_INCLUDES) $(KOPAINTER_INCLUDES) \
	-I$(srcdir) \
	-I$(srcdir)/commands \
	-I$(srcdir)/core \
	-I$(srcdir)/dialogs \
	-I$(srcdir)/dockers \
	-I$(srcdir)/render \
	-I$(srcdir)/visitors \
	-I$(srcdir)/widgets \
	$(all_includes)

SUBDIRS = commands visitors core shapes widgets dialogs dockers render . tools plugins data pics templates

lib_LTLIBRARIES = libkarboncommon.la
kde_module_LTLIBRARIES = libkarbonpart.la

libkarboncommon_la_SOURCES = karbon_factory.cc 	karbon_resourceserver.cc 	karbon_part.cc 	karbon_part_iface.cc 	karbon_part_iface.skel 	karbon_view.cc 	karbon_view_iface.cc 	karbon_view_iface.skel karbon_drag.cpp karbon_grid_data.cpp karbon_tool_registry.cc karbon_tool_factory.cc	vtoolcontroller.cc vtool.cc

libkarboncommon_la_LDFLAGS = $(KDE_RPATH) $(LIBFREETYPE_RPATH) $(LIBMAGICK_LDFLAGS) -no-undefined $(LIB_QT)
libkarboncommon_la_LIBADD = $(LIB_KOFFICECORE) $(LIB_KOFFICEUI) $(LIB_KOPALETTE) $(LIB_KOPAINTER) $(LIB_KOTEXT) \
	dockers/libkarbondockers.la \
	widgets/libkarbonwidgets.la \
	render/libvpainter.la \
	render/xrgbrender/libkarbonxrgbrender.la \
	core/libkarboncore.la \
	shapes/libkarbonshapes.la \
	commands/libkarboncommands.la \
	visitors/libkarbonvisitors.la \
	dialogs/libkarbondialogs.la \
	$(LIBART_LIBS) \
	$(LIBFONTCONFIG_LIBS) \
	$(LIBMAGICK_LIBS) \
	$(LIBFREETYPE_LIBS)

libkarbonpart_la_SOURCES = karbon_factory_init.cc
libkarbonpart_la_LDFLAGS = $(KDE_PLUGIN) $(LIBFREETYPE_RPATH) $(LIB_QT)
libkarbonpart_la_LIBADD = libkarboncommon.la

bin_PROGRAMS =
tdeinit_LTLIBRARIES = karbon.la
karbon_la_SOURCES = main.cc
karbon_la_LDFLAGS = $(all_libraries) -module -avoid-version $(LIB_QT)
karbon_la_LIBADD = libkarboncommon.la $(LIB_QT) $(LIB_KOFFICECORE)

noinst_HEADERS = \
	karbon_factory.h \
	karbon_part.h \
	karbon_part_iface.h \
	karbon_view.h \
	karbon_drag.h \
	vtoolcontroller.h \
	vtool.h

METASOURCES = AUTO

messages: rc.cpp
	$(EXTRACTRC) data/*.rc >> rc.cpp
	$(XGETTEXT) rc.cpp *.cpp *.cc */*.cc tools/*.h plugins/*/*.cc -o $(podir)/karbon.pot

include $(top_srcdir)/admin/Doxyfile.am