# HG changeset patch # User diego # Date 1128424748 0 # Node ID 5b9aff7944a4bf87068720a21c6cc4698969847f # Parent d3a726717baf4a64710889f57f7b24bdb05bb5db Move all definitions of external dependencies into configure instead of defining it in configure and the Makefiles in a random fashion. patch by j -- at -- v2v -- dot -- cc diff -r d3a726717baf -r 5b9aff7944a4 Makefile --- a/Makefile Fri Sep 30 02:31:47 2005 +0000 +++ b/Makefile Tue Oct 04 11:19:08 2005 +0000 @@ -240,32 +240,22 @@ # currently using libdts for dts decoding ifeq ($(CONFIG_DTS),yes) OBJS+= dtsdec.o -CFLAGS += $(DTS_INC) -EXTRALIBS += -ldts endif ifeq ($(CONFIG_FAAD),yes) OBJS+= faad.o -ifeq ($(CONFIG_FAADBIN),yes) -# no libs needed -else -EXTRALIBS += -lfaad -endif endif ifeq ($(CONFIG_FAAC),yes) OBJS+= faac.o -EXTRALIBS += -lfaac endif ifeq ($(CONFIG_XVID),yes) OBJS+= xvidff.o -EXTRALIBS += -lxvidcore endif ifeq ($(CONFIG_X264),yes) OBJS+= x264.o -EXTRALIBS += -lx264 endif ifeq ($(CONFIG_PP),yes) @@ -279,24 +269,19 @@ ifeq ($(CONFIG_MP3LAME),yes) OBJS += mp3lameaudio.o -EXTRALIBS += -lmp3lame endif ifeq ($(CONFIG_LIBOGG),yes) ifeq ($(CONFIG_LIBVORBIS),yes) OBJS += oggvorbis.o -EXTRALIBS += -lvorbisenc -lvorbis endif ifeq ($(CONFIG_LIBTHEORA), yes) OBJS += oggtheora.o -EXTRALIBS += -ltheora endif -EXTRALIBS += -logg endif ifeq ($(CONFIG_LIBGSM),yes) OBJS += libgsm.o -EXTRALIBS += -lgsm endif ifeq ($(TARGET_GPROF),yes)