308 extern Boolean target_variants;
309 extern const char *tmpdir;
310 extern const char *temp_file_directory;
311 extern Name temp_file_name;
312 extern short temp_file_number;
313 extern wchar_t *top_level_target;
314 extern Boolean touch;
315 extern Boolean trace_reader;
316 extern Boolean build_unconditional;
317 extern pathpt vroot_path;
318 extern Name wait_name;
319 extern wchar_t wcs_buffer2[];
320 extern wchar_t *wcs_ptr;
321 extern wchar_t *wcs_ptr2;
322 extern nl_catd catd;
323 extern long int hostid;
324
325 /*
326 * Declarations of system defined variables
327 */
328 #if !defined(linux)
329 /* On linux this variable is defined in 'signal.h' */
330 extern char *sys_siglist[];
331 #endif
332
333 /*
334 * Declarations of system supplied functions
335 */
336 extern int file_lock(char *, char *, int *, int);
337
338 /*
339 * Declarations of functions declared and used by make
340 */
341 extern void add_pending(Name target, int recursion_level, Boolean do_get, Boolean implicit, Boolean redo);
342 extern void add_running(Name target, Name true_target, Property command, int recursion_level, int auto_count, Name *automatics, Boolean do_get, Boolean implicit);
343 extern void add_serial(Name target, int recursion_level, Boolean do_get, Boolean implicit);
344 extern void add_subtree(Name target, int recursion_level, Boolean do_get, Boolean implicit);
345 extern void append_or_replace_macro_in_dyn_array(ASCII_Dyn_Array *Ar, char *macro);
346 #ifdef DISTRIBUTED
347 extern Doname await_dist(Boolean waitflg);
348 #endif
349 #ifdef TEAMWARE_MAKE_CMN
350 extern void await_parallel(Boolean waitflg);
351 #endif
389 extern Chain find_target_groups(register Name_vector target_list, register int i, Boolean reset);
390 extern void finish_children(Boolean docheck);
391 extern void finish_running(void);
392 extern void free_chain(Name_vector ptr);
393 extern void gather_recursive_deps(void);
394 extern char *get_current_path(void);
395 extern int get_job_msg_id(void);
396 extern FILE *get_mtool_msgs_fp(void);
397 #ifdef DISTRIBUTED
398 extern Boolean get_dmake_group_specified(void);
399 extern Boolean get_dmake_max_jobs_specified(void);
400 extern Boolean get_dmake_mode_specified(void);
401 extern Boolean get_dmake_odir_specified(void);
402 extern Boolean get_dmake_rcfile_specified(void);
403 extern Boolean get_pmake_machinesfile_specified(void);
404 #endif
405 #if defined(DISTRIBUTED) || defined(MAKETOOL) /* tolik */
406 extern XDR *get_xdrs_ptr(void);
407 #endif
408 extern wchar_t *getmem_wc(register int size);
409 #if !defined(linux)
410 /* On linux getwd(char *) is defined in 'unistd.h' */
411 #ifdef __cplusplus
412 extern "C" {
413 #endif
414 extern char *getwd(char *);
415 #ifdef __cplusplus
416 }
417 #endif
418 #endif
419 extern void handle_interrupt(int);
420 extern Boolean is_running(Name target);
421 extern void load_cached_names(void);
422 extern Boolean parallel_ok(Name target, Boolean line_prop_must_exists);
423 extern void print_dependencies(register Name target, register Property line);
424 extern void send_job_start_msg(Property line);
425 extern void send_rsrc_info_msg(int max_jobs, char *hostname, char *username);
426 extern void print_value(register Name value, Daemon daemon);
427 extern timestruc_t& read_archive(register Name target);
428 extern int read_dir(Name dir, wchar_t *pattern, Property line, wchar_t *library);
429 extern void read_directory_of_file(register Name file);
430 extern int read_make_machines(Name make_machines_name);
431 extern Boolean read_simple_file(register Name makefile_name, register Boolean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exist, Boolean report_file, Boolean lock_makefile);
432 extern void remove_recursive_dep(Name target);
433 extern void report_recursive_dep(Name target, char *line);
434 extern void report_recursive_done(void);
435 extern void report_recursive_init(void);
436 extern Recursive_make find_recursive_target(Name target);
437 extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index);
438 extern void set_locals(register Name target, register Property old_locals);
|
308 extern Boolean target_variants;
309 extern const char *tmpdir;
310 extern const char *temp_file_directory;
311 extern Name temp_file_name;
312 extern short temp_file_number;
313 extern wchar_t *top_level_target;
314 extern Boolean touch;
315 extern Boolean trace_reader;
316 extern Boolean build_unconditional;
317 extern pathpt vroot_path;
318 extern Name wait_name;
319 extern wchar_t wcs_buffer2[];
320 extern wchar_t *wcs_ptr;
321 extern wchar_t *wcs_ptr2;
322 extern nl_catd catd;
323 extern long int hostid;
324
325 /*
326 * Declarations of system defined variables
327 */
328 /* On linux this variable is defined in 'signal.h' */
329 extern char *sys_siglist[];
330
331 /*
332 * Declarations of system supplied functions
333 */
334 extern int file_lock(char *, char *, int *, int);
335
336 /*
337 * Declarations of functions declared and used by make
338 */
339 extern void add_pending(Name target, int recursion_level, Boolean do_get, Boolean implicit, Boolean redo);
340 extern void add_running(Name target, Name true_target, Property command, int recursion_level, int auto_count, Name *automatics, Boolean do_get, Boolean implicit);
341 extern void add_serial(Name target, int recursion_level, Boolean do_get, Boolean implicit);
342 extern void add_subtree(Name target, int recursion_level, Boolean do_get, Boolean implicit);
343 extern void append_or_replace_macro_in_dyn_array(ASCII_Dyn_Array *Ar, char *macro);
344 #ifdef DISTRIBUTED
345 extern Doname await_dist(Boolean waitflg);
346 #endif
347 #ifdef TEAMWARE_MAKE_CMN
348 extern void await_parallel(Boolean waitflg);
349 #endif
387 extern Chain find_target_groups(register Name_vector target_list, register int i, Boolean reset);
388 extern void finish_children(Boolean docheck);
389 extern void finish_running(void);
390 extern void free_chain(Name_vector ptr);
391 extern void gather_recursive_deps(void);
392 extern char *get_current_path(void);
393 extern int get_job_msg_id(void);
394 extern FILE *get_mtool_msgs_fp(void);
395 #ifdef DISTRIBUTED
396 extern Boolean get_dmake_group_specified(void);
397 extern Boolean get_dmake_max_jobs_specified(void);
398 extern Boolean get_dmake_mode_specified(void);
399 extern Boolean get_dmake_odir_specified(void);
400 extern Boolean get_dmake_rcfile_specified(void);
401 extern Boolean get_pmake_machinesfile_specified(void);
402 #endif
403 #if defined(DISTRIBUTED) || defined(MAKETOOL) /* tolik */
404 extern XDR *get_xdrs_ptr(void);
405 #endif
406 extern wchar_t *getmem_wc(register int size);
407 /* On linux getwd(char *) is defined in 'unistd.h' */
408 #ifdef __cplusplus
409 extern "C" {
410 #endif
411 extern char *getwd(char *);
412 #ifdef __cplusplus
413 }
414 #endif
415 extern void handle_interrupt(int);
416 extern Boolean is_running(Name target);
417 extern void load_cached_names(void);
418 extern Boolean parallel_ok(Name target, Boolean line_prop_must_exists);
419 extern void print_dependencies(register Name target, register Property line);
420 extern void send_job_start_msg(Property line);
421 extern void send_rsrc_info_msg(int max_jobs, char *hostname, char *username);
422 extern void print_value(register Name value, Daemon daemon);
423 extern timestruc_t& read_archive(register Name target);
424 extern int read_dir(Name dir, wchar_t *pattern, Property line, wchar_t *library);
425 extern void read_directory_of_file(register Name file);
426 extern int read_make_machines(Name make_machines_name);
427 extern Boolean read_simple_file(register Name makefile_name, register Boolean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exist, Boolean report_file, Boolean lock_makefile);
428 extern void remove_recursive_dep(Name target);
429 extern void report_recursive_dep(Name target, char *line);
430 extern void report_recursive_done(void);
431 extern void report_recursive_init(void);
432 extern Recursive_make find_recursive_target(Name target);
433 extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index);
434 extern void set_locals(register Name target, register Property old_locals);
|