📄 defs_basis.mk
字号:
## @(#)defs_basis.mk 1.126 06/10/10# # Copyright 1990-2008 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. ## Include target specific makefiles first-include $(CDC_CPU_COMPONENT_DIR)/build/$(TARGET_CPU_FAMILY)/defs_basis.mk-include $(CDC_OS_COMPONENT_DIR)/build/$(TARGET_OS)/defs_basis.mk-include $(CDC_DEVICE_COMPONENT_DIR)/build/$(TARGET_OS)-$(TARGET_CPU_FAMILY)-$(TARGET_DEVICE)/defs_basis.mk## Assume we are building a qt based implementation of AWT for# basis by default. The target makefiles may change this. Don't# override anything that defs_personal.mk may have set. Wait until after we# check the target-specific makefiles to set this#AWT_IMPLEMENTATION ?= qtAWT_IMPLEMENTATION_DIR ?= $(CDC_DIR)## Include awt implementation makefiles for the profile.#include $(AWT_IMPLEMENTATION_DIR)/build/share/defs_$(J2ME_CLASSLIB)_$(AWT_IMPLEMENTATION).mk## JPEG_LIB_LIBS. Don't override it if the target defs_basis.mk set it.#JPEG_LIB_LIBS ?= -lm## Determine native library name for the awt implementation.# This is assumed to the the AWT implementation name followed by "awt"# (e.g. libmicrowindowsawt.so). Don't override anything that may have# been setup by defs_personal.mk, which will use $(AWT_PEERSET)awt instead.#AWT_LIB_NAME ?= $(AWT_IMPLEMENTATION)awtJPEG_LIB_NAME ?= awtjpeg## Shared libraries, by default, go into CVM_LIBDIR. This may have# been changed, so use AWT_LIBDIR instead.#AWT_LIBDIR ?= $(CVM_LIBDIR)## Full path names of the shared libraries we build. Do not# override any previous setting, which could vary based# on target OS or architecture.#ifneq ($(CVM_STATICLINK_LIBS), true)AWT_LIB_PATHNAME = $(AWT_LIBDIR)/$(LIB_PREFIX)$(AWT_LIB_NAME)$(LIB_POSTFIX)JPEG_LIB_PATHNAME = $(AWT_LIBDIR)/$(LIB_PREFIX)$(JPEG_LIB_NAME)$(LIB_POSTFIX)endif## Make the build depend on the following shared libraries#ifneq ($(CVM_STATICLINK_LIBS), true)CLASSLIB_DEPS += $(AWT_LIB_PATHNAME) $(JPEG_LIB_PATHNAME)endif## If we are statically linking the profile, then we must link the profile# objects with the CVM executable.#ifeq ($(CVM_STATICLINK_LIBS), true)CVM_OBJECTS += $(patsubst %.o,$(CVM_OBJDIR)/%.o,$(AWT_LIB_OBJS))CVM_OBJECTS += $(patsubst %.o,$(CVM_OBJDIR)/%.o,$(JPEG_LIB_OBJS))endif## If statically linking the profile libraries, then list the profile# libraries that are built in, so loadLibrary() is not called on them.#ifeq ($(CVM_STATICLINK_LIBS), true)BUILTIN_LIBS += $(AWT_LIB_NAME) $(JPEG_LIB_NAME)endif# by default we don't want to exclude the xlet runnerEXCLUDE_XLET_RUNNER ?= false## All the build flags we need to keep track of in case they are toggled.#CVM_FLAGS += \ EXCLUDE_XLET_RUNNER \ AWT_IMPLEMENTATION \## Wipe out objects and classes when AWT_IMPLEMENTATION changes.#AWT_IMPLEMENTATION_CLEANUP_ACTION = \ rm -rf *_classes/* lib/* $(CVM_OBJDIR)ifeq ($(CVM_PRELOAD_LIB),true)AWT_IMPLEMENTATION_CLEANUP_ACTION += \ btclasses*endifEXCLUDE_XLET_RUNNER_CLEANUP_ACTION = \ $(CVM_JAVAC_DEBUG_CLEANUP_ACTION)## Basis Profile shared native directories#PROFILE_SRCDIRS_NATIVE += \ $(CVM_SHAREROOT)/basis/native/image/gif \ $(CVM_SHAREROOT)/basis/native/image/jpeg \ $(CVM_SHAREROOT)/basis/native/image/jpeg/lib PROFILE_INCLUDE_DIRS += \ $(CVM_SHAREROOT)/basis/native/image/gif \ $(CVM_SHAREROOT)/basis/native/image/jpeg/lib ## Basis shared class directoriesPROFILE_SRCDIRS += \ $(CVM_SHAREROOT)/basis/classes/common## Shared Native code#AWT_LIB_OBJS += \ gifdecoder.o \JPEG_LIB_OBJS += \ jpegdecoder.o ifneq ($(EXCLUDE_JPEG_LIB),true)JPEG_LIB_OBJS += \ jcapimin.o \ jcmaster.o \ jdcoefct.o \ jdphuff.o \ jidctfst.o \ jcapistd.o \ jcomapi.o \ jdcolor.o\ jdpostct.o \ jidctint.o \ jccoefct.o \ jcparam.o \ jddctmgr.o \ jdsample.o \ jidctred.o \ jccolor.o \ jcphuff.o \ jdhuff.o \ jdtrans.o \ jmemmgr.o \ jcdctmgr.o \ jcprepct.o \ jdinput.o \ jerror.o \ jmemnobs.o \ jchuff.o \ jcsample.o \ jdmainct.o \ jfdctflt.o \ jcinit.o \ jctrans.o \ jdmarker.o \ jfdctfst.o \ jquant1.o \ jcmainct.o \ jdapimin.o \ jdmaster.o \ jfdctint.o \ jquant2.o \ jcmarker.o \ jdapistd.o \ jdmerge.o \ jidctflt.o \ jutils.oendif## Security File#CVM_POLICY_SRC ?= $(CVM_TOP)/src/share/basis/lib/security/java.policy## Shared class files, regardless of OS or AWT implementation.#CLASSLIB_CLASSES += \ java.beans.Beans \ java.beans.PropertyChangeEvent \ java.beans.PropertyChangeListener \ java.beans.PropertyChangeSupport \ java.beans.PropertyVetoException \ java.beans.VetoableChangeListener \ java.beans.VetoableChangeSupport \ java.beans.Visibility \ java.rmi.AccessException \ java.rmi.AlreadyBoundException \ java.rmi.NotBoundException \ java.rmi.Remote \ java.rmi.RemoteException \ java.rmi.UnexpectedException \ java.rmi.registry.Registry \ javax.microedition.xlet.UnavailableContainerException \ javax.microedition.xlet.Xlet \ javax.microedition.xlet.XletContext \ javax.microedition.xlet.XletStateChangeException \ javax.microedition.xlet.ixc.IxcRegistry \ javax.microedition.xlet.ixc.StubException \ javax.microedition.xlet.ixc.IxcPermission \ sun.misc.Cache \ sun.misc.Ref \ sun.misc.WeakCache \ sun.net.www.content.image.gif \ sun.net.www.content.image.jpeg \ sun.net.www.content.image.png \ sun.io.FileFileIO \ sun.io.FileIO \ sun.io.FileIOFactory \ sun.io.ObjectInputStreamDelegate \ sun.io.ObjectOutputStreamDelegate \ sun.io.ObjectStreamPermissionConstants \ java.awt.AlphaComposite \ java.awt.AWTError \ java.awt.AWTEvent \ java.awt.AWTEventMulticaster \ java.awt.AWTException \ java.awt.AWTPermission \ java.awt.ActiveEvent \ java.awt.Adjustable \ java.awt.AttributeValue \ java.awt.BasicStroke \ java.awt.BorderLayout \ java.awt.CardLayout \ java.awt.Color \ java.awt.Component \ java.awt.Composite \ java.awt.Conditional \ java.awt.Container \ java.awt.Cursor \ java.awt.Dimension \ java.awt.EventDispatchThread \ java.awt.EventQueue \ java.awt.EventQueueListener \ java.awt.FlowLayout \ java.awt.Font \ java.awt.FontMetrics \ java.awt.Frame \ java.awt.Graphics \ java.awt.Graphics2D \ java.awt.GraphicsConfiguration \ java.awt.GraphicsDevice \ java.awt.GraphicsEnvironment \ java.awt.GridBagConstraints \ java.awt.GridBagLayout \ java.awt.GridLayout \ java.awt.HeadlessException \ java.awt.IllegalComponentStateException \ java.awt.Image \ java.awt.ImageCapabilities \ java.awt.Insets \
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -