summaryrefslogtreecommitdiffstats
path: root/arts/tools/Makefile.am
blob: 7d21a23a78230af15d5297440d3f017330b86d20 (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

SUBDIRS= . pics

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


lib_LTLIBRARIES = libartscontrolsupport.la libartscontrolapplet.la

libartscontrolapplet_la_SOURCES = \
	artscontrolapplet.cpp

libartscontrolsupport_la_SOURCES = \
	templateview.cpp artsactions.cpp \
	audiomanager.cpp choosebusdlg.cpp \
	midimanagerview.cpp midimanagerdlg.ui midimanagerwidget.ui \
	midiportdlg.cpp midiinstdlg.cpp environmentview.cpp \
	fftscopeview.cpp mediatypesview.cpp statusview.cpp

METASOURCES = AUTO

SOMAJOR = 1
SOMINOR = 0
SOSUBMINOR = 0

libartscontrolapplet_la_LDFLAGS = $(all_libraries) -lmcop -lartsflow_idl -L../gui/common -lartsgui_idl -L../gui/kde -lartsgui_kde -L../midi -lartsmidi -lartsmidi_idl -L../modules/effects -lartsmoduleseffects -L../modules/synth -lartsmodulessynth -L../modules/common -lartsmodulescommon $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -version-info $(SOMAJOR):$(SOMINOR):$(SOSUBMINOR) -no-undefined -module
libartscontrolsupport_la_LDFLAGS = $(all_libraries) -lmcop -lartsflow_idl -L../gui/common -lartsgui_idl -L../gui/kde -lartsgui_kde -L../midi -lartsmidi -lartsmidi_idl -L../modules/effects -lartsmoduleseffects -L../modules/synth -lartsmodulessynth -L../modules/common -lartsmodulescommon $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -version-info $(SOMAJOR):$(SOMINOR):$(SOSUBMINOR) -no-undefined

libartscontrolapplet_la_LIBADD = \
	-lartsflow -lartsflow_idl -lmcop -lqtmcop $(LIBDL) -lsoundserver_idl -lartskde \
	$(LIB_TDEUI) ./libartscontrolsupport.la

# Arnolds version with dynamic-linking for testing.
#
#libartscontrolsupport_la_LIBADD = \
#	-lartsflow -lartsflow_idl -lmcop -lqtmcop $(LIBDL) -lsoundserver_idl -lartskde \
#	$(top_builddir)/arts/gui/common/libartsgui_idl.la \
#	-L$(top_builddir)/arts/gui/kde -lartsgui_kde \
#	-L$(top_builddir)/arts/modules -lartsmodules \
#	$(LIB_TDEUI)

libartscontrolsupport_la_LIBADD = \
	-lartsflow -lartsflow_idl -lmcop -lqtmcop $(LIBDL) -lsoundserver_idl -lartskde \
	$(top_builddir)/arts/gui/common/libartsgui_idl.la \
	$(top_builddir)/arts/gui/kde/libartsgui_kde.la \
	$(top_builddir)/arts/modules/libartsmodules.la \
	$(LIB_TDEUI)

bin_PROGRAMS = artscontrol
artscontrol_SOURCES = main.cpp levelmeters.cpp
artscontrol_LDFLAGS = $(all_libraries) $(KDE_RPATH) -lartsflow -lmcop -lartsflow_idl -L../gui/common -lartsgui_idl -L../gui/kde -lartsgui_kde -L../midi -lartsmidi -lartsmidi_idl -L../modules/effects -lartsmoduleseffects -L../modules/synth -lartsmodulessynth -L../modules/common -lartsmodulescommon $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI)
artscontrol_LDADD = libartscontrolsupport.la \
	$(LIB_TDEUI) $(LIB_KSYCOCA) $(LIB_TDEFILE) \
	-lqtmcop -lartsflow -lartsflow_idl -lsoundserver_idl -lartskde -lmcop -lartsflow_idl -L../gui/common -lartsgui_idl -L../gui/kde -lartsgui_kde -L../midi -lartsmidi -lartsmidi_idl -L../modules/effects -lartsmoduleseffects -L../modules/synth -lartsmodulessynth -L../modules/common -lartsmodulescommon $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI)

xdg_apps_DATA = artscontrol.desktop

lnkdir = $(kde_datadir)/kicker/applets
lnk_DATA = artscontrolapplet.desktop

rcdir = $(kde_datadir)/artscontrol
rc_DATA = artscontrol.rc artsmidimanagerview.rc

messages: rc.cpp
	$(XGETTEXT) *.h *.cpp -o $(podir)/artscontrol.pot

artsactions.lo: ../modules/artsmodules.h ../midi/artsmidi.h ../gui/common/artsgui.h ../modules/common/artsmodulescommon.h ../modules/synth/artsmodulessynth.h ../modules/effects/artsmoduleseffects.h ../modules/mixers/artsmodulesmixers.h
artscontrolapplet.lo: ../gui/common/artsgui.h ../modules/effects/artsmoduleseffects.h ../modules/common/artsmodulescommon.h ../midi/artsmidi.h ../modules/synth/artsmodulessynth.h ../modules/artsmodules.h ../modules/mixers/artsmodulesmixers.h
environmentview.lo: ../modules/artsmodules.h ../midi/artsmidi.h ../gui/common/artsgui.h ../modules/common/artsmodulescommon.h ../modules/synth/artsmodulessynth.h ../modules/effects/artsmoduleseffects.h ../modules/mixers/artsmodulesmixers.h
fftscopeview.lo: ../modules/artsmodules.h ../midi/artsmidi.h ../gui/common/artsgui.h ../modules/common/artsmodulescommon.h ../modules/synth/artsmodulessynth.h ../modules/effects/artsmoduleseffects.h ../modules/mixers/artsmodulesmixers.h
main.o: ../gui/common/artsgui.h ../modules/artsmodules.h ../midi/artsmidi.h ../modules/common/artsmodulescommon.h ../modules/synth/artsmodulessynth.h ../modules/effects/artsmoduleseffects.h ../modules/mixers/artsmodulesmixers.h
midimanagerview.lo: ../midi/artsmidi.h ../modules/artsmodules.h ../gui/common/artsgui.h ../modules/common/artsmodulescommon.h ../modules/synth/artsmodulessynth.h ../modules/effects/artsmoduleseffects.h ../modules/mixers/artsmodulesmixers.h