4 # The contents of this file are subject to the terms of the
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 # Copyright 2003 Sun Microsystems, Inc. All rights reserved.
22 # Use is subject to license terms.
23 #
24 # @(#)make.rules.file 1.22 06/12/12
25 #
26
27 SUFFIXES = .o .c .c~ .cc .cc~ .y .y~ .l .l~ .s .s~ .sh .sh~ .S .S~ .i .ln \
28 .h .h~ .f .f~ .for .for~ .F .F~ .f90 .f90~ .ftn .ftn~ .mod .mod~ \
29 .sym .def .def~ .p .p~ .r .r~ .cps .cps~ .C .C~ .Y .Y~ .L .L~ \
30 .java .java~ .class
31
32 .SUFFIXES: $(SUFFIXES)
33
34 # OUTPUT_OPTION should be defined to "-o $@" when
35 # the default rules are used for non-local files.
36 OUTPUT_OPTION=
37
38 # C language section.
39 CC=cc
40 CFLAGS=
41 CPPFLAGS=
42 LINT=lint
43 LINTFLAGS=
44 COMPILE.c=$(CC) $(CFLAGS) $(CPPFLAGS) -c
45 LINK.c=$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS)
|
4 # The contents of this file are subject to the terms of the
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 # Copyright 2003 Sun Microsystems, Inc. All rights reserved.
22 # Use is subject to license terms.
23 #
24
25 SUFFIXES = .o .c .c~ .cc .cc~ .y .y~ .l .l~ .s .s~ .sh .sh~ .S .S~ .i .ln \
26 .h .h~ .f .f~ .for .for~ .F .F~ .f90 .f90~ .ftn .ftn~ .mod .mod~ \
27 .sym .def .def~ .p .p~ .r .r~ .cps .cps~ .C .C~ .Y .Y~ .L .L~ \
28 .java .java~ .class
29
30 .SUFFIXES: $(SUFFIXES)
31
32 # OUTPUT_OPTION should be defined to "-o $@" when
33 # the default rules are used for non-local files.
34 OUTPUT_OPTION=
35
36 # C language section.
37 CC=cc
38 CFLAGS=
39 CPPFLAGS=
40 LINT=lint
41 LINTFLAGS=
42 COMPILE.c=$(CC) $(CFLAGS) $(CPPFLAGS) -c
43 LINK.c=$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS)
|