diff options
author | Ken Brown <kbrown@cornell.edu> | 2016-06-05 12:58:22 -0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2016-06-06 11:52:19 +0200 |
commit | 97349b78701e973a2ecfebc520a92a1ab87778e0 (patch) | |
tree | c70ae663fcb005c12f82974d1808b0c99768b459 /winsup/cygwin | |
parent | 7abe634731294a7843e6889dfd23687388f0882b (diff) | |
download | cygnal-97349b78701e973a2ecfebc520a92a1ab87778e0.tar.gz cygnal-97349b78701e973a2ecfebc520a92a1ab87778e0.tar.bz2 cygnal-97349b78701e973a2ecfebc520a92a1ab87778e0.zip |
Allow 'make distclean' to clean winsup/cygwin
But don’t let it remove source files.
Diffstat (limited to 'winsup/cygwin')
-rw-r--r-- | winsup/cygwin/Makefile.in | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/winsup/cygwin/Makefile.in b/winsup/cygwin/Makefile.in index e42dd9441..981f63923 100644 --- a/winsup/cygwin/Makefile.in +++ b/winsup/cygwin/Makefile.in @@ -564,8 +564,9 @@ _cygwin_crt0_common_STDINCFLAGS:=yes libstdcxx_wrapper_STDINCFLAGS:=yes cxx_STDINCFLAGS:=yes -.PHONY: all force dll_ofiles install all_target install_target all_host install_host \ - install install-libs install-headers +.PHONY: all force dll_ofiles install all_target install_target all_host \ + install_host install install-libs install-headers \ + clean distclean realclean maintainer-clean all_host=@all_host@ install_host=@install_host@ @@ -653,14 +654,15 @@ uninstall-man: rm -f $(DESTDIR)$(mandir)/man7/`basename $$i` ; \ done -clean: - -rm -f *.o *.dll *.dbg *.a *.exp junk *.base version.cc *.exe *.d *stamp* *_magic.h sigfe.s cygwin.def globals.h $(srcdir)/$(TLSOFFSETS_H) $(srcdir)/devices.cc +clean distclean realclean: + -rm -f *.o *.dll *.dbg *.a *.exp junk *.base version.cc *.exe *.d *stamp* *_magic.h sigfe.s cygwin.def globals.h -@$(MAKE) -C ${cygserver_blddir} libclean -maintainer-clean realclean: clean +maintainer-clean: clean @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." -rm -fr configure + -rm -f $(srcdir)/$(TLSOFFSETS_H) $(srcdir)/devices.cc # Rule to build LDSCRIPT $(LDSCRIPT): $(LDSCRIPT).in |