diff -cwr unix-make-3.63/dir.c amiga-make-3.63/dir.c *** unix-make-3.63/dir.c Thu Jan 28 18:59:31 1993 --- amiga-make-3.63/dir.c Wed Jan 27 18:32:36 1993 *************** *** 494,500 **** --- 494,504 ---- /* Hooks for globbing. */ + #ifndef amigados #include + #else + #include "glob.h" + #endif /* Structure describing state of iterating through a directory hash table. */ diff -cwr unix-make-3.63/read.c amiga-make-3.63/read.c *** unix-make-3.63/read.c Thu Jan 28 18:59:34 1993 --- amiga-make-3.63/read.c Wed Jan 27 19:39:33 1993 *************** *** 80,89 **** --- 80,95 ---- static char *default_include_directories[] = { + #ifndef amigados INCLUDEDIR, "/usr/gnu/include", "/usr/local/include", "/usr/include", + #else + "/gcc/include", + "/gcc/g++-include", + "/gcc/os-include", + #endif 0 }; diff -cwr unix-make-3.63/remake.c amiga-make-3.63/remake.c *** unix-make-3.63/remake.c Thu Jan 28 18:59:34 1993 --- amiga-make-3.63/remake.c Wed Jan 27 19:30:10 1993 *************** *** 930,938 **** { static char *dirs[] = { "/lib", "/usr/lib", ! LIBDIR, /* Defined by configuration. */ 0 }; --- 930,943 ---- { static char *dirs[] = { + #ifndef amigados "/lib", "/usr/lib", ! LIBDIR, ! #else ! "/gcc/lib", ! "/gcc/blib", ! #endif 0 }; *************** *** 939,945 **** --- 944,954 ---- char *libname = &(*lib)[2]; /* Name without the `-l'. */ /* Buffer to construct possible names in. */ + #ifndef amigados char *buf = xmalloc (sizeof (LIBDIR) + 8 + strlen (libname) + 4 + 2 + 1); + #else + char *buf = xmalloc (8 + strlen (libname) + 9 + 2 + 1); + #endif char *file, **dp; /* Look first for `libNAME.a' in the current directory. */