1 ###############################################################################
2 # Automake targets and declarations
3 ###############################################################################
7 # SUBDIRS stores the directories where a "make" is required when building
8 # something. DIST_SUBDIRS stores the directories where nothing is built but
9 # which have makefiles with distribution information.
10 SUBDIRS = intl modules . share po m4
11 DIST_SUBDIRS = $(SUBDIRS) src debian doc ipkg lib autotools
32 # Tell aclocal to use -I m4. Wonder if it really works.
33 ACLOCAL_AMFLAGS = -I m4
35 # XXX: these flags could be set in configure.ac, but we set them here
36 # because old versions of automake don't support them in configure.ac.
37 AUTOMAKE_OPTIONS = dist-bzip2 subdir-objects
39 # Don't forget to build plugins
42 ###############################################################################
44 ###############################################################################
47 include/vlc_symbols.h \
48 src/misc/modules_builtin.h \
49 src/misc/modules_plugin.h \
52 pkgincludedir = $(includedir)/vlc
54 dist_pkginclude_HEADERS = \
59 include/vlc/decoder.h \
64 noinst_HEADERS = $(HEADERS_include) $(HEADERS_include_built)
67 include/aout_internal.h \
68 include/audio_output.h \
69 include/beos_specific.h \
70 include/configuration.h \
71 include/darwin_specific.h \
75 include/input_ext-dec.h \
76 include/input_ext-intf.h \
77 include/input_ext-plugins.h \
78 include/intf_eject.h \
84 include/modules_inner.h \
87 include/os_specific.h \
88 include/stream_control.h \
89 include/stream_output.h \
92 include/video_output.h \
93 include/vlc_common.h \
94 include/vlc_config.h \
96 include/vlc_interface.h \
97 include/vlc_messages.h \
98 include/vlc_objects.h \
99 include/vlc_playlist.h \
100 include/vlc_threads.h \
101 include/vlc_threads_funcs.h \
102 include/vlc_video.h \
103 include/vout_synchro.h \
104 include/win32_specific.h \
108 HEADERS_include_built = \
109 include/vlc_symbols.h \
112 include/vlc_symbols.h: Makefile $(HEADERS_include)
113 $(srcdir)/toolbox --update-includes
115 src/misc/modules_plugin.h: Makefile src/misc/modules_plugin.h.in $(HEADERS_include)
116 $(srcdir)/toolbox --update-includes
118 src/misc/modules_builtin.h: Makefile src/misc/modules_builtin.h.in
119 $(srcdir)/toolbox --update-includes
121 # These dependencies are mandatory
122 $(SOURCES): include/vlc_symbols.h
123 $(SOURCES_libvlc): src/misc/modules_plugin.h src/misc/modules_builtin.h $(LIB_intl)
125 ###############################################################################
126 # Optional libintl - FIXME, bad dependencies
127 ###############################################################################
129 intl/libintl.a: FORCE
130 cd $(srcdir)/intl && $(MAKE)
133 LIB_intl = intl/libintl.a
136 ###############################################################################
138 ###############################################################################
141 extras/MacOSX/Resources/English.lproj/MainMenu.nib/classes.nib \
142 extras/MacOSX/Resources/English.lproj/MainMenu.nib/info.nib \
143 extras/MacOSX/Resources/English.lproj/MainMenu.nib/objects.nib \
144 extras/MacOSX/Resources/English.lproj/InfoPlist.strings \
145 extras/MacOSX/Resources/English.lproj/vlc.scriptTerminology \
146 extras/MacOSX/Resources/a52.icns \
147 extras/MacOSX/Resources/aac.icns \
148 extras/MacOSX/Resources/asf.icns \
149 extras/MacOSX/Resources/asx.icns \
150 extras/MacOSX/Resources/avi.icns \
151 extras/MacOSX/Resources/bin.icns \
152 extras/MacOSX/Resources/cue.icns \
153 extras/MacOSX/Resources/dat.icns \
154 extras/MacOSX/Resources/divx.icns \
155 extras/MacOSX/Resources/dv.icns \
156 extras/MacOSX/Resources/generic.icns \
157 extras/MacOSX/Resources/m3u.icns \
158 extras/MacOSX/Resources/mov.icns \
159 extras/MacOSX/Resources/mp3.icns \
160 extras/MacOSX/Resources/mp4.icns \
161 extras/MacOSX/Resources/mpeg.icns \
162 extras/MacOSX/Resources/mpeg1.icns \
163 extras/MacOSX/Resources/mpeg2.icns \
164 extras/MacOSX/Resources/mpeg4.icns \
165 extras/MacOSX/Resources/mpg.icns \
166 extras/MacOSX/Resources/ogg.icns \
167 extras/MacOSX/Resources/ogm.icns \
168 extras/MacOSX/Resources/pls.icns \
169 extras/MacOSX/Resources/srt.icns \
170 extras/MacOSX/Resources/sub.icns \
171 extras/MacOSX/Resources/vlc.icns \
172 extras/MacOSX/Resources/vob.icns \
173 extras/MacOSX/Resources/wma.icns \
174 extras/MacOSX/Resources/wmv.icns \
175 extras/MacOSX/Resources/back.png \
176 extras/MacOSX/Resources/begin.png \
177 extras/MacOSX/Resources/end.png \
178 extras/MacOSX/Resources/forw.png \
179 extras/MacOSX/Resources/list.png \
180 extras/MacOSX/Resources/pause.png \
181 extras/MacOSX/Resources/play.png \
182 extras/MacOSX/Resources/prefs.png \
183 extras/MacOSX/Resources/slow.png \
184 extras/MacOSX/Resources/stop.png \
185 extras/MacOSX/Resources/vlc_hg.png \
186 extras/MacOSX/Resources/about_bg.png \
187 extras/MacOSX/Resources/vlc.scriptSuite \
188 extras/MacOSX/Resources/README \
189 extras/MacOSX/vlc.pbproj/project.pbxproj \
190 extras/MacOSX/macosx-dmg \
193 ###############################################################################
194 # MS Visual Studio and eMbedded Visual Studio projects
195 ###############################################################################
200 msvc/plugins.dsp.in \
203 msvc/modules_builtin_msvc.h \
210 evc/modules_builtin_evc.h \
214 mv $(distdir)/vlc.ebuild $(distdir)/vlc-${VERSION}.ebuild
215 cd $(distdir) && $(srcdir)/toolbox --update-vc
217 ###############################################################################
219 ###############################################################################
221 bin_SCRIPTS = vlc-config
223 lib_LIBRARIES = lib/libvlc.a $(LIBRARIES_libvlc_pic)
225 lib_libvlc_a_SOURCES = $(SOURCES_libvlc)
226 dist_lib_libvlc_a_SOURCES = src/misc/modules_plugin.h
227 lib_libvlc_a_CFLAGS = `$(VLC_CONFIG) --cflags vlc`
228 lib_libvlc_a_CXXFLAGS = `$(VLC_CONFIG) --cxxflags vlc`
229 lib_libvlc_a_OBJCFLAGS = `$(VLC_CONFIG) --objcflags vlc`
231 lib_libvlc_pic_a_SOURCES = $(SOURCES_libvlc)
232 lib_libvlc_pic_a_CFLAGS = `$(VLC_CONFIG) --cflags vlc pic`
233 lib_libvlc_pic_a_CXXFLAGS = `$(VLC_CONFIG) --cxxflags vlc pic`
234 lib_libvlc_pic_a_OBJCFLAGS = `$(VLC_CONFIG) --objcflags vlc pic`
237 OPT_SOURCES_libvlc_beos = $(SOURCES_libvlc_beos)
240 OPT_SOURCES_libvlc_darwin = $(SOURCES_libvlc_darwin)
243 OPT_SOURCES_libvlc_win32 = $(SOURCES_libvlc_win32)
246 OPT_SOURCES_libvlc_dirent = $(SOURCES_libvlc_dirent)
249 OPT_SOURCES_libvlc_getopt = $(SOURCES_libvlc_getopt)
252 LIBRARIES_libvlc_pic = lib/libvlc_pic.a
256 $(SOURCES_libvlc_beos) \
257 $(SOURCES_libvlc_darwin) \
258 $(SOURCES_libvlc_win32) \
259 $(SOURCES_libvlc_dirent) \
260 $(SOURCES_libvlc_getopt) \
263 SOURCES_libvlc_beos = \
264 src/misc/beos_specific.cpp \
267 SOURCES_libvlc_darwin = \
268 src/misc/darwin_specific.m \
271 SOURCES_libvlc_win32 = \
272 src/misc/win32_specific.c \
275 SOURCES_libvlc_dirent = \
276 src/extras/dirent.c \
277 src/extras/dirent.h \
280 SOURCES_libvlc_getopt = \
281 src/extras/getopt.c \
282 src/extras/getopt.h \
283 src/extras/getopt1.c \
286 SOURCES_libvlc_common = \
289 src/interface/interface.c \
290 src/interface/intf_eject.c \
291 src/playlist/playlist.c \
293 src/input/input_ext-plugins.c \
294 src/input/input_ext-dec.c \
295 src/input/input_ext-intf.c \
296 src/input/input_dec.c \
297 src/input/input_programs.c \
298 src/input/input_clock.c \
299 src/input/input_info.c \
300 src/video_output/video_output.c \
301 src/video_output/vout_pictures.c \
302 src/video_output/vout_pictures.h \
303 src/video_output/video_text.c \
304 src/video_output/video_text.h \
305 src/video_output/vout_subpictures.c \
306 src/video_output/vout_synchro.c \
307 src/audio_output/common.c \
308 src/audio_output/dec.c \
309 src/audio_output/filters.c \
310 src/audio_output/input.c \
311 src/audio_output/mixer.c \
312 src/audio_output/output.c \
313 src/audio_output/intf.c \
314 src/stream_output/stream_output.c \
315 src/stream_output/announce.c \
320 src/misc/configuration.c \
321 src/misc/iso_lang.c \
322 src/misc/iso-639_def.h \
323 src/misc/messages.c \
325 src/misc/variables.c \
331 $(SOURCES_libvlc_common) \
332 $(OPT_SOURCES_libvlc_beos) \
333 $(OPT_SOURCES_libvlc_darwin) \
334 $(OPT_SOURCES_libvlc_win32) \
335 $(OPT_SOURCES_libvlc_dirent) \
336 $(OPT_SOURCES_libvlc_getopt) \
339 ###############################################################################
341 ###############################################################################
345 vlc_SOURCES = src/vlc.c
347 vlc_LDFLAGS = `$(VLC_CONFIG) --libs vlc builtin`
348 vlc_LDADD = lib/libvlc.a $(DATA_win32_rc) $(LIB_intl)
349 vlc_CFLAGS = `$(VLC_CONFIG) --cflags vlc`
351 # We use DEPENDENCIES_vlc instead of vlc_DEPENDENCIES because of an
352 # old automake-1.5 bug (automake/279).
353 DEPENDENCIES_vlc = lib/libvlc.a $(DATA_win32_rc) $(LIB_intl) builtins
355 vlc$(EXEEXT): $(vlc_OBJECTS) $(DEPENDENCIES_vlc)
356 @rm -f $(srcdir)/vlc$(EXEEXT)
357 case `$(VLC_CONFIG) --linkage vlc builtin` in \
358 c++) $(CXXLINK) $(vlc_OBJECTS) $(vlc_LDADD) $(vlc_LDFLAGS) $(LIBS) ;; \
359 objc) $(OBJCLINK) $(vlc_OBJECTS) $(vlc_LDADD) $(vlc_LDFLAGS) $(LIBS) ;; \
360 c|*) $(LINK) $(vlc_OBJECTS) $(vlc_LDADD) $(vlc_LDFLAGS) $(LIBS) ;; \
364 xres -o $@ $(srcdir)/share/vlc_beos.rsrc
366 rm -Rf $(srcdir)/locale ; mkdir -p "$(srcdir)/locale"
367 for i in $(ALL_LINGUAS); do \
368 mkdir -p "$(srcdir)/locale/$${i}/LC_MESSAGES" ; \
369 cp "$(srcdir)/po/$${i}.gmo" \
370 "$(srcdir)/locale/$${i}/LC_MESSAGES/vlc.mo" || true ; \
374 # Install the modules and the symlinks
376 for i in "" `$(VLC_CONFIG) --target plugin` ; do if test -n "$$i" ; then \
377 $(INSTALL) -m 755 "$$i$(LIBEXT)" "$(DESTDIR)$(libdir)/vlc/`echo $$i | cut -f2 -d/`" ; \
379 for i in "" `$(VLC_CONFIG) --target builtin` `$(VLC_CONFIG) --target builtin pic` ; do if test -n "$$i" ; then \
380 $(INSTALL) -m 644 "$$i" "$(DESTDIR)$(libdir)/vlc" ; \
382 for i in "" $(ALIASES) ; do if test -n "$$i" ; then \
383 rm -f "$(DESTDIR)$(bindir)/$$i" && \
384 ln -s vlc "$(DESTDIR)$(bindir)/$$i" ; \
388 # Create the MacOS X app
389 vlc_app_DATA = VLC.app
390 vlc_appdir = $(bindir)
393 cd $(srcdir)/extras/MacOSX && pbxbuild -target vlc | grep -v '^\([ \t]\|$$\)'
394 cp -r $(srcdir)/extras/MacOSX/build/vlc.bundle $(srcdir)/VLC.app
395 $(INSTALL) -d $(srcdir)/VLC.app/Contents/MacOS
396 $(INSTALL) vlc $(srcdir)/VLC.app/Contents/MacOS/VLC
397 $(INSTALL) -d $(srcdir)/VLC.app/Contents/MacOS/modules
398 for i in "" `$(VLC_CONFIG) --target plugin` ; do \
399 if test -n "$$i" ; then $(INSTALL) "$(srcdir)/$$i$(LIBEXT)" \
400 "$(srcdir)/VLC.app/Contents/MacOS/modules" ; \
402 $(INSTALL) -d $(srcdir)/VLC.app/Contents/MacOS/share
403 $(INSTALL) -m 644 $(srcdir)/share/*.psf $(srcdir)/share/*.rle \
404 $(srcdir)/VLC.app/Contents/MacOS/share
405 $(INSTALL) -d $(srcdir)/VLC.app/Contents/MacOS/locale
406 for i in $(ALL_LINGUAS); do \
407 mkdir -p $(srcdir)/VLC.app/Contents/MacOS/locale/$${i}/LC_MESSAGES ; \
408 cp $(srcdir)/po/$${i}.gmo $(srcdir)/VLC.app/Contents/MacOS/locale/$${i}/LC_MESSAGES/vlc.mo || true ; \
409 mkdir -p $(srcdir)/VLC.app/Contents/Resources/$${i}.lproj ; \
410 ln -sf ../English.lproj/InfoPlist.strings $(srcdir)/VLC.app/Contents/Resources/$${i}.lproj ; \
411 ln -sf ../English.lproj/MainMenu.nib $(srcdir)/VLC.app/Contents/Resources/$${i}.lproj ; \
412 ln -sf ../English.lproj/vlc.scriptTerminology $(srcdir)/VLC.app/Contents/Resources/$${i}.lproj ; \
414 printf "APPLVLC#" >| $(srcdir)/VLC.app/Contents/PkgInfo
418 DATA_win32_rc = $(noinst_share_vlc_win32_rc_DATA)
419 noinst_share_vlc_win32_rc_DATA = share/vlc_win32_rc.$(OBJEXT)
420 noinst_share_vlc_win32_rcdir = $(libdir)
421 share/vlc_win32_rc.$(OBJEXT): share/vlc_win32_rc.rc
422 $(WINDRES) --include-dir $(srcdir)/share -i $< -o $@
425 ###############################################################################
427 ###############################################################################
429 $(MAKE) `$(VLC_CONFIG) --target plugin` FORCE
432 $(MAKE) `$(VLC_CONFIG) --target builtin` FORCE
435 $(MAKE) `$(VLC_CONFIG) --target builtin pic` FORCE
437 ###############################################################################
438 # Building architecture-specific binary packages
439 ###############################################################################
441 # XXX: this rule is probably only useful to you if you have exactly
442 # the same setup as me. Contact sam@zoy.org if you need to use it.
444 # Check that tmp isn't in the way
446 @if test -e "$(srcdir)/tmp"; then \
447 echo "Error: please remove $(srcdir)/tmp, it is in the way"; \
450 echo "OK."; mkdir -p "$(srcdir)/tmp"; \
452 # Create installation script
453 cp "$(srcdir)/install-win32" "$(srcdir)/tmp/nsi"
454 # Copy relevant files
455 cp "$(srcdir)/vlc$(EXEEXT)" "$(srcdir)/tmp/"
456 $(STRIP) "$(srcdir)/tmp/vlc$(EXEEXT)"
457 cp "$(srcdir)/INSTALL.win32" "$(srcdir)/tmp/INSTALL.txt"
458 unix2dos "$(srcdir)/tmp/INSTALL.txt"
459 for file in AUTHORS MAINTAINERS THANKS NEWS COPYING README ; \
460 do cp "$(srcdir)/$$file" "$(srcdir)/tmp/$${file}.txt" ; \
461 unix2dos "$(srcdir)/tmp/$${file}.txt" ; done
463 mkdir -p "$(srcdir)/tmp/plugins"
464 for i in "" `$(VLC_CONFIG) --target plugin` ; do \
465 if test -n "$$i" ; then \
466 $(INSTALL) "$(srcdir)/$$i$(LIBEXT)" "$(srcdir)/tmp/plugins/" ; \
469 for i in "" $(srcdir)/tmp/plugins/*$(LIBEXT) ; \
470 do if test -n "$$i" ; then $(STRIP) "$$i" ; fi ; done
472 mkdir -p "$(srcdir)/tmp/share"
473 cp $(srcdir)/share/*.rle $(srcdir)/tmp/share/ ;
475 mkdir $(srcdir)/tmp/locale
476 for i in $(ALL_LINGUAS); do \
477 mkdir -p "$(srcdir)/tmp/locale/$${i}/LC_MESSAGES" ; \
478 cp "$(srcdir)/po/$${i}.gmo" \
479 "$(srcdir)/tmp/locale/$${i}/LC_MESSAGES/vlc.mo" || true ; \
482 mkdir -p $(srcdir)/tmp/skins/default
483 for i in $(srcdir)/share/skins/default/*.*; do \
484 cp $$i $(srcdir)/tmp/skins/default/ || true ; \
486 for i in $(srcdir)/doc/skins/*.txt; do \
487 cp $$i $(srcdir)/tmp/skins/ || true ; \
491 wine ~/.wine/fake_windows/Program\ Files/NSIS/makensis.exe -- /DVERSION=${VERSION} $(srcdir)/tmp/nsi
496 # Check that tmp isn't in the way
497 @if test -e $(srcdir)/tmp; then \
498 echo "Error: please remove $(srcdir)/tmp, it is in the way"; \
501 echo "OK."; mkdir $(srcdir)/tmp; \
504 # Copy relevant files
505 mkdir -p $(srcdir)/tmp/vlc
507 cp vlc AUTHORS COPYING ChangeLog README THANKS NEWS tmp/vlc/
508 # We cannot use ${PLUGIN_FILES}, it looks like it is too long for the BeOS shell...
509 if [ `find $(srcdir)/modules -name "lib*_plugin.so" | wc -l` -gt 0 ]; then \
510 mkdir -p $(srcdir)/tmp/vlc/plugins; \
511 find $(srcdir)/modules -name "lib*_plugin.so" | xargs -i{} cp {} $(srcdir)/tmp/vlc/plugins/; \
513 for i in $(ALL_LINGUAS); do \
514 mkdir -p $(srcdir)/tmp/vlc/locale/$${i}/LC_MESSAGES ; \
515 cp $(srcdir)/po/$${i}.gmo $(srcdir)/tmp/vlc/locale/$${i}/LC_MESSAGES/vlc.mo || true ; \
517 mkdir -p $(srcdir)/tmp/vlc/share
518 cp $(srcdir)/share/*.rle $(srcdir)/tmp/vlc/share/
520 # Create package with debug symbols
521 mimeset -f $(srcdir)/tmp/vlc/* $(srcdir)/tmp/vlc/*/*
522 mv $(srcdir)/tmp/vlc $(srcdir)/tmp/vlc-${VERSION}
523 (cd $(srcdir)/tmp ; zip -9 -r vlc-${VERSION}-BeOS-debug.zip vlc-${VERSION} )
524 mv $(srcdir)/tmp/vlc-${VERSION}-BeOS-debug.zip $(srcdir)/
526 # Create package without debug symbols
527 strip $(srcdir)/tmp/vlc-${VERSION}/vlc
528 if [ -d $(srcdir)/tmp/vlc-${VERSION}/plugins ]; then \
529 strip $(srcdir)/tmp/vlc-${VERSION}/plugins/lib*_plugin.so; \
531 xres -o $(srcdir)/tmp/vlc-${VERSION}/vlc $(srcdir)/share/vlc_beos.rsrc
532 mimeset -f $(srcdir)/tmp/vlc-${VERSION}/* $(srcdir)/tmp/vlc-${VERSION}/*/*
533 (cd $(srcdir)/tmp ; zip -9 -r vlc-${VERSION}-BeOS.zip vlc-${VERSION} )
534 mv $(srcdir)/tmp/vlc-${VERSION}-BeOS.zip $(srcdir)/
540 # Check that tmp isn't in the way
541 @if test -e "$(srcdir)/tmp"; then \
542 echo "Error: please remove $(srcdir)/tmp, it is in the way"; \
545 echo "OK."; mkdir -p "$(srcdir)/tmp"; \
548 # Copy relevant files
549 cp -R "$(srcdir)/VLC.app" "$(srcdir)/tmp/"
550 cd "$(srcdir)" && cp AUTHORS COPYING ChangeLog README README.MacOSX.rtf THANKS NEWS tmp/
553 $(srcdir)/extras/MacOSX/macosx-dmg 18 "vlc-${VERSION}" $(srcdir)/tmp/*
558 ###############################################################################
559 # Building the Mozilla plugin
560 ###############################################################################
562 noinst_LIBRARIES = $(noinst_LIBRARIES_mozilla)
564 MOSTLYCLEANFILES = $(LIBRARIES_mozilla)
566 EXTRA_DIST += $(SOURCES_mozilla) mozilla/vlcintf.idl
568 BUILT_SOURCES += $(BUILT_SOURCES_mozilla)
571 mozilla/vlcshell.cpp \
572 mozilla/vlcplugin.cpp \
573 mozilla/vlcplugin.h \
574 mozilla/vlcpeer.cpp \
576 mozilla/support/classinfo.h \
577 $(SOURCES_mozilla_win32) \
578 $(SOURCES_mozilla_macosx) \
579 $(SOURCES_mozilla_unix) \
582 # Under Win32, Mozilla plugins need to be named NP******.DLL, but under Unix
583 # the common naming scheme is lib******plugin.so. Also, we need npwin.cpp
584 # under Win32 and npunix.c under Unix.
586 LIBRARIES_mozilla = mozilla/npvlc$(LIBEXT)
587 SOURCES_mozilla_win32 = mozilla/support/npwin.cpp
588 CPPFLAGS_mozilla_EXTRA = -DXP_WIN -DXP_WIN32
591 # We don't define LIBRARIES_mozilla because we'll be using project builder
592 SOURCES_mozilla_macosx = mozilla/support/npmac.cpp
594 LIBRARIES_mozilla = mozilla/libvlcplugin$(LIBEXT)
595 SOURCES_mozilla_unix = mozilla/support/npunix.c
601 noinst_LIBRARIES_mozilla = mozilla/libplugin.a
604 mozilla_libplugin_a_SOURCES = $(SOURCES_mozilla)
605 mozilla_libplugin_a_CFLAGS = `$(VLC_CONFIG) --cflags mozilla pic` \
606 $(CPPFLAGS_mozilla_EXTRA) -Imozilla
607 mozilla_libplugin_a_CXXFLAGS = `$(VLC_CONFIG) --cxxflags mozilla pic` \
608 $(CPPFLAGS_mozilla_EXTRA) -Imozilla
609 mozilla_libplugin_a_DEPENDENCIES = lib/libvlc_pic.a $(DATA_npvlc_rc) builtins_pic
611 BUILT_SOURCES_mozilla = mozilla/vlcintf.h
612 $(SOURCES_mozilla): mozilla/vlcintf.h
614 mozilla_plugin_DATA = $(LIBRARIES_mozilla)
615 mozilla_plugindir = $(libdir)/mozilla/plugins
616 $(LIBRARIES_mozilla): $(mozilla_libplugin_a_OBJECTS) \
617 $(mozilla_libplugin_a_DEPENDENCIES)
618 $(CXXLINK) $(mozilla_libplugin_a_OBJECTS) $(DATA_npvlc_rc) \
619 lib/libvlc_pic.a -shared \
620 `$(VLC_CONFIG) --libs vlc mozilla builtin pic`
622 mozilla_vlcintf_xpt_DATA = mozilla/vlcintf.xpt
623 mozilla_vlcintf_xptdir = $(libdir)/mozilla/components
624 mozilla/vlcintf.xpt: Makefile mozilla/vlcintf.idl
625 $(XPIDL) -I/usr/share/idl/mozilla -m typelib \
626 -o mozilla/vlcintf $(srcdir)/mozilla/vlcintf.idl
628 mozilla/vlcintf.h: Makefile mozilla/vlcintf.idl
629 $(XPIDL) -I/usr/share/idl/mozilla -m header \
630 -o mozilla/vlcintf $(srcdir)/mozilla/vlcintf.idl
633 DATA_npvlc_rc = $(noinst_mozilla_npvlc_rc_DATA)
634 noinst_mozilla_npvlc_rc_DATA = mozilla/npvlc_rc.$(OBJEXT)
635 noinst_mozilla_npvlc_rcdir = $(libdir)
636 mozilla/npvlc_rc.$(OBJEXT): mozilla/npvlc_rc.rc
637 $(WINDRES) --include-dir $(srcdir)/mozilla -i $< -o $@
641 ###############################################################################
643 ###############################################################################
646 ###############################################################################
648 ###############################################################################