Mercurial > mplayer.hg
comparison Makefile @ 4824:e2df1d29d0f7
Change in configure relative to lirc, same thing in Makefile plus
some cleanup (COMMONS_LIB is now really common :)
author | albeu |
---|---|
date | Sat, 23 Feb 2002 21:20:16 +0000 |
parents | c39affa2b376 |
children | 4ad0455a8a6d |
comparison
equal
deleted
inserted
replaced
4823:d25b898c4c44 | 4824:e2df1d29d0f7 |
---|---|
49 | 49 |
50 AO_LIBS = -Llibao2 -lao2 | 50 AO_LIBS = -Llibao2 -lao2 |
51 A_LIBS = $(ALSA_LIB) $(NAS_LIB) $(MAD_LIB) $(VORBIS_LIB) $(SGIAUDIO_LIB) | 51 A_LIBS = $(ALSA_LIB) $(NAS_LIB) $(MAD_LIB) $(VORBIS_LIB) $(SGIAUDIO_LIB) |
52 | 52 |
53 CODEC_LIBS = -Lg72x -lg72x -Lmp3lib -lMP3 -Llibac3 -lac3 -Lliba52 -la52 -Lxa -lxa -Llibmpeg2 -lmpeg2 $(AV_LIB) | 53 CODEC_LIBS = -Lg72x -lg72x -Lmp3lib -lMP3 -Llibac3 -lac3 -Lliba52 -la52 -Lxa -lxa -Llibmpeg2 -lmpeg2 $(AV_LIB) |
54 COMMON_LIBS = -Llinux -losdep -Lpostproc -lpostproc | 54 COMMON_LIBS = $(CODEC_LIBS) -Llibmpdemux -lmpdemux $(NEW_INPUT_LIB) $(LIB_LOADER) $(A_LIBS) $(CSS_LIB) $(ARCH_LIB) $(DECORE_LIB) $(TERMCAP_LIB) $(STREAMING_LIB) $(Z_LIB) $(GTK_LIBS) $(PNG_LIB) -Llinux -losdep -Lpostproc -lpostproc -lm |
55 ifeq ($(VIDIX),yes) | 55 ifeq ($(VIDIX),yes) |
56 MISC_LIBS += -Llibdha -ldha -Lvidix -lvidix | 56 MISC_LIBS += -Llibdha -ldha -Lvidix -lvidix |
57 endif | 57 endif |
58 CFLAGS = $(OPTFLAGS) -Ilibmpdemux -Iloader $(VO_INC) $(EXTRA_INC) # -Wall | 58 CFLAGS = $(OPTFLAGS) -Ilibmpdemux -Iloader $(VO_INC) $(EXTRA_INC) # -Wall |
59 | 59 |
97 # $(PRG_AVIP) | 97 # $(PRG_AVIP) |
98 | 98 |
99 .c.o: | 99 .c.o: |
100 $(CC) -c $(CFLAGS) -o $@ $< | 100 $(CC) -c $(CFLAGS) -o $@ $< |
101 | 101 |
102 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 | 102 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 |
103 | 103 |
104 ifeq ($(VIDIX),yes) | 104 ifeq ($(VIDIX),yes) |
105 COMMON_DEPS += libdha/libdha.so vidix/libvidix.a | 105 COMMON_DEPS += libdha/libdha.so vidix/libvidix.a |
106 endif | 106 endif |
107 ifeq ($(VO2),yes) | 107 ifeq ($(VO2),yes) |
177 $(MAKE) -C g72x | 177 $(MAKE) -C g72x |
178 | 178 |
179 input/libinput.a: | 179 input/libinput.a: |
180 $(MAKE) -C input | 180 $(MAKE) -C input |
181 | 181 |
182 MPLAYER_DEP = $(OBJS_MPLAYER) $(LOADER_DEP) $(MP1E_DEP) $(AV_DEP) $(COMMON_DEPS) input/libinput.a | 182 MPLAYER_DEP = $(OBJS_MPLAYER) $(LOADER_DEP) $(MP1E_DEP) $(AV_DEP) $(COMMON_DEPS) |
183 MENCODER_DEP = $(OBJS_MENCODER) $(LOADER_DEP) $(MP1E_DEP) $(AV_DEP) $(COMMON_DEPS) | 183 MENCODER_DEP = $(OBJS_MENCODER) $(LOADER_DEP) $(MP1E_DEP) $(AV_DEP) $(COMMON_DEPS) |
184 | 184 |
185 ifeq ($(GUI),yes) | 185 ifeq ($(GUI),yes) |
186 MPLAYER_DEP += Gui/libgui.a | 186 MPLAYER_DEP += Gui/libgui.a |
187 MENCODER_DEP += Gui/libgui.a | 187 MENCODER_DEP += Gui/libgui.a |
192 ifeq ($(VIDIX),yes) | 192 ifeq ($(VIDIX),yes) |
193 VIDIX_LIBS += -Lvidix -lvidix | 193 VIDIX_LIBS += -Lvidix -lvidix |
194 endif | 194 endif |
195 | 195 |
196 $(PRG): $(MPLAYER_DEP) | 196 $(PRG): $(MPLAYER_DEP) |
197 $(CC) $(CFLAGS) -o $(PRG) $(OBJS_MPLAYER) $(CODEC_LIBS) -Llibmpdemux -lmpdemux $(VO_LIBS) $(GUI_LIBS) $(AO_LIBS) $(LIB_LOADER) $(COMMON_LIBS) $(EXTRA_LIB) $(A_LIBS) $(V_LIBS) $(LIRC_LIB) $(CSS_LIB) $(ARCH_LIB) $(DECORE_LIB) $(TERMCAP_LIB) $(STATIC_LIB) $(GTK_LIBS) $(PNG_LIB) $(Z_LIB) $(STREAMING_LIB) $(VIDIX_LIBS) -Linput -linput -lm | 197 $(CC) $(CFLAGS) -o $(PRG) $(OBJS_MPLAYER) $(VO_LIBS) $(COMMON_LIBS) $(EXTRA_LIB) $(V_LIBS) $(AO_LIBS) $(VIDIX_LIBS) $(GUI_LIBS) $(LIRC_LIB) $(STATIC_LIB) |
198 | 198 |
199 $(PRG_FIBMAP): fibmap_mplayer.o | 199 $(PRG_FIBMAP): fibmap_mplayer.o |
200 $(CC) -o $(PRG_FIBMAP) fibmap_mplayer.o | 200 $(CC) -o $(PRG_FIBMAP) fibmap_mplayer.o |
201 | 201 |
202 ifeq ($(MENCODER),yes) | 202 ifeq ($(MENCODER),yes) |
203 $(PRG_MENCODER): $(MENCODER_DEP) | 203 $(PRG_MENCODER): $(MENCODER_DEP) |
204 $(CC) $(CFLAGS) -o $(PRG_MENCODER) $(OBJS_MENCODER) $(CODEC_LIBS) $(MLIB_LIB) -Llibmpdemux -lmpdemux $(LIB_LOADER) $(COMMON_LIBS) $(EXTRA_LIB) $(A_LIBS) $(CSS_LIB) $(GTK_LIBS) $(PNG_LIB) $(Z_LIB) $(ARCH_LIB) $(DECORE_LIB) $(ENCORE_LIB) $(TERMCAP_LIB) $(STREAMING_LIB) -lm | 204 $(CC) $(CFLAGS) -o $(PRG_MENCODER) $(OBJS_MENCODER) $(COMMON_LIBS) $(EXTRA_LIB) $(ENCORE_LIB) $(MLIB_LIB) |
205 endif | 205 endif |
206 | 206 |
207 # Every mplayer dependancy depends on version.h, to force building version.h | 207 # Every mplayer dependancy depends on version.h, to force building version.h |
208 # first (in serial mode) before any other of the dependancies for a parallel make | 208 # first (in serial mode) before any other of the dependancies for a parallel make |
209 # run. This is necessary, because the make rule for version.h removes objects | 209 # run. This is necessary, because the make rule for version.h removes objects |