~ubuntu-branches/ubuntu/hoary/kdemultimedia/hoary

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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
# This file you have to edit. Change the name here


mcopclassdir			=	$(libdir)/mcop
mcopclass_DATA			=	WAVPlayObject.mcopclass \
					MP3PlayObject.mcopclass \
					MPGPlayObject.mcopclass \
					OGGPlayObject.mcopclass \
					CDDAPlayObject.mcopclass \
					VCDPlayObject.mcopclass \
					NULLPlayObject.mcopclass \
					SplayPlayObject.mcopclass



EXTRA_DIST			=	doemacs  \
					configure.in.in \
					decoderBaseObject.idl \
					splayPlayObject.idl \
					$(mcopclass_DATA)


BUILT_SOURCES			=	decoderBaseObject.h \
					decoderBaseObject.cc \
					splayPlayObject.h \
					splayPlayObject.cc


noinst_HEADERS			=	mp3PlayObject_impl.h \
					oggPlayObject_impl.h \
					decoderBaseObject_impl.h \
					mpgPlayObject_impl.h \
					wavPlayObject_impl.h \
					cddaPlayObject_impl.h \
					vcdPlayObject_impl.h \
					nullPlayObject_impl.h \
					splayPlayObject_impl.h


ARTS_INCLUDES			=	$(ARTSC_INCLUDE) \
					$(ARTSC_INCLUDE)/../arts


INCLUDES			= 	$(all_includes) \
					-I../mpeglib/lib \
					$(ARTS_INCLUDES)


lib_LTLIBRARIES 		=	libarts_mpeglib.la \
					libarts_splay.la

decoderBaseObject.cc		:	decoderBaseObject.h

decoderBaseObject.h		:	$(srcdir)/decoderBaseObject.idl
		$(MCOPIDL) $(ARTS_INCLUDES) $(srcdir)/decoderBaseObject.idl


splayPlayObject.cc		:	splayPlayObject.h

splayPlayObject.h		:	$(srcdir)/splayPlayObject.idl
		$(MCOPIDL) $(ARTS_INCLUDES) $(srcdir)/splayPlayObject.idl

mpeglibartsplugdir		=	$(includedir)/mpeglib_artsplug

mpeglibartsplug_HEADERS		=	decoderBaseObject_impl.h \
					decoderBaseObject.h \
					decoderBaseObject.idl \
					splayPlayObject_impl.h \
					splayPlayObject.h \
					splayPlayObject.idl



libarts_mpeglib_la_SOURCES	=	$(BUILT_SOURCES) \
					decoderBaseObject_impl.cpp \
					oggPlayObject_impl.cpp \
					mpgPlayObject_impl.cpp \
					wavPlayObject_impl.cpp \
					mp3PlayObject_impl.cpp \
					cddaPlayObject_impl.cpp \
					vcdPlayObject_impl.cpp \
					nullPlayObject_impl.cpp

libarts_mpeglib_la_LDFLAGS	=	$(all_libraries) \
					$(top_builddir)/mpeglib/lib/libmpeg.la \
					-module \
					-release $(MPEGLIB_ARTS_VERSION) \
					-version-info $(MPEGLIB_ARTS_MAJOR_VERSION):$(MPEGLIB_ARTS_MINOR_VERSION):$(MPEGLIB_ARTS_MICRO_VERSION)

libarts_splay_la_SOURCES	=	splayPlayObject.cc \
					splayPlayObject_impl.cpp

libarts_splay_la_LDFLAGS	=	$(all_libraries) \
					$(top_builddir)/mpeglib/lib/libmpeg.la \
					-module


bin_PROGRAMS			=	mpeglibartsplay  so_play

mpeglibartsplay_SOURCES		=	mpeglibartsplay.cpp

mpeglibartsplay_LDADD		=	$(all_libraries) \
					$(ARTSC_LIBS) \
					-lsoundserver_idl \
					-lkmedia2_idl \
					-lartsflow_idl \
					-lmcop

so_play_SOURCES			=	so_play.cpp

so_play_LDADD			=	$(mpeglibartsplay_LDADD) -lqt