midpjartest.gmk

来自「This is a resource based on j2me embedde」· GMK 代码 · 共 100 行

GMK
100
字号
## 	## 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.## This is a test of shared midpJar code that has no OS ifdefs,# so it is not expected to be run a device.# Currently only for Linux i386define verify_directory    @if [ ! -d "$($@)" ]; then \        echo "ERROR: $@ ($($@)) does not point to a valid directory"; \        /bin/false; \    fiendefOS = linuxCPU = i386TARGET_DEVICE = x86OS_CFLAGS = -DLINUX INCLUDES = \	-I$(CLDC_DIR)/bin/$(OS)_$(CPU)/include \	-I../../src/ams/common/native/inc      \	-I../../src/core/native/inc            \	-I../../src/core/native/sharevpath % .vpath %.c ../../src/core/native/sharevpath %.c ../../src/core/native/$(OS)vpath %.c ../../src/ams/common/native/sharevpath %.h ../../src/core/native/sharevpath %.h ../../src/core/native/incvpath %.h ../../src/ams/common/native/incCC = gccCFLAGS = -DENABLE_MIDP_MALLOC=0 -w -fno-gnu-keywords $(INCLUDES) $(OS_CFLAGS)LD = g++LD_FLAGS = LIBS =OBJ_FILES = midpJarTest.o midpJar.o midpString.o storagePosix.o midpUtilUTF.o \	storagePosix_md.o jar.o midpInflate.orun: verify_cldc_dir midpJarTest	@echo "... run $<"	@midpJarTestmidpJarTest: $(OBJ_FILES)	@echo "... link $@"	@$(LD) $(LD_FLAGS) -o $@ $(OBJ_FILES) $(LIBS)midpJarTest.o:: midpJar.h midpMalloc.h midpString.h midpJarTest.gmkmidpJar.o:: midpJar.h jar.h midpMalloc.h midpStorage.h midpString.h \	midpUtilUTF.h midpJarTest.gmkmidpInflate.o:: jar.h midpInflateint.h midpInflatetables.h midpJarTest.gmkstoragePosix.o:: midpStorage.h storagePosix_md.h midpJarTest.gmkjar.o storagePosix_md.o midpString.o midpUtilUTF.o: %.o: %.c %.h midpJarTest.gmk%.o: %.c	@echo "... create $@ from $<"	@$(CC) $(CFLAGS) -c -o $@ $<CLDC_DIR:	$(verify_directory)verify_cldc_dir: CLDC_DIR

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?