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
23
24 #
25 # Copyright 2008 Sun Microsystems, Inc. All rights reserved.
26 # Use is subject to license terms.
27 #
28 #
29
30 VER=fltk-1.1.9rc2
31
32 README=README.SFWfltk
33
34 all: $(VER)/config.status
35 (cd $(VER); env \
36 CC=$(SRC)/tools/gcc CXX=$(SRC)/tools/g++ \
37 PATH=/usr/perl5/bin:/usr/sfw/bin:$(PATH) \
38 "LD_OPTIONS=-L$(ROOT)/opt/sfw/lib -L/usr/sfw/lib -R/opt/sfw/lib -R/usr/sfw/lib" \
39 LD_LIBRARY_PATH=$(ROOT)/opt/sfw/lib \
40 CXXFLAGS="-fabi-version=1" \
41 MAKE=/usr/sfw/bin/gmake \
42 /usr/sfw/bin/gmake all)
43 @find . -name core -exec rm -f {} \;
44
45 include ../Makefile.lib
46
47 install: all .WAIT $(ROOTREADME)
48 $(SH) ./install-sfw
49
50 $(VER)/config.status: $(VER)/configure
|
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
23
24 #
25 # Copyright 2008 Sun Microsystems, Inc. All rights reserved.
26 # Use is subject to license terms.
27 #
28 #
29
30 VER=fltk-1.1.9
31
32 README=README.SFWfltk
33
34 all: $(VER)/config.status
35 (cd $(VER); env \
36 CC=$(SRC)/tools/gcc CXX=$(SRC)/tools/g++ \
37 PATH=/usr/perl5/bin:/usr/sfw/bin:$(PATH) \
38 "LD_OPTIONS=-L$(ROOT)/opt/sfw/lib -L/usr/sfw/lib -R/opt/sfw/lib -R/usr/sfw/lib" \
39 LD_LIBRARY_PATH=$(ROOT)/opt/sfw/lib \
40 CXXFLAGS="-fabi-version=1" \
41 MAKE=/usr/sfw/bin/gmake \
42 /usr/sfw/bin/gmake all)
43 @find . -name core -exec rm -f {} \;
44
45 include ../Makefile.lib
46
47 install: all .WAIT $(ROOTREADME)
48 $(SH) ./install-sfw
49
50 $(VER)/config.status: $(VER)/configure
|