Home | History | Annotate | Download | only in src
      1 #
      2 # Copyright (C) 2008 Broadcom Corporation
      3 #
      4 # $Id: Android.mk,v 2.1.4.3 2009/05/07 18:48:19 Exp $
      5 #
      6 # Licensed under the Apache License, Version 2.0 (the "License");
      7 # you may not use this file except in compliance with the License.
      8 # You may obtain a copy of the License at
      9 #
     10 #      http://www.apache.org/licenses/LICENSE-2.0
     11 #
     12 # Unless required by applicable law or agreed to in writing, software
     13 # distributed under the License is distributed on an "AS IS" BASIS,
     14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     15 # See the License for the specific language governing permissions and
     16 # limitations under the License.
     17 #
     18 
     19 ifneq ($(TARGET_SIMULATOR),true)
     20 
     21 LOCAL_PATH:= $(call my-dir)
     22 
     23 include $(CLEAR_VARS)
     24 LOCAL_SRC_FILES := \
     25 	dhd/exe/dhdu.c \
     26 	dhd/exe/dhdu_linux.c \
     27 	shared/bcmutils.c \
     28 	shared/miniopt.c
     29 
     30 LOCAL_MODULE := dhdutil
     31 LOCAL_CFLAGS := -DSDTEST -DTARGETENV_android -Dlinux -DLINUX -mabi=aapcs-linux
     32 LOCAL_C_INCLUDES +=$(LOCAL_PATH)/include
     33 # LOCAL_FORCE_STATIC_EXECUTABLE := true
     34 # LOCAL_STATIC_LIBRARIES := libc
     35 LOCAL_SHARED_LIBRARIES := libc
     36 LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES)
     37 LOCAL_MODULE_TAGS := debug tests
     38 
     39 include $(BUILD_EXECUTABLE)
     40 
     41 endif  # TARGET_SIMULATOR != true
     42