This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
[PATCH] "make install" in mmalloc to work on MS-DOS
- To: gdb-patches at sourceware dot cygnus dot com
- Subject: [PATCH] "make install" in mmalloc to work on MS-DOS
- From: Eli Zaretskii <eliz at delorie dot com>
- Date: Sun, 19 Mar 2000 07:15:38 -0500 (EST)
- Reply-to: Eli Zaretskii <eliz at is dot elta dot co dot il>
The following patch is required so that "make install" would work on
filesystems where libmmalloc.a.n is not a valid file name.
Okay to commit?
2000-03-17 Eli Zaretskii <eliz@is.elta.co.il>
* Makefile.in (install): Append "n", not ".n" to libmmalloc.a,
since the latter loses on DOS 8+3 filesystems.
--- mmalloc/Makefile.i~0 Fri Apr 16 03:55:28 1999
+++ mmalloc/Makefile.in Fri Mar 17 14:32:50 2000
@@ -121,9 +121,9 @@
# ./a.out
install: all
- $(INSTALL_DATA) $(TARGETLIB) $(libdir)/$(TARGETLIB).n
- $(RANLIB) $(libdir)/$(TARGETLIB).n
- mv -f $(libdir)/$(TARGETLIB).n $(libdir)/$(TARGETLIB)
+ $(INSTALL_DATA) $(TARGETLIB) $(libdir)/$(TARGETLIB)n
+ $(RANLIB) $(libdir)/$(TARGETLIB)n
+ mv -f $(libdir)/$(TARGETLIB)n $(libdir)/$(TARGETLIB)
$(TARGETLIB): $(TARGETOBJS)
$(RM) -rf $@