Using "libtool --clean" to remove regular files is slow.
We only need to use libtool's clean mode to remove files created by libtool.
This commit is contained in:
@@ -160,8 +160,8 @@ check: $(TEST_PROGS)
|
||||
fi
|
||||
|
||||
clean:
|
||||
-$(LIBTOOL) $(LTFLAGS) --mode=clean rm -f $(TEST_PROGS) *.lo *.o \
|
||||
*.la *.a *.i *.plog stamp-* core *.core core.* regress/*/*.out \
|
||||
-$(LIBTOOL) $(LTFLAGS) --mode=clean rm -f $(TEST_PROGS) *.lo *.o *.la
|
||||
-rm -f *.i *.plog stamp-* core *.core core.* regress/*/*.out \
|
||||
regress/*/*.err
|
||||
|
||||
mostlyclean: clean
|
||||
|
@@ -143,8 +143,8 @@ pvs-log-files: $(POBJS)
|
||||
check:
|
||||
|
||||
clean:
|
||||
-$(LIBTOOL) $(LTFLAGS) --mode=clean rm -f *.lo *.o \
|
||||
*.la *.a *.i *.plog stamp-* core *.core core.*
|
||||
-$(LIBTOOL) $(LTFLAGS) --mode=clean rm -f *.lo *.o *.la
|
||||
-rm -f *.i *.plog stamp-* core *.core core.*
|
||||
|
||||
mostlyclean: clean
|
||||
|
||||
|
@@ -410,8 +410,8 @@ check: $(TEST_PROGS)
|
||||
fi
|
||||
|
||||
clean:
|
||||
-$(LIBTOOL) $(LTFLAGS) --mode=clean rm -f $(TEST_PROGS) *.lo *.o \
|
||||
*.la *.a *.i *.plog stamp-* core *.core core.* regress/*/*.out \
|
||||
-$(LIBTOOL) $(LTFLAGS) --mode=clean rm -f $(TEST_PROGS) *.lo *.o *.la
|
||||
-rm -f *.i *.plog stamp-* core *.core core.* regress/*/*.out \
|
||||
regress/*/*.err
|
||||
|
||||
mostlyclean: clean
|
||||
|
@@ -158,8 +158,8 @@ pvs-studio:
|
||||
check:
|
||||
|
||||
clean:
|
||||
-$(LIBTOOL) $(LTFLAGS) --mode=clean rm -f *.lo *.o *.la *.a stamp-* \
|
||||
core *.core core.*
|
||||
-$(LIBTOOL) $(LTFLAGS) --mode=clean rm -f *.lo *.o *.la
|
||||
-rm -f stamp-* core *.core core.*
|
||||
|
||||
mostlyclean: clean
|
||||
|
||||
|
@@ -185,8 +185,8 @@ pvs-studio: $(POBJS)
|
||||
check:
|
||||
|
||||
clean:
|
||||
-$(LIBTOOL) $(LTFLAGS) --mode=clean rm -f $(PROGS) \
|
||||
*.lo *.o *.la *.a *.i *.plog stamp-* core *.core core.* nohup.out
|
||||
-$(LIBTOOL) $(LTFLAGS) --mode=clean rm -f $(PROGS) *.lo *.o *.la
|
||||
-rm -f *.i *.plog stamp-* core *.core core.*
|
||||
|
||||
mostlyclean: clean
|
||||
|
||||
|
@@ -181,8 +181,8 @@ pvs-studio: $(POBJS)
|
||||
check:
|
||||
|
||||
clean:
|
||||
-$(LIBTOOL) $(LTFLAGS) --mode=clean rm -f *.lo *.o *.la *.a *.i *.plog \
|
||||
stamp-* core *.core core.*
|
||||
-$(LIBTOOL) $(LTFLAGS) --mode=clean rm -f *.lo *.o *.la
|
||||
-rm -f *.i *.plog stamp-* core *.core core.*
|
||||
|
||||
mostlyclean: clean
|
||||
|
||||
|
@@ -185,8 +185,8 @@ pvs-studio: $(POBJS)
|
||||
check:
|
||||
|
||||
clean:
|
||||
-$(LIBTOOL) $(LTFLAGS) --mode=clean rm -f *.lo *.o *.la *.a *.i *.plog \
|
||||
stamp-* core *.core core.*
|
||||
-$(LIBTOOL) $(LTFLAGS) --mode=clean rm -f *.lo *.o *.la
|
||||
-rm -f *.i *.plog stamp-* core *.core core.*
|
||||
|
||||
mostlyclean: clean
|
||||
|
||||
|
@@ -176,8 +176,8 @@ pvs-studio: $(POBJS)
|
||||
check:
|
||||
|
||||
clean:
|
||||
-$(LIBTOOL) $(LTFLAGS) --mode=clean rm -f *.lo *.o *.la *.a *.i *.plog \
|
||||
stamp-* core *.core core.*
|
||||
-$(LIBTOOL) $(LTFLAGS) --mode=clean rm -f *.lo *.o *.la
|
||||
-rm -f *.i *.plog stamp-* core *.core core.*
|
||||
|
||||
mostlyclean: clean
|
||||
|
||||
|
@@ -606,10 +606,10 @@ check: $(TEST_PROGS) visudo testsudoers cvtsudoers
|
||||
|
||||
clean:
|
||||
-$(LIBTOOL) $(LTFLAGS) --mode=clean rm -f $(PROGS) $(TEST_PROGS) \
|
||||
*.lo *.o *.la *.a *.i *.plog stamp-* core *.core core.* \
|
||||
prologue regress/*/*.out regress/*/*.toke regress/*/*.err \
|
||||
regress/*/*.json regress/*/*.ldif regress/*/*.ldif2sudo \
|
||||
regress/*/*.sudo
|
||||
*.lo *.o *.la
|
||||
-rm -f *.i *.plog stamp-* core *.core core.* prologue regress/*/*.out \
|
||||
regress/*/*.toke regress/*/*.err regress/*/*.json \
|
||||
regress/*/*.ldif regress/*/*.ldif2sudo regress/*/*.sudo
|
||||
-rm -rf regress/iolog_plugin/iolog
|
||||
|
||||
mostlyclean: clean
|
||||
|
@@ -181,8 +181,8 @@ pvs-studio: $(POBJS)
|
||||
check:
|
||||
|
||||
clean:
|
||||
-$(LIBTOOL) $(LTFLAGS) --mode=clean rm -f *.lo *.o *.la *.a *.i *.plog \
|
||||
stamp-* core *.core core.*
|
||||
-$(LIBTOOL) $(LTFLAGS) --mode=clean rm -f *.lo *.o *.la
|
||||
-rm -f *.i *.plog stamp-* core *.core core.*
|
||||
|
||||
mostlyclean: clean
|
||||
|
||||
|
@@ -270,7 +270,8 @@ check: $(TEST_PROGS)
|
||||
|
||||
clean:
|
||||
-$(LIBTOOL) $(LTFLAGS) --mode=clean rm -f $(PROGS) $(TEST_PROGS) \
|
||||
*.lo *.o *.la *.a *.i *.plog stamp-* core *.core core.* nohup.out
|
||||
*.lo *.o *.la
|
||||
-rm -f *.i *.plog stamp-* core *.core core.*
|
||||
|
||||
mostlyclean: clean
|
||||
|
||||
|
Reference in New Issue
Block a user