comparison Makefile @ 5840:4e3cf9473628

Allow disabling of libfame and allow to enforce (not) building libavcodec.
author atmos4
date Fri, 26 Apr 2002 17:18:02 +0000 (2002-04-26)
parents 268cfcb03e86
children 9cc33be028bb
comparison
equal deleted inserted replaced
5839:80af8b0589e1 5840:4e3cf9473628
42 V_LIBS = $(X_LIB) $(MP1E_LIB) $(GGI_LIB) $(MLIB_LIB) $(SDL_LIB) $(SVGA_LIB) $(AA_LIB) $(DIRECTFB_LIB) 42 V_LIBS = $(X_LIB) $(MP1E_LIB) $(GGI_LIB) $(MLIB_LIB) $(SDL_LIB) $(SVGA_LIB) $(AA_LIB) $(DIRECTFB_LIB)
43 43
44 AO_LIBS = -Llibao2 -lao2 44 AO_LIBS = -Llibao2 -lao2
45 A_LIBS = $(ALSA_LIB) $(NAS_LIB) $(MAD_LIB) $(VORBIS_LIB) $(FAAD_LIB) $(SGIAUDIO_LIB) 45 A_LIBS = $(ALSA_LIB) $(NAS_LIB) $(MAD_LIB) $(VORBIS_LIB) $(FAAD_LIB) $(SGIAUDIO_LIB)
46 46
47 CODEC_LIBS = -Llibmpcodecs -lmpcodecs -Lmp3lib -lMP3 -Lliba52 -la52 -Llibmpeg2 -lmpeg2 $(AV_LIB) -Llibfame -lfame 47 CODEC_LIBS = -Llibmpcodecs -lmpcodecs -Lmp3lib -lMP3 -Lliba52 -la52 -Llibmpeg2 -lmpeg2 $(AV_LIB) $(FAME_LIB)
48 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) $(JPEG_LIB) -lm 48 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) $(JPEG_LIB) -lm
49 ifeq ($(VIDIX),yes) 49 ifeq ($(VIDIX),yes)
50 MISC_LIBS += -Llibdha -ldha -Lvidix -lvidix 50 MISC_LIBS += -Llibdha -ldha -Lvidix -lvidix
51 endif 51 endif
52 CFLAGS = $(OPTFLAGS) -Ilibmpdemux -Iloader $(VO_INC) $(EXTRA_INC) # -Wall 52 CFLAGS = $(OPTFLAGS) -Ilibmpdemux -Iloader $(VO_INC) $(EXTRA_INC) # -Wall
89 all: $(ALL_PRG) 89 all: $(ALL_PRG)
90 90
91 .c.o: 91 .c.o:
92 $(CC) -c $(CFLAGS) -o $@ $< 92 $(CC) -c $(CFLAGS) -o $@ $<
93 93
94 COMMON_DEPS = libfame/libfame.a libmpdemux/libmpdemux.a libmpcodecs/libmpcodecs.a libao2/libao2.a liba52/liba52.a mp3lib/libMP3.a libmpeg2/libmpeg2.a linux/libosdep.a postproc/libpostproc.a input/libinput.a 94 COMMON_DEPS = $(FAME_DEP) libmpdemux/libmpdemux.a libmpcodecs/libmpcodecs.a libao2/libao2.a liba52/liba52.a mp3lib/libMP3.a libmpeg2/libmpeg2.a linux/libosdep.a postproc/libpostproc.a input/libinput.a
95 95
96 ifeq ($(VIDIX),yes) 96 ifeq ($(VIDIX),yes)
97 COMMON_DEPS += libdha/libdha.so vidix/libvidix.a 97 COMMON_DEPS += libdha/libdha.so vidix/libvidix.a
98 endif 98 endif
99 ifeq ($(VO2),yes) 99 ifeq ($(VO2),yes)