1LOCAL_PATH:= $(call my-dir) 2 3# dmtd 4AKM_FS_LIB=AKFS_APIs_8975 5 6##### AKM daemon ############################################################### 7include $(CLEAR_VARS) 8 9LOCAL_C_INCLUDES := \ 10 $(LOCAL_PATH)/$(AKM_FS_LIB) 11 12LOCAL_SRC_FILES:= \ 13 $(AKM_FS_LIB)/AKFS_AK8975.c \ 14 $(AKM_FS_LIB)/AKFS_AOC.c \ 15 $(AKM_FS_LIB)/AKFS_Device.c \ 16 $(AKM_FS_LIB)/AKFS_Direction.c \ 17 $(AKM_FS_LIB)/AKFS_VNorm.c \ 18 AK8975Driver.c \ 19 AKFS_APIs.c \ 20 AKFS_Disp.c \ 21 AKFS_FileIO.c \ 22 AKFS_Measure.c \ 23 main.c 24 25LOCAL_CFLAGS += \ 26 -Wall \ 27 -DENABLE_AKMDEBUG=1 \ 28 -DOUTPUT_STDOUT=1 \ 29 -DDBG_LEVEL=2 \ 30 31LOCAL_MODULE := akmdfs 32LOCAL_MODULE_TAGS := optional 33LOCAL_FORCE_STATIC_EXECUTABLE := false 34LOCAL_SHARED_LIBRARIES := libc libm libutils libcutils 35include $(BUILD_EXECUTABLE) 36