mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
Make clean/distclean behave uniformly in all directories.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17489 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
8
Makefile
8
Makefile
@@ -521,11 +521,11 @@ endif
|
|||||||
@echo "Uninstall completed"
|
@echo "Uninstall completed"
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
-rm -f *.o *~ $(OBJS) codecs.conf.h
|
-rm -f *.o *.a *~ codecs.conf.h
|
||||||
|
|
||||||
distclean: doxygen_clean
|
distclean: clean doxygen_clean
|
||||||
-rm -f *~ $(PRG) $(PRG_MENCODER) $(PRG_CFG) $(OBJS)
|
-rm -f *~ $(PRG) $(PRG_MENCODER) $(PRG_CFG)
|
||||||
-rm -f *.o *.a .depend configure.log codecs.conf.h help_mp.h
|
-rm -f .depend configure.log codecs.conf.h help_mp.h
|
||||||
@for a in $(PARTS); do $(MAKE) -C $$a distclean; done
|
@for a in $(PARTS); do $(MAKE) -C $$a distclean; done
|
||||||
|
|
||||||
strip:
|
strip:
|
||||||
|
|||||||
@@ -52,8 +52,8 @@ netstream: $(MPROOT)/libmpdemux/libmpdemux.a netstream.o
|
|||||||
clean:
|
clean:
|
||||||
rm -f *.o *.a *~
|
rm -f *.o *.a *~
|
||||||
|
|
||||||
distclean:
|
distclean: clean
|
||||||
rm -f test Makefile.bak *.o *.a *~ .depend
|
rm -f .depend test
|
||||||
|
|
||||||
dep: depend
|
dep: depend
|
||||||
|
|
||||||
|
|||||||
@@ -49,10 +49,8 @@ endif
|
|||||||
dep:
|
dep:
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *.o *~
|
rm -f *.o *.a *~
|
||||||
ifneq (,$(findstring 2.6, $(VERSION)))
|
|
||||||
rm -f *.ko .mga* mga_vid.mod.c
|
rm -f *.ko .mga* mga_vid.mod.c
|
||||||
endif
|
|
||||||
|
|
||||||
distclean: clean
|
distclean: clean
|
||||||
rm -f mga_vid_test tdfx_vid_tst
|
rm -f mga_vid_test tdfx_vid_tst
|
||||||
|
|||||||
@@ -30,7 +30,9 @@ rage128_vid.o: radeon_vid.c radeon.h radeon_vid.h
|
|||||||
dep:
|
dep:
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *.o *~
|
rm -f *.o *.a *~
|
||||||
|
|
||||||
|
distclean: clean
|
||||||
|
|
||||||
install:
|
install:
|
||||||
mkdir -p $(MOD_PATH)
|
mkdir -p $(MOD_PATH)
|
||||||
|
|||||||
@@ -23,8 +23,8 @@ all: $(LIBNAME)
|
|||||||
clean:
|
clean:
|
||||||
rm -f *.o *.a *~
|
rm -f *.o *.a *~
|
||||||
|
|
||||||
distclean:
|
distclean: clean
|
||||||
rm -f Makefile.bak *.o *.a *~ .depend
|
rm -f .depend
|
||||||
|
|
||||||
dep: depend
|
dep: depend
|
||||||
|
|
||||||
|
|||||||
@@ -30,8 +30,8 @@ all: $(LIBNAME)
|
|||||||
clean:
|
clean:
|
||||||
rm -f *.o *.a *~
|
rm -f *.o *.a *~
|
||||||
|
|
||||||
distclean:
|
distclean: clean
|
||||||
rm -f test *.o *.a *~ .depend
|
rm -f .depend test
|
||||||
|
|
||||||
dep: depend
|
dep: depend
|
||||||
|
|
||||||
|
|||||||
@@ -60,8 +60,8 @@ all: $(LIBNAME)
|
|||||||
clean:
|
clean:
|
||||||
rm -f *.o *.a *~
|
rm -f *.o *.a *~
|
||||||
|
|
||||||
distclean:
|
distclean: clean
|
||||||
rm -f *.o *.a *~ .depend
|
rm -f .depend
|
||||||
|
|
||||||
dep: depend
|
dep: depend
|
||||||
|
|
||||||
|
|||||||
@@ -37,8 +37,8 @@ all: $(LIBNAME)
|
|||||||
clean:
|
clean:
|
||||||
rm -f *.o *.a *~
|
rm -f *.o *.a *~
|
||||||
|
|
||||||
distclean:
|
distclean: clean
|
||||||
rm -f Makefile.bak *.o *.a *~ .depend
|
rm -f .depend
|
||||||
|
|
||||||
dep: depend
|
dep: depend
|
||||||
|
|
||||||
|
|||||||
@@ -66,10 +66,10 @@ test:
|
|||||||
$(CC) test.c -o test $(SHORTNAME)
|
$(CC) test.c -o test $(SHORTNAME)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *.o *.so *.so.* *~
|
rm -f *.o *.a *~ *.so *.so.*
|
||||||
|
|
||||||
distclean:
|
distclean: clean
|
||||||
rm -f Makefile.bak *.o *.so *.so.* test *~ .depend
|
rm -f .depend test
|
||||||
rm -f pci_dev_ids.c pci_ids.h pci_names.c pci_names.h pci_vendors.h pci.db
|
rm -f pci_dev_ids.c pci_ids.h pci_names.c pci_names.h pci_vendors.h pci.db
|
||||||
|
|
||||||
dep: depend
|
dep: depend
|
||||||
|
|||||||
@@ -65,8 +65,8 @@ all: $(LIBNAME)
|
|||||||
clean:
|
clean:
|
||||||
rm -f *.o *.a *~
|
rm -f *.o *.a *~
|
||||||
|
|
||||||
distclean:
|
distclean: clean
|
||||||
rm -f test *.o *.a *~ .depend
|
rm -f .depend test
|
||||||
|
|
||||||
dep: depend
|
dep: depend
|
||||||
|
|
||||||
|
|||||||
@@ -27,8 +27,8 @@ all: $(LIBNAME)
|
|||||||
clean:
|
clean:
|
||||||
rm -f *.o *.a *~
|
rm -f *.o *.a *~
|
||||||
|
|
||||||
distclean:
|
distclean: clean
|
||||||
rm -f Makefile.bak *.o *.a *~ .depend
|
rm -f .depend
|
||||||
|
|
||||||
dep: depend
|
dep: depend
|
||||||
|
|
||||||
|
|||||||
@@ -262,8 +262,8 @@ clean:
|
|||||||
rm -f *.o *.a *~
|
rm -f *.o *.a *~
|
||||||
rm -f native/*.o native/*.a native/*~
|
rm -f native/*.o native/*.a native/*~
|
||||||
|
|
||||||
distclean:
|
distclean: clean
|
||||||
rm -f Makefile.bak $(OBJS) $(OBJS2) $(LIBNAME) $(LIBNAME2) *~ .depend
|
rm -f .depend
|
||||||
|
|
||||||
dep: depend
|
dep: depend
|
||||||
|
|
||||||
|
|||||||
@@ -180,8 +180,8 @@ test: $(LIBNAME) test.c
|
|||||||
clean:
|
clean:
|
||||||
rm -f *.o *.a *~ realrtsp/*.o realrtsp/*.a realrtsp/*~
|
rm -f *.o *.a *~ realrtsp/*.o realrtsp/*.a realrtsp/*~
|
||||||
|
|
||||||
distclean:
|
distclean: clean
|
||||||
rm -f test Makefile.bak *.o *.a *~ realrtsp/*.o realrtsp/*.a realrtsp/*~ .depend
|
rm -f .depend test
|
||||||
|
|
||||||
dep: depend
|
dep: depend
|
||||||
|
|
||||||
|
|||||||
@@ -61,9 +61,10 @@ $(LIB).so: $(OBJS)
|
|||||||
$(CC) -o $(LIB).so -shared -rdynamic $(OBJS)
|
$(CC) -o $(LIB).so -shared -rdynamic $(OBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(OBJS) $(LIB).a $(LIB).so .depend
|
rm -f *.o *.a *~ *.so
|
||||||
|
|
||||||
distclean: clean
|
distclean: clean
|
||||||
|
rm -f .depend
|
||||||
|
|
||||||
dep: depend
|
dep: depend
|
||||||
|
|
||||||
|
|||||||
@@ -45,8 +45,8 @@ all: $(LIBNAME)
|
|||||||
clean:
|
clean:
|
||||||
rm -f *.o *.a *~
|
rm -f *.o *.a *~
|
||||||
|
|
||||||
distclean:
|
distclean: clean
|
||||||
rm -f Makefile.bak *.o *.a *~ .depend
|
rm -f .depend
|
||||||
|
|
||||||
dep: depend
|
dep: depend
|
||||||
|
|
||||||
|
|||||||
@@ -63,8 +63,8 @@ all: $(LIBNAME)
|
|||||||
clean:
|
clean:
|
||||||
rm -f *.o *.a *~
|
rm -f *.o *.a *~
|
||||||
|
|
||||||
distclean:
|
distclean: clean
|
||||||
rm -f Makefile.bak *.o *.a *~ .depend
|
rm -f .depend
|
||||||
|
|
||||||
dep: depend
|
dep: depend
|
||||||
|
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ CFLAGS=-I. -I.. $(OPTFLAGS) -U_FILE_OFFSET_BITS $(EXTRA_INC) $(WARN_FLAGS) -fno-
|
|||||||
all: libloader.a
|
all: libloader.a
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
-rm -f *.o libloader.a
|
rm -f *.o *.a *~
|
||||||
|
|
||||||
distclean: clean
|
distclean: clean
|
||||||
|
|
||||||
|
|||||||
@@ -28,8 +28,8 @@ all: $(LIBNAME)
|
|||||||
clean:
|
clean:
|
||||||
rm -f *.o *.a *~
|
rm -f *.o *.a *~
|
||||||
|
|
||||||
distclean:
|
distclean: clean
|
||||||
rm -f Makefile.bak *.o *.a *~ .depend test test.raw
|
rm -f .depend test test.raw
|
||||||
|
|
||||||
dep: depend
|
dep: depend
|
||||||
|
|
||||||
|
|||||||
@@ -30,8 +30,8 @@ all: $(LIBNAME)
|
|||||||
clean:
|
clean:
|
||||||
rm -f *.o *.a *~
|
rm -f *.o *.a *~
|
||||||
|
|
||||||
distclean:
|
distclean: clean
|
||||||
rm -f Makefile.bak *.o *.a *~ .depend test test.raw
|
rm -f .depend test test.raw
|
||||||
|
|
||||||
dep: depend
|
dep: depend
|
||||||
|
|
||||||
|
|||||||
@@ -58,8 +58,8 @@ test2: libMP3.a test2.c
|
|||||||
clean:
|
clean:
|
||||||
rm -f *~ *.o *.a test1 test2
|
rm -f *~ *.o *.a test1 test2
|
||||||
|
|
||||||
distclean:
|
distclean: clean
|
||||||
rm -f *~ *.o *.a Makefile.bak .depend
|
rm -f .depend
|
||||||
|
|
||||||
dep: depend
|
dep: depend
|
||||||
|
|
||||||
|
|||||||
@@ -47,8 +47,8 @@ all: $(LIBNAME)
|
|||||||
clean:
|
clean:
|
||||||
rm -f *.o *.a *~
|
rm -f *.o *.a *~
|
||||||
|
|
||||||
distclean:
|
distclean: clean
|
||||||
rm -f Makefile.bak *.o *.a *~ .depend
|
rm -f .depend
|
||||||
|
|
||||||
dep: depend
|
dep: depend
|
||||||
|
|
||||||
|
|||||||
@@ -30,8 +30,8 @@ $(SWSLIB): $(SWSOBJS)
|
|||||||
clean:
|
clean:
|
||||||
rm -f *.o *.a *~ *.so cs_test swscale-example
|
rm -f *.o *.a *~ *.so cs_test swscale-example
|
||||||
|
|
||||||
distclean:
|
distclean: clean
|
||||||
rm -f Makefile.bak *.o *.a *~ *.so .depend cs_test swscale-example
|
rm -f .depend
|
||||||
|
|
||||||
dep: depend
|
dep: depend
|
||||||
|
|
||||||
|
|||||||
@@ -26,8 +26,8 @@ all: $(LIBNAME)
|
|||||||
clean:
|
clean:
|
||||||
rm -f *.o *.a *~
|
rm -f *.o *.a *~
|
||||||
|
|
||||||
distclean:
|
distclean: clean
|
||||||
rm -f Makefile.bak *.o *.a *~ .depend
|
rm -f .depend
|
||||||
|
|
||||||
dep: depend
|
dep: depend
|
||||||
|
|
||||||
|
|||||||
@@ -27,8 +27,8 @@ clean:
|
|||||||
rm -f *.o *.a *~
|
rm -f *.o *.a *~
|
||||||
$(DO_MAKE)
|
$(DO_MAKE)
|
||||||
|
|
||||||
distclean:
|
distclean: clean
|
||||||
rm -f test *.o *.a *~ .depend
|
rm -f .depend test
|
||||||
$(DO_MAKE)
|
$(DO_MAKE)
|
||||||
|
|
||||||
dep: depend
|
dep: depend
|
||||||
|
|||||||
@@ -152,8 +152,8 @@ $(SAVAGE_VID): $(SAVAGE_OBJS)
|
|||||||
clean:
|
clean:
|
||||||
rm -f *.o *.so *~
|
rm -f *.o *.so *~
|
||||||
|
|
||||||
distclean:
|
distclean: clean
|
||||||
rm -f Makefile.bak *.o *.so test *~ .depend
|
rm -f .depend test
|
||||||
|
|
||||||
dep: depend
|
dep: depend
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user