"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "sunpro/Make/include/mk/defs.h" between
schily-2021-08-14.tar.bz2 and schily-2021-09-18.tar.bz2

About: Schily Tools are a collection of programs like cdrecord, cdda2wav, mkisofs, star and much more. In memoriam of the author Jörg Schilling, who passed away in October 2021.

defs.h  (schily-2021-08-14.tar.bz2):defs.h  (schily-2021-09-18.tar.bz2)
#ifndef _MK_DEFS_H #ifndef _MK_DEFS_H
#define _MK_DEFS_H #define _MK_DEFS_H
/* /*
* CDDL HEADER START * CDDL HEADER START
* *
* The contents of this file are subject to the terms of the * This file and its contents are supplied under the terms of the
* Common Development and Distribution License (the "License"). * Common Development and Distribution License ("CDDL"), version 1.0.
* You may not use this file except in compliance with the License. * You may use this file only in accordance with the terms of version
* 1.0 of the CDDL.
* *
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * A full copy of the text of the CDDL should have accompanied this
* or http://www.opensolaris.org/os/licensing. * source. A copy of the CDDL is also available via the Internet at
* http://www.opensource.org/licenses/cddl1.txt
* See the License for the specific language governing permissions * See the License for the specific language governing permissions
* and limitations under the License. * and limitations under the License.
* *
* When distributing Covered Code, include this CDDL HEADER in each * When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE. * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the * If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying * fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner] * information: Portions Copyright [yyyy] [name of copyright owner]
* *
* CDDL HEADER END * CDDL HEADER END
skipping to change at line 36 skipping to change at line 38
*/ */
/* /*
* @(#)defs.h 1.61 06/12/12 * @(#)defs.h 1.61 06/12/12
*/ */
#pragma ident "@(#)defs.h 1.61 06/12/12" #pragma ident "@(#)defs.h 1.61 06/12/12"
/* /*
* Copyright 2017-2021 J. Schilling * Copyright 2017-2021 J. Schilling
* *
* @(#)defs.h 1.17 21/08/13 2017-2021 J. Schilling * @(#)defs.h 1.21 21/09/06 2017-2021 J. Schilling
*/ */
/* /*
* Included files * Included files
*/ */
#ifdef DISTRIBUTED #ifdef DISTRIBUTED
# include <dm/Avo_AcknowledgeMsg.h> # include <dm/Avo_AcknowledgeMsg.h>
# include <dm/Avo_DoJobMsg.h> # include <dm/Avo_DoJobMsg.h>
# include <dm/Avo_JobResultMsg.h> # include <dm/Avo_JobResultMsg.h>
#endif #endif
skipping to change at line 253 skipping to change at line 255
extern Name dot; extern Name dot;
extern Name dot_keep_state; extern Name dot_keep_state;
extern Name dot_keep_state_file; extern Name dot_keep_state_file;
extern Name empty_name; extern Name empty_name;
extern Boolean fatal_in_progress; extern Boolean fatal_in_progress;
extern int file_number; extern int file_number;
extern Name force; extern Name force;
extern Name ignore_name; extern Name ignore_name;
extern Boolean ignore_errors; extern Boolean ignore_errors;
extern Boolean ignore_errors_all; extern Boolean ignore_errors_all;
#ifdef DO_INCLUDE_FAILED
extern Name include_failed_name;
extern Boolean include_failed;
#endif
extern Name init; extern Name init;
extern int job_msg_id; extern int job_msg_id;
extern Boolean keep_state; extern Boolean keep_state;
extern Name make_state; extern Name make_state;
#if defined(TEAMWARE_MAKE_CMN) || defined(PMAKE) #if defined(TEAMWARE_MAKE_CMN) || defined(PMAKE)
extern timestruc_t make_state_before; extern timestruc_t make_state_before;
#endif #endif
extern Boolean make_state_locked; extern Boolean make_state_locked;
extern Dependency makefiles_used; extern Dependency makefiles_used;
extern Name makeflags; extern Name makeflags;
skipping to change at line 347 skipping to change at line 353
extern wchar_t wcs_buffer2[]; extern wchar_t wcs_buffer2[];
extern wchar_t *wcs_ptr; extern wchar_t *wcs_ptr;
extern wchar_t *wcs_ptr2; extern wchar_t *wcs_ptr2;
extern long int hostid; extern long int hostid;
extern Boolean current_path_reset; extern Boolean current_path_reset;
/* /*
* Declarations of system defined variables * Declarations of system defined variables
*/ */
#if !defined(HAVE_STRSIGNAL) #if !defined(HAVE_STRSIGNAL)
#if !defined(linux) #ifdef HAVE_SYS_SIGLIST
/* On linux this variable is defined in 'signal.h' */ #ifndef HAVE_SYS_SIGLIST_DEF
extern char *sys_siglist[]; extern char *sys_siglist[];
#endif #endif
#endif #endif
#endif
/* /*
* Declarations of system supplied functions * Declarations of system supplied functions
*/ */
extern int file_lock(char *, char *, int *, int); extern int file_lock(char *, char *, int *, int);
/* /*
* Declarations of functions declared and used by make * Declarations of functions declared and used by make
*/ */
extern void add_pending(Name target, int recursion_level, Boolean do_ get, Boolean implicit, Boolean redo); extern void add_pending(Name target, int recursion_level, Boolean do_ get, Boolean implicit, Boolean redo);
skipping to change at line 433 skipping to change at line 440
extern Boolean get_dmake_mode_specified(void); extern Boolean get_dmake_mode_specified(void);
extern Boolean get_dmake_odir_specified(void); extern Boolean get_dmake_odir_specified(void);
extern Boolean get_dmake_rcfile_specified(void); extern Boolean get_dmake_rcfile_specified(void);
extern Boolean get_pmake_machinesfile_specified(void); extern Boolean get_pmake_machinesfile_specified(void);
#endif #endif
extern char *find_run_dir(void); extern char *find_run_dir(void);
#if defined(DISTRIBUTED) || defined(MAKETOOL) /* tolik */ #if defined(DISTRIBUTED) || defined(MAKETOOL) /* tolik */
extern XDR *get_xdrs_ptr(void); extern XDR *get_xdrs_ptr(void);
#endif #endif
extern wchar_t *getmem_wc(register int size); extern wchar_t *getmem_wc(register int size);
#if !defined(linux)
/* On linux getwd(char *) is defined in 'unistd.h' */
#ifdef __cplusplus
extern "C" {
#endif
extern char *getwd(char *);
#ifdef __cplusplus
}
#endif
#endif
extern void handle_interrupt(int); extern void handle_interrupt(int);
extern Boolean is_running(Name target); extern Boolean is_running(Name target);
extern void load_cached_names(void); extern void load_cached_names(void);
extern void define_var(const char *name, const char *value); extern void define_var(const char *name, const char *value);
extern char *get_var(const char *name); extern char *get_var(const char *name);
extern void setup_arch(void); extern void setup_arch(void);
extern Boolean parallel_ok(Name target, Boolean line_prop_must_exists); extern Boolean parallel_ok(Name target, Boolean line_prop_must_exists);
extern void print_dependencies(register Name target, register Propert y line); extern void print_dependencies(register Name target, register Propert y line);
extern void send_job_start_msg(Property line); extern void send_job_start_msg(Property line);
extern void send_rsrc_info_msg(int max_jobs, char *hostname, char *us ername); extern void send_rsrc_info_msg(int max_jobs, char *hostname, char *us ername);
extern void print_value(register Name value, Daemon daemon); extern void print_value(register Name value, Daemon daemon);
extern timestruc_t& read_archive(register Name target); extern timestruc_t& read_archive(register Name target);
extern int read_dir(Name dir, wchar_t *pattern, Property line, wchar _t *library); extern int read_dir(Name dir, wchar_t *pattern, Property line, wchar _t *library);
extern void read_directory_of_file(register Name file); extern void read_directory_of_file(register Name file);
extern int read_make_machines(Name make_machines_name); extern int read_make_machines(Name make_machines_name);
extern Boolean read_simple_file(register Name makefile_name, register Bo olean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exi st, Boolean report_file, Boolean lock_makefile); extern Boolean read_simple_file(register Name makefile_name, register Bo olean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exi st, Boolean report_file, Boolean lock_makefile, Boolean is_include = false);
extern void remove_recursive_dep(Name target); extern void remove_recursive_dep(Name target);
extern void report_recursive_dep(Name target, char *line); extern void report_recursive_dep(Name target, char *line);
extern void report_recursive_done(void); extern void report_recursive_done(void);
extern void report_recursive_init(void); extern void report_recursive_init(void);
extern Recursive_make find_recursive_target(Name target); extern Recursive_make find_recursive_target(Name target);
extern void reset_locals(register Name target, register Property old_ locals, register Property conditional, register int index); extern void reset_locals(register Name target, register Property old_ locals, register Property conditional, register int index);
extern void set_locals(register Name target, register Property old_lo cals); extern void set_locals(register Name target, register Property old_lo cals);
extern void setvar_append(register Name name, register Name value); extern void setvar_append(register Name name, register Name value);
#ifdef DISTRIBUTED #ifdef DISTRIBUTED
extern void setvar_envvar(Avo_DoJobMsg *dmake_job_msg); extern void setvar_envvar(Avo_DoJobMsg *dmake_job_msg);
#else #else
extern void setvar_envvar(void); extern void setvar_envvar(void);
#endif #endif
extern void special_reader(Name target, register Name_vector depes, C md_line command); extern void special_reader(Name target, register Name_vector depes, C md_line command, Separator separator);
extern void startup_rxm(); extern void startup_rxm();
extern Doname target_can_be_built(register Name target); extern Doname target_can_be_built(register Name target);
extern char *time_to_string(const timestruc_t &time); extern char *time_to_string(const timestruc_t &time);
extern void update_target(Property line, Doname result); extern void update_target(Property line, Doname result);
extern void warning(char *, ...); extern void warning(char *, ...);
extern void write_state_file(int report_recursive, Boolean exiting); extern void write_state_file(int report_recursive, Boolean exiting);
extern Name vpath_translation(register Name cmd); extern Name vpath_translation(register Name cmd);
#define DEPINFO_FMT_VERSION "VERS2$" #define DEPINFO_FMT_VERSION "VERS2$"
#define VER_LEN strlen(DEPINFO_FMT_VERSION) #define VER_LEN strlen(DEPINFO_FMT_VERSION)
 End of changes. 9 change blocks. 
20 lines changed or deleted 17 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)