summaryrefslogtreecommitdiff
path: root/src/dir.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2023-01-15 17:32:15 -0500
committerPaul Smith <psmith@gnu.org>2023-01-15 17:32:15 -0500
commitd4692df20de2db10c186d981ee04ce20487a79c3 (patch)
tree72ef52be87feb4d0cc96cc98010e364fce8c5518 /src/dir.c
parente6bd61d949df4bde73d2f7c09d09df687c9283b2 (diff)
downloadmake-git-d4692df20de2db10c186d981ee04ce20487a79c3.tar.gz
Remove support for AmigaOS
There is a lot of specialized code for supporting AmigaOS and it has not been maintained for a number of years. It's highly unlikely that the latest versions even compile properly on AmigaOS anymore. After requesting that someone step forward to own the maintenance of the port in the GNU Make 4.4 release and getting no takers, I removed it. * NEWS: Announce the removal. * README.in: Remove README.Amiga reference. * README.Amiga: Remove unused file. * SCOPTIONS: Ditto. * src/amiga.c: Ditto. * src/amiga.h: Ditto. * src/config.ami: Ditto. * mk/Amiga.mk: Ditto. * Makefile.am: Remove references to deleted files. * Basic.mk.template: Ditto. * maintMakefile: Ditto. * src/commands.c: Remove ifdef'd Amiga code. * src/default.c: Ditto. * src/dir.c: Ditto. * src/file.c: Ditto. * src/function.c: Ditto. * src/job.c: Ditto. * src/job.h: Ditto. * src/main.c: Ditto. * src/os.h: Ditto. * src/read.c: Ditto. * src/remake.c: Ditto.
Diffstat (limited to 'src/dir.c')
-rw-r--r--src/dir.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/dir.c b/src/dir.c
index 3e94b98e..9c5fa0a9 100644
--- a/src/dir.c
+++ b/src/dir.c
@@ -114,10 +114,6 @@ dosify (const char *filename)
#include "pathstuff.h"
#endif
-#ifdef _AMIGA
-#include <ctype.h>
-#endif
-
#ifdef HAVE_CASE_INSENSITIVE_FS
static const char *
downcase (const char *filename)
@@ -853,11 +849,7 @@ file_exists_p (const char *name)
}
#endif /* HAVE_DOS_PATHS */
if (dirend == NULL)
-#ifndef _AMIGA
return dir_file_exists_p (".", name);
-#else /* !AMIGA */
- return dir_file_exists_p ("", name);
-#endif /* AMIGA */
slash = dirend;
if (dirend == name)
@@ -927,11 +919,7 @@ file_impossible (const char *filename)
}
#endif /* HAVE_DOS_PATHS */
if (dirend == NULL)
-#ifdef _AMIGA
- dir = find_directory ("");
-#else /* !AMIGA */
dir = find_directory (".");
-#endif /* AMIGA */
else
{
const char *dirname;
@@ -1023,11 +1011,7 @@ file_impossible_p (const char *filename)
}
#endif /* HAVE_DOS_PATHS */
if (dirend == NULL)
-#ifdef _AMIGA
- dir = find_directory ("")->contents;
-#else /* !AMIGA */
dir = find_directory (".")->contents;
-#endif /* AMIGA */
else
{
const char *dirname;