1 /* 2 * CDDL HEADER START 3 * 4 * This file and its contents are supplied under the terms of the 5 * Common Development and Distribution License ("CDDL"), version 1.0. 6 * You may use this file only in accordance with the terms of version 7 * 1.0 of the CDDL. 8 * 9 * A full copy of the text of the CDDL should have accompanied this 10 * source. A copy of the CDDL is also available via the Internet at 11 * http://www.opensource.org/licenses/cddl1.txt 12 * See the License for the specific language governing permissions 13 * and limitations under the License. 14 * 15 * When distributing Covered Code, include this CDDL HEADER in each 16 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 17 * If applicable, add the following below this CDDL HEADER, with the 18 * fields enclosed by brackets "[]" replaced with your own identifying 19 * information: Portions Copyright [yyyy] [name of copyright owner] 20 * 21 * CDDL HEADER END 22 */ 23 /* 24 * Copyright 1994 Sun Microsystems, Inc. All rights reserved. 25 * Use is subject to license terms. 26 */ 27 /* 28 * @(#)report.h 1.6 06/12/12 29 */ 30 31 #pragma ident "@(#)report.h 1.6 06/12/12" 32 33 /* 34 * Copyright 2017 J. Schilling 35 * 36 * @(#)report.h 1.5 21/08/15 2017 J. Schilling 37 */ 38 39 #ifndef _REPORT_H_ 40 #define _REPORT_H_ 41 42 #if defined(SCHILY_BUILD) || defined(SCHILY_INCLUDES) 43 #include <schily/stdio.h> 44 #else 45 #include <stdio.h> 46 #endif 47 48 extern FILE *get_report_file(void); 49 extern char *get_target_being_reported_for(void); 50 extern void report_dependency(register const char *name); 51 extern int file_lock(char *name, char *lockname, int *file_locked, int timeout); 52 #ifdef NSE 53 extern char *setenv(char *name, char *value); 54 #endif 55 56 #define SUNPRO_DEPENDENCIES "SUNPRO_DEPENDENCIES" 57 #define LD "LD" 58 #define COMP "COMP" 59 60 /* the following definitions define the interface between make and 61 * NSE - the two systems must track each other. 62 */ 63 #define NSE_DEPINFO ".nse_depinfo" 64 #define NSE_DEPINFO_LOCK ".nse_depinfo.lock" 65 #define NSE_DEP_ENV "NSE_DEP" 66 #define NSE_TFS_PUSH "/usr/nse/bin/tfs_push" 67 #define NSE_TFS_PUSH_LEN 8 68 #define NSE_VARIANT_ENV "NSE_VARIANT" 69 #define NSE_RT_SOURCE_NAME "Shared_Source" 70 71 #endif 72