|
|
|
# set the include path for X, qt and KDE
|
|
|
|
INCLUDES = $(all_includes) -I$(top_srcdir)/src/metadata/ \
|
|
|
|
-I$(top_srcdir)/src/pluginloader/ $(cdda_includes)
|
|
|
|
|
|
|
|
# these are the headers for your project
|
|
|
|
noinst_HEADERS = cdmanager.h cdopener.h combobutton.h config.h \
|
|
|
|
configbackendspage.h configdialog.h configenvironmentpage.h configgeneralpage.h \
|
|
|
|
configpagebase.h configpluginspage.h conversionoptions.h convert.h cuesheeteditor.h \
|
|
|
|
dcopinterface.h dirdialog.h filelist.h logger.h logviewer.h options.h optionsdetailed.h \
|
|
|
|
optionseditor.h optionsrequester.h optionssimple.h outputdirectory.h \
|
|
|
|
progressindicator.h replaygain.h replaygainfilelist.h replaygainscanner.h soundkonverter.h \
|
|
|
|
soundkonverterapp.h
|
|
|
|
|
|
|
|
# let automoc handle all of the meta source files (moc)
|
|
|
|
METASOURCES = AUTO
|
|
|
|
|
|
|
|
messages: rc.cpp
|
|
|
|
$(EXTRACTRC) `find . -name \*.ui -o -name \*.rc` > rc.cpp
|
|
|
|
$(XGETTEXT) *.cpp -o $(podir)/soundkonverter.pot
|
|
|
|
|
|
|
|
KDE_ICON = AUTO
|
|
|
|
|
|
|
|
#########################################################################
|
|
|
|
# APPLICATION SECTION
|
|
|
|
#########################################################################
|
|
|
|
# this is the program that gets installed. it's name is used for all
|
|
|
|
# of the other Makefile.am variables
|
|
|
|
bin_PROGRAMS = soundkonverter
|
|
|
|
|
|
|
|
# the application source, library search path, and link libraries
|
|
|
|
soundkonverter_SOURCES = cddb.cpp cdmanager.cpp cdopener.cpp combobutton.cpp \
|
|
|
|
config.cpp configbackendspage.cpp configdialog.cpp configenvironmentpage.cpp \
|
|
|
|
configgeneralpage.cpp configpagebase.cpp configpluginspage.cpp conversionoptions.cpp \
|
|
|
|
convert.cpp cuesheeteditor.cpp dcopinterface.skel dirdialog.cpp filelist.cpp \
|
|
|
|
logger.cpp logviewer.cpp main.cpp options.cpp optionsdetailed.cpp \
|
|
|
|
optionseditor.cpp optionsrequester.cpp optionssimple.cpp outputdirectory.cpp paranoia.cpp \
|
|
|
|
progressindicator.cpp replaygain.cpp replaygainfilelist.cpp replaygainscanner.cpp \
|
|
|
|
soundkonverter.cpp soundkonverterapp.cpp
|
|
|
|
soundkonverter_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor
|
|
|
|
soundkonverter_LDADD = $(LIB_TDEUI) $(LIB_TDEFILE) metadata/libmetadata.la \
|
|
|
|
pluginloader/libpluginloader.la -lcdda_interface -lcdda_paranoia
|
|
|
|
|
|
|
|
xdg_apps_DATA = soundkonverter.desktop
|
|
|
|
|
|
|
|
# this is where the shell's XML-GUI resource file goes
|
|
|
|
shellrcdir = $(kde_datadir)/soundkonverter
|
|
|
|
shellrc_DATA = soundkonverterui.rc
|
|
|
|
|
|
|
|
SUBDIRS = amarokscript metadata pics pluginloader plugins
|
|
|
|
soundkonverter_DEPENDENCIES = metadata/libmetadata.la \
|
|
|
|
pluginloader/libpluginloader.la
|
|
|
|
amarokscriptsdir = $(kde_datadir)/amarok/scripts
|
|
|
|
servicemenusdir = $(kde_datadir)/konqueror/servicemenus
|
|
|
|
servicemenus_DATA = audiocd_extract_with_soundkonverter.desktop
|
|
|
|
amarokscriptdir = $(kde_datadir)/soundkonverter/amarokscript
|
|
|
|
bin_SCRIPTS = userscript.sh
|
|
|
|
userscriptdir = $(kde_datadir)/soundkonverter
|
|
|
|
userscript_SCRIPTS = userscript.sh
|