comparison Makefile @ 26496:99320e745ef3

Merge dvdread/Makefile into top-level Makefile.
author diego
date Fri, 25 Apr 2008 08:25:17 +0000
parents bfe8f4c47e45
children 94377468b14d
comparison
equal deleted inserted replaced
26495:8fab1036b73f 26496:99320e745ef3
217 SRCS_COMMON-$(DVBIN) += stream/dvb_tune.c \ 217 SRCS_COMMON-$(DVBIN) += stream/dvb_tune.c \
218 stream/stream_dvb.c 218 stream/stream_dvb.c
219 SRCS_COMMON-$(DVDNAV) += stream/stream_dvdnav.c 219 SRCS_COMMON-$(DVDNAV) += stream/stream_dvdnav.c
220 SRCS_COMMON-$(DVDREAD) += stream/stream_dvd.c \ 220 SRCS_COMMON-$(DVDREAD) += stream/stream_dvd.c \
221 stream/stream_dvd_common.c 221 stream/stream_dvd_common.c
222 SRCS_COMMON-$(DVDREAD_INTERNAL) += dvdread/cmd_print.c \
223 dvdread/dvd_input.c \
224 dvdread/dvd_reader.c \
225 dvdread/dvd_udf.c \
226 dvdread/ifo_print.c \
227 dvdread/ifo_read.c \
228 dvdread/md5.c \
229 dvdread/nav_print.c \
230 dvdread/nav_read.c \
231
222 SRCS_COMMON-$(FAAD) += libmpcodecs/ad_faad.c 232 SRCS_COMMON-$(FAAD) += libmpcodecs/ad_faad.c
223 SRCS_COMMON-$(FREETYPE) += libvo/font_load_ft.c 233 SRCS_COMMON-$(FREETYPE) += libvo/font_load_ft.c
224 SRCS_COMMON-$(FTP) += stream/stream_ftp.c 234 SRCS_COMMON-$(FTP) += stream/stream_ftp.c
225 SRCS_COMMON-$(GIF) += libmpdemux/demux_gif.c 235 SRCS_COMMON-$(GIF) += libmpdemux/demux_gif.c
226 SRCS_COMMON-$(HAVE_POSIX_SELECT) += libmpcodecs/vf_bmovl.c 236 SRCS_COMMON-$(HAVE_POSIX_SELECT) += libmpcodecs/vf_bmovl.c
525 COMMON_LIBS-$(LIBPOSTPROC_A) += libpostproc/libpostproc.a 535 COMMON_LIBS-$(LIBPOSTPROC_A) += libpostproc/libpostproc.a
526 COMMON_LIBS-$(WIN32DLL) += loader/loader.a 536 COMMON_LIBS-$(WIN32DLL) += loader/loader.a
527 COMMON_LIBS-$(MP3LIB) += mp3lib/mp3lib.a 537 COMMON_LIBS-$(MP3LIB) += mp3lib/mp3lib.a
528 COMMON_LIBS-$(LIBA52) += liba52/liba52.a 538 COMMON_LIBS-$(LIBA52) += liba52/liba52.a
529 COMMON_LIBS-$(LIBMPEG2) += libmpeg2/libmpeg2.a 539 COMMON_LIBS-$(LIBMPEG2) += libmpeg2/libmpeg2.a
530 COMMON_LIBS-$(DVDREAD_INTERNAL) += dvdread/dvdread.a
531 540
532 LIBS_MPLAYER-$(VIDIX) += vidix/vidix.a 541 LIBS_MPLAYER-$(VIDIX) += vidix/vidix.a
533 542
534 ALL_PRG-$(MPLAYER) += mplayer$(EXESUF) 543 ALL_PRG-$(MPLAYER) += mplayer$(EXESUF)
535 ALL_PRG-$(MENCODER) += mencoder$(EXESUF) 544 ALL_PRG-$(MENCODER) += mencoder$(EXESUF)
545 INSTALL_TARGETS-$(MPLAYER) += install-mplayer install-mplayer-man 554 INSTALL_TARGETS-$(MPLAYER) += install-mplayer install-mplayer-man
546 INSTALL_TARGETS-$(MENCODER) += install-mencoder install-mplayer-man 555 INSTALL_TARGETS-$(MENCODER) += install-mencoder install-mplayer-man
547 INSTALL_TARGETS-$(GUI) += install-gui 556 INSTALL_TARGETS-$(GUI) += install-gui
548 INSTALL_TARGETS += $(INSTALL_TARGETS-yes) 557 INSTALL_TARGETS += $(INSTALL_TARGETS-yes)
549 558
550 PARTS = dvdread \ 559 PARTS = liba52 \
551 liba52 \
552 libavcodec \ 560 libavcodec \
553 libavformat \ 561 libavformat \
554 libavutil \ 562 libavutil \
555 libmpeg2 \ 563 libmpeg2 \
556 libpostproc \ 564 libpostproc \
560 568
561 ifdef ARCH_X86 569 ifdef ARCH_X86
562 PARTS += loader 570 PARTS += loader
563 endif 571 endif
564 572
565 DIRS = gui \ 573 DIRS = dvdread \
574 gui \
566 gui/mplayer \ 575 gui/mplayer \
567 gui/mplayer/gtk \ 576 gui/mplayer/gtk \
568 gui/skin \ 577 gui/skin \
569 gui/wm \ 578 gui/wm \
570 gui/win32 \ 579 gui/win32 \
632 $(CC) -I. -DTESTING codec-cfg.c mp_msg.o osdep/getch2.o -ltermcap -o $@ 641 $(CC) -I. -DTESTING codec-cfg.c mp_msg.o osdep/getch2.o -ltermcap -o $@
633 642
634 osdep/mplayer-rc.o: osdep/mplayer.rc version.h 643 osdep/mplayer-rc.o: osdep/mplayer.rc version.h
635 $(WINDRES) -o $@ $< 644 $(WINDRES) -o $@ $<
636 645
646 dvdread/%.o dvdread/%.d: CFLAGS += -D__USE_UNIX98 -D_GNU_SOURCE
647 ifeq ($(LIBDVDCSS_INTERNAL),yes)
648 dvdread/%.o dvdread/%.d: CFLAGS += -Ilibdvdcss -DHAVE_DVDCSS_DVDCSS_H
649 endif
637 libdvdcss/%.o libdvdcss/%.d: CFLAGS += -D__USE_UNIX98 -D_GNU_SOURCE -DVERSION=\"1.2.9\" 650 libdvdcss/%.o libdvdcss/%.d: CFLAGS += -D__USE_UNIX98 -D_GNU_SOURCE -DVERSION=\"1.2.9\"
638 libfaad2/%.o libfaad2/%.d: CFLAGS += -Ilibfaad2 -D_GNU_SOURCE 651 libfaad2/%.o libfaad2/%.d: CFLAGS += -Ilibfaad2 -D_GNU_SOURCE
639 652
640 libmpdemux/demux_lavf.o libmpdemux/demux_lavf.d libmpdemux/mp_taglists.o libmpdemux/mp_taglists.d: CFLAGS += -Ilibavcodec 653 libmpdemux/demux_lavf.o libmpdemux/demux_lavf.d libmpdemux/mp_taglists.o libmpdemux/mp_taglists.d: CFLAGS += -Ilibavcodec
641 654
799 %.so.6.0: %.o 812 %.so.6.0: %.o
800 ld -shared -o $@ $< -ldl -lc 813 ld -shared -o $@ $< -ldl -lc
801 814
802 # FIXME: netstream linking is a mess that should be fixed properly some day. 815 # FIXME: netstream linking is a mess that should be fixed properly some day.
803 # It does not work with either GUI, LIVE555, libavformat, cdparanoia enabled. 816 # It does not work with either GUI, LIVE555, libavformat, cdparanoia enabled.
804 NETSTREAM_DEPS = dvdread/libdvdread.a \ 817 NETSTREAM_DEPS = libavutil/libavutil.a \
805 libavutil/libavutil.a \
806 m_option.o \ 818 m_option.o \
807 m_struct.o \ 819 m_struct.o \
808 $(TOOLS_COMMON_LIBS) 820 $(TOOLS_COMMON_LIBS)
809 821
810 TOOLS/netstream$(EXESUF): TOOLS/netstream.o $(NETSTREAM_DEPS) 822 TOOLS/netstream$(EXESUF): TOOLS/netstream.o $(NETSTREAM_DEPS)