joachim99@8
|
1
|
joachim99@8
|
2 # set the include path for X, qt and KDE
|
joachim99@8
|
3 INCLUDES = $(all_includes)
|
joachim99@8
|
4
|
joachim99@8
|
5 # these are the headers for your project
|
joachim99@8
|
6 noinst_HEADERS = kdiff3_part.h kdiff3_shell.h \
|
joachim99@8
|
7 kdiff3.h common.h diff.h directorymergewindow.h \
|
joachim99@51
|
8 merger.h optiondialog.h fileaccess.h version.h
|
joachim99@8
|
9
|
joachim99@8
|
10 # let automoc handle all of the meta source files (moc)
|
joachim99@8
|
11 METASOURCES = AUTO
|
joachim99@8
|
12
|
joachim99@8
|
13 messages: rc.cpp
|
joachim99@8
|
14 $(XGETTEXT) *.cpp -o $(podir)/kdiff3.pot
|
joachim99@8
|
15
|
joachim99@8
|
16 KDE_ICON = kdiff3
|
joachim99@8
|
17
|
joachim99@8
|
18 # this Makefile creates both a KPart application and a KPart
|
joachim99@8
|
19 #########################################################################
|
joachim99@8
|
20 # APPLICATION SECTION
|
joachim99@8
|
21 #########################################################################
|
joachim99@8
|
22 # this is the program that gets installed. it's name is used for all
|
joachim99@8
|
23 # of the other Makefile.am variables
|
joachim99@8
|
24 bin_PROGRAMS = kdiff3
|
joachim99@8
|
25
|
joachim99@8
|
26 # the application source, library search path, and link libraries
|
joachim99@8
|
27 kdiff3_SOURCES = main.cpp kdiff3_shell.cpp
|
joachim99@8
|
28 kdiff3_LDFLAGS = $(KDE_RPATH) $(all_libraries)
|
joachim99@8
|
29 kdiff3_LDADD = $(LIB_KPARTS)
|
joachim99@8
|
30
|
joachim99@8
|
31 # this is where the desktop file will go
|
joachim99@8
|
32 shelldesktopdir = $(kde_appsdir)/Development
|
joachim99@8
|
33 shelldesktop_DATA = kdiff3.desktop
|
joachim99@8
|
34
|
joachim99@8
|
35 # this is where the shell's XML-GUI resource file goes
|
joachim99@8
|
36 shellrcdir = $(kde_datadir)/kdiff3
|
joachim99@8
|
37 shellrc_DATA = kdiff3_shell.rc
|
joachim99@8
|
38
|
joachim99@8
|
39 #########################################################################
|
joachim99@8
|
40 # KPART SECTION
|
joachim99@8
|
41 #########################################################################
|
joachim99@8
|
42 kde_module_LTLIBRARIES = libkdiff3part.la
|
joachim99@8
|
43
|
joachim99@8
|
44 # the Part's source, library search path, and link libraries
|
joachim99@8
|
45 libkdiff3part_la_SOURCES = kdiff3_part.cpp kdiff3.cpp directorymergewindow.cpp \
|
joachim99@8
|
46 merger.cpp pdiff.cpp difftextwindow.cpp diff.cpp \
|
joachim99@51
|
47 optiondialog.cpp mergeresultwindow.cpp fileaccess.cpp \
|
joachim99@51
|
48 gnudiff_analyze.cpp gnudiff_io.cpp gnudiff_xmalloc.cpp
|
joachim99@8
|
49 libkdiff3part_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries)
|
joachim99@8
|
50 libkdiff3part_la_LIBADD = $(LIB_KPARTS) $(LIB_KFILE)
|
joachim99@8
|
51
|
joachim99@8
|
52 # this is where the desktop file will go
|
joachim99@8
|
53 partdesktopdir = $(kde_servicesdir)
|
joachim99@8
|
54 partdesktop_DATA = kdiff3part.desktop
|
joachim99@8
|
55
|
joachim99@8
|
56 # this is where the part's XML-GUI resource file goes
|
joachim99@8
|
57 partrcdir = $(kde_datadir)/kdiff3part
|
joachim99@8
|
58 partrc_DATA = kdiff3_part.rc
|