equal
deleted
inserted
replaced
16 # fields enclosed by brackets "[]" replaced with your own identifying |
16 # fields enclosed by brackets "[]" replaced with your own identifying |
17 # information: Portions Copyright [yyyy] [name of copyright owner] |
17 # information: Portions Copyright [yyyy] [name of copyright owner] |
18 # |
18 # |
19 # CDDL HEADER END |
19 # CDDL HEADER END |
20 # |
20 # |
21 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved. |
21 # Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. |
22 # |
22 # |
23 include ../../make-rules/shared-macros.mk |
23 include ../../make-rules/shared-macros.mk |
24 |
24 |
25 COMPONENT_NAME= swig |
25 COMPONENT_NAME= swig |
26 COMPONENT_VERSION= 1.3.35 |
26 COMPONENT_VERSION= 1.3.35 |
34 |
34 |
35 include ../../make-rules/prep.mk |
35 include ../../make-rules/prep.mk |
36 include ../../make-rules/configure.mk |
36 include ../../make-rules/configure.mk |
37 include ../../make-rules/ips.mk |
37 include ../../make-rules/ips.mk |
38 |
38 |
|
39 PATH=$(SPRO_VROOT)/bin:$(JAVA_HOME)/bin:/usr/bin |
|
40 |
39 # This is needed because the community provided 'check' target is not viewpath aware |
41 # This is needed because the community provided 'check' target is not viewpath aware |
40 COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D)) |
42 COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D)) |
41 |
43 |
|
44 CONFIGURE_ENV += JAVA_HOME="$(JAVA_HOME)" |
42 CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" |
45 CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" |
43 CONFIGURE_OPTIONS += CXXFLAGS="$(CXXFLAGS)" |
46 CONFIGURE_OPTIONS += CXXFLAGS="$(CXXFLAGS)" |
|
47 CONFIGURE_OPTIONS += --with-javaincl="$(JAVA_HOME)/include" |
44 |
48 |
45 # common targets |
49 # common targets |
46 build: $(BUILD_32) |
50 build: $(BUILD_32) |
47 |
51 |
48 install: $(INSTALL_32) |
52 install: $(INSTALL_32) |