1LOCAL_PATH:= $(call my-dir)
2
3include $(CLEAR_VARS)
4
5LOCAL_MODULE := checkseapp
6LOCAL_MODULE_TAGS := optional
7LOCAL_C_INCLUDES := \
8		external/pcre \
9		external/selinux/libsepol/include
10LOCAL_CFLAGS := -DLINK_SEPOL_STATIC -Wall -Werror
11LOCAL_SRC_FILES := check_seapp.c
12LOCAL_STATIC_LIBRARIES := libsepol
13LOCAL_WHOLE_STATIC_LIBRARIES := libpcre
14LOCAL_CXX_STL := none
15
16include $(BUILD_HOST_EXECUTABLE)
17
18###################################
19include $(CLEAR_VARS)
20
21LOCAL_MODULE := checkfc
22LOCAL_MODULE_TAGS := optional
23LOCAL_C_INCLUDES := external/selinux/libsepol/include \
24                    external/libselinux/include
25LOCAL_CFLAGS := -Wall -Werror
26LOCAL_SRC_FILES := checkfc.c
27LOCAL_STATIC_LIBRARIES := libsepol libselinux
28LOCAL_CXX_STL := none
29
30include $(BUILD_HOST_EXECUTABLE)
31
32##################################
33include $(CLEAR_VARS)
34
35LOCAL_MODULE := insertkeys.py
36LOCAL_SRC_FILES := insertkeys.py
37LOCAL_MODULE_CLASS := EXECUTABLES
38LOCAL_IS_HOST_MODULE := true
39LOCAL_MODULE_TAGS := optional
40
41include $(BUILD_PREBUILT)
42###################################
43include $(CLEAR_VARS)
44
45LOCAL_MODULE := sepolicy-check
46LOCAL_MODULE_TAGS := optional
47LOCAL_C_INCLUDES := external/selinux/libsepol/include
48LOCAL_CFLAGS := -Wall -Werror
49LOCAL_SRC_FILES := sepolicy-check.c
50LOCAL_STATIC_LIBRARIES := libsepol
51LOCAL_CXX_STL := none
52
53include $(BUILD_HOST_EXECUTABLE)
54
55include $(call all-makefiles-under,$(LOCAL_PATH))
56