changeset 26344:3278dca99929

Merge libaf/Makefile into Makefile, one less instance of recursive make.
author diego
date Wed, 09 Apr 2008 18:15:21 +0000
parents 1b73f5aa1796
children f0a89eb49958
files Makefile libaf/Makefile
diffstat 2 files changed, 31 insertions(+), 43 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Wed Apr 09 18:05:57 2008 +0000
+++ b/Makefile	Wed Apr 09 18:15:21 2008 +0000
@@ -33,6 +33,32 @@
               subopt-helper.c \
               subreader.c \
               vobsub.c \
+              libaf/af.c \
+              libaf/af_center.c \
+              libaf/af_channels.c \
+              libaf/af_comp.c \
+              libaf/af_delay.c \
+              libaf/af_dummy.c \
+              libaf/af_equalizer.c \
+              libaf/af_extrastereo.c \
+              libaf/af_format.c \
+              libaf/af_gate.c \
+              libaf/af_hrtf.c \
+              libaf/af_karaoke.c \
+              libaf/af_pan.c \
+              libaf/af_resample.c \
+              libaf/af_scaletempo.c \
+              libaf/af_sinesuppress.c \
+              libaf/af_sub.c \
+              libaf/af_surround.c \
+              libaf/af_sweep.c \
+              libaf/af_tools.c \
+              libaf/af_volnorm.c \
+              libaf/af_volume.c \
+              libaf/filter.c \
+              libaf/format.c \
+              libaf/reorder_ch.c \
+              libaf/window.c \
               libass/ass.c \
               libass/ass_bitmap.c \
               libass/ass_cache.c \
@@ -46,6 +72,10 @@
               osdep/$(TIMER) \
 
 SRCS_COMMON-$(HAVE_SYS_MMAN_H)       += osdep/mmap_anon.c
+SRCS_COMMON-$(HAVE_SYS_MMAN_H)       += libaf/af_export.c
+SRCS_COMMON-$(LADSPA)                += libaf/af_ladspa.c
+SRCS_COMMON-$(LIBAVCODEC)            += libaf/af_lavcresample.c
+SRCS_COMMON-$(LIBAVCODEC_A)          += libaf/af_lavcac3enc.c
 SRCS_COMMON-$(MACOSX_FINDER_SUPPORT) += osdep/macosx_finder_args.c
 SRCS_COMMON-$(NEED_GETTIMEOFDAY)     += osdep/gettimeofday.c
 SRCS_COMMON-$(NEED_GLOB)             += osdep/glob-win.c
@@ -88,7 +118,6 @@
                 xvid_vbr.c \
 
 COMMON_LIBS = libmpcodecs/libmpcodecs.a \
-              libaf/libaf.a \
               libmpdemux/libmpdemux.a \
               stream/stream.a \
               libswscale/libswscale.a \
@@ -135,7 +164,6 @@
 PARTS = dvdread \
         gui \
         liba52 \
-        libaf \
         libao2 \
         libavcodec \
         libavformat \
@@ -155,6 +183,7 @@
         vidix \
 
 DIRS =  input \
+        libaf \
         libass \
         libmenu \
         osdep \
@@ -168,9 +197,6 @@
 
 CFLAGS := $(subst -I..,-I.,$(CFLAGS))
 
-libaf/libaf.a:
-	$(MAKE) -C libaf
-
 dvdread/libdvdread.a:
 	$(MAKE) -C dvdread
 
@@ -397,7 +423,6 @@
 libvo/libosd.a: .norecurse $(wildcard libvo/*.[ch])
 libao2/libao2.a: .norecurse $(wildcard libao2/*.[ch])
 
-libaf/libaf.a: .norecurse $(wildcard libaf/*.[ch])
 dvdread/libdvdread.a: .norecurse $(wildcard dvdread/*.[ch])
 libdvdcss/libdvdcss.a: .norecurse $(wildcard libdvdcss/*.[ch])
 
--- a/libaf/Makefile	Wed Apr 09 18:05:57 2008 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,37 +0,0 @@
-include ../config.mak
-
-LIBNAME_COMMON = libaf.a
-
-SRCS_COMMON = af.c \
-              af_center.c \
-              af_channels.c \
-              af_comp.c \
-              af_delay.c \
-              af_dummy.c \
-              af_equalizer.c \
-              af_extrastereo.c \
-              af_format.c \
-              af_gate.c \
-              af_hrtf.c \
-              af_karaoke.c \
-              af_pan.c \
-              af_resample.c \
-              af_scaletempo.c \
-              af_sinesuppress.c \
-              af_sub.c \
-              af_surround.c \
-              af_sweep.c \
-              af_tools.c \
-              af_volnorm.c \
-              af_volume.c \
-              filter.c \
-              format.c \
-              reorder_ch.c \
-              window.c \
-
-SRCS_COMMON-$(HAVE_SYS_MMAN_H)      += af_export.c
-SRCS_COMMON-$(LADSPA)               += af_ladspa.c
-SRCS_COMMON-$(LIBAVCODEC)           += af_lavcresample.c
-SRCS_COMMON-$(LIBAVCODEC_A)         += af_lavcac3enc.c
-
-include ../mpcommon.mak