modules: use different directory prefixes for each plugins subdirectory
[vlc.git] / modules / access / Makefile.am
1 SUBDIRS = rtp
2 noinst_LTLIBRARIES =
3 access_LTLIBRARIES =
4 EXTRA_LTLIBRARIES =
5
6 include ../common.am
7 accessdir = $(pluginsdir)/access
8
9 ### Files ###
10
11 libattachment_plugin_la_SOURCES = attachment.c
12 libattachment_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
13 access_LTLIBRARIES += libattachment_plugin.la
14
15 libfilesystem_plugin_la_SOURCES = fs.h file.c directory.c fs.c
16 libfilesystem_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
17 libfilesystem_plugin_la_LIBADD = $(AM_LIBADD)
18 if HAVE_WIN32
19 libfilesystem_plugin_la_LIBADD += -lshlwapi
20 endif
21 access_LTLIBRARIES += libfilesystem_plugin.la
22
23 libidummy_plugin_la_SOURCES = idummy.c
24 libidummy_plugin_la_CFLAGS = $(AM_CFLAGS)
25 access_LTLIBRARIES += libidummy_plugin.la
26
27 libimem_plugin_la_SOURCES = imem.c
28 libimem_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
29 libimem_plugin_la_LIBADD = $(AM_LIBADD) $(LIBM)
30 access_LTLIBRARIES += libimem_plugin.la
31
32 librar_plugin_la_SOURCES = rar/rar.c rar/rar.h \
33         rar/access.c rar/stream.c rar/module.c
34 librar_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
35 access_LTLIBRARIES += librar_plugin.la
36
37 libsdp_plugin_la_SOURCES = sdp.c
38 libsdp_plugin_la_CFLAGS = $(AM_CFLAGS)
39 access_LTLIBRARIES += libsdp_plugin.la
40
41 libtimecode_plugin_la_SOURCES = timecode.c
42 libtimecode_plugin_la_CFLAGS = $(AM_CFLAGS)
43 access_LTLIBRARIES += libtimecode_plugin.la
44
45 libvdr_plugin_la_SOURCES = vdr.c
46 libvdr_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
47 access_LTLIBRARIES += libvdr_plugin.la
48
49 libzip_plugin_la_SOURCES = zip/zip.h zip/zipstream.c zip/zipaccess.c
50 libzip_plugin_la_CFLAGS = $(AM_CFLAGS) $(MINIZIP_CFLAGS)
51 libzip_plugin_la_LIBADD = $(AM_LIBADD) $(MINIZIP_LIBS)
52 libunzip_la_SOURCES = zip/unzip/unzip.c zip/unzip/unzip.h zip/unzip/crypt.h \
53         zip/unzip/ioapi.c zip/unzip/ioapi.h
54 libunzip_la_LIBADD = -lz
55 libunzip_la_LDFLAGS = -static
56 if HAVE_ZLIB
57 access_LTLIBRARIES += libzip_plugin.la
58 if !HAVE_MINIZIP
59 noinst_LTLIBRARIES += libunzip.la
60 libzip_plugin_la_CFLAGS += -I$(srcdir)/zip/unzip
61 libzip_plugin_la_LIBADD += libunzip.la
62 endif
63 endif
64
65
66 ### Audio capture ###
67
68 libaccess_alsa_plugin_la_SOURCES = alsa.c
69 libaccess_alsa_plugin_la_CFLAGS = $(AM_CFLAGS) $(ALSA_CFLAGS)
70 libaccess_alsa_plugin_la_LIBADD = $(AM_LIBADD) $(ALSA_LIBS)
71 if HAVE_ALSA
72 access_LTLIBRARIES += libaccess_alsa_plugin.la
73 endif
74
75 libaccess_oss_plugin_la_SOURCES = oss.c
76 libaccess_oss_plugin_la_CFLAGS = $(AM_CFLAGS)
77 libaccess_oss_plugin_la_LIBADD = $(AM_LIBADD) $(OSS_LIBS)
78 if HAVE_OSS
79 access_LTLIBRARIES += libaccess_oss_plugin.la
80 endif
81
82 libaccess_jack_plugin_la_SOURCES = jack.c
83 libaccess_jack_plugin_la_CFLAGS = $(AM_CFLAGS) $(JACK_CFLAGS)
84 libaccess_jack_plugin_la_LIBADD = $(AM_LIBADD) $(JACK_LIBS)
85 if HAVE_JACK
86 access_LTLIBRARIES += libaccess_jack_plugin.la
87 endif
88
89 libpulsesrc_plugin_la_SOURCES = pulse.c
90 libpulsesrc_plugin_la_CFLAGS= $(AM_CFLAGS) $(PULSE_CFLAGS)
91 libpulsesrc_plugin_la_LIBADD = ../libvlc_pulse.la $(AM_LIBADD) $(PULSE_LIBS)
92 if HAVE_PULSE
93 access_LTLIBRARIES += libpulsesrc_plugin.la
94 endif
95
96 libqtsound_plugin_la_SOURCES = qtsound.m
97 libqtsound_plugin_la_LDFLAGS = -Wl,-framework,QTKit -Wl,-framework,CoreAudio
98 if HAVE_QTKIT
99 access_LTLIBRARIES += libqtsound_plugin.la
100 endif
101
102
103 ### Video capture ###
104
105 libavcapture_plugin_la_SOURCES = avcapture.m
106 libavcapture_plugin_la_LDFLAGS = \
107         -Wl,-framework,AVFoundation -Wl,-framework,CoreMedia
108 if HAVE_AVFOUNDATION
109 access_LTLIBRARIES += libavcapture_plugin.la
110 endif
111
112 libdc1394_plugin_la_SOURCES = dc1394.c
113 libdc1394_plugin_la_CFLAGS = $(AM_CFLAGS) $(DC1394_CFLAGS)
114 libdc1394_plugin_la_LIBADD = $(AM_LIBADD) $(DC1394_LIBS)
115 libdc1394_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
116 access_LTLIBRARIES += $(LTLIBdc1394)
117 EXTRA_LTLIBRARIES += libdc1394_plugin.la
118
119 libdv1394_plugin_la_SOURCES = dv.c
120 libdv1394_plugin_la_CFLAGS = $(AM_CFLAGS) $(DV1394_CFLAGS)
121 libdv1394_plugin_la_LIBADD = $(AM_LIBADD) $(DV1394_LIBS)
122 libdv1394_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
123 access_LTLIBRARIES += $(LTLIBdv1394)
124 EXTRA_LTLIBRARIES += libdv1394_plugin.la
125
126 liblinsys_hdsdi_plugin_la_SOURCES = \
127         linsys/linsys_sdiaudio.h \
128         linsys/linsys_sdivideo.h \
129         linsys/linsys_hdsdi.c
130 liblinsys_hdsdi_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
131 liblinsys_hdsdi_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
132 liblinsys_sdi_plugin_la_SOURCES = linsys/linsys_sdi.c linsys/linsys_sdi.h
133 liblinsys_sdi_plugin_la_CFLAGS = $(AM_CFLAGS) $(LINSYS_SDI_CFLAGS)
134 liblinsys_sdi_plugin_la_LIBADD = $(AM_LIBADD) $(LINSYS_SDI_LIBS)
135 liblinsys_sdi_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
136 access_LTLIBRARIES += $(LTLIBlinsys_hdsdi) $(LTLIBlinsys_sdi)
137 EXTRA_LTLIBRARIES += liblinsys_hdsdi_plugin.la liblinsys_sdi_plugin.la
138
139 libdecklink_plugin_la_SOURCES = decklink.cpp
140 libdecklink_plugin_la_CXXFLAGS = $(AM_CFLAGS) $(CPPFLAGS_decklink)
141 libdecklink_plugin_la_LIBADD = $(AM_LIBADD) $(LIBS_decklink) -ldl
142 if HAVE_DECKLINK
143 access_LTLIBRARIES += libdecklink_plugin.la
144 endif
145
146 libshm_plugin_la_SOURCES = shm.c
147 libshm_plugin_la_CFLAGS = $(AM_CFLAGS)
148 libshm_plugin_la_LIBADD = $(AM_LIBADD) $(LIBM)
149 if HAVE_WIN32
150 libshm_plugin_la_DEPENDENCIES = libshm_plugin.rc.o
151 endif
152 access_LTLIBRARIES += libshm_plugin.la
153
154 libqtcapture_plugin_la_SOURCES = qtcapture.m
155 libqtcapture_plugin_la_LDFLAGS = \
156         -Wl,-framework,QTKit -Wl,-framework,CoreVideo -Wl,-framework,QuartzCore
157 if HAVE_QTKIT
158 access_LTLIBRARIES += libqtcapture_plugin.la
159 endif
160
161 libv4l2_plugin_la_SOURCES = \
162         v4l2/linux/videodev2.h \
163         v4l2/linux/v4l2-common.h \
164         v4l2/linux/v4l2-controls.h \
165         v4l2/v4l2.c \
166         v4l2/video.c \
167         v4l2/vbi.c \
168         v4l2/demux.c \
169         v4l2/access.c \
170         v4l2/radio.c \
171         v4l2/controls.c \
172         v4l2/lib.c \
173         v4l2/v4l2.h
174 libv4l2_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/v4l2
175 libv4l2_plugin_la_CFLAGS = $(AM_CFLAGS) $(ZVBI_CFLAGS)
176 libv4l2_plugin_la_LIBADD = $(AM_LIBADD) $(LIBDL) $(LIBM) $(ZVBI_LIBS)
177 if HAVE_V4L2
178 access_LTLIBRARIES += libv4l2_plugin.la
179 endif
180
181 libdshow_plugin_la_SOURCES = dshow/vlc_dshow.h dshow/dshow.cpp dshow/access.h \
182         dshow/filter.cpp dshow/filter.h dshow/crossbar.cpp
183 libdshow_plugin_la_CXXFLAGS = $(AM_CXXFLAGS)
184 libdshow_plugin_la_LIBADD = $(AM_LIBADD) -lole32 -loleaut32 -luuid -lstrmiids -lksuser
185 if HAVE_WIN32
186 access_LTLIBRARIES += libdshow_plugin.la
187 libdshow_plugin_la_DEPENDENCIES = libdshow_plugin.rc.o
188 endif
189
190
191 ### Screen grab ###
192
193 libxcb_screen_plugin_la_SOURCES = 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 = $(AM_LIBADD) \
197         $(XCB_LIBS) $(XCB_COMPOSITE_LIBS) $(XCB_SHM_LIBS)
198 if HAVE_XCB
199 access_LTLIBRARIES += libxcb_screen_plugin.la
200 endif
201
202 libscreen_plugin_la_SOURCES = screen/screen.c screen/screen.h
203 libscreen_plugin_la_CFLAGS = $(AM_CFLAGS)
204 libscreen_plugin_la_LIBADD = $(AM_LIBADD)
205 if HAVE_WIN32
206 libscreen_plugin_la_SOURCES += screen/win32.c
207 libscreen_plugin_la_LDFLAGS = $(AM_LDFLAGS)
208 libscreen_plugin_la_LIBADD += -lgdi32
209 access_LTLIBRARIES += libscreen_plugin.la
210 libscreen_plugin_la_DEPENDENCIES = libscreen_plugin.rc.o
211 endif
212 if HAVE_MAC_SCREEN
213 libscreen_plugin_la_SOURCES += screen/mac.c
214 libscreen_plugin_la_LDFLAGS = $(AM_LDFLAGS)
215 libscreen_plugin_la_LDFLAGS += "-Wl,-framework,OpenGL,-framework,ApplicationServices"
216 access_LTLIBRARIES += libscreen_plugin.la
217 endif
218
219 librdp_plugin_la_SOURCES = rdp.c
220 librdp_plugin_la_CFLAGS = $(AM_CFLAGS) $(FREERDP_CFLAGSp)
221 librdp_plugin_la_LIBADD = $(AM_LIBADD) $(FREERDP_LIBS)
222 librdp_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
223 access_LTLIBRARIES += $(LTLIBrdp)
224 EXTRA_LTLIBRARIES += librdp_plugin.la
225
226 libvnc_plugin_la_SOURCES = vnc.c
227 libvnc_plugin_la_CFLAGS = $(AM_CFLAGS) $(VNC_CFLAGS)
228 libvnc_plugin_la_LIBADD = $(AM_LIBADD) $(VNC_LIBS)
229 libvnc_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
230 access_LTLIBRARIES += $(LTLIBvnc)
231 EXTRA_LTLIBRARIES += libvnc_plugin.la
232
233
234 ### Optical media ###
235
236 libvlc_cdrom_la_SOURCES = vcd/cdrom.c vcd/cdrom.h vcd/cdrom_internals.h
237 libvlc_cdrom_la_CPPFLAGS = -DMODULE_STRING=\"cdrom\"
238 libvlc_cdrom_la_LDFLAGS = -static
239 EXTRA_LTLIBRARIES += libvlc_cdrom.la
240
241 libcdda_plugin_la_SOURCES = cdda.c
242 libcdda_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
243 libcdda_plugin_la_LIBADD = libvlc_cdrom.la $(AM_LIBADD)
244 if HAVE_DARWIN
245 libcdda_plugin_la_LIBADD += -liconv
246 endif
247 libcdda_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
248 EXTRA_LTLIBRARIES += libcdda_plugin.la
249 access_LTLIBRARIES += $(LTLIBcdda)
250
251 libvcd_plugin_la_SOURCES = vcd/vcd.c
252 libvcd_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
253 libvcd_plugin_la_LIBADD = libvlc_cdrom.la $(AM_LIBADD)
254 if HAVE_DARWIN
255 libvcd_plugin_la_LIBADD += -liconv
256 endif
257 libvcd_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
258 EXTRA_LTLIBRARIES += libvcd_plugin.la
259 access_LTLIBRARIES += $(LTLIBvcd)
260
261 libvcdx_plugin_la_SOURCES = \
262         vcdx/access.h vcdx/access.c \
263         vcdx/vcd.c vcdx/vcd.h \
264         vcdx/vcdplayer.h vcdx/vcdplayer.c \
265         vcdx/info.c vcdx/info.h
266 libvcdx_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
267 libvcdx_plugin_la_LIBADD = $(AM_LIBADD)
268 if HAVE_WIN32
269 libvcdx_plugin_la_LIBADD += -lwinmm
270 endif
271 libvcdx_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
272 EXTRA_LTLIBRARIES += libvcdx_plugin.la
273 access_LTLIBRARIES += $(LTLIBvcdx)
274
275 libdvdnav_plugin_la_SOURCES = dvdnav.c
276 libdvdnav_plugin_la_CFLAGS = $(AM_CFLAGS) $(DVDNAV_CFLAGS)
277 libdvdnav_plugin_la_LIBADD = $(AM_LIBADD) $(DVDNAV_LIBS)
278 libdvdnav_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
279 access_LTLIBRARIES += $(LTLIBdvdnav)
280 EXTRA_LTLIBRARIES += libdvdnav_plugin.la
281
282 libdvdread_plugin_la_SOURCES = dvdread.c
283 libdvdread_plugin_la_CFLAGS = $(AM_CFLAGS) $(DVDREAD_CFLAGS)
284 libdvdread_plugin_la_LIBADD = $(AM_LIBADD) $(DVDREAD_LIBS)
285 libdvdread_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
286 access_LTLIBRARIES += $(LTLIBdvdread)
287 EXTRA_LTLIBRARIES += libdvdread_plugin.la
288
289 liblibbluray_plugin_la_SOURCES = bluray.c
290 liblibbluray_plugin_la_CFLAGS = $(AM_CFLAGS) $(BLURAY_CFLAGS)
291 liblibbluray_plugin_la_LIBADD = $(AM_LIBADD) $(BLURAY_LIBS)
292 liblibbluray_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
293 access_LTLIBRARIES += $(LTLIBlibbluray)
294 EXTRA_LTLIBRARIES += liblibbluray_plugin.la
295
296 libaccess_bd_plugin_la_SOURCES = bd/bd.c bd/mpls.c bd/mpls.h bd/clpi.c bd/clpi.h
297 libaccess_bd_plugin_la_CFLAGS = $(AM_CFLAGS)
298 libaccess_bd_plugin_la_LIBADD = $(AM_LIBADD)
299 access_LTLIBRARIES += libaccess_bd_plugin.la
300 if HAVE_WIN32
301 libaccess_bd_plugin_la_DEPENDENCIES = libaccess_bd_plugin.rc.o
302 endif
303
304
305 ### Digital TV ###
306
307 libdtv_plugin_la_SOURCES = \
308         dtv/dtv.h \
309         dtv/access.c
310 libdtv_plugin_la_CFLAGS = $(AM_CFLAGS)
311 libdtv_plugin_la_LIBADD = $(AM_LIBADD)
312
313 if HAVE_LINUX_DVB
314 libdtv_plugin_la_SOURCES += dtv/linux.c
315 libdtv_plugin_la_CFLAGS += -DHAVE_LINUX_DVB
316 if HAVE_DVBPSI
317 libdtv_plugin_la_SOURCES += dtv/en50221.c dtv/en50221.h ../mux/mpeg/dvbpsi_compat.h
318 libdtv_plugin_la_CFLAGS += -DHAVE_DVBPSI $(DVBPSI_CFLAGS)
319 libdtv_plugin_la_LIBADD += $(DVBPSI_LIBS)
320 endif
321 access_LTLIBRARIES += libdtv_plugin.la
322 endif
323
324 if HAVE_WIN32
325 # Work-around automake bug:
326 # Use an import library for C++ to retain C linker on other platforms.
327 libbda_la_SOURCES = dtv/bdadefs.h dtv/bdagraph.cpp dtv/bdagraph.hpp
328 libbda_la_CXXFLAGS = $(AM_CXXFLAGS)
329 libbda_la_LDFLAGS = -static
330 libbda_la_LIBADD = -lstrmiids -lole32 -loleaut32 -luuid
331 noinst_LTLIBRARIES += libbda.la
332
333 libdtv_plugin_la_DEPENDENCIES = libbda.la libdtv_plugin.rc.o
334 libdtv_plugin_la_LIBADD += libbda.la -lstdc++
335 access_LTLIBRARIES += libdtv_plugin.la
336 endif
337
338 # Old Linux DVB scanner
339 libdvb_plugin_la_SOURCES = \
340         dvb/access.c \
341         dvb/linux_dvb.c \
342         dvb/scan.c dvb/scan.h \
343         dvb/dvb.h
344 libdvb_plugin_la_CFLAGS = $(AM_CFLAGS)
345 libdvb_plugin_la_LIBADD = $(AM_LIBADD)
346 if HAVE_LINUX_DVB
347 if HAVE_DVBPSI
348 libdvb_plugin_la_SOURCES += ../mux/mpeg/dvbpsi_compat.h
349 access_LTLIBRARIES += libdvb_plugin.la
350 libdvb_plugin_la_CFLAGS += $(DVBPSI_CFLAGS)
351 libdvb_plugin_la_LIBADD += $(DVBPSI_LIBS)
352 endif
353 endif
354
355 libaccess_eyetv_plugin_la_SOURCES = eyetv.m
356 libaccess_eyetv_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
357 libaccess_eyetv_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)' \
358         -Wl,-framework,Foundation
359 access_LTLIBRARIES += $(LTLIBaccess_eyetv)
360 EXTRA_LTLIBRARIES += libaccess_eyetv_plugin.la
361
362
363 ### Network streams ###
364
365 libftp_plugin_la_SOURCES = ftp.c
366 libftp_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
367 libftp_plugin_la_LIBADD = $(AM_LIBADD) $(SOCKET_LIBS)
368 access_LTLIBRARIES += libftp_plugin.la
369
370 libhttp_plugin_la_SOURCES = http.c
371 libhttp_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
372 libhttp_plugin_la_LIBADD = $(AM_LIBADD) $(SOCKET_LIBS)
373 if HAVE_ZLIB
374 libhttp_plugin_la_LIBADD += -lz
375 endif
376 access_LTLIBRARIES += libhttp_plugin.la
377
378 liblive555_plugin_la_SOURCES = live555.cpp mms/asf.c mms/buffer.c
379 liblive555_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
380 liblive555_plugin_la_CXXFLAGS = $(AM_CXXFLAGS) $(CXXFLAGS_live555)
381 liblive555_plugin_la_LIBADD = $(AM_LIBADD) $(LIBS_live555)
382 liblive555_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)' \
383         $(LDFLAGS_live555)
384 access_LTLIBRARIES += $(LTLIBlive555)
385 EXTRA_LTLIBRARIES += liblive555_plugin.la
386
387 libaccess_mms_plugin_la_SOURCES = \
388         mms/mms.c mms/mms.h \
389         mms/mmsh.c mms/mmsh.h \
390         mms/mmstu.c mms/mmstu.h \
391         mms/buffer.c mms/buffer.h \
392         mms/asf.h mms/asf.c \
393         ../demux/asf/libasf_guid.h
394 libaccess_mms_plugin_la_CFLAGS = $(AM_CFLAGS)
395 libaccess_mms_plugin_la_LIBADD = $(AM_LIBADD) $(SOCKET_LIBS)
396 access_LTLIBRARIES += libaccess_mms_plugin.la
397
398 libsmb_plugin_la_SOURCES = smb.c
399 libsmb_plugin_la_CFLAGS = $(AM_CFLAGS) $(SMBCLIENT_CFLAGS)
400 libsmb_plugin_la_LIBADD = $(AM_LIBADD) $(SMBCLIENT_LIBS)
401 if HAVE_WIN32
402 libsmb_plugin_la_LIBADD += -lmpr
403 endif
404 libsmb_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
405 access_LTLIBRARIES += $(LTLIBsmb)
406 EXTRA_LTLIBRARIES += libsmb_plugin.la
407
408 libtcp_plugin_la_SOURCES = tcp.c
409 libtcp_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
410 libtcp_plugin_la_LIBADD = $(AM_LIBADD) $(SOCKET_LIBS)
411 access_LTLIBRARIES += libtcp_plugin.la
412
413 libudp_plugin_la_SOURCES = udp.c
414 libudp_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
415 libudp_plugin_la_LIBADD = $(AM_LIBADD) $(SOCKET_LIBS)
416 access_LTLIBRARIES += libudp_plugin.la
417
418 libsftp_plugin_la_SOURCES = sftp.c
419 libsftp_plugin_la_CFLAGS = $(AM_CFLAGS) $(SFTP_CFLAGS)
420 libsftp_plugin_la_LIBADD = $(AM_LIBADD) $(SFTP_LIBS)
421 libsftp_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
422 access_LTLIBRARIES += $(LTLIBsftp)
423 EXTRA_LTLIBRARIES += libsftp_plugin.la
424
425 libaccess_realrtsp_plugin_la_SOURCES = \
426         rtsp/access.c \
427         rtsp/rtsp.c rtsp/rtsp.h \
428         rtsp/real.c rtsp/real.h \
429         rtsp/real_rmff.c rtsp/real_rmff.h \
430         rtsp/real_sdpplin.c rtsp/real_sdpplin.h \
431         rtsp/real_asmrp.c
432 libaccess_realrtsp_plugin_la_CFLAGS = $(AM_CFLAGS)
433 libaccess_realrtsp_plugin_la_LIBADD = $(AM_LIBADD) $(SOCKET_LIBS)
434 libaccess_realrtsp_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
435 access_LTLIBRARIES += $(LTLIBaccess_realrtsp)
436 EXTRA_LTLIBRARIES += libaccess_realrtsp_plugin.la
437
438 libavio_plugin_la_SOURCES = avio.c avio.h ../codec/avcodec/cpu.c
439 libavio_plugin_la_CFLAGS = $(AM_CFLAGS) $(AVFORMAT_CFLAGS) $(AVUTIL_CFLAGS)
440 libavio_plugin_la_LDFLAGS = $(AM_LDFLAGS) $(SYMBOLIC_LDFLAGS)
441 libavio_plugin_la_LIBADD = $(AM_LIBADD) $(AVFORMAT_LIBS) $(AVUTIL_LIBS) $(LIBM)
442 if HAVE_AVFORMAT
443 access_LTLIBRARIES += libavio_plugin.la
444 endif
445
446
447 ### Misc ###
448
449 libgnomevfs_plugin_la_SOURCES = gnomevfs.c
450 libgnomevfs_plugin_la_CFLAGS = $(AM_CFLAGS) $(GNOMEVFS_CFLAGS)
451 libgnomevfs_plugin_la_LIBADD = $(AM_LIBADD) $(GNOMEVFS_LIBS)
452 libgnomevfs_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
453 access_LTLIBRARIES += $(LTLIBgnomevfs)
454 EXTRA_LTLIBRARIES += libgnomevfs_plugin.la
455
456 libaccess_mtp_plugin_la_SOURCES = mtp.c
457 libaccess_mtp_plugin_la_CFLAGS = $(AM_CFLAGS) $(MTP_CFLAGS)
458 libaccess_mtp_plugin_la_LIBADD = $(AM_LIBADD) $(MTP_LIBS)
459 libaccess_mtp_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
460 access_LTLIBRARIES += $(LTLIBaccess_mtp)
461 EXTRA_LTLIBRARIES += libaccess_mtp_plugin.la