summaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
blob: 3f3be6225629221c7c8e6715e69804d8bef30606 (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
50
51
52
53
54
55
56
57
58
# set the include path for X, qt and KDE
INCLUDES = $(all_includes) -I$(top_srcdir)/src/metadata/ \
	-I$(top_srcdir)/src/pluginloader/

# 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_KIO) -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