summaryrefslogtreecommitdiffstats
path: root/krec/Makefile.am
blob: f45884c91b1d59b66f245b71ecd8a53a385d3723 (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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99

if compile_ogg_export
OGGEXPORTDIR=ogg_export
endif

if compile_mp3_export
MP3EXPORTDIR=mp3_export
endif

SUBDIRS = . pics $(OGGEXPORTDIR) $(MP3EXPORTDIR)

INCLUDES= \
	-I$(top_builddir)/arts/gui/common \
	-I$(top_builddir)/arts/midi \
	-I$(top_builddir)/arts/modules/common \
	-I$(top_builddir)/arts/modules/synth \
	-I$(top_builddir)/arts/modules/effects \
	-I$(top_srcdir)/arts/gui/kde \
	-I$(top_srcdir)/arts/tools \
        -I$(top_builddir)/arts/modules/effects \
        -I$(top_builddir)/arts/modules/common \
        -I$(top_builddir)/arts/modules/synth \
        -I$(top_builddir)/arts/midi \
	-I$(arts_includes) $(all_includes)

METASOURCES = AUTO

bin_PROGRAMS =
lib_LTLIBRARIES =
tdeinit_LTLIBRARIES = krec.la

kde_module_LTLIBRARIES = kcm_krec.la kcm_krec_files.la libkrecexport_wave.la

noinst_LTLIBRARIES = lib_krec_common.la

krec_la_SOURCES = \
		krecnewproperties.cpp \
		krecfile.cpp \
		krecfileview.cpp \
		krecfileviewhelpers.cpp \
		krecfilewidgets.cpp \
		main.cpp \
		krecord.cpp

krec_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor -lmcop -lartsflow_idl -lkmedia2_idl -lsoundserver_idl -L../arts/modules/effects -lartsmoduleseffects
krec_la_LIBADD = \
	lib_krec_common.la \
	$(top_builddir)/arts/gui/kde/libartsgui_kde.la \
	$(top_builddir)/arts/tools/libartscontrolsupport.la \
	-lartskde $(LIBDL) $(LIB_TDEIO) $(LIB_TDEUI) $(LIB_TDEUTILS)

kcm_krec_la_SOURCES = krecconfigure.cpp
kcm_krec_la_LDFLAGS = -module -avoid-version -no-undefined $(all_libraries) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor -lmcop -lartsflow_idl -lkmedia2_idl -lsoundserver_idl -L../arts/modules/effects -lartsmoduleseffects

kcm_krec_la_LIBADD = lib_krec_common.la $(LIB_TDEUTILS)

kcm_krec_files_la_SOURCES = krecconfig_files.cpp
kcm_krec_files_la_LDFLAGS = -module -avoid-version -no-undefined $(all_libraries) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor -lmcop -lartsflow_idl -lkmedia2_idl -lsoundserver_idl -L../arts/modules/effects -lartsmoduleseffects

kcm_krec_files_la_LIBADD = lib_krec_common.la $(LIB_TDEUTILS)

lib_krec_common_la_SOURCES = \
	krecglobal.cpp \
	krecexport_template.cpp \
	krecconfig_fileswidget.cpp

lib_krec_common_la_LDFLAGS = -module -avoid-version -no-undefined $(all_libraries) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor -lmcop -lartsflow_idl -lkmedia2_idl -lsoundserver_idl -L../arts/modules/effects -lartsmoduleseffects

lib_krec_common_la_LIBADD = $(LIB_TDEUI) $(LIB_TDEIO)

libkrecexport_wave_la_SOURCES = krecexport_wave.cpp
libkrecexport_wave_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor -lmcop -lartsflow_idl -lkmedia2_idl -lsoundserver_idl -L../arts/modules/effects -lartsmoduleseffects

libkrecexport_wave_la_LIBADD = lib_krec_common.la

rcdir = $(kde_datadir)/krec
rc_DATA = krecui.rc

xdg_apps_DATA = krec.desktop
xdg_configdir = $(kde_servicesdir)
xdg_config_DATA = kcm_krec.desktop kcm_krec_files.desktop

messages: rc.cpp
	rm -f tips.txt
	$(PREPARETIPS) > tips.txt
	$(XGETTEXT) */*.cpp *.cpp *.txt *.h -o $(podir)/krec.pot
	rm -f tips.txt

KDE_ICON = krec

appsdatadir=$(kde_datadir)/krec
appsdata_DATA=tips

kde_servicetypes_DATA=krec_exportitem.desktop

kde_services_DATA=krec_exportwave.desktop

krecord.lo: ../arts/gui/common/artsgui.h ../arts/modules/effects/artsmoduleseffects.h ../arts/modules/common/artsmodulescommon.h ../arts/midi/artsmidi.h ../arts/modules/synth/artsmodulessynth.h