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

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

### Files ###

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

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

22
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
23
libfilesystem_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
24
if HAVE_WIN32
25
libfilesystem_plugin_la_LIBADD = -lshlwapi
26
endif
27
access_LTLIBRARIES += libfilesystem_plugin.la
28

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

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

36
37
38
libaccess_imem_plugin_la_SOURCES = access/imem.c
access_LTLIBRARIES += libaccess_imem_plugin.la

39
40
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
41
librar_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
42
access_LTLIBRARIES += librar_plugin.la
43

44
libsdp_plugin_la_SOURCES = access/sdp.c
45
access_LTLIBRARIES += libsdp_plugin.la
46

47
libtimecode_plugin_la_SOURCES = access/timecode.c
48
access_LTLIBRARIES += libtimecode_plugin.la
49

50
libvdr_plugin_la_SOURCES = access/vdr.c
51
access_LTLIBRARIES += libvdr_plugin.la
52

53
libzip_plugin_la_SOURCES = access/zip/zip.h access/zip/zipstream.c access/zip/zipaccess.c
54
libzip_plugin_la_CFLAGS = $(AM_CFLAGS) $(MINIZIP_CFLAGS)
55
libzip_plugin_la_LIBADD = $(MINIZIP_LIBS)
56
57
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
58
59
libunzip_la_LIBADD = -lz
libunzip_la_LDFLAGS = -static
60
if HAVE_ZLIB
61
access_LTLIBRARIES += libzip_plugin.la
62
if !HAVE_MINIZIP
63
noinst_LTLIBRARIES += libunzip.la
64
libzip_plugin_la_CFLAGS += -I$(srcdir)/access/zip/unzip
65
libzip_plugin_la_LIBADD += libunzip.la
66
67
68
endif
endif

69
70
libaccess_archive_plugin_la_SOURCES = access/archive/access.c access/archive/stream.c \
					access/archive/archive.h access/archive/archive.c
Steve Lhomme's avatar
Steve Lhomme committed
71
libaccess_archive_plugin_la_CFLAGS = $(AM_CFLAGS) $(ARCHIVE_CFLAGS)
72
73
74
75
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
76

77
### Audio capture ###
78

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

86
libaccess_oss_plugin_la_SOURCES = access/oss.c
87
libaccess_oss_plugin_la_LIBADD = $(OSS_LIBS)
88
if HAVE_OSS
89
access_LTLIBRARIES += libaccess_oss_plugin.la
90
91
endif

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

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

106
107
108
109
libaccess_qtsound_plugin_la_SOURCES = access/qtsound.m
libaccess_qtsound_plugin_la_LDFLAGS = -Wl,-framework,QTKit -Wl,-framework,CoreAudio
access_LTLIBRARIES += $(LTLIBaccess_qtsound)
EXTRA_LTLIBRARIES += libaccess_qtsound_plugin.la
110

111
libaccess_wasapi_plugin_la_SOURCES = access/wasapi.c
112
libaccess_wasapi_plugin_la_LIBADD = $(LIBCOM) -lksuser
113
114
115
116
117
118
if HAVE_WASAPI
if !HAVE_WINSTORE
access_LTLIBRARIES += libaccess_wasapi_plugin.la
endif
endif

119
120
121

### Video capture ###

122
libavcapture_plugin_la_SOURCES = access/avcapture.m
Felix Paul Kühne's avatar
Felix Paul Kühne committed
123
124
libavcapture_plugin_la_OBJCFLAGS = $(AM_OBJCFLAGS) -fobjc-arc
libavcapture_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)' -Wl,-framework,Foundation -Wl,-framework,AVFoundation -Wl,-framework,CoreMedia,  -Wl,-framework,CoreVideo
125
if HAVE_AVFOUNDATION
126
access_LTLIBRARIES += libavcapture_plugin.la
127
128
endif

129
libdc1394_plugin_la_SOURCES = access/dc1394.c
130
libdc1394_plugin_la_CFLAGS = $(AM_CFLAGS) $(DC1394_CFLAGS)
131
libdc1394_plugin_la_LIBADD = $(DC1394_LIBS)
132
133
libdc1394_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
access_LTLIBRARIES += $(LTLIBdc1394)
134
135
EXTRA_LTLIBRARIES += libdc1394_plugin.la

136
libdv1394_plugin_la_SOURCES = access/dv.c
137
libdv1394_plugin_la_CFLAGS = $(AM_CFLAGS) $(DV1394_CFLAGS)
138
libdv1394_plugin_la_LIBADD = $(DV1394_LIBS) $(LIBPTHREAD)
139
140
libdv1394_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
access_LTLIBRARIES += $(LTLIBdv1394)
141
142
143
EXTRA_LTLIBRARIES += libdv1394_plugin.la

liblinsys_hdsdi_plugin_la_SOURCES = \
144
145
146
	access/linsys/linsys_sdiaudio.h \
	access/linsys/linsys_sdivideo.h \
	access/linsys/linsys_hdsdi.c
147
liblinsys_hdsdi_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
148
liblinsys_hdsdi_plugin_la_LIBADD = $(LIBPTHREAD)
149
liblinsys_sdi_plugin_la_SOURCES = access/linsys/linsys_sdi.c access/linsys/linsys_sdi.h
150
liblinsys_sdi_plugin_la_CFLAGS = $(AM_CFLAGS) $(LINSYS_SDI_CFLAGS)
151
liblinsys_sdi_plugin_la_LIBADD = $(LINSYS_SDI_LIBS)
152
153
liblinsys_sdi_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
access_LTLIBRARIES += $(LTLIBlinsys_hdsdi) $(LTLIBlinsys_sdi)
154
155
EXTRA_LTLIBRARIES += liblinsys_hdsdi_plugin.la liblinsys_sdi_plugin.la

156
libdecklink_plugin_la_SOURCES = access/decklink.cpp access/sdi.c access/sdi.h
157
libdecklink_plugin_la_CXXFLAGS = $(AM_CXXFLAGS) $(CPPFLAGS_decklink)
158
libdecklink_plugin_la_LIBADD = $(LIBS_decklink) $(LIBDL) -lpthread
159
if HAVE_DECKLINK
160
access_LTLIBRARIES += libdecklink_plugin.la
161
162
endif

163
libshm_plugin_la_SOURCES = access/shm.c
164
libshm_plugin_la_LIBADD = $(LIBM)
165
access_LTLIBRARIES += libshm_plugin.la
166

167
libv4l2_plugin_la_SOURCES = \
168
169
170
171
172
173
174
175
176
177
178
179
180
	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
181
libv4l2_plugin_la_CFLAGS = $(AM_CFLAGS) $(ZVBI_CFLAGS)
Thomas Guillem's avatar
Thomas Guillem committed
182
libv4l2_plugin_la_LIBADD = $(LIBDL) $(LIBM) $(ZVBI_LIBS) $(LIBPTHREAD)
183
if HAVE_V4L2
184
access_LTLIBRARIES += libv4l2_plugin.la
185
186
endif

187
188
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
189
libdshow_plugin_la_LIBADD = $(LIBCOM) -loleaut32 -luuid -lstrmiids -lksuser
190
if HAVE_WIN32_DESKTOP
191
access_LTLIBRARIES += libdshow_plugin.la
192
193
194
195
196
endif


### Screen grab ###

197
libxcb_screen_plugin_la_SOURCES = access/screen/xcb.c
198
libxcb_screen_plugin_la_CFLAGS = $(AM_CFLAGS) \
199
	$(XCB_CFLAGS) $(XCB_COMPOSITE_CFLAGS) $(XCB_SHM_CFLAGS)
200
libxcb_screen_plugin_la_LIBADD = $(XCB_LIBS) $(XCB_COMPOSITE_LIBS) $(XCB_SHM_LIBS)
201
if HAVE_XCB
202
access_LTLIBRARIES += libxcb_screen_plugin.la
203
204
205
206
207
208
209
210
211
212
213
214
215
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
216
BUILT_SOURCES += access/screen/screenshooter-client-protocol.h
217
access_LTLIBRARIES += libwl_screenshooter_plugin.la
218
219
endif

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

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

240
libvnc_plugin_la_SOURCES = access/vnc.c
241
libvnc_plugin_la_CFLAGS = $(AM_CFLAGS) $(VNC_CFLAGS)
242
libvnc_plugin_la_LIBADD = $(VNC_LIBS)
243
244
libvnc_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
access_LTLIBRARIES += $(LTLIBvnc)
245
EXTRA_LTLIBRARIES += libvnc_plugin.la
246

247

248
249
### Optical media ###

250
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
251
libcdda_plugin_la_CFLAGS = $(AM_CFLAGS) $(LIBCDDB_CFLAGS)
Thomas Guillem's avatar
Thomas Guillem committed
252
libcdda_plugin_la_LIBADD = $(LIBCDDB_LIBS) $(LIBM)
253
libcdda_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
254
if HAVE_DARWIN
Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
255
libcdda_plugin_la_LIBADD += -liconv
256
libcdda_plugin_la_LDFLAGS += -Wl,-framework,IOKit,-framework,CoreFoundation
257
258
endif
EXTRA_LTLIBRARIES += libcdda_plugin.la
259
access_LTLIBRARIES += $(LTLIBcdda)
260

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

Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
270
libdvdnav_plugin_la_SOURCES = access/dvdnav.c demux/mpeg/ps.h demux/mpeg/pes.h
271
libdvdnav_plugin_la_CFLAGS = $(AM_CFLAGS) $(DVDNAV_CFLAGS)
272
libdvdnav_plugin_la_LIBADD = $(DVDNAV_LIBS)
273
libdvdnav_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
274
275
276
if HAVE_DARWIN
libdvdnav_plugin_la_LDFLAGS += -Wl,-framework,IOKit,-framework,CoreFoundation
endif
277
access_LTLIBRARIES += $(LTLIBdvdnav)
278
279
EXTRA_LTLIBRARIES += libdvdnav_plugin.la

Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
280
libdvdread_plugin_la_SOURCES = access/dvdread.c demux/mpeg/ps.h demux/mpeg/pes.h
281
libdvdread_plugin_la_CFLAGS = $(AM_CFLAGS) $(DVDREAD_CFLAGS)
282
libdvdread_plugin_la_LIBADD = $(DVDREAD_LIBS)
283
libdvdread_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
284
285
286
if HAVE_DARWIN
libdvdread_plugin_la_LDFLAGS += -Wl,-framework,IOKit,-framework,CoreFoundation
endif
287
access_LTLIBRARIES += $(LTLIBdvdread)
288
289
EXTRA_LTLIBRARIES += libdvdread_plugin.la

290
liblibbluray_plugin_la_SOURCES = access/bluray.c
291
liblibbluray_plugin_la_CFLAGS = $(AM_CFLAGS) $(BLURAY_CFLAGS)
292
liblibbluray_plugin_la_LIBADD = $(BLURAY_LIBS)
293
294
liblibbluray_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
access_LTLIBRARIES += $(LTLIBlibbluray)
295
EXTRA_LTLIBRARIES += liblibbluray_plugin.la
296

297
298
### Digital TV ###

299
libdtv_plugin_la_SOURCES = \
300
301
	access/dtv/dtv.h \
	access/dtv/access.c
302
libdtv_plugin_la_CFLAGS = $(AM_CFLAGS)
303

304
if HAVE_LINUX_DVB
305
306
307
308
libdtv_plugin_la_SOURCES += access/dtv/linux.c \
                            access/dtv/en50221.c \
                            access/dtv/en50221.h \
                            access/dtv/en50221_capmt.h
309
libdtv_plugin_la_CFLAGS += -DHAVE_LINUX_DVB
310
access_LTLIBRARIES += libdtv_plugin.la
311
endif
312

313
if HAVE_WIN32_DESKTOP
314
315
# Work-around automake bug:
# Use an import library for C++ to retain C linker on other platforms.
316
libbda_la_SOURCES = access/dtv/bdadefs.h access/dtv/bdagraph.cpp access/dtv/bdagraph.hpp
317
libbda_la_LDFLAGS = -static
318
libbda_la_LIBADD = -lstrmiids $(LIBCOM) -loleaut32 -luuid
319
noinst_LTLIBRARIES += libbda.la
320

321
libdtv_plugin_la_DEPENDENCIES = libbda.la
322
libdtv_plugin_la_LIBADD = libbda.la -lstdc++
323
access_LTLIBRARIES += libdtv_plugin.la
324
325
endif

326
327
# Old Linux DVB scanner
libdvb_plugin_la_SOURCES = \
328
329
330
	access/dvb/access.c \
	access/dvb/linux_dvb.c \
	access/dvb/scan.c access/dvb/scan.h \
331
	access/dvb/scan_list.c access/dvb/scan_list.h \
332
	access/dvb/dvb.h
333
334
335
libdvb_plugin_la_CFLAGS = $(AM_CFLAGS)
if HAVE_LINUX_DVB
if HAVE_DVBPSI
336
libdvb_plugin_la_SOURCES += mux/mpeg/dvbpsi_compat.h
337
access_LTLIBRARIES += libdvb_plugin.la
338
libdvb_plugin_la_CFLAGS += $(DVBPSI_CFLAGS)
339
libdvb_plugin_la_LIBADD = $(DVBPSI_LIBS)
340
341
endif
endif
342

343
344
### Network streams ###

345
libftp_plugin_la_SOURCES = access/ftp.c
346
libftp_plugin_la_LIBADD = $(SOCKET_LIBS)
347
access_LTLIBRARIES += libftp_plugin.la
348

aajanki's avatar
aajanki committed
349
libhttp_plugin_la_SOURCES = access/http.c
350
libhttp_plugin_la_LIBADD = $(SOCKET_LIBS)
351
access_LTLIBRARIES += libhttp_plugin.la
352

353
liblive555_plugin_la_SOURCES = access/live555.cpp access/mms/asf.c access/mms/buffer.c
354
liblive555_plugin_la_CXXFLAGS = $(AM_CXXFLAGS) $(CXXFLAGS_live555)
355
liblive555_plugin_la_LIBADD = $(LIBS_live555) $(SOCKET_LIBS)
356
357
358
liblive555_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)' \
	$(LDFLAGS_live555)
access_LTLIBRARIES += $(LTLIBlive555)
359
EXTRA_LTLIBRARIES += liblive555_plugin.la
360

361
libaccess_mms_plugin_la_SOURCES = \
362
363
364
365
366
367
	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
368
libaccess_mms_plugin_la_CFLAGS = $(AM_CFLAGS)
369
libaccess_mms_plugin_la_LIBADD = $(SOCKET_LIBS)
370
access_LTLIBRARIES += libaccess_mms_plugin.la
371

372
libsmb_plugin_la_SOURCES = access/smb.c access/smb_common.h
373
libsmb_plugin_la_CFLAGS = $(AM_CFLAGS) $(SMBCLIENT_CFLAGS)
374
libsmb_plugin_la_LIBADD = $(SMBCLIENT_LIBS)
375
if HAVE_WIN32
376
libsmb_plugin_la_LIBADD += -lmpr
377
endif
378
379
libsmb_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
access_LTLIBRARIES += $(LTLIBsmb)
380
EXTRA_LTLIBRARIES += libsmb_plugin.la
381

382
libdsm_plugin_la_SOURCES = access/dsm/access.c access/dsm/sd.c access/smb_common.h
383
384
libdsm_plugin_la_CFLAGS = $(AM_CFLAGS) $(DSM_CFLAGS)
libdsm_plugin_la_LIBADD = $(DSM_LIBS)
385
libdsm_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
386
387
388
access_LTLIBRARIES += $(LTLIBdsm)
EXTRA_LTLIBRARIES += libdsm_plugin.la

389
libtcp_plugin_la_SOURCES = access/tcp.c
390
libtcp_plugin_la_LIBADD = $(SOCKET_LIBS)
391
access_LTLIBRARIES += libtcp_plugin.la
392

393
libudp_plugin_la_SOURCES = access/udp.c
394
libudp_plugin_la_LIBADD = $(SOCKET_LIBS) $(LIBPTHREAD)
395
access_LTLIBRARIES += libudp_plugin.la
396

397
libsftp_plugin_la_SOURCES = access/sftp.c
398
libsftp_plugin_la_CFLAGS = $(AM_CFLAGS) $(SFTP_CFLAGS)
399
libsftp_plugin_la_LIBADD = $(SFTP_LIBS)
400
401
libsftp_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
access_LTLIBRARIES += $(LTLIBsftp)
402
EXTRA_LTLIBRARIES += libsftp_plugin.la
403

Thomas Guillem's avatar
Thomas Guillem committed
404
405
libnfs_plugin_la_SOURCES = access/nfs.c
libnfs_plugin_la_CFLAGS = $(AM_CFLAGS) $(NFS_CFLAGS)
406
libnfs_plugin_la_LIBADD = $(NFS_LIBS) $(SOCKET_LIBS)
Thomas Guillem's avatar
Thomas Guillem committed
407
408
409
410
libnfs_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
access_LTLIBRARIES += $(LTLIBnfs)
EXTRA_LTLIBRARIES += libnfs_plugin.la

411
libaccess_realrtsp_plugin_la_SOURCES = \
412
413
414
415
416
417
	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
418
libaccess_realrtsp_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
419
libaccess_realrtsp_plugin_la_LIBADD = $(SOCKET_LIBS)
420
421
libaccess_realrtsp_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
access_LTLIBRARIES += $(LTLIBaccess_realrtsp)
422
EXTRA_LTLIBRARIES += libaccess_realrtsp_plugin.la
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
423

424
libavio_plugin_la_SOURCES = access/avio.c access/avio.h
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
425
426
libavio_plugin_la_CFLAGS = $(AM_CFLAGS) $(AVFORMAT_CFLAGS) $(AVUTIL_CFLAGS)
libavio_plugin_la_LDFLAGS = $(AM_LDFLAGS) $(SYMBOLIC_LDFLAGS)
427
libavio_plugin_la_LIBADD = $(AVFORMAT_LIBS) $(AVUTIL_LIBS) $(LIBM)
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
428
if HAVE_AVFORMAT
429
if !MERGE_FFMPEG
430
access_LTLIBRARIES += libavio_plugin.la
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
431
endif
432
endif
433

434
libsatip_plugin_la_SOURCES = access/satip.c
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
435
libsatip_plugin_la_LIBADD = $(SOCKET_LIBS) $(LIBPTHREAD)
436
access_LTLIBRARIES += libsatip_plugin.la
437
438
439

### Misc ###

440
441
442
libaccess_concat_plugin_la_SOURCES = access/concat.c
access_LTLIBRARIES += libaccess_concat_plugin.la

443
libaccess_mtp_plugin_la_SOURCES = access/mtp.c
444
libaccess_mtp_plugin_la_CFLAGS = $(AM_CFLAGS) $(MTP_CFLAGS)
445
libaccess_mtp_plugin_la_LIBADD = $(MTP_LIBS)
446
447
libaccess_mtp_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
access_LTLIBRARIES += $(LTLIBaccess_mtp)
448
EXTRA_LTLIBRARIES += libaccess_mtp_plugin.la