1 LOCAL_PATH:= $(call my-dir) 2 3 common_src_files := secilc.c 4 5 common_cflags := \ 6 -Wall -Wshadow -O2 \ 7 -pipe -fno-strict-aliasing \ 8 9 ifeq ($(HOST_OS), darwin) 10 common_cflags += -DDARWIN 11 endif 12 13 common_includes := \ 14 $(LOCAL_PATH)/../libsepol/cil/include/ \ 15 $(LOCAL_PATH)/../libsepol/include/ \ 16 17 ## 18 # secilc 19 # 20 include $(CLEAR_VARS) 21 22 LOCAL_MODULE := secilc 23 LOCAL_MODULE_TAGS := optional 24 LOCAL_C_INCLUDES := $(common_includes) 25 LOCAL_CFLAGS := $(common_cflags) 26 LOCAL_SRC_FILES := secilc.c 27 LOCAL_SHARED_LIBRARIES := libsepol 28 LOCAL_MODULE_CLASS := EXECUTABLES 29 30 include $(BUILD_HOST_EXECUTABLE) 31