mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-30 19:34:43 +00:00
remove some ifeq ($(CONFIG_FOO),yes)
Originally committed as revision 11633 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
1260eb4a68
commit
a11f43a466
31
Makefile
31
Makefile
@ -69,6 +69,9 @@ LDFLAGS+=-L$(BUILD_ROOT)/libswscale
|
|||||||
EXTRALIBS+=-lswscale$(BUILDSUF)
|
EXTRALIBS+=-lswscale$(BUILDSUF)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
MAKE-yes = $(MAKE)
|
||||||
|
MAKE- = : $(MAKE)
|
||||||
|
|
||||||
all: lib $(PROGS) $(ALL_TARGETS-yes)
|
all: lib $(PROGS) $(ALL_TARGETS-yes)
|
||||||
|
|
||||||
lib:
|
lib:
|
||||||
@ -76,12 +79,8 @@ lib:
|
|||||||
$(MAKE) -C libavcodec all
|
$(MAKE) -C libavcodec all
|
||||||
$(MAKE) -C libavformat all
|
$(MAKE) -C libavformat all
|
||||||
$(MAKE) -C libavdevice all
|
$(MAKE) -C libavdevice all
|
||||||
ifeq ($(CONFIG_PP),yes)
|
$(MAKE-$(CONFIG_PP)) -C libpostproc all
|
||||||
$(MAKE) -C libpostproc all
|
$(MAKE-$(CONFIG_SWSCALER)) -C libswscale all
|
||||||
endif
|
|
||||||
ifeq ($(CONFIG_SWSCALER),yes)
|
|
||||||
$(MAKE) -C libswscale all
|
|
||||||
endif
|
|
||||||
|
|
||||||
ffmpeg_g$(EXESUF): ffmpeg.o cmdutils.o .libs
|
ffmpeg_g$(EXESUF): ffmpeg.o cmdutils.o .libs
|
||||||
$(CC) $(LDFLAGS) -o $@ ffmpeg.o cmdutils.o $(EXTRALIBS)
|
$(CC) $(LDFLAGS) -o $@ ffmpeg.o cmdutils.o $(EXTRALIBS)
|
||||||
@ -165,12 +164,8 @@ install-libs:
|
|||||||
$(MAKE) -C libavcodec install-libs
|
$(MAKE) -C libavcodec install-libs
|
||||||
$(MAKE) -C libavformat install-libs
|
$(MAKE) -C libavformat install-libs
|
||||||
$(MAKE) -C libavdevice install-libs
|
$(MAKE) -C libavdevice install-libs
|
||||||
ifeq ($(CONFIG_PP),yes)
|
$(MAKE-$(CONFIG_PP)) -C libpostproc install-libs
|
||||||
$(MAKE) -C libpostproc install-libs
|
$(MAKE-$(CONFIG_SWSCALER)) -C libswscale install-libs
|
||||||
endif
|
|
||||||
ifeq ($(CONFIG_SWSCALER),yes)
|
|
||||||
$(MAKE) -C libswscale install-libs
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(BUILD_SHARED),yes)
|
ifeq ($(BUILD_SHARED),yes)
|
||||||
-$(LDCONFIG)
|
-$(LDCONFIG)
|
||||||
@ -181,9 +176,7 @@ install-headers:
|
|||||||
$(MAKE) -C libavcodec install-headers
|
$(MAKE) -C libavcodec install-headers
|
||||||
$(MAKE) -C libavformat install-headers
|
$(MAKE) -C libavformat install-headers
|
||||||
$(MAKE) -C libavdevice install-headers
|
$(MAKE) -C libavdevice install-headers
|
||||||
ifeq ($(CONFIG_PP),yes)
|
$(MAKE-$(CONFIG_PP)) -C libpostproc install-headers
|
||||||
$(MAKE) -C libpostproc install-headers
|
|
||||||
endif
|
|
||||||
$(MAKE) -C libswscale install-headers
|
$(MAKE) -C libswscale install-headers
|
||||||
|
|
||||||
uninstall: uninstall-progs uninstall-libs uninstall-headers uninstall-man uninstall-vhook
|
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 libavcodec depend
|
||||||
$(MAKE) -C libavformat depend
|
$(MAKE) -C libavformat depend
|
||||||
$(MAKE) -C libavdevice depend
|
$(MAKE) -C libavdevice depend
|
||||||
ifeq ($(CONFIG_PP),yes)
|
$(MAKE-$(CONFIG_PP)) -C libpostproc depend
|
||||||
$(MAKE) -C libpostproc depend
|
$(MAKE-$(CONFIG_SWSCALER)) -C libswscale depend
|
||||||
endif
|
|
||||||
ifeq ($(CONFIG_SWSCALER),yes)
|
|
||||||
$(MAKE) -C libswscale depend
|
|
||||||
endif
|
|
||||||
|
|
||||||
.depend: $(SRCS) version.h
|
.depend: $(SRCS) version.h
|
||||||
$(CC) -MM $(CFLAGS) $(SDL_CFLAGS) $(filter-out %.h,$^) 1>.depend
|
$(CC) -MM $(CFLAGS) $(SDL_CFLAGS) $(filter-out %.h,$^) 1>.depend
|
||||||
|
Loading…
Reference in New Issue
Block a user