comparison Makefile @ 5009:515efcc3cd4d

using libmpcodecs by default
author arpi
date Sun, 10 Mar 2002 00:15:21 +0000
parents ca4b8b6b1175
children ef8a43b74075
comparison
equal deleted inserted replaced
5008:6f6eebff5bd7 5009:515efcc3cd4d
35 MANDIR = ${prefix}/man 35 MANDIR = ${prefix}/man
36 36
37 # a BSD compatible 'install' program 37 # a BSD compatible 'install' program
38 INSTALL = install 38 INSTALL = install
39 39
40 SRCS_COMMON = cyuv.c adpcm.c xacodec.c cpudetect.c mp_msg.c ac3-iec958.c dec_audio.c dec_video.c msvidc.c cinepak.c fli.c qtrle.c codec-cfg.c cfgparser.c my_profile.c RTjpegN.c minilzo.c nuppelvideo.c spudec.c playtree.c playtreeparser.c asxparser.c qtsmc.c ducktm1.c roqav.c qtrpza.c 40 SRCS_COMMON = cyuv.c adpcm.c xacodec.c cpudetect.c mp_msg.c ac3-iec958.c dec_audio.c msvidc.c cinepak.c fli.c qtrle.c codec-cfg.c cfgparser.c my_profile.c RTjpegN.c minilzo.c nuppelvideo.c spudec.c playtree.c playtreeparser.c asxparser.c qtsmc.c ducktm1.c roqav.c qtrpza.c
41 SRCS_MENCODER = mencoder.c $(SRCS_COMMON) libao2/afmt.c divx4_vbr.c libvo/aclib.c libvo/img_format.c libvo/osd.c me-opt-reg.c 41 SRCS_MENCODER = mencoder.c $(SRCS_COMMON) libao2/afmt.c divx4_vbr.c libvo/aclib.c libvo/img_format.c libvo/osd.c me-opt-reg.c
42 SRCS_MPLAYER = mplayer.c $(SRCS_COMMON) find_sub.c subreader.c lirc_mp.c mixer.c vobsub.c mp-opt-reg.c 42 SRCS_MPLAYER = mplayer.c $(SRCS_COMMON) find_sub.c subreader.c lirc_mp.c mixer.c vobsub.c mp-opt-reg.c
43 43
44 OBJS_MENCODER = $(SRCS_MENCODER:.c=.o) 44 OBJS_MENCODER = $(SRCS_MENCODER:.c=.o)
45 OBJS_MPLAYER = $(SRCS_MPLAYER:.c=.o) 45 OBJS_MPLAYER = $(SRCS_MPLAYER:.c=.o)
58 V_LIBS = $(X_LIB) $(MP1E_LIB) $(GGI_LIB) $(MLIB_LIB) $(PNG_LIB) $(SDL_LIB) $(SVGA_LIB) $(AA_LIB) $(DIRECTFB_LIB) 58 V_LIBS = $(X_LIB) $(MP1E_LIB) $(GGI_LIB) $(MLIB_LIB) $(PNG_LIB) $(SDL_LIB) $(SVGA_LIB) $(AA_LIB) $(DIRECTFB_LIB)
59 59
60 AO_LIBS = -Llibao2 -lao2 60 AO_LIBS = -Llibao2 -lao2
61 A_LIBS = $(ALSA_LIB) $(NAS_LIB) $(MAD_LIB) $(VORBIS_LIB) $(SGIAUDIO_LIB) 61 A_LIBS = $(ALSA_LIB) $(NAS_LIB) $(MAD_LIB) $(VORBIS_LIB) $(SGIAUDIO_LIB)
62 62
63 CODEC_LIBS = -Lg72x -lg72x -Lmp3lib -lMP3 -Llibac3 -lac3 -Lliba52 -la52 -Lxa -lxa -Llibmpeg2 -lmpeg2 $(AV_LIB) 63 CODEC_LIBS = -Llibmpcodecs -lmpcodecs -Lg72x -lg72x -Lmp3lib -lMP3 -Llibac3 -lac3 -Lliba52 -la52 -Lxa -lxa -Llibmpeg2 -lmpeg2 $(AV_LIB)
64 COMMON_LIBS = $(CODEC_LIBS) -Llibmpdemux -lmpdemux $(NEW_INPUT_LIB) $(LIB_LOADER) $(A_LIBS) $(CSS_LIB) $(ARCH_LIB) -Lpostproc -lpostproc $(DECORE_LIB) -Llinux -losdep $(TERMCAP_LIB) $(STREAMING_LIB) $(Z_LIB) $(GTK_LIBS) $(PNG_LIB) -lm 64 COMMON_LIBS = $(CODEC_LIBS) -Llibmpdemux -lmpdemux $(NEW_INPUT_LIB) $(LIB_LOADER) $(A_LIBS) $(CSS_LIB) $(ARCH_LIB) -Lpostproc -lpostproc $(DECORE_LIB) -Llinux -losdep $(TERMCAP_LIB) $(STREAMING_LIB) $(Z_LIB) $(GTK_LIBS) $(PNG_LIB) -lm
65 ifeq ($(VIDIX),yes) 65 ifeq ($(VIDIX),yes)
66 MISC_LIBS += -Llibdha -ldha -Lvidix -lvidix 66 MISC_LIBS += -Llibdha -ldha -Lvidix -lvidix
67 endif 67 endif
68 CFLAGS = $(OPTFLAGS) -Ilibmpdemux -Iloader $(VO_INC) $(EXTRA_INC) # -Wall 68 CFLAGS = $(OPTFLAGS) -Ilibmpdemux -Iloader $(VO_INC) $(EXTRA_INC) # -Wall
69 69
70 PARTS = g72x libmpdemux mp3lib libac3 liba52 libmp1e libmpeg2 libavcodec opendivx libao2 drivers drivers/syncfb linux postproc xa input 70 PARTS = g72x libmpdemux libmpcodecs mp3lib libac3 liba52 libmp1e libmpeg2 libavcodec opendivx libao2 drivers drivers/syncfb linux postproc xa input
71 ifeq ($(VIDIX),yes) 71 ifeq ($(VIDIX),yes)
72 PARTS += libdha vidix 72 PARTS += libdha vidix
73 endif 73 endif
74 ifeq ($(VO2),yes) 74 ifeq ($(VO2),yes)
75 PARTS += libvo2 75 PARTS += libvo2
107 # $(PRG_AVIP) 107 # $(PRG_AVIP)
108 108
109 .c.o: 109 .c.o:
110 $(CC) -c $(CFLAGS) -o $@ $< 110 $(CC) -c $(CFLAGS) -o $@ $<
111 111
112 COMMON_DEPS = g72x/libg72x.a libmpdemux/libmpdemux.a libao2/libao2.a libac3/libac3.a liba52/liba52.a mp3lib/libMP3.a libmpeg2/libmpeg2.a linux/libosdep.a postproc/libpostproc.a opendivx/libdecore.a xa/libxa.a input/libinput.a 112 COMMON_DEPS = g72x/libg72x.a libmpdemux/libmpdemux.a libmpcodecs/libmpcodecs.a libao2/libao2.a libac3/libac3.a liba52/liba52.a mp3lib/libMP3.a libmpeg2/libmpeg2.a linux/libosdep.a postproc/libpostproc.a opendivx/libdecore.a xa/libxa.a input/libinput.a
113 113
114 ifeq ($(VIDIX),yes) 114 ifeq ($(VIDIX),yes)
115 COMMON_DEPS += libdha/libdha.so vidix/libvidix.a 115 COMMON_DEPS += libdha/libdha.so vidix/libvidix.a
116 endif 116 endif
117 ifeq ($(VO2),yes) 117 ifeq ($(VO2),yes)
123 loader/libloader.a: 123 loader/libloader.a:
124 $(MAKE) -C loader 124 $(MAKE) -C loader
125 125
126 libmpdemux/libmpdemux.a: 126 libmpdemux/libmpdemux.a:
127 $(MAKE) -C libmpdemux 127 $(MAKE) -C libmpdemux
128
129 libmpcodecs/libmpcodecs.a:
130 $(MAKE) -C libmpcodecs
128 131
129 loader/DirectShow/libDS_Filter.a: 132 loader/DirectShow/libDS_Filter.a:
130 $(MAKE) -C loader/DirectShow 133 $(MAKE) -C loader/DirectShow
131 134
132 loader/dshow/libDS_Filter.a: 135 loader/dshow/libDS_Filter.a: