joachim99@8: joachim99@8: # set the include path for X, qt and KDE joachim99@8: INCLUDES = $(all_includes) joachim99@8: joachim99@8: # these are the headers for your project joachim99@69: noinst_HEADERS = kdiff3_part.h kdiff3_shell.h kdiff3.h common.h diff.h \ joachim99@69: directorymergewindow.h merger.h optiondialog.h fileaccess.h version.h \ joachim99@69: smalldialogs.h difftextwindow.h mergeresultwindow.h joachim99@8: joachim99@8: # let automoc handle all of the meta source files (moc) joachim99@8: METASOURCES = AUTO joachim99@8: joachim99@8: messages: rc.cpp joachim99@8: $(XGETTEXT) *.cpp -o $(podir)/kdiff3.pot joachim99@8: joachim99@8: KDE_ICON = kdiff3 joachim99@8: joachim99@8: # this Makefile creates both a KPart application and a KPart joachim99@8: ######################################################################### joachim99@8: # APPLICATION SECTION joachim99@8: ######################################################################### joachim99@8: # this is the program that gets installed. it's name is used for all joachim99@8: # of the other Makefile.am variables joachim99@8: bin_PROGRAMS = kdiff3 joachim99@8: joachim99@8: # the application source, library search path, and link libraries joachim99@8: kdiff3_SOURCES = main.cpp kdiff3_shell.cpp joachim99@8: kdiff3_LDFLAGS = $(KDE_RPATH) $(all_libraries) joachim99@8: kdiff3_LDADD = $(LIB_KPARTS) joachim99@8: joachim99@8: # this is where the desktop file will go joachim99@8: shelldesktopdir = $(kde_appsdir)/Development joachim99@8: shelldesktop_DATA = kdiff3.desktop joachim99@8: joachim99@8: # this is where the shell's XML-GUI resource file goes joachim99@8: shellrcdir = $(kde_datadir)/kdiff3 joachim99@8: shellrc_DATA = kdiff3_shell.rc joachim99@8: joachim99@8: ######################################################################### joachim99@8: # KPART SECTION joachim99@8: ######################################################################### joachim99@8: kde_module_LTLIBRARIES = libkdiff3part.la joachim99@8: joachim99@8: # the Part's source, library search path, and link libraries joachim99@8: libkdiff3part_la_SOURCES = kdiff3_part.cpp kdiff3.cpp directorymergewindow.cpp \ joachim99@69: merger.cpp pdiff.cpp difftextwindow.cpp diff.cpp optiondialog.cpp \ joachim99@69: mergeresultwindow.cpp fileaccess.cpp gnudiff_analyze.cpp gnudiff_io.cpp gnudiff_xmalloc.cpp \ joachim99@69: common.cpp smalldialogs.cpp joachim99@8: libkdiff3part_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) joachim99@69: libkdiff3part_la_LIBADD = $(LIB_KDEPRINT) $(LIB_KPARTS) $(LIB_KFILE) joachim99@8: joachim99@8: # this is where the desktop file will go joachim99@8: partdesktopdir = $(kde_servicesdir) joachim99@8: partdesktop_DATA = kdiff3part.desktop joachim99@8: joachim99@8: # this is where the part's XML-GUI resource file goes joachim99@8: partrcdir = $(kde_datadir)/kdiff3part joachim99@8: partrc_DATA = kdiff3_part.rc