summaryrefslogtreecommitdiffstats
path: root/kompare/komparepart/Makefile.am
blob: f076448bc3c802a99094acb3545b566ce028633a (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
#########################################################################
# KPART SECTION
#########################################################################

INCLUDES = \
	-I$(top_srcdir)/kompare/libdialogpages \
	-I$(top_srcdir)/kompare/libdiff2 \
	-I$(top_srcdir)/kompare/interfaces \
	$(all_includes)

noinst_HEADERS = \
	kompare_part.h \
	komparesplitter.h \
	kompareprefdlg.h \
	komparelistview.h \
	kompareconnectwidget.h \
	komparesaveoptionsbase.h \
	komparesaveoptionswidget.h \
	kompare_qsplitter.h

# let automoc handle all of the meta source files (moc)
METASOURCES = AUTO

kde_module_LTLIBRARIES = libkomparepart.la

# the Part's source, library search path, and link libraries
libkomparepart_la_SOURCES = \
	kompare_part.cpp \
	kompareconnectwidget.cpp \
	komparesplitter.cpp \
	komparelistview.cpp \
	kompareprefdlg.cpp \
	komparesaveoptionsbase.ui \
	komparesaveoptionswidget.cpp

libkomparepart_la_LDFLAGS = $(KDE_PLUGIN) $(all_libraries)
libkomparepart_la_LIBADD  = $(LIB_KPARTS) $(LIB_KFILE) \
	../libdialogpages/libdialogpages.la \
	../libdiff2/libdiff2.la \
	../interfaces/libkompareinterface.la

# this is where the desktop file will go
partdesktopdir   = $(kde_servicesdir)
partdesktop_DATA = komparepart.desktop

# this is where the part's XML-GUI resource file goes
partrcdir   = $(kde_datadir)/kompare
partrc_DATA = komparepartui.rc