From ad0e31f1346bacdb04341a07375ff597dea8b2e2 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Thu, 2 Feb 2012 23:55:57 +0100 Subject: build: prettyprinting cosmetics --- libswscale/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'libswscale') diff --git a/libswscale/Makefile b/libswscale/Makefile index 36c2beffa1..04019307fd 100644 --- a/libswscale/Makefile +++ b/libswscale/Makefile @@ -3,8 +3,14 @@ FFLIBS = avutil HEADERS = swscale.h -OBJS = input.o options.o output.o rgb2rgb.o swscale.o \ - swscale_unscaled.o utils.o yuv2rgb.o +OBJS = input.o \ + options.o \ + output.o \ + rgb2rgb.o \ + swscale.o \ + swscale_unscaled.o \ + utils.o \ + yuv2rgb.o \ OBJS-$(ARCH_BFIN) += bfin/internal_bfin.o \ bfin/swscale_bfin.o \ -- cgit v1.2.3 From e7e19b15c75dca9eddd5d41eb105853c29ea55fd Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Mon, 6 Feb 2012 19:31:18 +0100 Subject: build: Only clean the architecture subdirectory we build for. This allows simplifying the Makefiles; it is no longer necessary to register arch subdirectory Makefiles, just putting them in place is enough. --- Makefile | 2 +- libavcodec/Makefile | 2 -- libavfilter/Makefile | 2 -- libavutil/Makefile | 2 -- library.mak | 6 ++---- libswscale/Makefile | 2 -- 6 files changed, 3 insertions(+), 13 deletions(-) (limited to 'libswscale') diff --git a/Makefile b/Makefile index 2d1c36d5fa..b5f8ad86aa 100644 --- a/Makefile +++ b/Makefile @@ -98,7 +98,7 @@ config.h: .config @-printf '\nWARNING: $(?F) newer than config.h, rerun configure\n\n' @-tput sgr0 2>/dev/null -SUBDIR_VARS := CLEANFILES DIRS EXAMPLES FFLIBS HOSTPROGS TESTPROGS TOOLS \ +SUBDIR_VARS := CLEANFILES EXAMPLES FFLIBS HOSTPROGS TESTPROGS TOOLS \ ARCH_HEADERS BUILT_HEADERS SKIPHEADERS \ ALTIVEC-OBJS ARMV6-OBJS MMX-OBJS NEON-OBJS YASM-OBJS \ OBJS TESTOBJS diff --git a/libavcodec/Makefile b/libavcodec/Makefile index 23270544e9..e4e5294db9 100644 --- a/libavcodec/Makefile +++ b/libavcodec/Makefile @@ -709,8 +709,6 @@ HOSTPROGS = aac_tablegen aacps_tablegen cbrt_tablegen cos_tablegen \ dv_tablegen motionpixels_tablegen mpegaudio_tablegen \ pcm_tablegen qdm2_tablegen sinewin_tablegen -DIRS = alpha arm avr32 bfin mips ppc sh4 sparc x86 - CLEANFILES = *_tables.c *_tables.h *_tablegen$(HOSTEXESUF) $(SUBDIR)dct-test$(EXESUF): $(SUBDIR)dctref.o diff --git a/libavfilter/Makefile b/libavfilter/Makefile index 8af152da22..6ee94e9a1b 100644 --- a/libavfilter/Makefile +++ b/libavfilter/Makefile @@ -69,6 +69,4 @@ OBJS-$(CONFIG_TESTSRC_FILTER) += vsrc_testsrc.o OBJS-$(CONFIG_NULLSINK_FILTER) += vsink_nullsink.o -DIRS = x86 - TOOLS = graph2dot lavfi-showfiltfmts diff --git a/libavutil/Makefile b/libavutil/Makefile index 009094da87..a73fb79d0f 100644 --- a/libavutil/Makefile +++ b/libavutil/Makefile @@ -78,6 +78,4 @@ OBJS-$(ARCH_X86) += x86/cpu.o TESTPROGS = adler32 aes avstring base64 cpu crc des eval fifo lfg lls \ md5 opt parseutils sha tree -DIRS = arm avr32 bfin mips ppc sh4 tomi x86 - ARCH_HEADERS = bswap.h intmath.h intreadwrite.h timer.h diff --git a/library.mak b/library.mak index f50e8e59ee..6159799c5d 100644 --- a/library.mak +++ b/library.mak @@ -47,12 +47,10 @@ $(SUBDIR)$(SLIBNAME_WITH_MAJOR): $(OBJS) $(SUBDIR)lib$(NAME).ver $(DEP_LIBS) clean:: $(RM) $(addprefix $(SUBDIR),*-example$(EXESUF) *-test$(EXESUF) $(CLEANFILES) $(CLEANSUFFIXES) $(LIBSUFFIXES)) \ - $(foreach dir,$(DIRS),$(CLEANSUFFIXES:%=$(SUBDIR)$(dir)/%)) \ - $(HOSTOBJS) $(HOSTPROGS) + $(CLEANSUFFIXES:%=$(SUBDIR)$(ARCH)/%) $(HOSTOBJS) $(HOSTPROGS) distclean:: clean - $(RM) $(DISTCLEANSUFFIXES:%=$(SUBDIR)%) \ - $(foreach dir,$(DIRS),$(DISTCLEANSUFFIXES:%=$(SUBDIR)$(dir)/%)) + $(RM) $(DISTCLEANSUFFIXES:%=$(SUBDIR)%) $(DISTCLEANSUFFIXES:%=$(SUBDIR)$(ARCH)/%) install-lib$(NAME)-shared: $(SUBDIR)$(SLIBNAME) $(Q)mkdir -p "$(SHLIBDIR)" diff --git a/libswscale/Makefile b/libswscale/Makefile index 04019307fd..7301646f4b 100644 --- a/libswscale/Makefile +++ b/libswscale/Makefile @@ -29,5 +29,3 @@ MMX-OBJS-$(HAVE_YASM) += x86/input.o \ OBJS-$(CONFIG_XMM_CLOBBER_TEST) += x86/w64xmmtest.o TESTPROGS = colorspace swscale - -DIRS = bfin ppc sparc x86 -- cgit v1.2.3