]> git.sesse.net Git - vlc/blob - Makefile
66e6785b62e1a441ccadf1fb71c1a043b3be0562
[vlc] / Makefile
1 ###############################################################################
2 # vlc (VideoLAN Client) main Makefile - (c)1998 VideoLAN
3 ###############################################################################
4
5 ifeq ($(shell [ ! -r Makefile.opts ] && echo 1),)
6     include Makefile.opts
7 endif
8
9 ###############################################################################
10 # Objects and files
11 ###############################################################################
12
13
14 # All possible plugin directories, needed for make clean
15 #
16 PLUGINS_DIR :=  ac3_adec \
17                 ac3_spdif \
18                 alsa \
19                 arts \
20                 beos \
21                 chroma \
22                 directx \
23                 dsp \
24                 dummy \
25                 dvd \
26                 dvdread \
27                 esd \
28                 fb \
29                 ggi \
30                 glide \
31                 gtk \
32                 downmix \
33                 idct \
34                 imdct \
35                 kde \
36                 lpcm_adec \
37                 macosx \
38                 mad \
39                 memcpy \
40                 mga \
41                 motion \
42                 mpeg_system \
43                 mpeg_adec \
44                 mpeg_vdec \
45                 qt \
46                 sdl \
47                 spudec \
48                 text \
49                 vcd \
50                 x11
51
52 PLUGINS_TARGETS := ac3_adec/ac3_adec \
53                 ac3_spdif/ac3_spdif \
54                 alsa/alsa \
55                 arts/arts \
56                 beos/beos \
57                 chroma/yuv2rgb8 \
58                 directx/directx \
59                 dsp/dsp \
60                 dummy/dummy \
61                 dummy/null \
62                 dvd/dvd \
63                 dvdread/dvdread \
64                 esd/esd \
65                 fb/fb \
66                 ggi/ggi \
67                 glide/glide \
68                 gtk/gnome \
69                 gtk/gtk \
70                 downmix/downmix \
71                 downmix/downmixsse \
72                 downmix/downmix3dn \
73                 idct/idct \
74                 idct/idctclassic \
75                 idct/idctmmx \
76                 idct/idctmmxext \
77                 idct/idctaltivec \
78                 imdct/imdct \
79                 imdct/imdct3dn \
80                 imdct/imdctsse \
81                 kde/kde \
82                 lpcm_adec/lpcm_adec \
83                 macosx/macosx \
84                 mad/mad \
85                 memcpy/memcpy \
86                 memcpy/memcpymmx \
87                 memcpy/memcpymmxext \
88                 memcpy/memcpy3dn \
89                 mga/mga \
90                 motion/motion \
91                 motion/motionmmx \
92                 motion/motionmmxext \
93                 motion/motion3dnow \
94                 motion/motionaltivec \
95                 mpeg_system/mpeg_es \
96                 mpeg_system/mpeg_ps \
97                 mpeg_system/mpeg_ts \
98                 mpeg_adec/mpeg_adec \
99                 mpeg_vdec/mpeg_vdec \
100                 qt/qt \
101                 sdl/sdl \
102                 spudec/spudec \
103                 text/ncurses \
104                 text/rc \
105                 vcd/vcd \
106                 x11/x11 \
107                 x11/xvideo \
108                 yuv/yuv \
109                 yuv/yuvmmx
110
111 #
112 # C Objects
113
114 INTERFACE := main interface intf_msg intf_playlist
115 INPUT := input input_ext-dec input_ext-intf input_dec input_programs input_netlist input_clock mpeg_system
116 VIDEO_OUTPUT := video_output video_text vout_pictures vout_subpictures
117 AUDIO_OUTPUT := audio_output aout_ext-dec aout_u8 aout_s8 aout_u16 aout_s16 aout_spdif
118 MISC := mtime tests modules netutils iso_lang
119
120 C_OBJ :=        $(INTERFACE:%=src/interface/%.o) \
121                 $(INPUT:%=src/input/%.o) \
122                 $(VIDEO_OUTPUT:%=src/video_output/%.o) \
123                 $(AUDIO_OUTPUT:%=src/audio_output/%.o) \
124                 $(MISC:%=src/misc/%.o)
125
126 #
127 # Misc Objects
128
129 ifeq ($(NEED_GETOPT),1)
130 C_OBJ += extras/GNUgetopt/getopt.o extras/GNUgetopt/getopt1.o 
131 endif
132
133 ifeq ($(SYS),beos)
134 CPP_OBJ :=      src/misc/beos_specific.o
135 endif
136
137 ifneq (,$(findstring darwin,$(SYS)))
138 C_OBJ +=        src/misc/darwin_specific.o
139 endif
140
141 ifneq (,$(findstring mingw32,$(SYS)))
142 C_OBJ +=        src/misc/win32_specific.o
143 RESOURCE_OBJ := share/vlc_win32_rc.o
144 endif
145
146 VLC_OBJ := $(C_OBJ) $(CPP_OBJ) $(BUILTIN_OBJ) $(RESOURCE_OBJ)
147
148 #
149 # Generated header
150 #
151 H_OBJ :=        src/misc/modules_builtin.h
152
153 #
154 # Other lists of files
155 #
156 C_DEP := $(C_OBJ:%.o=.dep/%.d)
157 CPP_DEP := $(CPP_OBJ:%.o=.dep/%.dpp)
158
159 #
160 # Translate plugin names
161 #
162 ifneq (,$(PLUGINS))
163 PLUGIN_OBJ := $(shell for i in $(PLUGINS) ; do echo " "$(PLUGINS_TARGETS)" " | sed -e 's@.*/\('$$i'\) .*@plugins/\1.so@' -e 's@^ .*@@' ; done)
164 endif
165 ifneq (,$(BUILTINS))
166 BUILTIN_OBJ := $(shell for i in $(BUILTINS) ; do echo " "$(PLUGINS_TARGETS)" " | sed -e 's@.*/\('$$i'\) .*@plugins/\1.a@' -e 's@^ .*@@' ; done)
167 endif
168
169 #
170 # Misc variables
171 #
172 VLC_QUICKVERSION := $(shell grep '^ *VLC_VERSION=' configure.in | head -1 | sed 's/"//g' | cut -f2 -d=)
173 LIBDVDCSS_QUICKVERSION := $(shell grep '^ *LIBDVDCSS_VERSION=' configure.in | head -1 | sed 's/"//g' | cut -f2 -d=)
174
175
176 # All symbols must be exported
177 export
178
179 ###############################################################################
180 # Targets
181 ###############################################################################
182
183 #
184 # Virtual targets
185 #
186 all: Makefile.opts vlc ${ALIASES} vlc.app plugins po
187
188 Makefile.opts:
189         @echo "**** No configuration found, running ./configure..."
190         ./configure
191         $(MAKE) $(MAKECMDGOALS)
192         exit
193
194 show:
195         @echo CC: $(CC)
196         @echo CFLAGS: $(CFLAGS)
197         @echo DCFLAGS: $(DCFLAGS)
198         @echo LCFLAGS: $(LCFLAGS)
199         @echo PCFLAGS: $(PCFLAGS)
200         @echo PLCFLAGS: $(PLCFLAGS)
201         @echo C_OBJ: $(C_OBJ)
202         @echo CPP_OBJ: $(CPP_OBJ)
203         @echo PLUGIN_OBJ: $(PLUGIN_OBJ)
204         @echo BUILTIN_OBJ: $(BUILTIN_OBJ)
205
206 #
207 # Cleaning rules
208 #
209 clean: libdvdcss-clean libdvdread-clean plugins-clean po-clean vlc-clean
210         rm -f src/*/*.o extras/*/*.o
211         rm -f lib/*.so* lib/*.a
212         rm -f plugins/*.so plugins/*.a
213         rm -rf extras/MacOSX/build
214
215 libdvdcss-clean:
216         -cd extras/libdvdcss && $(MAKE) clean
217
218 po-clean:
219         -cd po && $(MAKE) clean
220
221 libdvdread-clean:
222         -cd extras/libdvdread && $(MAKE) clean
223
224 plugins-clean:
225         for dir in $(PLUGINS_DIR) ; do \
226                 ( cd plugins/$${dir} && $(MAKE) clean ) ; done
227         rm -f plugins/*/*.o plugins/*/*.moc plugins/*/*.bak
228
229 vlc-clean:
230         rm -f $(C_OBJ) $(CPP_OBJ)
231         rm -f vlc gnome-vlc gvlc kvlc qvlc vlc.exe
232         rm -Rf vlc.app
233
234 distclean: clean
235         -cd po && $(MAKE) distclean
236         rm -f **/*.o **/*~ *.log
237         rm -f Makefile.opts
238         rm -f include/defs.h include/config.h include/modules_builtin.h
239         rm -f src/misc/modules_builtin.h
240         rm -f config*status config*cache config*log
241         rm -f gmon.out core build-stamp
242         rm -Rf .dep
243         rm -f .gdb_history
244
245 #
246 # Install/uninstall rules
247 #
248 install: libdvdcss-install vlc-install plugins-install po-install
249
250 uninstall: libdvdcss-uninstall vlc-uninstall plugins-uninstall po-uninstall
251
252 vlc-install:
253         mkdir -p $(DESTDIR)$(bindir)
254         $(INSTALL) vlc $(DESTDIR)$(bindir)
255 ifneq (,$(ALIASES))
256         for alias in $(ALIASES) ; do if test $$alias ; then rm -f $(DESTDIR)$(bindir)/$$alias && ln -s vlc $(DESTDIR)$(bindir)/$$alias ; fi ; done
257 endif
258         mkdir -p $(DESTDIR)$(datadir)/videolan
259         $(INSTALL) -m 644 share/*.psf $(DESTDIR)$(datadir)/videolan
260         $(INSTALL) -m 644 share/*.png $(DESTDIR)$(datadir)/videolan
261         $(INSTALL) -m 644 share/*.xpm $(DESTDIR)$(datadir)/videolan
262
263 vlc-uninstall:
264         rm -f $(DESTDIR)$(bindir)/vlc
265 ifneq (,$(ALIASES))
266         for alias in $(ALIASES) ; do if test $$alias ; then rm -f $(DESTDIR)$(bindir)/$$alias ; fi ; done
267 endif
268         rm -f $(DESTDIR)$(datadir)/videolan/*.psf
269         rm -f $(DESTDIR)$(datadir)/videolan/*.png
270         rm -f $(DESTDIR)$(datadir)/videolan/*.xpm
271
272 plugins-install:
273         mkdir -p $(DESTDIR)$(libdir)/videolan/vlc
274 ifneq (,$(PLUGINS))
275         $(INSTALL) -m 644 $(PLUGINS:%=plugins/%.so) $(DESTDIR)$(libdir)/videolan/vlc
276 endif
277
278 plugins-uninstall:
279         rm -f $(DESTDIR)$(libdir)/videolan/vlc/*.so
280
281 libdvdcss-install:
282         -cd extras/libdvdcss && $(MAKE) install
283
284 libdvdcss-uninstall:
285         -cd extras/libdvdcss && $(MAKE) uninstall
286
287 po-install:
288         -cd po && $(MAKE) install
289
290 po-uninstall:
291         -cd po && $(MAKE) uninstall
292
293 #
294 # Package generation rules
295 #
296 snapshot-common:
297         # Check that tmp isn't in the way
298         @if test -e tmp; then \
299                 echo "Error: please remove ./tmp, it is in the way"; false; \
300         else \
301                 echo "OK."; mkdir tmp; \
302         fi
303         # Copy directory structure in tmp
304         find -type d | grep -v '\(\.dep\|snapshot\|CVS\)' | while read i ; \
305                 do mkdir -p tmp/vlc/$$i ; \
306         done
307         rm -Rf tmp/vlc/tmp
308         find debian -mindepth 1 -maxdepth 1 -type d | \
309                 while read i ; do rm -Rf tmp/vlc/$$i ; done
310         # Copy .c .h .in .cpp and .glade files
311         find include src plugins -type f -name '*.[chig]*' | while read i ; \
312                 do cp $$i tmp/vlc/$$i ; done
313         # Copy plugin Makefiles
314         find plugins -type f -name Makefile | while read i ; \
315                 do cp $$i tmp/vlc/$$i ; done
316         # Copy extra programs and documentation
317         cp -a extras/* tmp/vlc/extras
318         cp -a doc/* tmp/vlc/doc
319         find tmp/vlc/extras tmp/vlc/doc \
320                 -type d -name CVS -o -name '.*' -o -name '*.[o]' | \
321                         while read i ; do rm -Rf $$i ; done
322         # Copy gettext stuff
323         mkdir tmp/vlc/po
324         cp po/*.po tmp/vlc/po
325         for i in Makefile.in.in POTFILES.in ; do cp po/$$i tmp/vlc/po ; done
326         # Copy misc files
327         cp FAQ AUTHORS COPYING TODO todo.pl ChangeLog* README* INSTALL* \
328                 Makefile Makefile.opts.in Makefile.dep Makefile.modules \
329                 configure configure.in install-sh install-win32 vlc.spec \
330                 config.sub config.guess acconfig.h aclocal.m4 mkinstalldirs \
331                         tmp/vlc/
332         # Copy Debian control files
333         for file in debian/*dirs debian/*docs debian/*menu debian/*desktop \
334                 debian/*copyright ; do cp $$file tmp/vlc/debian ; done
335         for file in control changelog rules ; do \
336                 cp debian/$$file tmp/vlc/debian/ ; done
337         # Copy ipkg control files
338         for file in control rules ; do \
339                 cp ipkg/$$file tmp/vlc/ipkg/ ; done
340         # Copy fonts and icons
341         for file in share/*png share/*xpm share/*psf ; do \
342                 cp $$file tmp/vlc/share ; done
343         for file in vlc_beos.rsrc vlc.icns gvlc_win32.ico vlc_win32_rc.rc ; do \
344                         cp share/$$file tmp/vlc/share/ ; done
345
346 snapshot: snapshot-common
347         # Build archives
348         F=vlc-${VLC_QUICKVERSION}; \
349         mv tmp/vlc tmp/$$F; (cd tmp ; tar cf $$F.tar $$F); \
350         bzip2 -f -9 < tmp/$$F.tar > $$F.tar.bz2; \
351         gzip -f -9 tmp/$$F.tar ; mv tmp/$$F.tar.gz .
352         # Clean up
353         rm -Rf tmp
354
355 snapshot-nocss: snapshot-common
356         # Remove libdvdcss
357         rm -Rf tmp/vlc/extras/libdvdcss
358         rm -f tmp/vlc/*.libdvdcss
359         # Fix debian information
360         rm -f tmp/vlc/debian/libdvdcss*
361         rm -f tmp/vlc/debian/control
362         sed -e 's#^ DVDs# unencrypted DVDs#' < debian/control \
363                 | awk '{if(gsub("Package: libdvdcss",$$0))a=1;if(a==0)print $$0;if(a==1&&$$0=="")a=0}' \
364                 > tmp/vlc/debian/control
365         rm -f tmp/vlc/debian/rules
366         sed -e 's#^\(export LIBDVDCSS_FLAGS=\).*#\1"--without-dvdcss"#' < debian/rules \
367                 | awk '{if($$0=="# libdvdcss start")a=1;if(a==0)print $$0;if($$0=="# libdvdcss stop")a=0}' \
368                 > tmp/vlc/debian/rules
369         chmod +x tmp/vlc/debian/rules
370         # Build css-disabled archives
371         F=vlc-${VLC_QUICKVERSION}; G=vlc-${VLC_QUICKVERSION}-nocss; \
372         mv tmp/vlc tmp/$$F; (cd tmp ; tar cf $$G.tar $$F); \
373         bzip2 -f -9 < tmp/$$G.tar > $$G.tar.bz2; \
374         gzip -f -9 tmp/$$G.tar ; mv tmp/$$G.tar.gz .
375         # Clean up
376         rm -Rf tmp
377
378 package-win32:
379         # XXX: this rule is probably only useful to you if you have exactly
380         # the same setup as me. Contact sam@zoy.org if you need to use it.
381         #
382         # Check that tmp isn't in the way
383         @if test -e tmp; then \
384                 echo "Error: please remove ./tmp, it is in the way"; false; \
385         else \
386                 echo "OK."; mkdir tmp; \
387         fi
388         # Create installation script
389         sed -e 's#@VERSION@#'${VLC_QUICKVERSION}'#' < install-win32 > tmp/nsi
390         # Copy relevant files
391         cp vlc.exe plugins/directx.so plugins/gtk.so plugins/sdl.so tmp/ 
392         cp INSTALL-win32.txt AUTHORS COPYING ChangeLog ChangeLog.libdvdcss \
393                 README README.libdvdcss FAQ TODO tmp/
394         for file in gtk-1.3.dll gdk-1.3.dll glib-1.3.dll gmodule-1.3.dll \
395                 gnu-intl.dll SDL.dll README-SDL.txt ; \
396                         do cp ../win32-libs/$$file tmp/ ; done
397         mkdir tmp/share
398         for file in default8x16.psf default8x9.psf ; \
399                 do cp share/$$file tmp/share/ ; done
400         # Create package 
401         wine ~/.wine/fake_windows/Program\ Files/NSIS/makensis.exe /CD tmp/nsi
402         mv tmp/vlc-${VLC_QUICKVERSION}.exe \
403                 vlc-${VLC_QUICKVERSION}-win32-installer.exe
404         # Clean up
405         rm -Rf tmp
406
407 package-beos:
408         # Check that tmp isn't in the way
409         @if test -e tmp; then \
410                 echo "Error: please remove ./tmp, it is in the way"; false; \
411         else \
412                 echo "OK."; mkdir tmp; \
413         fi
414         
415         # Create dir
416         mkdir -p tmp/vlc/share
417         # Copy relevant files
418         cp vlc tmp/vlc/
419         cp AUTHORS COPYING ChangeLog ChangeLog.libdvdcss \
420                 README README.libdvdcss FAQ TODO tmp/vlc/
421         for file in default8x16.psf default8x9.psf ; \
422                 do cp share/$$file tmp/vlc/share/ ; done
423         # Create package 
424         mv tmp/vlc tmp/vlc-${VLC_QUICKVERSION}
425         (cd tmp ; find vlc-${VLC_QUICKVERSION} | \
426         zip -9 -@ vlc-${VLC_QUICKVERSION}-beos.zip )
427         mv tmp/vlc-${VLC_QUICKVERSION}-beos.zip .
428         # Clean up
429         rm -Rf tmp
430
431 libdvdcss-snapshot: snapshot-common
432         # Remove vlc sources and icons, doc, debian directory...
433         rm -Rf tmp/vlc/src tmp/vlc/share tmp/vlc/plugins tmp/vlc/doc
434         rm -Rf tmp/vlc/extras/GNUgetopt tmp/vlc/extras/MacOSX
435         rm -Rf tmp/vlc/debian
436         rm -Rf tmp/vlc/ipkg
437         # Remove useless headers
438         rm -f tmp/vlc/include/*
439         for file in defs.h.in config.h.in common.h int_types.h ; \
440                 do cp include/$$file tmp/vlc/include/ ; done
441         # Remove misc files (??? - maybe not really needed)
442         rm -f tmp/vlc/vlc.spec tmp/vlc/INSTALL-win32.txt
443         mv tmp/vlc/INSTALL.libdvdcss tmp/vlc/INSTALL
444         mv tmp/vlc/README.libdvdcss tmp/vlc/README
445         mv tmp/vlc/ChangeLog.libdvdcss tmp/vlc/ChangeLog
446         # Fix Makefile
447         rm -f tmp/vlc/Makefile
448         sed -e 's#^install:#install-unused:#' \
449                 -e 's#^uninstall:#uninstall-unused:#' \
450                 -e 's#^clean:#clean-unused:#' \
451                 -e 's#^all:.*#all: libdvdcss#' \
452                 -e 's#^libdvdcss-install:#install:#' \
453                 -e 's#^libdvdcss-uninstall:#uninstall:#' \
454                 -e 's#^libdvdcss-clean:#clean:#' \
455                 < Makefile > tmp/vlc/Makefile
456         # Build archives
457         F=libdvdcss-${LIBDVDCSS_QUICKVERSION}; \
458         mv tmp/vlc tmp/$$F; (cd tmp ; tar cf $$F.tar $$F); \
459         bzip2 -f -9 < tmp/$$F.tar > $$F.tar.bz2; \
460         gzip -f -9 tmp/$$F.tar ; mv tmp/$$F.tar.gz .
461         # Clean up
462         rm -Rf tmp
463
464 deb:
465         dpkg-buildpackage -rfakeroot -us -uc
466
467 #
468 # Gtk/Gnome/* aliases and OS X application
469 #
470 gnome-vlc gvlc kvlc qvlc: vlc
471         rm -f $@ && ln -s vlc $@
472
473 .PHONY: vlc.app
474 vlc.app: Makefile.opts
475 ifneq (,$(findstring darwin,$(SYS)))
476         rm -Rf vlc.app
477         cd extras/MacOSX ; pbxbuild | grep -v '^ ' | grep -v '^\t'
478         cp -r extras/MacOSX/build/vlc.bundle ./vlc.app
479         $(INSTALL) -d vlc.app/Contents/MacOS/share
480         $(INSTALL) -d vlc.app/Contents/MacOS/plugins
481         $(INSTALL) vlc vlc.app/Contents/MacOS/
482 ifneq (,$(PLUGINS))
483         $(INSTALL) $(PLUGINS:%=plugins/%.so) vlc.app/Contents/MacOS/plugins
484 endif
485         $(INSTALL) -m 644 share/*.psf vlc.app/Contents/MacOS/share
486 endif
487
488 FORCE:
489
490 #
491 # Generic rules (see below)
492 #
493 $(C_DEP): %.d: FORCE
494         @$(MAKE) -s --no-print-directory -f Makefile.dep $@
495
496 $(CPP_DEP): %.dpp: FORCE
497         @$(MAKE) -s --no-print-directory -f Makefile.dep $@
498
499 $(H_OBJ): Makefile.opts Makefile.dep Makefile
500         rm -f $@ && cp $@.in $@
501 ifneq (,$(BUILTINS))
502         for i in $(BUILTINS) ; do \
503                 echo "int module_"$$i"_InitModule( module_t* );" >> $@ ; \
504                 echo "int module_"$$i"_ActivateModule( module_t* );" >> $@ ; \
505                 echo "int module_"$$i"_DeactivateModule( module_t* );" >> $@ ; \
506         done
507         echo "" >> $@ ;
508         printf "#define ALLOCATE_ALL_BUILTINS() do { " >> $@ ;
509         for i in $(BUILTINS) ; do \
510                 printf "ALLOCATE_BUILTIN("$$i"); " >> $@ ; \
511         done
512         echo "} while( 0 );" >> $@ ;
513         echo "" >> $@ ;
514 endif
515
516 $(C_OBJ): %.o: Makefile.opts Makefile.dep Makefile
517 $(C_OBJ): %.o: .dep/%.d
518 $(C_OBJ): %.o: %.c
519         $(CC) $(CFLAGS) -c -o $@ $<
520
521 $(CPP_OBJ): %.o: Makefile.opts Makefile.dep Makefile
522 $(CPP_OBJ): %.o: .dep/%.dpp
523 $(CPP_OBJ): %.o: %.cpp
524         $(CC) $(CFLAGS) -c -o $@ $<
525
526 $(RESOURCE_OBJ): %.o: Makefile.dep Makefile
527 ifneq (,(findstring mingw32,$(SYS)))
528 $(RESOURCE_OBJ): %.o: %.rc
529         $(WINDRES) -i $< -o $@
530 endif
531
532 #
533 # Main application target
534 #
535 vlc: Makefile.opts Makefile.dep Makefile $(H_OBJ) $(VLC_OBJ) $(BUILTIN_OBJ)
536         $(CC) $(CFLAGS) -o $@ $(VLC_OBJ) $(BUILTIN_OBJ) $(LCFLAGS)
537 ifeq ($(SYS),beos)
538         xres -o $@ ./share/vlc_beos.rsrc
539         mimeset -f $@
540 endif
541
542 #
543 # Plugins target
544 #
545 plugins: Makefile.modules Makefile.opts Makefile.dep Makefile $(PLUGIN_OBJ)
546 $(PLUGIN_OBJ): FORCE
547         @cd $(shell echo " "$(PLUGINS_TARGETS)" " | sed -e 's@.* \([^/]*/\)'$(@:plugins/%.so=%)' .*@plugins/\1@' -e 's@^ .*@@') && $(MAKE) $(@:plugins/%=../%)
548
549 #
550 # Built-in modules target
551 #
552 builtins: Makefile.modules Makefile.opts Makefile.dep Makefile $(BUILTIN_OBJ)
553 $(BUILTIN_OBJ): FORCE
554         @cd $(shell echo " "$(PLUGINS_TARGETS)" " | sed -e 's@.* \([^/]*/\)'$(@:plugins/%.a=%)' .*@plugins/\1@' -e 's@^ .*@@') && $(MAKE) $(@:plugins/%=../%)
555
556 #
557 # libdvdcss target
558 #
559 libdvdcss: Makefile.opts
560         @cd extras/libdvdcss && $(MAKE)
561
562 #
563 # libdvdread target
564 #
565 libdvdread: Makefile.opts
566         @cd extras/libdvdread && $(MAKE)
567
568 #
569 # gettext target
570 #
571 po: FORCE
572         @cd po && $(MAKE)
573