summaryrefslogtreecommitdiffstats
path: root/arts/tools/Makefile.am
blob: 942b8dd5a8a90287ebd4110098312e24c8e000d5 (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_KDECORE) $(LIB_KDEUI) -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_KDECORE) $(LIB_KDEUI) -version-info $(SOMAJOR):$(SOMINOR):$(SOSUBMINOR) -no-undefined

libartscontrolapplet_la_LIBADD = \
	-lartsflow -lartsflow_idl -lmcop -lqtmcop $(LIBDL) -lsoundserver_idl -lartskde \
	$(LIB_KDEUI) ./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_KDEUI)

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_KDEUI)

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_KDECORE) $(LIB_KDEUI)
artscontrol_LDADD = libartscontrolsupport.la \
	$(LIB_KDEUI) $(LIB_KSYCOCA) $(LIB_KFILE) \
	-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_KDECORE) $(LIB_KDEUI)

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