1LOCAL_PATH:= $(call my-dir)
2
3## sources have been created from Drystone-2.1.sh with below command:
4# ./Drystone-2.1.sh
5# sed -i 's/printf ("  Ptr_Comp:          %d\\n", (int) /printf ("  Ptr_Comp:          %p\\n", /g' dhry_1.c
6# sed -i 's,^} /\* Proc_,return 0; } /\* Proc_,g' *.c
7
8include $(CLEAR_VARS)
9LOCAL_MODULE := dhry
10LOCAL_SRC_FILES := dhry_1.c dhry_2.c
11LOCAL_CFLAGS := -O3 -fno-inline-functions -DMSC_CLOCK -DCLK_TCK=1000000
12LOCAL_CFLAGS += -Wall -Werror -Wno-incompatible-library-redeclaration
13LOCAL_CFLAGS += -Wno-return-type -Wno-implicit-function-declaration -Wno-implicit-int
14# Include both the 32 and 64 bit versions
15LOCAL_MULTILIB := both
16LOCAL_MODULE_STEM_32 := $(LOCAL_MODULE)32
17LOCAL_MODULE_STEM_64 := $(LOCAL_MODULE)64
18LOCAL_COMPATIBILITY_SUITE := cts vts general-tests
19include $(BUILD_EXECUTABLE)
20