diff options
author | Måns Rullgård <mans@mansr.com> | 2008-01-27 14:55:13 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2008-01-27 14:55:13 +0000 |
commit | a11f43a466df56034a20392f120e7cf5335562ca (patch) | |
tree | b99d1f2c044a415e7f9e504d5b53fb78816ddb03 /Makefile | |
parent | 1260eb4a68c8ade9be7c80dec6c3859ce129bacf (diff) | |
download | ffmpeg-a11f43a466df56034a20392f120e7cf5335562ca.tar.gz |
remove some ifeq ($(CONFIG_FOO),yes)
Originally committed as revision 11633 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 31 |
1 files changed, 10 insertions, 21 deletions
@@ -69,6 +69,9 @@ LDFLAGS+=-L$(BUILD_ROOT)/libswscale EXTRALIBS+=-lswscale$(BUILDSUF) endif +MAKE-yes = $(MAKE) +MAKE- = : $(MAKE) + all: lib $(PROGS) $(ALL_TARGETS-yes) lib: @@ -76,12 +79,8 @@ lib: $(MAKE) -C libavcodec all $(MAKE) -C libavformat all $(MAKE) -C libavdevice all -ifeq ($(CONFIG_PP),yes) - $(MAKE) -C libpostproc all -endif -ifeq ($(CONFIG_SWSCALER),yes) - $(MAKE) -C libswscale all -endif + $(MAKE-$(CONFIG_PP)) -C libpostproc all + $(MAKE-$(CONFIG_SWSCALER)) -C libswscale all ffmpeg_g$(EXESUF): ffmpeg.o cmdutils.o .libs $(CC) $(LDFLAGS) -o $@ ffmpeg.o cmdutils.o $(EXTRALIBS) @@ -165,12 +164,8 @@ install-libs: $(MAKE) -C libavcodec install-libs $(MAKE) -C libavformat install-libs $(MAKE) -C libavdevice install-libs -ifeq ($(CONFIG_PP),yes) - $(MAKE) -C libpostproc install-libs -endif -ifeq ($(CONFIG_SWSCALER),yes) - $(MAKE) -C libswscale install-libs -endif + $(MAKE-$(CONFIG_PP)) -C libpostproc install-libs + $(MAKE-$(CONFIG_SWSCALER)) -C libswscale install-libs ifeq ($(BUILD_SHARED),yes) -$(LDCONFIG) @@ -181,9 +176,7 @@ install-headers: $(MAKE) -C libavcodec install-headers $(MAKE) -C libavformat install-headers $(MAKE) -C libavdevice install-headers -ifeq ($(CONFIG_PP),yes) - $(MAKE) -C libpostproc install-headers -endif + $(MAKE-$(CONFIG_PP)) -C libpostproc install-headers $(MAKE) -C libswscale install-headers uninstall: uninstall-progs uninstall-libs uninstall-headers uninstall-man uninstall-vhook @@ -220,12 +213,8 @@ depend dep: .depend .vhookdep $(MAKE) -C libavcodec depend $(MAKE) -C libavformat depend $(MAKE) -C libavdevice depend -ifeq ($(CONFIG_PP),yes) - $(MAKE) -C libpostproc depend -endif -ifeq ($(CONFIG_SWSCALER),yes) - $(MAKE) -C libswscale depend -endif + $(MAKE-$(CONFIG_PP)) -C libpostproc depend + $(MAKE-$(CONFIG_SWSCALER)) -C libswscale depend .depend: $(SRCS) version.h $(CC) -MM $(CFLAGS) $(SDL_CFLAGS) $(filter-out %.h,$^) 1>.depend |