blob: 2bec46d05292b6ac08b8da8765a316d1e91264bd (
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
|
SUBDIRS = interfaces libdiff2 libdialogpages komparenavtreepart komparepart pics
INCLUDES = \
-I$(srcdir)/libdiff2 \
-I$(srcdir)/libdialogpages \
-I$(srcdir)/komparenavtreepart \
-I$(srcdir)/komparepart \
-I$(srcdir)/interfaces \
$(all_includes)
noinst_HEADERS = kompare_shell.h kompareurldialog.h
# let automoc handle all of the meta source files (moc)
METASOURCES = AUTO
messages: rc.cpp
$(EXTRACTRC) */*.rc */*.ui >> rc.cpp
$(XGETTEXT) `find . -name "*.cpp" -o -name "*.h"` -o $(podir)/kompare.pot
#########################################################################
# APPLICATION SECTION
#########################################################################
# this is the program that gets installed. it's name is used for all
# of the other Makefile.am variables
bin_PROGRAMS = kompare
# the application source, library search path, and link libraries
kompare_SOURCES = main.cpp kompare_shell.cpp kompareurldialog.cpp
kompare_LDFLAGS = $(all_libraries) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -ltdefx $(LIB_KIO) -lktexteditor
kompare_LDADD = $(LIB_KPARTS) \
$(top_builddir)/kompare/interfaces/libkompareinterface.la \
$(top_builddir)/kompare/libdialogpages/libdialogpages.la \
-lktexteditor
# this is where the desktop file will go
xdg_apps_DATA = kompare.desktop
# this is where the shell's XML-GUI resource file goes
shellrcdir = $(kde_datadir)/kompare
shellrc_DATA = kompareui.rc
kompareservicedir = $(kde_servicetypesdir)
kompareservice_DATA = komparenavigationpart.desktop kompareviewpart.desktop
|