Use libtool to clean objects
authorTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 21 May 2010 20:53:21 +0000 (16:53 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 21 May 2010 20:53:21 +0000 (16:53 -0400)
compat/Makefile.in
plugins/sample/Makefile.in
plugins/sudoers/Makefile.in
src/Makefile.in

index e766e5c8cd35e57b415b434025b655d520c52527..30eb6d9b497ce11702b9d2a6c3a602df41b5fbca 100644 (file)
@@ -113,7 +113,7 @@ check:
        @echo nothing to check
 
 clean:
-       -rm -f mksiglist siglist.c *.a *.o *.lo *.la stamp-* core *.core core.*
+       -$(LIBTOOL) --mode=clean rm -f mksiglist siglist.c *.a *.o *.lo *.la stamp-* core *.core core.*
 
 mostlyclean: clean
 
index e348a7931a3122d62e0a50190a7165b721536b88..9576f1ad2c524c170e54e8b626929cbb3c97c920 100644 (file)
@@ -103,7 +103,7 @@ check:
        @echo nothing to check
 
 clean:
-       -rm -f *.a *.o *.lo *.la stamp-* core *.core core.*
+       -$(LIBTOOL) --mode=clean rm -f *.a *.o *.lo *.la stamp-* core *.core core.*
 
 mostlyclean: clean
 
index f658fadc0b6bf66e099eb06edb03a30b706bac4f..1ee19e021feba5bc9b4a31771fba78744ae222af 100644 (file)
@@ -301,7 +301,7 @@ check:
        @echo nothing to check
 
 clean:
-       -rm -f sudoreplay testsudoers visudo *.a *.o *.lo *.la stamp-* core *.core core.*
+       -$(LIBTOOL) --mode=clean rm -f sudoreplay testsudoers visudo *.a *.o *.lo *.la stamp-* core *.core core.*
 
 mostlyclean: clean
 
index b015d8aa0207292724fbb90115aad5b60737f9b1..b0edf451b28684a2bb513932e128fd4b35c0899b 100644 (file)
@@ -153,7 +153,7 @@ check:
        @echo nothing to check
 
 clean:
-       -rm -f *.a *.o *.lo *.la $(PROGS) core *.core core.*
+       -$(LIBTOOL) --mode=clean rm -f *.a *.o *.lo *.la $(PROGS) core *.core core.*
 
 mostlyclean: clean