Mercurial > mplayer.hg
comparison Makefile @ 22837:2e506e1c8d85
Build libdha statically like all the other libraries.
author | diego |
---|---|
date | Sat, 31 Mar 2007 13:37:29 +0000 |
parents | 98eaf29b5dee |
children | ebfd79a43300 |
comparison
equal
deleted
inserted
replaced
22836:e547888c4413 | 22837:2e506e1c8d85 |
---|---|
211 $(MAKE) -C mp3lib | 211 $(MAKE) -C mp3lib |
212 | 212 |
213 tremor/libvorbisidec.a: | 213 tremor/libvorbisidec.a: |
214 $(MAKE) -C tremor | 214 $(MAKE) -C tremor |
215 | 215 |
216 libdha/libdha.so: | 216 libdha/libdha.a: |
217 $(MAKE) -C libdha | 217 $(MAKE) -C libdha |
218 | 218 |
219 vidix/libvidix.a: libdha/libdha.so | 219 vidix/libvidix.a: libdha/libdha.a |
220 $(MAKE) -C vidix | 220 $(MAKE) -C vidix |
221 $(MAKE) -C vidix/drivers | 221 $(MAKE) -C vidix/drivers |
222 | 222 |
223 Gui/libgui.a: | 223 Gui/libgui.a: |
224 $(MAKE) -C Gui | 224 $(MAKE) -C Gui |
296 $(INSTALL) -m 644 etc/mplayer.xpm $(prefix)/share/pixmaps/ | 296 $(INSTALL) -m 644 etc/mplayer.xpm $(prefix)/share/pixmaps/ |
297 $(INSTALL) -d $(prefix)/share/applications | 297 $(INSTALL) -d $(prefix)/share/applications |
298 $(INSTALL) -m 644 etc/mplayer.desktop $(prefix)/share/applications/ | 298 $(INSTALL) -m 644 etc/mplayer.desktop $(prefix)/share/applications/ |
299 | 299 |
300 install-vidix: | 300 install-vidix: |
301 $(MAKE) -C libdha install | |
302 mkdir -p $(LIBDIR)/mplayer/vidix | 301 mkdir -p $(LIBDIR)/mplayer/vidix |
303 $(INSTALL) -m 755 $(INSTALLSTRIP) -p vidix/drivers/*.so $(LIBDIR)/mplayer/vidix | 302 $(INSTALL) -m 755 $(INSTALLSTRIP) -p vidix/drivers/*.so $(LIBDIR)/mplayer/vidix |
304 | 303 |
305 uninstall: | 304 uninstall: |
306 -rm -f $(BINDIR)/mplayer$(EXESUF) $(BINDIR)/gmplayer$(EXESUF) | 305 -rm -f $(BINDIR)/mplayer$(EXESUF) $(BINDIR)/gmplayer$(EXESUF) |
313 rm -f $(MANDIR)/$$l/man1/mplayer.1 \ | 312 rm -f $(MANDIR)/$$l/man1/mplayer.1 \ |
314 $(MANDIR)/$$l/man1/mencoder.1 \ | 313 $(MANDIR)/$$l/man1/mencoder.1 \ |
315 $(MANDIR)/$$l/man1/gmplayer.1 ; \ | 314 $(MANDIR)/$$l/man1/gmplayer.1 ; \ |
316 fi ; \ | 315 fi ; \ |
317 done | 316 done |
318 $(MAKE) -C libdha uninstall | |
319 rm -f $(LIBDIR)/mplayer/vidix/*.so | 317 rm -f $(LIBDIR)/mplayer/vidix/*.so |
320 -rmdir -p $(LIBDIR)/mplayer/vidix | 318 -rmdir -p $(LIBDIR)/mplayer/vidix |
321 | 319 |
322 dep depend: help_mp.h version.h codecs.conf.h | 320 dep depend: help_mp.h version.h codecs.conf.h |
323 $(CC) -MM $(CFLAGS) $(SRCS_MPLAYER) $(SRCS_MENCODER) $(SRCS_COMMON) 1>.depend | 321 $(CC) -MM $(CFLAGS) $(SRCS_MPLAYER) $(SRCS_MENCODER) $(SRCS_COMMON) 1>.depend |
416 liba52/liba52.a: .norecurse $(wildcard liba52/*.[ch]) | 414 liba52/liba52.a: .norecurse $(wildcard liba52/*.[ch]) |
417 mp3lib/libmp3.a: .norecurse $(wildcard mp3lib/*.[ch]) | 415 mp3lib/libmp3.a: .norecurse $(wildcard mp3lib/*.[ch]) |
418 libfaad2/libfaad2.a: .norecurse $(wildcard libfaad2/*.[ch] libfaad2/*/*.[ch]) | 416 libfaad2/libfaad2.a: .norecurse $(wildcard libfaad2/*.[ch] libfaad2/*/*.[ch]) |
419 | 417 |
420 loader/libloader.a: .norecurse $(wildcard loader/*.[chSs]) | 418 loader/libloader.a: .norecurse $(wildcard loader/*.[chSs]) |
421 libdha/libdha.so: .norecurse $(wildcard libdha/*.[ch]) | 419 libdha/libdha.a: .norecurse $(wildcard libdha/*.[ch]) |
422 vidix/libvidix.a: .norecurse $(wildcard vidix/*.[ch]) | 420 vidix/libvidix.a: .norecurse $(wildcard vidix/*.[ch]) |
423 Gui/libgui.a: .norecurse $(wildcard Gui/*.[ch] Gui/*/*.[ch] Gui/*/*/*.[ch]) | 421 Gui/libgui.a: .norecurse $(wildcard Gui/*.[ch] Gui/*/*.[ch] Gui/*/*/*.[ch]) |
424 | 422 |
425 libass/libass.a: .norecurse $(wildcard libass/*.[ch]) | 423 libass/libass.a: .norecurse $(wildcard libass/*.[ch]) |
426 | 424 |