mirror of
https://github.com/SELinuxProject/selinux
synced 2024-12-28 00:42:07 +00:00
bedef7d124
As per discussion in https://android-review.googlesource.com/#/c/221980, we should be using #ifdef __APPLE__ rather than our own custom-defined DARWIN for building on MacOS X. Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
27 lines
526 B
Makefile
27 lines
526 B
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
|
|
common_src_files := secilc.c
|
|
|
|
common_cflags := \
|
|
-Wall -Wshadow -O2 \
|
|
-pipe -fno-strict-aliasing \
|
|
|
|
common_includes := \
|
|
$(LOCAL_PATH)/../libsepol/cil/include/ \
|
|
$(LOCAL_PATH)/../libsepol/include/ \
|
|
|
|
##
|
|
# secilc
|
|
#
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := secilc
|
|
LOCAL_MODULE_TAGS := optional
|
|
LOCAL_C_INCLUDES := $(common_includes)
|
|
LOCAL_CFLAGS := $(common_cflags)
|
|
LOCAL_SRC_FILES := secilc.c
|
|
LOCAL_SHARED_LIBRARIES := libsepol
|
|
LOCAL_MODULE_CLASS := EXECUTABLES
|
|
|
|
include $(BUILD_HOST_EXECUTABLE)
|