lib.gmk
来自「This is a resource based on j2me embedde」· GMK 代码 · 共 114 行
GMK
114 行
## ## Copyright 1990-2007 Sun Microsystems, Inc. All Rights Reserved.# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER# # This program is free software; you can redistribute it and/or# modify it under the terms of the GNU General Public License version# 2 only, as published by the Free Software Foundation.# # This program is distributed in the hope that it will be useful, but# WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU# General Public License version 2 for more details (a copy is# included at /legal/license.txt).# # You should have received a copy of the GNU General Public License# version 2 along with this work; if not, write to the Free Software# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA# 02110-1301 USA# # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa# Clara, CA 95054 or visit www.sun.com if you need additional# information or have any questions.############################################################### Module's Component Configuration file## Remember: It is up to the module itself to impose rules of# how to compile the options. All the global Makefile needs# is the final def. of Java and native file lists and some# other def. (like VPATH)#############################################################SUBSYSTEM_SECURITY_MODULES += midp_permissionsPERMISSIONS_DIR = $(SUBSYSTEM_DIR)/security/midp_permissionsPERMISSIONS_CONFIG_DIR = $(PERMISSIONS_DIR)/reference/config# Javadoc source pathSUBSYSTEM_MIDP_PERMISSIONS_SOURCEPATH += $(PERMISSIONS_DIR)/reference/classesMIDP_JAVADOC_SOURCEPATH += $(SUBSYSTEM_MIDP_PERMISSIONS_SOURCEPATH)## Java files for the library#SUBSYSTEM_SECURITY_JAVA_FILES += \ $(GENERATED_DIR)/classes/com/sun/midp/security/PermissionsStrings.java \ $(PERMISSIONS_DIR)/reference/classes/com/sun/midp/security/DomainPolicy.java \ $(PERMISSIONS_DIR)/reference/classes/com/sun/midp/security/Permissions.java \ $(PERMISSIONS_DIR)/reference/classes/com/sun/midp/security/PermissionGroup.javavpath % $(PERMISSIONS_DIR)/reference/nativeSUBSYSTEM_SECURITY_NATIVE_FILES += LoadPolicy_kni.c# Select security policy implementation# Should be reworked according to subsystem decouplingSECURITY_POLICY_IMPL_FILES = generic_policy_load.cifeq ($(TARGET_OS), javacall)ifeq ($(USE_DYNAMIC_PERMISSIONS), true)SECURITY_POLICY_IMPL_FILES = javacall_policy_load.cendifendif SUBSYSTEM_SECURITY_NATIVE_FILES += $(SECURITY_POLICY_IMPL_FILES)# Include system properties in ConfigurationSUBSYSTEM_CONFIGURATION_INPUT_FILES += \ $(PERMISSIONS_CONFIG_DIR)/properties_security.xmlifeq ($(USE_I3_TEST), true)SUBSYSTEM_SECURITY_I3TEST_JAVA_FILES += \# $(PERMISSIONS_DIR)/reference/i3test/com/sun/midp/security/TestPermissions.javaendififeq ($(TARGET_OS), javacall)POLICY_FILES = $(PERMISSIONS_CONFIG_DIR)/_function_groups.txt.JTWI \ $(PERMISSIONS_CONFIG_DIR)/_policy.txt.JTWI \ $(PERMISSIONS_CONFIG_DIR)/_function_groups.txt.MSA \ $(PERMISSIONS_CONFIG_DIR)/_policy.txt.MSA \ $(PERMISSIONS_CONFIG_DIR)/_function_groups.txt.FULL \ $(PERMISSIONS_CONFIG_DIR)/_policy.txt.FULLjavacall_policy_load.c : policy_filesifeq ($(USE_NATIVE_APP_MANAGER), true)# Need to apply some security policy when building with NAMSpolicy_files : @if [ ! -d $(MIDP_OUTPUT_DIR)/lib ]; then mkdir $(MIDP_OUTPUT_DIR)/lib; fi @cp $(POLICY_FILES) $(MIDP_OUTPUT_DIR)/lib @cp $(MIDP_OUTPUT_DIR)/lib/_function_groups.txt.JTWI $(MIDP_OUTPUT_DIR)/lib/_function_groups.txt @cp $(MIDP_OUTPUT_DIR)/lib/_policy.txt.JTWI $(MIDP_OUTPUT_DIR)/lib/_policy.txtelsepolicy_files : @if [ ! -d $(MIDP_OUTPUT_DIR)/lib ]; then mkdir $(MIDP_OUTPUT_DIR)/lib; fi @cp $(POLICY_FILES) $(MIDP_OUTPUT_DIR)/libendifendif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?