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 += -Wno-return-type -Wno-implicit-function-declaration -Wno-implicit-int
13# Include both the 32 and 64 bit versions
14LOCAL_MULTILIB := both
15LOCAL_MODULE_STEM_32 := $(LOCAL_MODULE)32
16LOCAL_MODULE_STEM_64 := $(LOCAL_MODULE)64
17LOCAL_COMPATIBILITY_SUITE := cts
18include $(BUILD_EXECUTABLE)
19