Makefile.am 16.3 KB
Newer Older
1
accessdir = $(pluginsdir)/access
2
access_LTLIBRARIES =
3
EXTRA_LTLIBRARIES =
4

5
AM_CPPFLAGS += -I$(srcdir)/access
6
7
8

### Files ###

9
libattachment_plugin_la_SOURCES = access/attachment.c
10
access_LTLIBRARIES += libattachment_plugin.la
11

12
libdcp_plugin_la_SOURCES = access/dcp/dcpparser.h access/dcp/dcp.cpp access/dcp/dcpparser.cpp access/dcp/dcpdecrypt.cpp
13
if HAVE_ASDCP
14
15
libdcp_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) $(ASDCP_CFLAGS)
libdcp_plugin_la_LIBADD = $(AM_LIBADD) $(ASDCP_LIBS)
16
17
18
if HAVE_GCRYPT
libdcp_plugin_la_CPPFLAGS += $(GCRYPT_CFLAGS)
libdcp_plugin_la_LIBADD += $(GCRYPT_LIBS)
19
20
access_LTLIBRARIES += libdcp_plugin.la
endif
21
endif
22

23
libfilesystem_plugin_la_SOURCES = access/fs.h access/file.c access/directory.c access/fs.c
Rafaël Carré's avatar
Rafaël Carré committed
24
libfilesystem_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
25
if HAVE_WIN32
26
libfilesystem_plugin_la_LIBADD = -lshlwapi
27
endif
28
access_LTLIBRARIES += libfilesystem_plugin.la
29

30
libidummy_plugin_la_SOURCES = access/idummy.c
31
access_LTLIBRARIES += libidummy_plugin.la
32

33
libimem_plugin_la_SOURCES = access/imem.c
34
libimem_plugin_la_LIBADD = $(LIBM)
35
access_LTLIBRARIES += libimem_plugin.la
36

37
38
librar_plugin_la_SOURCES = access/rar/rar.c access/rar/rar.h \
	access/rar/access.c access/rar/stream.c access/rar/module.c
Rafaël Carré's avatar
Rafaël Carré committed
39
librar_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
40
access_LTLIBRARIES += librar_plugin.la
41

42
libsdp_plugin_la_SOURCES = access/sdp.c
43
access_LTLIBRARIES += libsdp_plugin.la
44

45
libtimecode_plugin_la_SOURCES = access/timecode.c
46
access_LTLIBRARIES += libtimecode_plugin.la
47

48
libvdr_plugin_la_SOURCES = access/vdr.c
49
access_LTLIBRARIES += libvdr_plugin.la
50

51
libzip_plugin_la_SOURCES = access/zip/zip.h access/zip/zipstream.c access/zip/zipaccess.c
52
libzip_plugin_la_CFLAGS = $(AM_CFLAGS) $(MINIZIP_CFLAGS)
53
libzip_plugin_la_LIBADD = $(MINIZIP_LIBS)
54
55
libunzip_la_SOURCES = access/zip/unzip/unzip.c access/zip/unzip/unzip.h access/zip/unzip/crypt.h \
	access/zip/unzip/ioapi.c access/zip/unzip/ioapi.h
56
57
libunzip_la_LIBADD = -lz
libunzip_la_LDFLAGS = -static
58
if HAVE_ZLIB
59
access_LTLIBRARIES += libzip_plugin.la
60
if !HAVE_MINIZIP
61
noinst_LTLIBRARIES += libunzip.la
62
libzip_plugin_la_CFLAGS += -I$(srcdir)/access/zip/unzip
63
libzip_plugin_la_LIBADD += libunzip.la
64
65
66
endif
endif

67
68
69
70
71
72
libaccess_archive_plugin_la_SOURCES = access/archive/access.c access/archive/stream.c \
					access/archive/archive.h access/archive/archive.c
libaccess_archive_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
libaccess_archive_plugin_la_LIBADD = $(ARCHIVE_LIBS)
access_LTLIBRARIES += $(LTLIBaccess_archive)
EXTRA_LTLIBRARIES += libaccess_archive_plugin.la
73

74
### Audio capture ###
75

76
libaccess_alsa_plugin_la_SOURCES = access/alsa.c
77
libaccess_alsa_plugin_la_CFLAGS = $(AM_CFLAGS) $(ALSA_CFLAGS)
78
libaccess_alsa_plugin_la_LIBADD = $(ALSA_LIBS)
79
if HAVE_ALSA
80
access_LTLIBRARIES += libaccess_alsa_plugin.la
81
82
endif

83
libaccess_oss_plugin_la_SOURCES = access/oss.c
84
libaccess_oss_plugin_la_LIBADD = $(OSS_LIBS)
85
if HAVE_OSS
86
access_LTLIBRARIES += libaccess_oss_plugin.la
87
88
endif

89
libaccess_jack_plugin_la_SOURCES = access/jack.c
90
libaccess_jack_plugin_la_CFLAGS = $(AM_CFLAGS) $(JACK_CFLAGS)
91
libaccess_jack_plugin_la_LIBADD = $(JACK_LIBS)
92
if HAVE_JACK
93
access_LTLIBRARIES += libaccess_jack_plugin.la
94
95
endif

96
libpulsesrc_plugin_la_SOURCES = access/pulse.c
97
libpulsesrc_plugin_la_CFLAGS= $(AM_CFLAGS) $(PULSE_CFLAGS)
98
libpulsesrc_plugin_la_LIBADD = libvlc_pulse.la $(PULSE_LIBS)
99
if HAVE_PULSE
100
access_LTLIBRARIES += libpulsesrc_plugin.la
101
102
endif

103
libqtsound_plugin_la_SOURCES = access/qtsound.m
104
105
libqtsound_plugin_la_LDFLAGS = -Wl,-framework,QTKit -Wl,-framework,CoreAudio
if HAVE_QTKIT
106
access_LTLIBRARIES += libqtsound_plugin.la
107
108
endif

109
110
111

### Video capture ###

112
libavcapture_plugin_la_SOURCES = access/avcapture.m
113
114
115
libavcapture_plugin_la_LDFLAGS = \
	-Wl,-framework,AVFoundation -Wl,-framework,CoreMedia
if HAVE_AVFOUNDATION
116
access_LTLIBRARIES += libavcapture_plugin.la
117
118
endif

119
libdc1394_plugin_la_SOURCES = access/dc1394.c
120
libdc1394_plugin_la_CFLAGS = $(AM_CFLAGS) $(DC1394_CFLAGS)
121
libdc1394_plugin_la_LIBADD = $(DC1394_LIBS)
122
123
libdc1394_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
access_LTLIBRARIES += $(LTLIBdc1394)
124
125
EXTRA_LTLIBRARIES += libdc1394_plugin.la

126
libdv1394_plugin_la_SOURCES = access/dv.c
127
libdv1394_plugin_la_CFLAGS = $(AM_CFLAGS) $(DV1394_CFLAGS)
128
libdv1394_plugin_la_LIBADD = $(DV1394_LIBS) $(LIBPTHREAD)
129
130
libdv1394_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
access_LTLIBRARIES += $(LTLIBdv1394)
131
132
133
EXTRA_LTLIBRARIES += libdv1394_plugin.la

liblinsys_hdsdi_plugin_la_SOURCES = \
134
135
136
	access/linsys/linsys_sdiaudio.h \
	access/linsys/linsys_sdivideo.h \
	access/linsys/linsys_hdsdi.c
137
liblinsys_hdsdi_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
138
liblinsys_sdi_plugin_la_SOURCES = access/linsys/linsys_sdi.c access/linsys/linsys_sdi.h
139
liblinsys_sdi_plugin_la_CFLAGS = $(AM_CFLAGS) $(LINSYS_SDI_CFLAGS)
140
liblinsys_sdi_plugin_la_LIBADD = $(LINSYS_SDI_LIBS)
141
142
liblinsys_sdi_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
access_LTLIBRARIES += $(LTLIBlinsys_hdsdi) $(LTLIBlinsys_sdi)
143
144
EXTRA_LTLIBRARIES += liblinsys_hdsdi_plugin.la liblinsys_sdi_plugin.la

145
libdecklink_plugin_la_SOURCES = access/decklink.cpp access/sdi.c access/sdi.h
146
libdecklink_plugin_la_CXXFLAGS = $(AM_CFLAGS) $(CPPFLAGS_decklink)
147
libdecklink_plugin_la_LIBADD = $(LIBS_decklink) -ldl
148
if HAVE_DECKLINK
149
access_LTLIBRARIES += libdecklink_plugin.la
150
151
endif

152
libshm_plugin_la_SOURCES = access/shm.c
153
libshm_plugin_la_LIBADD = $(LIBM)
154
access_LTLIBRARIES += libshm_plugin.la
155

156
libqtcapture_plugin_la_SOURCES = access/qtcapture.m
157
158
159
libqtcapture_plugin_la_LDFLAGS = \
	-Wl,-framework,QTKit -Wl,-framework,CoreVideo -Wl,-framework,QuartzCore
if HAVE_QTKIT
160
access_LTLIBRARIES += libqtcapture_plugin.la
161
162
endif

163
libv4l2_plugin_la_SOURCES = \
164
165
166
167
168
169
170
171
172
173
174
175
176
	access/v4l2/linux/videodev2.h \
	access/v4l2/linux/v4l2-common.h \
	access/v4l2/linux/v4l2-controls.h \
	access/v4l2/v4l2.c \
	access/v4l2/video.c \
	access/v4l2/vbi.c \
	access/v4l2/demux.c \
	access/v4l2/access.c \
	access/v4l2/radio.c \
	access/v4l2/controls.c \
	access/v4l2/lib.c \
	access/v4l2/v4l2.h
libv4l2_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/access/v4l2
177
libv4l2_plugin_la_CFLAGS = $(AM_CFLAGS) $(ZVBI_CFLAGS)
178
libv4l2_plugin_la_LIBADD = $(LIBDL) $(LIBM) $(ZVBI_LIBS)
179
if HAVE_V4L2
180
access_LTLIBRARIES += libv4l2_plugin.la
181
182
endif

183
184
libdshow_plugin_la_SOURCES = access/dshow/vlc_dshow.h access/dshow/dshow.cpp access/dshow/access.h \
	access/dshow/filter.cpp access/dshow/filter.h access/dshow/crossbar.cpp
185
libdshow_plugin_la_LIBADD = -lole32 -loleaut32 -luuid -lstrmiids -lksuser
186
if HAVE_WIN32
187
access_LTLIBRARIES += libdshow_plugin.la
188
189
190
191
192
endif


### Screen grab ###

193
libxcb_screen_plugin_la_SOURCES = access/screen/xcb.c
194
libxcb_screen_plugin_la_CFLAGS = $(AM_CFLAGS) \
195
	$(XCB_CFLAGS) $(XCB_COMPOSITE_CFLAGS) $(XCB_SHM_CFLAGS)
196
libxcb_screen_plugin_la_LIBADD = $(XCB_LIBS) $(XCB_COMPOSITE_LIBS) $(XCB_SHM_LIBS)
197
if HAVE_XCB
198
access_LTLIBRARIES += libxcb_screen_plugin.la
199
200
201
202
203
204
205
206
207
208
209
210
211
endif

libwl_screenshooter_plugin_la_SOURCES = \
	access/screen/wayland.c
nodist_libwl_screenshooter_plugin_la_SOURCES = \
	access/screen/screenshooter-protocol.c
libwl_screenshooter_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) -Iaccess/screen
libwl_screenshooter_plugin_la_CFLAGS = $(WAYLAND_CLIENT_CFLAGS)
libwl_screenshooter_plugin_la_LIBADD = $(WAYLAND_CLIENT_LIBS) \
	$(LIBPTHREAD) $(LIBM)
EXTRA_DIST += access/screen/screenshooter.xml
CLEANFILES += $(nodist_libwl_screenshooter_plugin_la_SOURCES)
if HAVE_WAYLAND
212
BUILT_SOURCES += access/screen/screenshooter-client-protocol.h
213
access_LTLIBRARIES += libwl_screenshooter_plugin.la
214
215
endif

216
libscreen_plugin_la_SOURCES = access/screen/screen.c access/screen/screen.h
217
libscreen_plugin_la_LDFLAGS = $(AM_LDFLAGS)
218
if HAVE_WIN32
219
libscreen_plugin_la_SOURCES += access/screen/win32.c
220
libscreen_plugin_la_LIBADD = -lgdi32
221
access_LTLIBRARIES += libscreen_plugin.la
222
endif
223
if HAVE_MAC_SCREEN
224
libscreen_plugin_la_SOURCES += access/screen/mac.c
225
libscreen_plugin_la_LDFLAGS += "-Wl,-framework,OpenGL,-framework,ApplicationServices"
226
access_LTLIBRARIES += libscreen_plugin.la
227
228
endif

229
librdp_plugin_la_SOURCES = access/rdp.c
Rafaël Carré's avatar
typo    
Rafaël Carré committed
230
librdp_plugin_la_CFLAGS = $(AM_CFLAGS) $(FREERDP_CFLAGS)
231
librdp_plugin_la_LIBADD = $(FREERDP_LIBS)
232
233
librdp_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
access_LTLIBRARIES += $(LTLIBrdp)
234
235
EXTRA_LTLIBRARIES += librdp_plugin.la

236
libvnc_plugin_la_SOURCES = access/vnc.c
237
libvnc_plugin_la_CFLAGS = $(AM_CFLAGS) $(VNC_CFLAGS)
238
libvnc_plugin_la_LIBADD = $(VNC_LIBS)
239
240
libvnc_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
access_LTLIBRARIES += $(LTLIBvnc)
241
EXTRA_LTLIBRARIES += libvnc_plugin.la
242

243

244
245
### Optical media ###

246
libcdda_plugin_la_SOURCES = access/cdda.c access/vcd/cdrom.c access/vcd/cdrom.h access/vcd/cdrom_internals.h
Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
247
248
libcdda_plugin_la_CFLAGS = $(AM_CFLAGS) $(LIBCDDB_CFLAGS)
libcdda_plugin_la_LIBADD = $(LIBCDDB_LIBS)
249
libcdda_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
250
if HAVE_DARWIN
Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
251
libcdda_plugin_la_LIBADD += -liconv
252
libcdda_plugin_la_LDFLAGS += -Wl,-framework,IOKit,-framework,CoreFoundation
253
254
endif
EXTRA_LTLIBRARIES += libcdda_plugin.la
255
access_LTLIBRARIES += $(LTLIBcdda)
256

257
libvcd_plugin_la_SOURCES = access/vcd/vcd.c access/vcd/cdrom.c access/vcd/cdrom.h access/vcd/cdrom_internals.h
258
libvcd_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
259
if HAVE_DARWIN
260
libvcd_plugin_la_LIBADD = -liconv
261
libvcd_plugin_la_LDFLAGS += -Wl,-framework,IOKit,-framework,CoreFoundation
262
263
endif
EXTRA_LTLIBRARIES += libvcd_plugin.la
264
access_LTLIBRARIES += $(LTLIBvcd)
265
266

libvcdx_plugin_la_SOURCES = \
267
268
269
270
	access/vcdx/access.h access/vcdx/access.c \
	access/vcdx/vcd.c access/vcdx/vcd.h \
	access/vcdx/vcdplayer.h access/vcdx/vcdplayer.c \
	access/vcdx/info.c access/vcdx/info.h
271
libvcdx_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
jeremyhu's avatar
jeremyhu committed
272
libvcdx_plugin_la_LIBADD = $(VCDX_LIBS)
273
if HAVE_WIN32
jeremyhu's avatar
jeremyhu committed
274
libvcdx_plugin_la_LIBADD += -lwinmm
275
endif
276
libvcdx_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
277
278
279
if HAVE_DARWIN
libvcdx_plugin_la_LDFLAGS += -Wl,-framework,IOKit,-framework,CoreFoundation
endif
280
EXTRA_LTLIBRARIES += libvcdx_plugin.la
281
access_LTLIBRARIES += $(LTLIBvcdx)
282

283
libdvdnav_plugin_la_SOURCES = access/dvdnav.c
284
libdvdnav_plugin_la_CFLAGS = $(AM_CFLAGS) $(DVDNAV_CFLAGS)
285
libdvdnav_plugin_la_LIBADD = $(DVDNAV_LIBS)
286
libdvdnav_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
287
288
289
if HAVE_DARWIN
libdvdnav_plugin_la_LDFLAGS += -Wl,-framework,IOKit,-framework,CoreFoundation
endif
290
access_LTLIBRARIES += $(LTLIBdvdnav)
291
292
EXTRA_LTLIBRARIES += libdvdnav_plugin.la

293
libdvdread_plugin_la_SOURCES = access/dvdread.c
294
libdvdread_plugin_la_CFLAGS = $(AM_CFLAGS) $(DVDREAD_CFLAGS)
295
libdvdread_plugin_la_LIBADD = $(DVDREAD_LIBS)
296
libdvdread_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
297
298
299
if HAVE_DARWIN
libdvdread_plugin_la_LDFLAGS += -Wl,-framework,IOKit,-framework,CoreFoundation
endif
300
access_LTLIBRARIES += $(LTLIBdvdread)
301
302
EXTRA_LTLIBRARIES += libdvdread_plugin.la

303
liblibbluray_plugin_la_SOURCES = access/bluray.c
304
liblibbluray_plugin_la_CFLAGS = $(AM_CFLAGS) $(BLURAY_CFLAGS)
305
liblibbluray_plugin_la_LIBADD = $(BLURAY_LIBS)
306
307
liblibbluray_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
access_LTLIBRARIES += $(LTLIBlibbluray)
308
EXTRA_LTLIBRARIES += liblibbluray_plugin.la
309

310
libaccess_bd_plugin_la_SOURCES = access/bd/bd.c access/bd/mpls.c access/bd/mpls.h access/bd/clpi.c access/bd/clpi.h
311
access_LTLIBRARIES += libaccess_bd_plugin.la
312
313


314
315
### Digital TV ###

316
libdtv_plugin_la_SOURCES = \
317
318
	access/dtv/dtv.h \
	access/dtv/access.c
319
libdtv_plugin_la_CFLAGS = $(AM_CFLAGS)
320

321
if HAVE_LINUX_DVB
322
libdtv_plugin_la_SOURCES += access/dtv/linux.c
323
libdtv_plugin_la_CFLAGS += -DHAVE_LINUX_DVB
324
if HAVE_DVBPSI
325
libdtv_plugin_la_SOURCES += access/dtv/en50221.c access/dtv/en50221.h mux/mpeg/dvbpsi_compat.h
326
libdtv_plugin_la_CFLAGS += -DHAVE_DVBPSI $(DVBPSI_CFLAGS)
327
libdtv_plugin_la_LIBADD = $(DVBPSI_LIBS)
328
endif
329
access_LTLIBRARIES += libdtv_plugin.la
330
endif
331

332
333
334
if HAVE_WIN32
# Work-around automake bug:
# Use an import library for C++ to retain C linker on other platforms.
335
libbda_la_SOURCES = access/dtv/bdadefs.h access/dtv/bdagraph.cpp access/dtv/bdagraph.hpp
336
337
libbda_la_LDFLAGS = -static
libbda_la_LIBADD = -lstrmiids -lole32 -loleaut32 -luuid
338
noinst_LTLIBRARIES += libbda.la
339

340
libdtv_plugin_la_DEPENDENCIES = libbda.la
341
libdtv_plugin_la_LIBADD = libbda.la -lstdc++
342
access_LTLIBRARIES += libdtv_plugin.la
343
344
endif

345
346
# Old Linux DVB scanner
libdvb_plugin_la_SOURCES = \
347
348
349
350
	access/dvb/access.c \
	access/dvb/linux_dvb.c \
	access/dvb/scan.c access/dvb/scan.h \
	access/dvb/dvb.h
351
352
353
libdvb_plugin_la_CFLAGS = $(AM_CFLAGS)
if HAVE_LINUX_DVB
if HAVE_DVBPSI
354
libdvb_plugin_la_SOURCES += mux/mpeg/dvbpsi_compat.h
355
access_LTLIBRARIES += libdvb_plugin.la
356
libdvb_plugin_la_CFLAGS += $(DVBPSI_CFLAGS)
357
libdvb_plugin_la_LIBADD = $(DVBPSI_LIBS)
358
359
endif
endif
360

361
libaccess_eyetv_plugin_la_SOURCES = access/eyetv.m
362
363
364
libaccess_eyetv_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)' \
	-Wl,-framework,Foundation
access_LTLIBRARIES += $(LTLIBaccess_eyetv)
365
366
367
EXTRA_LTLIBRARIES += libaccess_eyetv_plugin.la


368
369
### Network streams ###

370
libftp_plugin_la_SOURCES = access/ftp.c
371
libftp_plugin_la_LIBADD = $(SOCKET_LIBS)
372
access_LTLIBRARIES += libftp_plugin.la
373

aajanki's avatar
aajanki committed
374
libhttp_plugin_la_SOURCES = access/http.c
375
libhttp_plugin_la_LIBADD = $(SOCKET_LIBS)
376
377
if HAVE_ZLIB
libhttp_plugin_la_LIBADD += -lz
378
endif
379
access_LTLIBRARIES += libhttp_plugin.la
380

381
liblive555_plugin_la_SOURCES = access/live555.cpp access/mms/asf.c access/mms/buffer.c
382
liblive555_plugin_la_CXXFLAGS = $(AM_CXXFLAGS) $(CXXFLAGS_live555)
383
liblive555_plugin_la_LIBADD = $(LIBS_live555)
384
385
386
liblive555_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)' \
	$(LDFLAGS_live555)
access_LTLIBRARIES += $(LTLIBlive555)
387
EXTRA_LTLIBRARIES += liblive555_plugin.la
388

389
libaccess_mms_plugin_la_SOURCES = \
390
391
392
393
394
395
	access/mms/mms.c access/mms/mms.h \
	access/mms/mmsh.c access/mms/mmsh.h \
	access/mms/mmstu.c access/mms/mmstu.h \
	access/mms/buffer.c access/mms/buffer.h \
	access/mms/asf.h access/mms/asf.c \
	demux/asf/libasf_guid.h
396
libaccess_mms_plugin_la_CFLAGS = $(AM_CFLAGS)
397
libaccess_mms_plugin_la_LIBADD = $(SOCKET_LIBS)
398
access_LTLIBRARIES += libaccess_mms_plugin.la
399

400
libsmb_plugin_la_SOURCES = access/smb.c
401
libsmb_plugin_la_CFLAGS = $(AM_CFLAGS) $(SMBCLIENT_CFLAGS)
402
libsmb_plugin_la_LIBADD = $(SMBCLIENT_LIBS)
403
if HAVE_WIN32
404
libsmb_plugin_la_LIBADD += -lmpr
405
endif
406
407
libsmb_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
access_LTLIBRARIES += $(LTLIBsmb)
408
EXTRA_LTLIBRARIES += libsmb_plugin.la
409

410
libdsm_plugin_la_SOURCES = access/dsm/access.c access/dsm/common.h \
411
	access/dsm/browser.c access/dsm/sd.c
412
413
414
415
416
417
libdsm_plugin_la_CFLAGS = $(AM_CFLAGS) $(DSM_CFLAGS)
libdsm_plugin_la_LIBADD = $(DSM_LIBS)
libdsm_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(sddir)'
access_LTLIBRARIES += $(LTLIBdsm)
EXTRA_LTLIBRARIES += libdsm_plugin.la

418
libtcp_plugin_la_SOURCES = access/tcp.c
419
libtcp_plugin_la_LIBADD = $(SOCKET_LIBS)
420
access_LTLIBRARIES += libtcp_plugin.la
421

422
libudp_plugin_la_SOURCES = access/udp.c
423
libudp_plugin_la_LIBADD = $(SOCKET_LIBS) $(LIBPTHREAD)
424
access_LTLIBRARIES += libudp_plugin.la
425

426
libsftp_plugin_la_SOURCES = access/sftp.c
427
libsftp_plugin_la_CFLAGS = $(AM_CFLAGS) $(SFTP_CFLAGS)
428
libsftp_plugin_la_LIBADD = $(SFTP_LIBS)
429
430
libsftp_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
access_LTLIBRARIES += $(LTLIBsftp)
431
EXTRA_LTLIBRARIES += libsftp_plugin.la
432

433
libaccess_realrtsp_plugin_la_SOURCES = \
434
435
436
437
438
439
	access/rtsp/access.c \
	access/rtsp/rtsp.c access/rtsp/rtsp.h \
	access/rtsp/real.c access/rtsp/real.h \
	access/rtsp/real_rmff.c access/rtsp/real_rmff.h \
	access/rtsp/real_sdpplin.c access/rtsp/real_sdpplin.h \
	access/rtsp/real_asmrp.c
Rafaël Carré's avatar
Rafaël Carré committed
440
libaccess_realrtsp_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
441
libaccess_realrtsp_plugin_la_LIBADD = $(SOCKET_LIBS)
442
443
libaccess_realrtsp_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
access_LTLIBRARIES += $(LTLIBaccess_realrtsp)
444
EXTRA_LTLIBRARIES += libaccess_realrtsp_plugin.la
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
445

446
libavio_plugin_la_SOURCES = access/avio.c access/avio.h
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
447
448
libavio_plugin_la_CFLAGS = $(AM_CFLAGS) $(AVFORMAT_CFLAGS) $(AVUTIL_CFLAGS)
libavio_plugin_la_LDFLAGS = $(AM_LDFLAGS) $(SYMBOLIC_LDFLAGS)
449
libavio_plugin_la_LIBADD = $(AVFORMAT_LIBS) $(AVUTIL_LIBS) $(LIBM)
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
450
if HAVE_AVFORMAT
451
if !MERGE_FFMPEG
452
access_LTLIBRARIES += libavio_plugin.la
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
453
endif
454
endif
455
456
457
458


### Misc ###

459
libgnomevfs_plugin_la_SOURCES = access/gnomevfs.c
460
libgnomevfs_plugin_la_CFLAGS = $(AM_CFLAGS) $(GNOMEVFS_CFLAGS)
461
libgnomevfs_plugin_la_LIBADD = $(GNOMEVFS_LIBS)
462
463
libgnomevfs_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
access_LTLIBRARIES += $(LTLIBgnomevfs)
464
465
EXTRA_LTLIBRARIES += libgnomevfs_plugin.la

466
libaccess_mtp_plugin_la_SOURCES = access/mtp.c
467
libaccess_mtp_plugin_la_CFLAGS = $(AM_CFLAGS) $(MTP_CFLAGS)
468
libaccess_mtp_plugin_la_LIBADD = $(MTP_LIBS)
469
470
libaccess_mtp_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
access_LTLIBRARIES += $(LTLIBaccess_mtp)
471
EXTRA_LTLIBRARIES += libaccess_mtp_plugin.la