summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-05-09 17:51:44 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-05-09 17:51:44 +0000
commitf7924f3fdd1ab3c9092f6742b86f64196929ca93 (patch)
tree23befa6204298f3c8b8c0205c8cc6a3522364489 /Makefile
parent82b8b8dbe7202b22026cec6081769525c1d2cf03 (diff)
downloadmpv-f7924f3fdd1ab3c9092f6742b86f64196929ca93.tar.bz2
mpv-f7924f3fdd1ab3c9092f6742b86f64196929ca93.tar.xz
Add some comment headings to divide the Makefile into logical chapters.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26708 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b35e4ded37..62175bf195 100644
--- a/Makefile
+++ b/Makefile
@@ -6,6 +6,9 @@
include config.mak
+
+###### variable declarations #######
+
COMMON_LDFLAGS += $(EXTRA_LIB)\
$(EXTRALIBS) \
@@ -691,6 +694,10 @@ PARTS = libavcodec \
libpostproc \
libswscale \
+
+
+###### generic rules #######
+
all: $(ALL_PRG)
%.d: %.c
@@ -772,6 +779,10 @@ ifneq ($(HELP_FILE),help/help_mp-en.h)
@help/help_diff.sh $(HELP_FILE) < help/help_mp-en.h >> help_mp.h
endif
+
+
+###### dependency declarations / specific CFLAGS ######
+
codec-cfg.d: codecs.conf.h
mencoder.d mplayer.d vobsub.d gui/win32/gui.d libmpdemux/muxer_avi.d stream/network.d stream/stream_cddb.d: version.h
DEPS = $(filter-out %.S,$(patsubst %.cpp,%.d,$(patsubst %.c,%.d,$(SRCS_COMMON) $(SRCS_MPLAYER:.m=.d) $(SRCS_MENCODER))))
@@ -799,6 +810,9 @@ VIDIX_OBJS = $(filter vidix/%,$(SRCS_MPLAYER:.c=.o))
$(VIDIX_DEPS) $(VIDIX_OBJS): $(VIDIX_PCI_FILES)
+
+###### installation rules #######
+
install: install-dirs $(INSTALL_TARGETS)
install-dirs:
@@ -881,6 +895,9 @@ tags:
rm -f $@; ( find -name '*.[chS]' -print ) | xargs ctags -a
+
+###### tests / tools #######
+
TEST_OBJS = mp_msg-mencoder.o mp_fifo.o osdep/$(GETCH) osdep/$(TIMER) -ltermcap -lm
liba52/test$(EXESUF): liba52/test.c cpudetect.o $(filter liba52/%,$(SRCS_COMMON:.c=.o))