summaryrefslogtreecommitdiffstats
path: root/kivio/plugins/kivioconnectortool/straight_connector/Makefile.am
blob: 9483d68150feb4ae6d77c943e697d7fb4eafb32d (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
stencildir = $(kde_datadir)/kivio/autoloadStencils
stencil_DATA = straight_connector.xpm

kde_module_LTLIBRARIES =straight_connector.la

straight_connector_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -ltdecore -ltdeui $(LIB_TQT) -lkjs -ltdefx -ltdeio

# Hack to make it work (dave m)
straight_connector_la_LIBADD = $(LIB_KOPAINTER) $(top_builddir)/kivio/kiviopart/libkiviocommon.la

INCLUDES = -I$(top_srcdir)/kivio/kiviopart\
	-I$(top_srcdir)/kivio/kiviopart/kiviosdk\
	-I$(top_srcdir)/kivio/kiviopart/tools\
	$(KOTEXT_INCLUDES)\
	$(KOFFICE_INCLUDES) $(all_includes)
METASOURCES = AUTO

straight_connector_la_SOURCES = \
		straight_connector.cpp
EXTRA_DIST = \
		straight_connector.cpp\
		straight_connector.h\
		straight_connector.xpm

install-data-local:
	$(mkinstalldirs) $(DESTDIR)$(stencildir)
	-rm -f $(DESTDIR)$(stencildir)/straight_connector.so
	$(LN_S) $(kde_moduledir)/straight_connector.so $(DESTDIR)$(stencildir)/straight_connector.so

uninstall-local:
	-rm -f $(DESTDIR)$(stencildir)/straight_connector.so