settings.mk (db48b064) | settings.mk (edd74ba5) |
---|---|
1#************************************************************** 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance --- 43 unchanged lines hidden (view full) --- 52########################################################################### 53# 54# Windows specific settings 55# 56########################################################################### 57ifeq "$(PLATFORM)" "windows" 58# Settings for Windows using Microsoft compiler/linker 59 | 1#************************************************************** 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance --- 43 unchanged lines hidden (view full) --- 52########################################################################### 53# 54# Windows specific settings 55# 56########################################################################### 57ifeq "$(PLATFORM)" "windows" 58# Settings for Windows using Microsoft compiler/linker 59 |
60PROCTYPE := $(shell $(PRJ)/config.guess | cut -d"-" -f1 | sed -e 's/^i.86$$/i386/') 61 |
|
60OS=WIN 61PS=\\ 62ICL=$$ 63CC=cl 64LINK=link 65BUILDLIB=lib 66ECHO=@echo 67MKDIR=mkdir --- 46 unchanged lines hidden (view full) --- 114 115CC_INCLUDES=-I. -I$(OUT)/inc -I$(OUT)/inc/examples -I$(PRJ)/include 116STL_INCLUDES=-I"$(OO_SDK_HOME)/include/stl" 117SDK_JAVA_INCLUDES = -I"$(OO_SDK_JAVA_HOME)/include" -I"$(OO_SDK_JAVA_HOME)/include/win32" 118 119# define for used compiler necessary for UNO 120# -DCPPU_ENV=msci -- windows msvc 4.x - 7.x 121 | 62OS=WIN 63PS=\\ 64ICL=$$ 65CC=cl 66LINK=link 67BUILDLIB=lib 68ECHO=@echo 69MKDIR=mkdir --- 46 unchanged lines hidden (view full) --- 116 117CC_INCLUDES=-I. -I$(OUT)/inc -I$(OUT)/inc/examples -I$(PRJ)/include 118STL_INCLUDES=-I"$(OO_SDK_HOME)/include/stl" 119SDK_JAVA_INCLUDES = -I"$(OO_SDK_JAVA_HOME)/include" -I"$(OO_SDK_JAVA_HOME)/include/win32" 120 121# define for used compiler necessary for UNO 122# -DCPPU_ENV=msci -- windows msvc 4.x - 7.x 123 |
124ifeq "$(PROCTYPE)" "i386" |
|
122CC_DEFINES_JNI=-DWIN32 -DWNT -D_DLL -DCPPU_ENV=msci 123CC_DEFINES=-DWIN32 -DWNT -D_DLL -DCPPU_ENV=msci | 125CC_DEFINES_JNI=-DWIN32 -DWNT -D_DLL -DCPPU_ENV=msci 126CC_DEFINES=-DWIN32 -DWNT -D_DLL -DCPPU_ENV=msci |
127endif 128ifeq "$(PROCTYPE)" "x86_64" 129CC_DEFINES_JNI=-DWIN32 -DWNT -D_DLL -DCPPU_ENV=mscx 130CC_DEFINES=-DWIN32 -DWNT -D_DLL -DCPPU_ENV=mscx 131endif |
|
124CC_OUTPUT_SWITCH=-Fo 125 126LIBRARY_LINK_FLAGS=/NODEFAULTLIB /DLL /DEBUGTYPE:cv 127COMP_LINK_FLAGS=$(LIBRARY_LINK_FLAGS) /DEF:$(PRJ)/settings/component.uno.def 128EXE_LINK_FLAGS=/MAP /OPT:NOREF /SUBSYSTEM:CONSOLE /BASE:0x1b000000 /DEBUGTYPE:cv /NODEFAULTLIB msvcrt.lib msvcprt.lib kernel32.lib 129ifeq "$(DEBUG)" "yes" 130LIBRARY_LINK_FLAGS+=/DEBUG 131EXE_LINK_FLAGS+=/DEBUG --- 481 unchanged lines hidden --- | 132CC_OUTPUT_SWITCH=-Fo 133 134LIBRARY_LINK_FLAGS=/NODEFAULTLIB /DLL /DEBUGTYPE:cv 135COMP_LINK_FLAGS=$(LIBRARY_LINK_FLAGS) /DEF:$(PRJ)/settings/component.uno.def 136EXE_LINK_FLAGS=/MAP /OPT:NOREF /SUBSYSTEM:CONSOLE /BASE:0x1b000000 /DEBUGTYPE:cv /NODEFAULTLIB msvcrt.lib msvcprt.lib kernel32.lib 137ifeq "$(DEBUG)" "yes" 138LIBRARY_LINK_FLAGS+=/DEBUG 139EXE_LINK_FLAGS+=/DEBUG --- 481 unchanged lines hidden --- |