cosmetics: Consistently place HEADERS before OBJS in all Makefiles.
authorDiego Biurrun <diego@biurrun.de>
Thu, 20 Nov 2008 22:53:18 +0000 (22:53 +0000)
committerDiego Biurrun <diego@biurrun.de>
Thu, 20 Nov 2008 22:53:18 +0000 (22:53 +0000)
Originally committed as revision 15896 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/Makefile
libavfilter/Makefile
libavformat/Makefile
libavutil/Makefile

index 1ee8425..f4c4ce7 100644 (file)
@@ -3,6 +3,8 @@ include $(SUBDIR)../config.mak
 NAME = avcodec
 FFLIBS = avutil
 
+HEADERS = avcodec.h opt.h
+
 OBJS = allcodecs.o                                                      \
        audioconvert.o                                                   \
        bitstream.o                                                      \
@@ -20,9 +22,6 @@ OBJS = allcodecs.o                                                      \
        simple_idct.o                                                    \
        utils.o                                                          \
 
-
-HEADERS = avcodec.h opt.h
-
 # parts needed for many different codecs
 OBJS-$(CONFIG_ENCODERS)                += faandct.o jfdctfst.o jfdctint.o
 OBJS-$(CONFIG_FFT)                     += fft.o
index 1cd4992..9da8f91 100644 (file)
@@ -5,6 +5,8 @@ FFLIBS = avcodec avutil
 FFLIBS-$(CONFIG_SWSCALE)       += swscale
 FFLIBS-$(CONFIG_AVFILTER_LAVF) += avformat
 
+HEADERS = avfilter.h
+
 OBJS = allfilters.o                                                     \
        avfilter.o                                                       \
        defaults.o                                                       \
@@ -12,6 +14,4 @@ OBJS = allfilters.o                                                     \
 
 #OBJS-$(CONFIG_XXX_FILTER)    += vf_xxx.o
 
-HEADERS = avfilter.h
-
 include $(SUBDIR)../subdir.mak
index de5cae2..18d89da 100644 (file)
@@ -3,10 +3,10 @@ include $(SUBDIR)../config.mak
 NAME = avformat
 FFLIBS = avcodec avutil
 
-OBJS = allformats.o cutils.o os_support.o sdp.o utils.o
-
 HEADERS = avformat.h avio.h rtsp.h rtspcodes.h
 
+OBJS = allformats.o cutils.o os_support.o sdp.o utils.o
+
 # muxers/demuxers
 OBJS-$(CONFIG_AAC_DEMUXER)               += raw.o
 OBJS-$(CONFIG_AC3_DEMUXER)               += raw.o
index bcbc9b3..be2f3e1 100644 (file)
@@ -2,6 +2,23 @@ include $(SUBDIR)../config.mak
 
 NAME = avutil
 
+HEADERS = adler32.h                                                     \
+          avstring.h                                                    \
+          avutil.h                                                      \
+          base64.h                                                      \
+          common.h                                                      \
+          crc.h                                                         \
+          fifo.h                                                        \
+          intfloat_readwrite.h                                          \
+          log.h                                                         \
+          lzo.h                                                         \
+          mathematics.h                                                 \
+          md5.h                                                         \
+          mem.h                                                         \
+          random.h                                                      \
+          rational.h                                                    \
+          sha1.h
+
 OBJS = adler32.o                                                        \
        aes.o                                                            \
        base64.o                                                         \
@@ -24,23 +41,6 @@ OBJS = adler32.o                                                        \
        tree.o                                                           \
        utils.o                                                          \
 
-HEADERS = adler32.h                                                     \
-          avstring.h                                                    \
-          avutil.h                                                      \
-          base64.h                                                      \
-          common.h                                                      \
-          crc.h                                                         \
-          fifo.h                                                        \
-          intfloat_readwrite.h                                          \
-          log.h                                                         \
-          lzo.h                                                         \
-          mathematics.h                                                 \
-          md5.h                                                         \
-          mem.h                                                         \
-          random.h                                                      \
-          rational.h                                                    \
-          sha1.h
-
 TESTS = $(addsuffix -test$(EXESUF), adler32 aes crc des lls md5 pca random sha1 softfloat tree)
 
 include $(SUBDIR)../subdir.mak