14 # 15 # You should have received a copy of the GNU General Public License version 16 # 2 along with this work; if not, write to the Free Software Foundation, 17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 # 19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 # or visit www.oracle.com if you need additional information or have any 21 # questions. 22 # 23 # 24 25 # Resource file containing VERSIONINFO 26 Res_Files=.\version.res 27 28 !include ..\generated\objfiles.make 29 30 COMMONSRC=$(WorkSpace)\src 31 ALTSRC=$(WorkSpace)\src\closed 32 33 !ifdef RELEASE 34 !ifdef DEVELOP 35 CXX_FLAGS=$(CXX_FLAGS) /D "DEBUG" 36 !else 37 CXX_FLAGS=$(CXX_FLAGS) /D "PRODUCT" 38 !endif 39 !else 40 CXX_FLAGS=$(CXX_FLAGS) /D "ASSERT" 41 !endif 42 43 !if "$(Variant)" == "core" 44 # No need to define anything, CORE is defined as !COMPILER1 && !COMPILER2 45 !endif 46 47 !if "$(Variant)" == "compiler1" 48 CXX_FLAGS=$(CXX_FLAGS) /D "COMPILER1" 49 !endif 50 51 !if "$(Variant)" == "compiler2" 52 CXX_FLAGS=$(CXX_FLAGS) /D "COMPILER2" 53 !endif 54 55 !if "$(Variant)" == "tiered" 56 CXX_FLAGS=$(CXX_FLAGS) /D "COMPILER1" /D "COMPILER2" 57 !endif 58 | 14 # 15 # You should have received a copy of the GNU General Public License version 16 # 2 along with this work; if not, write to the Free Software Foundation, 17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 # 19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 # or visit www.oracle.com if you need additional information or have any 21 # questions. 22 # 23 # 24 25 # Resource file containing VERSIONINFO 26 Res_Files=.\version.res 27 28 !include ..\generated\objfiles.make 29 30 COMMONSRC=$(WorkSpace)\src 31 ALTSRC=$(WorkSpace)\src\closed 32 33 !ifdef RELEASE 34 CXX_FLAGS=$(CXX_FLAGS) /D "PRODUCT" 35 !else 36 CXX_FLAGS=$(CXX_FLAGS) /D "ASSERT" 37 !endif 38 39 !if "$(Variant)" == "core" 40 # No need to define anything, CORE is defined as !COMPILER1 && !COMPILER2 41 !endif 42 43 !if "$(Variant)" == "compiler1" 44 CXX_FLAGS=$(CXX_FLAGS) /D "COMPILER1" 45 !endif 46 47 !if "$(Variant)" == "compiler2" 48 CXX_FLAGS=$(CXX_FLAGS) /D "COMPILER2" 49 !endif 50 51 !if "$(Variant)" == "tiered" 52 CXX_FLAGS=$(CXX_FLAGS) /D "COMPILER1" /D "COMPILER2" 53 !endif 54 |