comparison Makefile @ 4924:ca4b8b6b1175

fix linking order
author atmos4
date Sun, 03 Mar 2002 13:36:57 +0000
parents 6434171a8f35
children 515efcc3cd4d
comparison
equal deleted inserted replaced
4923:3cc0f4938be1 4924:ca4b8b6b1175
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 = -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) $(TERMCAP_LIB) $(STREAMING_LIB) $(Z_LIB) $(GTK_LIBS) $(PNG_LIB) -Llinux -losdep -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
202 ifeq ($(VIDIX),yes) 202 ifeq ($(VIDIX),yes)
203 VIDIX_LIBS += -Lvidix -lvidix 203 VIDIX_LIBS += -Lvidix -lvidix
204 endif 204 endif
205 205
206 $(PRG): $(MPLAYER_DEP) 206 $(PRG): $(MPLAYER_DEP)
207 $(CC) $(CFLAGS) -o $(PRG) $(OBJS_MPLAYER) $(VO_LIBS) $(COMMON_LIBS) $(EXTRA_LIB) $(V_LIBS) $(AO_LIBS) $(VIDIX_LIBS) $(GUI_LIBS) $(LIRC_LIB) $(STATIC_LIB) 207 $(CC) $(CFLAGS) -o $(PRG) $(OBJS_MPLAYER) $(VO_LIBS) $(COMMON_LIBS) $(EXTRA_LIB) $(AO_LIBS) $(V_LIBS) $(VIDIX_LIBS) $(GUI_LIBS) $(LIRC_LIB) $(STATIC_LIB)
208 208
209 $(PRG_FIBMAP): fibmap_mplayer.o 209 $(PRG_FIBMAP): fibmap_mplayer.o
210 $(CC) -o $(PRG_FIBMAP) fibmap_mplayer.o 210 $(CC) -o $(PRG_FIBMAP) fibmap_mplayer.o
211 211
212 ifeq ($(MENCODER),yes) 212 ifeq ($(MENCODER),yes)