File tree Expand file tree Collapse file tree 4 files changed +15
-7
lines changed Expand file tree Collapse file tree 4 files changed +15
-7
lines changed Original file line number Diff line number Diff line change @@ -75,9 +75,11 @@ install-headers: install-include-recursive
75
75
76
76
install-man : all install-man-recursive
77
77
78
- clean : clean-recursive
78
+ clean :: clean-recursive
79
79
rm -rf .deps includepath CFILES
80
80
81
+ distclean :: distclean-recursive
82
+
81
83
bakclean : bakclean-recursive
82
84
83
85
checkclean : checkclean-recursive
@@ -155,7 +157,7 @@ bindistdir: $(BINDISTFILES)
155
157
|| exit 1; \
156
158
done
157
159
158
- all-recursive clean-recursive bakclean-recursive \
160
+ all-recursive clean-recursive distclean-recursive bakclean-recursive \
159
161
install-recursive uninstall-recursive install-lib-recursive \
160
162
install-include-recursive install-man-recursive uninstall-lib-recursive \
161
163
uninstall-include-recursive uninstall-man-recursive :
Original file line number Diff line number Diff line change @@ -4,9 +4,6 @@ include $(srcdir)/BINFILES
4
4
include $(srcdir)/SRCFILES
5
5
include $(srcdir)/EXTRAFILES
6
6
include $(srcdir)/MISCFILES
7
- -include $(srcdir)/RPCSVCCFILES
8
- -include $(srcdir)/RPCGENCFILES
9
- -include $(srcdir)/RPCINFOCFILES
10
7
11
8
mkinstalldirs = $(top_srcdir)/mkinstalldirs
12
9
MOVEIFCHANGE = $(top_srcdir)/move-if-change
@@ -17,11 +14,13 @@ bakclean:
17
14
rm -f *~ *# *.BAK *.bak
18
15
rm -f *.orig *.rej
19
16
20
- clean:
17
+ clean::
21
18
rm -f *.o lib*.a *.tmp
22
19
rm -f core report nohup.out errlog
23
20
rm -rf .deps
24
21
22
+ distclean:: clean
23
+
25
24
install: all-here install-include install-lib install-man \
26
25
install-recursive
27
26
Original file line number Diff line number Diff line change 34
34
35
35
dont_install_libs = yes
36
36
include $(top_srcdir ) /rules $(top_srcdir ) /phony
37
+ include $(srcdir ) /RPCSVCCFILES
38
+ include $(srcdir ) /RPCGENCFILES
39
+ include $(srcdir ) /RPCINFOCFILES
37
40
38
41
# FIXME: Tests still missing.
39
42
TESTS = dummy
Original file line number Diff line number Diff line change @@ -37,7 +37,11 @@ include $(top_srcdir)/checkrules
37
37
cflags = -O -Wall
38
38
type =
39
39
40
- # FIXME: adjust rules in toplevel to cleanup .stmp.pars, syscalls.stmp and other generated files
40
+ distclean ::
41
+ $(RM ) SRCFILES.traps syscalls.stmp .stmp.pars pars.c pars.h scan.c
42
+
43
+ clean ::
44
+ $(RM ) gen-syscall
41
45
42
46
syscalls.stmp : gen-syscall0 syscalls.master
43
47
echo " TRAPS=" > SRCFILES.traps
You can’t perform that action at this time.
0 commit comments