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 9# with the License. You may obtain a copy of the License at 10# 11# http://www.apache.org/licenses/LICENSE-2.0 12# 13# Unless required by applicable law or agreed to in writing, 14# software distributed under the License is distributed on an 15# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16# KIND, either express or implied. See the License for the 17# specific language governing permissions and limitations 18# under the License. 19# 20#************************************************************** 21 22 23 24PRJ=..$/..$/.. 25 26PRJNAME=sal 27TARGET=kill 28LIBTARGET=NO 29DYNAMIC_CRT= 30ENABLE_EXCEPTIONS=TRUE 31TARGETTYPE=CUI 32 33# --- Settings ----------------------------------------------------- 34 35.INCLUDE : settings.mk 36 37.IF "$(COM)"=="GCC" 38CDEFS=-D_WIN32_WINNT=0x0501 39.ELIF "$(COMEX)"=="14" 40# kill.cxx calls GetProcessId, which is a Windows XP API. The Platform SDK 41# declared it outside any guard, so the tree-wide _WIN32_WINNT=0x0500 floor 42# never hid it; the Windows 10 SDK gates it on >= 0x0501 and it disappears 43# (C3861). The MinGW branch above has always said this module wants 0x0501 -- 44# it simply never applied to MSVC, because MSVC never needed it to. 45# 46# -U first so this replaces the global define instead of redefining it, which 47# would be C4005. Scoped to the UCRT toolset so the VC9 command line is 48# untouched. 49CDEFS+=-U_WIN32_WINNT -D_WIN32_WINNT=0x0501 50.ENDIF 51 52.IF "$(USE_SYSTEM_STL)" != "YES" && "$(PRODUCT)" = "" 53CDEFS+=-D_DEBUG 54.ENDIF 55 56CFLAGS+= $(LFS_CFLAGS) 57CXXFLAGS+= $(LFS_CFLAGS) 58 59# --- Files -------------------------------------------------------- 60 61UWINAPILIB= 62 63OBJFILES=\ 64 $(OBJ)$/kill.obj 65 66APP1NOSAL=TRUE 67APP1OBJS=$(OBJFILES) 68APP1TARGET=$(TARGET) 69 70STDLIB1= 71 72 73# --- Targets ------------------------------------------------------ 74 75.INCLUDE : target.mk 76