f0ad4f455d766b9b5259301486ecf9f142e353e3
[vlc.git] / modules / access / Makefile.am
1 accessdir = $(pluginsdir)/access
2 access_LTLIBRARIES =
3 EXTRA_LTLIBRARIES =
4
5 AM_CPPFLAGS += -I$(srcdir)/access
6
7 ### Files ###
8
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 libdcp_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) $(ASDCP_CFLAGS)
15 libdcp_plugin_la_LIBADD = $(AM_LIBADD) $(ASDCP_LIBS)
16 if HAVE_GCRYPT
17 libdcp_plugin_la_CPPFLAGS += $(GCRYPT_CFLAGS)
18 libdcp_plugin_la_LIBADD += $(GCRYPT_LIBS)
19 access_LTLIBRARIES += libdcp_plugin.la
20 endif
21 endif
22
23 libfilesystem_plugin_la_SOURCES = access/fs.h access/file.c access/directory.c access/fs.c
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 librar_plugin_la_SOURCES = access/rar/rar.c access/rar/rar.h \
38         access/rar/access.c access/rar/stream.c access/rar/module.c
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 libunzip_la_SOURCES = access/zip/unzip/unzip.c access/zip/unzip/unzip.h access/zip/unzip/crypt.h \
55         access/zip/unzip/ioapi.c access/zip/unzip/ioapi.h
56 libunzip_la_LIBADD = -lz
57 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 endif
65 endif
66
67 libaccess_archive_plugin_la_SOURCES = access/archive/access.c access/archive/stream.c \
68                                         access/archive/archive.h access/archive/archive.c
69 libaccess_archive_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
70 libaccess_archive_plugin_la_LIBADD = $(ARCHIVE_LIBS)
71 access_LTLIBRARIES += $(LTLIBaccess_archive)
72 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 endif
82
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 endif
88
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 endif
95
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 endif
102
103 libqtsound_plugin_la_SOURCES = access/qtsound.m
104 libqtsound_plugin_la_LDFLAGS = -Wl,-framework,QTKit -Wl,-framework,CoreAudio
105 if HAVE_QTKIT
106 access_LTLIBRARIES += libqtsound_plugin.la
107 endif
108
109
110 ### Video capture ###
111
112 libavcapture_plugin_la_SOURCES = access/avcapture.m
113 libavcapture_plugin_la_LDFLAGS = \
114         -Wl,-framework,AVFoundation -Wl,-framework,CoreMedia
115 if HAVE_AVFOUNDATION
116 access_LTLIBRARIES += libavcapture_plugin.la
117 endif
118
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 libdc1394_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
123 access_LTLIBRARIES += $(LTLIBdc1394)
124 EXTRA_LTLIBRARIES += libdc1394_plugin.la
125
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 libdv1394_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
130 access_LTLIBRARIES += $(LTLIBdv1394)
131 EXTRA_LTLIBRARIES += libdv1394_plugin.la
132
133 liblinsys_hdsdi_plugin_la_SOURCES = \
134         access/linsys/linsys_sdiaudio.h \
135         access/linsys/linsys_sdivideo.h \
136         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 liblinsys_sdi_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
142 access_LTLIBRARIES += $(LTLIBlinsys_hdsdi) $(LTLIBlinsys_sdi)
143 EXTRA_LTLIBRARIES += liblinsys_hdsdi_plugin.la liblinsys_sdi_plugin.la
144
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 endif
151
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 libqtcapture_plugin_la_LDFLAGS = \
158         -Wl,-framework,QTKit -Wl,-framework,CoreVideo -Wl,-framework,QuartzCore
159 if HAVE_QTKIT
160 access_LTLIBRARIES += libqtcapture_plugin.la
161 endif
162
163 libv4l2_plugin_la_SOURCES = \
164         access/v4l2/linux/videodev2.h \
165         access/v4l2/linux/v4l2-common.h \
166         access/v4l2/linux/v4l2-controls.h \
167         access/v4l2/v4l2.c \
168         access/v4l2/video.c \
169         access/v4l2/vbi.c \
170         access/v4l2/demux.c \
171         access/v4l2/access.c \
172         access/v4l2/radio.c \
173         access/v4l2/controls.c \
174         access/v4l2/lib.c \
175         access/v4l2/v4l2.h
176 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 endif
182
183 libdshow_plugin_la_SOURCES = access/dshow/vlc_dshow.h access/dshow/dshow.cpp access/dshow/access.h \
184         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 endif
189
190
191 ### Screen grab ###
192
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 endif
200
201 libscreen_plugin_la_SOURCES = access/screen/screen.c access/screen/screen.h
202 libscreen_plugin_la_LDFLAGS = $(AM_LDFLAGS)
203 if HAVE_WIN32
204 libscreen_plugin_la_SOURCES += access/screen/win32.c
205 libscreen_plugin_la_LIBADD = -lgdi32
206 access_LTLIBRARIES += libscreen_plugin.la
207 endif
208 if HAVE_MAC_SCREEN
209 libscreen_plugin_la_SOURCES += access/screen/mac.c
210 libscreen_plugin_la_LDFLAGS += "-Wl,-framework,OpenGL,-framework,ApplicationServices"
211 access_LTLIBRARIES += libscreen_plugin.la
212 endif
213
214 librdp_plugin_la_SOURCES = access/rdp.c
215 librdp_plugin_la_CFLAGS = $(AM_CFLAGS) $(FREERDP_CFLAGS)
216 librdp_plugin_la_LIBADD = $(FREERDP_LIBS)
217 librdp_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
218 access_LTLIBRARIES += $(LTLIBrdp)
219 EXTRA_LTLIBRARIES += librdp_plugin.la
220
221 libvnc_plugin_la_SOURCES = access/vnc.c
222 libvnc_plugin_la_CFLAGS = $(AM_CFLAGS) $(VNC_CFLAGS)
223 libvnc_plugin_la_LIBADD = $(VNC_LIBS)
224 libvnc_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
225 access_LTLIBRARIES += $(LTLIBvnc)
226 EXTRA_LTLIBRARIES += libvnc_plugin.la
227
228
229 ### Optical media ###
230
231 libcdda_plugin_la_SOURCES = access/cdda.c access/vcd/cdrom.c access/vcd/cdrom.h access/vcd/cdrom_internals.h
232 libcdda_plugin_la_CFLAGS = $(AM_CFLAGS) $(LIBCDDB_CFLAGS)
233 libcdda_plugin_la_LIBADD = $(LIBCDDB_LIBS)
234 libcdda_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
235 if HAVE_DARWIN
236 libcdda_plugin_la_LIBADD += -liconv
237 libcdda_plugin_la_LDFLAGS += -Wl,-framework,IOKit,-framework,CoreFoundation
238 endif
239 EXTRA_LTLIBRARIES += libcdda_plugin.la
240 access_LTLIBRARIES += $(LTLIBcdda)
241
242 libvcd_plugin_la_SOURCES = access/vcd/vcd.c access/vcd/cdrom.c access/vcd/cdrom.h access/vcd/cdrom_internals.h
243 libvcd_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
244 if HAVE_DARWIN
245 libvcd_plugin_la_LIBADD = -liconv
246 libvcd_plugin_la_LDFLAGS += -Wl,-framework,IOKit,-framework,CoreFoundation
247 endif
248 EXTRA_LTLIBRARIES += libvcd_plugin.la
249 access_LTLIBRARIES += $(LTLIBvcd)
250
251 libvcdx_plugin_la_SOURCES = \
252         access/vcdx/access.h access/vcdx/access.c \
253         access/vcdx/vcd.c access/vcdx/vcd.h \
254         access/vcdx/vcdplayer.h access/vcdx/vcdplayer.c \
255         access/vcdx/info.c access/vcdx/info.h
256 libvcdx_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
257 libvcdx_plugin_la_LIBADD = $(VCDX_LIBS)
258 if HAVE_WIN32
259 libvcdx_plugin_la_LIBADD += -lwinmm
260 endif
261 libvcdx_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
262 if HAVE_DARWIN
263 libvcdx_plugin_la_LDFLAGS += -Wl,-framework,IOKit,-framework,CoreFoundation
264 endif
265 EXTRA_LTLIBRARIES += libvcdx_plugin.la
266 access_LTLIBRARIES += $(LTLIBvcdx)
267
268 libdvdnav_plugin_la_SOURCES = access/dvdnav.c
269 libdvdnav_plugin_la_CFLAGS = $(AM_CFLAGS) $(DVDNAV_CFLAGS)
270 libdvdnav_plugin_la_LIBADD = $(DVDNAV_LIBS)
271 libdvdnav_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
272 if HAVE_DARWIN
273 libdvdnav_plugin_la_LDFLAGS += -Wl,-framework,IOKit,-framework,CoreFoundation
274 endif
275 access_LTLIBRARIES += $(LTLIBdvdnav)
276 EXTRA_LTLIBRARIES += libdvdnav_plugin.la
277
278 libdvdread_plugin_la_SOURCES = access/dvdread.c
279 libdvdread_plugin_la_CFLAGS = $(AM_CFLAGS) $(DVDREAD_CFLAGS)
280 libdvdread_plugin_la_LIBADD = $(DVDREAD_LIBS)
281 libdvdread_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
282 if HAVE_DARWIN
283 libdvdread_plugin_la_LDFLAGS += -Wl,-framework,IOKit,-framework,CoreFoundation
284 endif
285 access_LTLIBRARIES += $(LTLIBdvdread)
286 EXTRA_LTLIBRARIES += libdvdread_plugin.la
287
288 liblibbluray_plugin_la_SOURCES = access/bluray.c
289 liblibbluray_plugin_la_CFLAGS = $(AM_CFLAGS) $(BLURAY_CFLAGS)
290 liblibbluray_plugin_la_LIBADD = $(BLURAY_LIBS)
291 liblibbluray_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
292 access_LTLIBRARIES += $(LTLIBlibbluray)
293 EXTRA_LTLIBRARIES += liblibbluray_plugin.la
294
295 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
296 access_LTLIBRARIES += libaccess_bd_plugin.la
297
298
299 ### Digital TV ###
300
301 libdtv_plugin_la_SOURCES = \
302         access/dtv/dtv.h \
303         access/dtv/access.c
304 libdtv_plugin_la_CFLAGS = $(AM_CFLAGS)
305
306 if HAVE_LINUX_DVB
307 libdtv_plugin_la_SOURCES += access/dtv/linux.c
308 libdtv_plugin_la_CFLAGS += -DHAVE_LINUX_DVB
309 if HAVE_DVBPSI
310 libdtv_plugin_la_SOURCES += access/dtv/en50221.c access/dtv/en50221.h mux/mpeg/dvbpsi_compat.h
311 libdtv_plugin_la_CFLAGS += -DHAVE_DVBPSI $(DVBPSI_CFLAGS)
312 libdtv_plugin_la_LIBADD = $(DVBPSI_LIBS)
313 endif
314 access_LTLIBRARIES += libdtv_plugin.la
315 endif
316
317 if HAVE_WIN32
318 # Work-around automake bug:
319 # Use an import library for C++ to retain C linker on other platforms.
320 libbda_la_SOURCES = access/dtv/bdadefs.h access/dtv/bdagraph.cpp access/dtv/bdagraph.hpp
321 libbda_la_LDFLAGS = -static
322 libbda_la_LIBADD = -lstrmiids -lole32 -loleaut32 -luuid
323 noinst_LTLIBRARIES += libbda.la
324
325 libdtv_plugin_la_DEPENDENCIES = libbda.la
326 libdtv_plugin_la_LIBADD = libbda.la -lstdc++
327 access_LTLIBRARIES += libdtv_plugin.la
328 endif
329
330 # Old Linux DVB scanner
331 libdvb_plugin_la_SOURCES = \
332         access/dvb/access.c \
333         access/dvb/linux_dvb.c \
334         access/dvb/scan.c access/dvb/scan.h \
335         access/dvb/dvb.h
336 libdvb_plugin_la_CFLAGS = $(AM_CFLAGS)
337 if HAVE_LINUX_DVB
338 if HAVE_DVBPSI
339 libdvb_plugin_la_SOURCES += mux/mpeg/dvbpsi_compat.h
340 access_LTLIBRARIES += libdvb_plugin.la
341 libdvb_plugin_la_CFLAGS += $(DVBPSI_CFLAGS)
342 libdvb_plugin_la_LIBADD = $(DVBPSI_LIBS)
343 endif
344 endif
345
346 libaccess_eyetv_plugin_la_SOURCES = access/eyetv.m
347 libaccess_eyetv_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)' \
348         -Wl,-framework,Foundation
349 access_LTLIBRARIES += $(LTLIBaccess_eyetv)
350 EXTRA_LTLIBRARIES += libaccess_eyetv_plugin.la
351
352
353 ### Network streams ###
354
355 libftp_plugin_la_SOURCES = access/ftp.c
356 libftp_plugin_la_LIBADD = $(SOCKET_LIBS)
357 access_LTLIBRARIES += libftp_plugin.la
358
359 libhttp_plugin_la_SOURCES = access/http.c
360 libhttp_plugin_la_LIBADD = $(SOCKET_LIBS)
361 if HAVE_ZLIB
362 libhttp_plugin_la_LIBADD += -lz
363 endif
364 access_LTLIBRARIES += libhttp_plugin.la
365
366 liblive555_plugin_la_SOURCES = access/live555.cpp access/mms/asf.c access/mms/buffer.c
367 liblive555_plugin_la_CXXFLAGS = $(AM_CXXFLAGS) $(CXXFLAGS_live555)
368 liblive555_plugin_la_LIBADD = $(LIBS_live555)
369 liblive555_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)' \
370         $(LDFLAGS_live555)
371 access_LTLIBRARIES += $(LTLIBlive555)
372 EXTRA_LTLIBRARIES += liblive555_plugin.la
373
374 libaccess_mms_plugin_la_SOURCES = \
375         access/mms/mms.c access/mms/mms.h \
376         access/mms/mmsh.c access/mms/mmsh.h \
377         access/mms/mmstu.c access/mms/mmstu.h \
378         access/mms/buffer.c access/mms/buffer.h \
379         access/mms/asf.h access/mms/asf.c \
380         demux/asf/libasf_guid.h
381 libaccess_mms_plugin_la_CFLAGS = $(AM_CFLAGS)
382 libaccess_mms_plugin_la_LIBADD = $(SOCKET_LIBS)
383 access_LTLIBRARIES += libaccess_mms_plugin.la
384
385 libsmb_plugin_la_SOURCES = access/smb.c
386 libsmb_plugin_la_CFLAGS = $(AM_CFLAGS) $(SMBCLIENT_CFLAGS)
387 libsmb_plugin_la_LIBADD = $(SMBCLIENT_LIBS)
388 if HAVE_WIN32
389 libsmb_plugin_la_LIBADD += -lmpr
390 endif
391 libsmb_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
392 access_LTLIBRARIES += $(LTLIBsmb)
393 EXTRA_LTLIBRARIES += libsmb_plugin.la
394
395 libdsm_plugin_la_SOURCES = access/dsm/access.c access/dsm/common.h \
396         access/dsm/browser.c access/dsm/sd.c
397 libdsm_plugin_la_CFLAGS = $(AM_CFLAGS) $(DSM_CFLAGS)
398 libdsm_plugin_la_LIBADD = $(DSM_LIBS)
399 libdsm_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(sddir)'
400 access_LTLIBRARIES += $(LTLIBdsm)
401 EXTRA_LTLIBRARIES += libdsm_plugin.la
402
403 libtcp_plugin_la_SOURCES = access/tcp.c
404 libtcp_plugin_la_LIBADD = $(SOCKET_LIBS)
405 access_LTLIBRARIES += libtcp_plugin.la
406
407 libudp_plugin_la_SOURCES = access/udp.c
408 libudp_plugin_la_LIBADD = $(SOCKET_LIBS) $(LIBPTHREAD)
409 access_LTLIBRARIES += libudp_plugin.la
410
411 libsftp_plugin_la_SOURCES = access/sftp.c
412 libsftp_plugin_la_CFLAGS = $(AM_CFLAGS) $(SFTP_CFLAGS)
413 libsftp_plugin_la_LIBADD = $(SFTP_LIBS)
414 libsftp_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
415 access_LTLIBRARIES += $(LTLIBsftp)
416 EXTRA_LTLIBRARIES += libsftp_plugin.la
417
418 libaccess_realrtsp_plugin_la_SOURCES = \
419         access/rtsp/access.c \
420         access/rtsp/rtsp.c access/rtsp/rtsp.h \
421         access/rtsp/real.c access/rtsp/real.h \
422         access/rtsp/real_rmff.c access/rtsp/real_rmff.h \
423         access/rtsp/real_sdpplin.c access/rtsp/real_sdpplin.h \
424         access/rtsp/real_asmrp.c
425 libaccess_realrtsp_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
426 libaccess_realrtsp_plugin_la_LIBADD = $(SOCKET_LIBS)
427 libaccess_realrtsp_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
428 access_LTLIBRARIES += $(LTLIBaccess_realrtsp)
429 EXTRA_LTLIBRARIES += libaccess_realrtsp_plugin.la
430
431 libavio_plugin_la_SOURCES = access/avio.c access/avio.h
432 libavio_plugin_la_CFLAGS = $(AM_CFLAGS) $(AVFORMAT_CFLAGS) $(AVUTIL_CFLAGS)
433 libavio_plugin_la_LDFLAGS = $(AM_LDFLAGS) $(SYMBOLIC_LDFLAGS)
434 libavio_plugin_la_LIBADD = $(AVFORMAT_LIBS) $(AVUTIL_LIBS) $(LIBM)
435 if HAVE_AVFORMAT
436 if !MERGE_FFMPEG
437 access_LTLIBRARIES += libavio_plugin.la
438 endif
439 endif
440
441
442 ### Misc ###
443
444 libgnomevfs_plugin_la_SOURCES = access/gnomevfs.c
445 libgnomevfs_plugin_la_CFLAGS = $(AM_CFLAGS) $(GNOMEVFS_CFLAGS)
446 libgnomevfs_plugin_la_LIBADD = $(GNOMEVFS_LIBS)
447 libgnomevfs_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
448 access_LTLIBRARIES += $(LTLIBgnomevfs)
449 EXTRA_LTLIBRARIES += libgnomevfs_plugin.la
450
451 libaccess_mtp_plugin_la_SOURCES = access/mtp.c
452 libaccess_mtp_plugin_la_CFLAGS = $(AM_CFLAGS) $(MTP_CFLAGS)
453 libaccess_mtp_plugin_la_LIBADD = $(MTP_LIBS)
454 libaccess_mtp_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
455 access_LTLIBRARIES += $(LTLIBaccess_mtp)
456 EXTRA_LTLIBRARIES += libaccess_mtp_plugin.la