5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 * or http://www.opensolaris.org/os/licensing.
10 * See the License for the specific language governing permissions
11 * and limitations under the License.
12 *
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 *
19 * CDDL HEADER END
20 */
21 /*
22 * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
23 * Use is subject to license terms.
24 */
25 /*
26 * @(#)mksh.cc 1.22 06/12/12
27 */
28
29 #pragma ident "@(#)mksh.cc 1.22 06/12/12"
30
31 /*
32 * mksh.cc
33 *
34 * Execute the command(s) of one Make or DMake rule
35 */
36
37 /*
38 * Included files
39 */
40 #if defined(TEAMWARE_MAKE_CMN) || defined(MAKETOOL) /* tolik */
41 # include <avo/util.h>
42 #endif
43
44 #include <mksh/dosys.h> /* redirect_io() */
45 #include <mksh/misc.h> /* retmem() */
46 #include <mksh/mksh.h>
47 #include <mksdmsi18n/mksdmsi18n.h>
48 #include <errno.h>
49 #include <signal.h>
|
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 * or http://www.opensolaris.org/os/licensing.
10 * See the License for the specific language governing permissions
11 * and limitations under the License.
12 *
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 *
19 * CDDL HEADER END
20 */
21 /*
22 * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
23 * Use is subject to license terms.
24 */
25
26
27 /*
28 * mksh.cc
29 *
30 * Execute the command(s) of one Make or DMake rule
31 */
32
33 /*
34 * Included files
35 */
36 #if defined(TEAMWARE_MAKE_CMN) || defined(MAKETOOL) /* tolik */
37 # include <avo/util.h>
38 #endif
39
40 #include <mksh/dosys.h> /* redirect_io() */
41 #include <mksh/misc.h> /* retmem() */
42 #include <mksh/mksh.h>
43 #include <mksdmsi18n/mksdmsi18n.h>
44 #include <errno.h>
45 #include <signal.h>
|