TARGET := iphone:clang:latest:14.0
ARCHS = arm64 arm64e
FINALPACKAGE = 1
STRIP = 0
GO_EASY_ON_ME = 1

include $(THEOS)/makefiles/common.mk

LIBRARY_NAME = entry1_type0x09

RECOMP_DEBUG_LOCALS ?= 0
ifeq ($(RECOMP_DEBUG_LOCALS),1)
entry1_type0x09_OPTFLAGS = -O0 -fno-omit-frame-pointer
else
entry1_type0x09_OPTFLAGS = -Og
endif

entry1_type0x09_FILES = entry1_type0x09.m
entry1_type0x09_CFLAGS = \
    $(entry1_type0x09_OPTFLAGS) \
    -fno-inline \
    -fno-strict-aliasing \
    -Wno-int-conversion \
    -Wno-incompatible-pointer-types \
    -Werror=implicit-function-declaration \
    -Werror=deprecated-non-prototype \
    -Wno-incompatible-library-redeclaration \
    -Wno-implicit-int \
    -fno-builtin \
    -I.
entry1_type0x09_FRAMEWORKS = CoreFoundation IOKit Security
entry1_type0x09_INSTALL_PATH = /usr/local/lib

TOOL_NAME = entry1_type0x09_test
entry1_type0x09_test_FILES = test.m
entry1_type0x09_INSTALL_PATH = /usr/local/bin

include $(THEOS_MAKE_PATH)/library.mk
include $(THEOS_MAKE_PATH)/tool.mk
