diff --git a/Makefile b/Makefile index aada4a1..762bb77 100644 --- a/Makefile +++ b/Makefile @@ -242,6 +242,7 @@ uninstall-include-recursive uninstall-man-recursive: fi; \ list='$(SUBDIRS)'; \ if test "$@" = clean-recursive; then list='$(filter-out $(LIBDIRS),$(SUBDIRS))'; fi; \ + if test "$@" = distclean-recursive; then list='$(filter-out $(LIBDIRS),$(SUBDIRS))'; fi; \ for subdir in $$list; do \ target=`echo $@ | sed s/-recursive//`; \ echo "Making $$target in $$subdir"; \ @@ -267,6 +268,7 @@ install-headers-recursive: echo "attempting to install on host; aborting" >&2; \ exit 1; \ fi; \ + $(MAKE) -C syscall all || exit 1; \ list='include sunrpc'; \ for subdir in $$list; do \ target=`echo $@ | sed s/-recursive//`; \ diff --git a/syscall/Makefile b/syscall/Makefile index cbef3b1..5137f8e 100644 --- a/syscall/Makefile +++ b/syscall/Makefile @@ -37,6 +37,7 @@ include $(top_srcdir)/checkrules distclean:: $(RM) SRCFILES.traps syscalls.stmp .stmp.pars pars.c pars.h scan.c + $(RM) $(top_srcdir)/include/mint/sysbind.h $(top_srcdir)/include/mint/trap{1,13,14}.h clean:: $(RM) gen-syscall