Home | History | Annotate | Download | only in adb_winapi_test
      1 #
      2 #  Copyright (C) 2009 The Android Open Source Project
      3 # 
      4 #  Licensed under the Apache License, Version 2.0 (the "License");
      5 #  you may not use this file except in compliance with the License.
      6 #  You may obtain a copy of the License at
      7 # 
      8 #       http://www.apache.org/licenses/LICENSE-2.0
      9 # 
     10 #  Unless required by applicable law or agreed to in writing, software
     11 #  distributed under the License is distributed on an "AS IS" BASIS,
     12 #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13 #  See the License for the specific language governing permissions and
     14 #  limitations under the License.
     15 #
     16 
     17 TARGETNAME = adb_winapi_test
     18 TARGETPATH = obj
     19 TARGETTYPE = PROGRAM
     20 
     21 UMTYPE  = console
     22 UMENTRY = main
     23 
     24 # Use statically linked atl libraries:
     25 USE_STATIC_ATL  = 1
     26 
     27 # Use multithreaded libraries
     28 USE_LIBCMT      = 1
     29 
     30 TARGETLIBS=$(SDK_LIB_PATH)\ole32.lib    \
     31            $(SDK_LIB_PATH)\oleaut32.lib \
     32            ..\api\obj$(BUILD_ALT_DIR)\i386\AdbWinApi.lib
     33 
     34 INCLUDES=$(DDK_INC_PATH)\;$(SDK_INC_PATH)\;$(CRT_INC_PATH)\;$(ATL_INC_PATH)\api
     35 
     36 # Common C defines
     37 USER_C_FLAGS = $(USER_C_FLAGS) /FD /wd4100 /nologo
     38 
     39 # Turn on all warnings, and treat warnings as errors
     40 MSC_WARNING_LEVEL = /W4 /Wp64 /WX
     41 
     42 PRECOMPILED_CXX = 1
     43 PRECOMPILED_INCLUDE = stdafx.h
     44 PRECOMPILED_SOURCEFILE = stdafx.cpp
     45 
     46 SOURCES = adb_winapi_test.cpp
     47