File: makefile_distclean.patch

package info (click to toggle)
aces3 3.0.8-9
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 775,180 kB
  • sloc: f90: 5,133,741; fortran: 381,059; ansic: 22,951; pascal: 7,515; cpp: 4,349; makefile: 1,715; csh: 292; sh: 144
file content (86 lines) | stat: -rw-r--r-- 2,810 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
Index: aces3-3.0.8/tests/Makefile
===================================================================
--- aces3-3.0.8.orig/tests/Makefile
+++ aces3-3.0.8/tests/Makefile
@@ -217,7 +217,7 @@ scripts: % : ;
 	   done  
 	@cp runscript $(INSTALL_DIR) ;
 
-clean: % : ;
+distclean clean: % : ;
 	@rm -rf $(INSTALL_DIR) 
 	@rm -rf runscript
 	@rm -rf ACES3_TEST.o*
Index: aces3-3.0.8/Makefile.in
===================================================================
--- aces3-3.0.8.orig/Makefile.in
+++ aces3-3.0.8/Makefile.in
@@ -31,11 +31,17 @@ TARGET_DIRS:=$(shell for dir in $(FILES)
                      do test -f $$dir/Makefile && echo $$dir; \
                      done)
 
-all binclean libclean ppclean clean distclean: % : ;
+all binclean libclean ppclean clean: % : ;
 	@for dir in $(TARGET_DIRS) ; \
 	 do $(MAKE) -C $$dir $@ || exit 1 ; \
 	 done
 
+distclean: clean
+	rm -f lib/lib*
+	rm -f bin/sial bin/xaces3 bin/xtest_compare bin/test_results
+	rm -f bin/sio/default_jobflows bin/sio/sial_config bin/sio/*sio
+	rm -f config.log config.status
+
 relink: binclean all
 
 rebuild: libclean all
--- ./src/aces/aces_library/special_directory/erd_F12/Makefile.in.orig	2014-10-13 17:38:03.682386954 +0200
+++ ./src/aces/aces_library/special_directory/erd_F12/Makefile.in	2014-10-13 17:38:58.149396530 +0200
@@ -57,7 +57,7 @@
 	rm -f liberd_F12.a
 
 ppclean clean distclean: % : tabula_rasa libclean
-	rm -f *.o
+	rm -f *.o *.mod
 
 rebuild: libclean $(FRAMELIB)
 
--- ./src/aces/aces_library/special_directory/oed_F12/Makefile.in.orig	2014-10-13 17:40:12.532043926 +0200
+++ ./src/aces/aces_library/special_directory/oed_F12/Makefile.in	2014-10-13 17:40:19.947909072 +0200
@@ -57,7 +57,7 @@
 	rm -f liboed_F12.a
 
 ppclean clean distclean: % : tabula_rasa libclean
-	rm -f *.o
+	rm -f *.o *.mod
 
 rebuild: libclean $(FRAMELIB)
 
--- ./src/aces/aces_library/special_directory/prop_ints/Makefile.in.orig	2014-10-13 20:30:25.782131961 +0200
+++ ./src/aces/aces_library/special_directory/prop_ints/Makefile.in	2014-10-13 20:30:36.509936592 +0200
@@ -48,7 +48,7 @@
 	ar $(ARFLAGS) libprop_intslib.a $(F_OBJS) $(f_OBJS) $(c_OBJS)
 
 libclean: ;
-	rm -f libprop_intsdlib.a
+	rm -f libprop_intslib.a
 
 ppclean clean distclean: % : tabula_rasa libclean
 	rm -f *.o
--- ./src/aces/aces_sial/Makefile.in.orig	2014-10-13 20:35:13.932884338 +0200
+++ ./src/aces/aces_sial/Makefile.in	2014-10-13 20:35:57.428092226 +0200
@@ -59,12 +59,13 @@
 tabula_rasa: ;
 	rm -f make.out make.err
 
-binclean clean distclean: % : ;
+binclean clean distclean: % : libclean
 	find . -type f -name "*.sio" -exec rm -f '{}' \;
 	find . -type f -name "*.o" -exec rm -f '{}' \;
 rebuild relink: % : binclean all
 
 libclean ppclean archive: % : ;
+	rm -f libsialinst.a
 
 $(LIB_SIALINST): libsialinst.a
 	cp libsialinst.a $(LIB_SIALINST)