diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index ecf7a06f4..bc6703d91 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2001-12-26 Christopher Faylor + + * Makefile.in: Quote arguments to shell scripts. + (clean): Remove new *_magic.h autogenerated files. + 2001-12-25 Christopher Faylor * Makefile.in: Autogenerate some header files which provide magic diff --git a/winsup/cygwin/Makefile.in b/winsup/cygwin/Makefile.in index e7034ef65..05867dccc 100644 --- a/winsup/cygwin/Makefile.in +++ b/winsup/cygwin/Makefile.in @@ -193,7 +193,7 @@ install-man: install_host: clean: - -rm -f *.o *.dll *.a *.exp junk *.base version.cc regexp/*.o winver_stamp *.exe *.d *stamp* + -rm -f *.o *.dll *.a *.exp junk *.base version.cc regexp/*.o winver_stamp *.exe *.d *stamp* *_magic.h maintainer-clean realclean: clean @echo "This command is intended for maintainers to use;" @@ -210,8 +210,8 @@ new-$(DLL_NAME): $(LDSCRIPT) $(DLL_OFILES) $(DEF_FILE) $(DLL_IMPORTS) $(LIBC) $( # Rule to build libcygwin.a $(LIB_NAME): rmsym newsym new-$(DLL_NAME) $(LIBCOS) - /bin/sh ${word 1,$^} ./cygdll.a $(NM) $(AR) $(RANLIB) $(OBSOLETE_FUNCTIONS) || exit 0 - /bin/sh ${word 2,$^} ./cygdll.a $(AS) $(AR) $(RANLIB) $(NEW_FUNCTIONS) || exit 0 + /bin/sh ${word 1,$^} ./cygdll.a "$(NM)" "$(AR)" "$(RANLIB)" $(OBSOLETE_FUNCTIONS) || exit 0 + /bin/sh ${word 2,$^} ./cygdll.a "$(AS)" "$(AR)" "$(RANLIB)" $(NEW_FUNCTIONS) || exit 0 (echo create $(LIB_NAME); echo addmod $(LIBCOS); echo addlib cygdll.a; echo save) | $(AR) -M # Rule to make stub library used by testsuite @@ -231,10 +231,10 @@ version.cc winver.o: winver_stamp @ : shared_info_magic.h: cygmagic shared_info.h - /bin/sh ${word 1,$^} $@ $(CC) ${word 2,$^} MOUNT_MAGIC 'class mount_info' SHARED_MAGIC 'class shared_info' + /bin/sh ${word 1,$^} $@ "$(CC)" ${word 2,$^} MOUNT_MAGIC 'class mount_info' SHARED_MAGIC 'class shared_info' child_info_magic.h: cygmagic child_info.h - /bin/sh ${word 1,$^} $@ $(CC) ${word 2,$^} CHILD_INFO_MAGIC 'class child_info' + /bin/sh ${word 1,$^} $@ "$(CC)" ${word 2,$^} CHILD_INFO_MAGIC 'class child_info' dcrt0.o sigproc.o: child_info_magic.h