summaryrefslogtreecommitdiffstats
path: root/karbon/Makefile.am
blob: 55ab8ac5de63c0edaf543d6bff3facc11fac3a9b (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
62
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.cpp 	karbon_resourceserver.cpp 	karbon_part.cpp 	karbon_part_iface.cpp 	karbon_part_iface.skel 	karbon_view.cpp 	karbon_view_iface.cpp 	karbon_view_iface.skel karbon_drag.cpp karbon_grid_data.cpp karbon_tool_registry.cpp karbon_tool_factory.cpp	vtoolcontroller.cpp vtool.cpp

libkarboncommon_la_LDFLAGS = $(KDE_RPATH) $(LIBFREETYPE_RPATH) $(LIBMAGICK_LDFLAGS) -no-undefined $(LIB_TQT)
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.cpp
libkarbonpart_la_LDFLAGS = $(KDE_PLUGIN) $(LIBFREETYPE_RPATH) $(LIB_TQT)
libkarbonpart_la_LIBADD = libkarboncommon.la

bin_PROGRAMS =
tdeinit_LTLIBRARIES = karbon.la
karbon_la_SOURCES = main.cpp
karbon_la_LDFLAGS = $(all_libraries) -module -avoid-version $(LIB_TQT)
karbon_la_LIBADD = libkarboncommon.la $(LIB_TQT) $(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 *.cpp */*.cpp tools/*.h plugins/*/*.cpp -o $(podir)/karbon.pot

include $(top_srcdir)/admin/Doxyfile.am

.NOTPARALLEL: