aboutsummaryrefslogtreecommitdiffstats
path: root/common.mak
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2008-03-26 09:39:12 +0000
committerDiego Biurrun <diego@biurrun.de>2008-03-26 09:39:12 +0000
commit7716f7ffa3698058fb46128eee3401fb148c2185 (patch)
tree294e31bdd1295c3f89d1a340f7a7d7ac329b856d /common.mak
parent916dafd57c3ed28b3fd55f4c82b964456e13ded8 (diff)
downloadffmpeg-7716f7ffa3698058fb46128eee3401fb148c2185.tar.gz
Use common.mak in the top-level Makefile as well.
Originally committed as revision 12599 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'common.mak')
-rw-r--r--common.mak10
1 files changed, 6 insertions, 4 deletions
diff --git a/common.mak b/common.mak
index e4e005f03f..a8a8b256b9 100644
--- a/common.mak
+++ b/common.mak
@@ -59,14 +59,16 @@ $(SLIBNAME_WITH_MAJOR): $(OBJS)
ALLHEADERS = $(subst $(SRC_DIR)/,,$(wildcard $(SRC_DIR)/*.h))
checkheaders: $(filter-out %_template.ho,$(ALLHEADERS:.h=.ho))
-depend dep: $(SRCS)
+depend dep: .depend
+
+.depend: $(SRCS)
$(DEPEND_CMD) > .depend
clean::
rm -f *.o *~ *.a *.lib *.so *.so.* *.dylib *.dll \
*.def *.dll.a *.exp *.ho *.map $(TESTS)
-distclean: clean
+distclean:: clean
rm -f .depend
INSTALL_TARGETS-$(BUILD_SHARED) += install-lib-shared
@@ -93,7 +95,7 @@ install-lib-static: $(LIBNAME)
INCINSTDIR = $(INCDIR)/lib$(NAME)
-install-headers:
+install-headers::
install -d "$(INCINSTDIR)"
install -d "$(LIBDIR)/pkgconfig"
install -m 644 $(addprefix "$(SRC_DIR)"/,$(HEADERS)) "$(INCINSTDIR)"
@@ -101,7 +103,7 @@ install-headers:
uninstall: uninstall-libs uninstall-headers
-uninstall-libs:
+uninstall-libs::
-rm -f "$(SHLIBDIR)/$(SLIBNAME_WITH_MAJOR)" \
"$(SHLIBDIR)/$(SLIBNAME)" \
"$(SHLIBDIR)/$(SLIBNAME_WITH_VERSION)"