Print this page
make: unifdef SUN5_0 (defined)
*** 148,202 ****
(doname_it)) {
if (makefile_path == NULL) {
add_dir_to_path(".",
&makefile_path,
-1);
- #ifdef SUN5_0
add_dir_to_path(NOCATGETS("/usr/share/lib/make"),
&makefile_path,
-1);
add_dir_to_path(NOCATGETS("/etc/default"),
&makefile_path,
-1);
- #elif defined(HP_UX)
- findrundir_err = avo_find_run_dir(&run_dir);
- if (! findrundir_err) {
- (void) sprintf(makerules_dir, NOCATGETS("%s/../share/lib/make"), run_dir);
- add_dir_to_path(makerules_dir,
- &makefile_path,
- -1);
- }
-
- add_dir_to_path(NOCATGETS("/opt/SUNWspro/share/lib/make"),
- &makefile_path,
- -1);
- add_dir_to_path(NOCATGETS("/usr/share/lib/make"),
- &makefile_path,
- -1);
- #elif defined(linux)
- findrundir_err = avo_find_run_dir(&run_dir);
- if (! findrundir_err) {
- (void) sprintf(makerules_dir, NOCATGETS("%s/../lib"), run_dir);
- add_dir_to_path(makerules_dir,
- &makefile_path,
- -1);
- }
-
- add_dir_to_path(NOCATGETS("/usr/SUNWspro/lib"),
- &makefile_path,
- -1);
- add_dir_to_path(NOCATGETS("/opt/SUNWspro/share/lib/make"),
- &makefile_path,
- -1);
- add_dir_to_path(NOCATGETS("/usr/share/lib/make"),
- &makefile_path,
- -1);
- #else
- add_dir_to_path(NOCATGETS("/usr/include/make"),
- &makefile_path,
- -1);
- #endif
}
save_makefile_type = makefile_type;
makefile_type = reading_nothing;
if (doname(makefile_name, true, false) == build_dont_know) {
/* Try normalized filename */
--- 148,163 ----