⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile

📁 SyncML手册及其编程
💻
字号:
## Copyright Notice# Copyright (c) Ericsson, IBM, Lotus, Matsushita Communication # Industrial Co., Ltd., Motorola, Nokia, Openwave Systems, Inc., # Palm, Inc., Psion, Starfish Software, Symbian, Ltd. (2001).# All Rights Reserved.# Implementation of all or part of any Specification may require # licenses under third party intellectual property rights, # including without limitation, patent rights (such a third party # may or may not be a Supporter). The Sponsors of the Specification # are not responsible and shall not be held responsible in any # manner for identifying or failing to identify any or all such # third party intellectual property rights.# # THIS DOCUMENT AND THE INFORMATION CONTAINED HEREIN ARE PROVIDED # ON AN "AS IS" BASIS WITHOUT WARRANTY OF ANY KIND AND ERICSSON, IBM, # LOTUS, MATSUSHITA COMMUNICATION INDUSTRIAL CO. LTD, MOTOROLA, # NOKIA, PALM INC., PSION, STARFISH SOFTWARE AND ALL OTHER SYNCML # SPONSORS DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING # BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION # HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF # MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT # SHALL ERICSSON, IBM, LOTUS, MATSUSHITA COMMUNICATION INDUSTRIAL CO., # LTD, MOTOROLA, NOKIA, PALM INC., PSION, STARFISH SOFTWARE OR ANY # OTHER SYNCML SPONSOR BE LIABLE TO ANY PARTY FOR ANY LOSS OF # PROFITS, LOSS OF BUSINESS, LOSS OF USE OF DATA, INTERRUPTION OF # BUSINESS, OR FOR DIRECT, INDIRECT, SPECIAL OR EXEMPLARY, INCIDENTAL, # PUNITIVE OR CONSEQUENTIAL DAMAGES OF ANY KIND IN CONNECTION WITH # THIS DOCUMENT OR THE INFORMATION CONTAINED HEREIN, EVEN IF ADVISED # OF THE POSSIBILITY OF SUCH LOSS OR DAMAGE.# # The above notice and this paragraph must be included on all copies # of this document that are made.# ## delete filesRM	= 	del /Q# copy filesCP	= 	copy# compiler to useCC   	=	gcc# create DLLDLLTOOL = 	dlltoolDLLWRAP = 	dllwrap# some flagsCFLAGS 	=	-g -pedantic -DDEBUG_CHECK -DTRACEDLL_CFLAGS =	-DBUILDING_DLL=1## Various targets to build.#BIN =		../../../bin/winSML_NAME = 	sml.dllSML_EXP_LIB = 	libsml.aSML_EXP_DEF = 	sml.def## where to find the includes and objects#SRC 	=	../../smlINCS 	=	-I$(SRC)/inc \		-I$(SRC)/inc/win \		-I$(SRC)/lib/inc \		-I$(SRC)/mgr/inc \		-I$(SRC)/wsm/inc \		-I$(SRC)/xlt/all \		-I$(SRC)/xlt/inc \		-I$(SRC)/..VPATH	= 	../..; \		$(SRC)/inc; \		$(SRC)/inc/win; \		$(SRC)/lib/inc; \		$(SRC)/lib/all; \		$(SRC)/mgr/inc; \		$(SRC)/mgr/all; \		$(SRC)/mgr/win; \		$(SRC)/wsm/inc; \		$(SRC)/wsm/all; \		$(SRC)/wsm/win; \		$(SRC)/xlt/inc; \		$(SRC)/xlt/all;## all objects for the sml-DLL#SML_OBJS =	libinit.o \		libstr.o \		libutil.o \		libmem.o \		mgr.o \		mgrcmdbuilder.o \		mgrcmddispatcher.o \		mgrinstancelist.o \		mgrinstancemgr.o \		mgrutil.o \		wsm.o \		wsm_sm.o \		xlttags.o \		xltdec.o \		xltdecwbxml.o \		xltdecxml.o \		xltutilstack.o \		xltenc.o \		xltencwbxml.o \		xltencxml.o \		xltenccom.o \		xltmetinf.o \		xltdevinf.o## Note that we let dllwrap create both the DEF and IMPORT library in# one shot. No need to run dlltool anymore.#$(BIN)/$(SML_NAME) : $(SML_OBJS)	@if not exist $(subst /,\,$(BIN)) mkdir $(subst /,\,$(BIN))	$(DLLWRAP) --output-def $(SML_EXP_DEF) --implib $(SML_EXP_LIB) \	-def ../../sml/SyncML.def \	--driver-name $(CC) -o $(SML_NAME) $(SML_OBJS)	$(CP) $(SML_NAME) $(subst /,\,$(BIN)) >NUL	$(CP) $(SML_EXP_LIB) $(subst /,\,$(BIN)) >NUL	@echo SML build done.## dependencies#libstr.o		: smldef.h define.h libstr.h libmem.hlibmem.o		: smldef.hlibutil.o		: smldef.h define.h smlerr.h sml.h libmem.h libutil.h \			  mgr.h smldtd.h wsm.h wsm_sm.h mgr.o			: smldef.h define.h sml.h smldtd.h smlerr.h libmem.h \			  wsm.h wsm_sm.h mgr.h mgrcmdbuilder.o		: smldef.h define.h xltenc.h smlerr.h xltenccom.h \			  smldtd.h mgr.h sml.h wsm.h wsm_sm.h mgrcmddispatcher.o	: smldef.h define.h smldtd.h smlerr.h libmem.h sml.h \			  libutil.h xltdec.h mgr.h wsm.h wsm_sm.hmgrinstancelist.o	: smlerr.h libmem.h smldef.h define.h mgr.h sml.h \			  smldtd.h wsm.h wsm_sm.h mgrinstancemgr.o	: smldef.h define.h sml.h smldtd.h smlerr.h libmem.h \			  wsm.h wsm_sm.h mgr.h mgrutil.o		: smldef.h sml.h smldtd.h smlerr.h define.h\			  smlmetinfdtd.hwsm.o			: wsm.h smlerr.h define.h libutil.h wsm_sm.h sml.h \			  smldtd.h smldef.h libmem.h libstr.h mgr.hwsm_sm.o		: wsm_sm.h smldef.h define.h libutil.h smlerr.h \			  mgr.h sml.h smldtd.h wsm.hxlttags.o		: xlttags.h smlerr.h libmem.h libutil.h libstr.hxltdec.o		: xlttags.h define.h smldtd.h smlerr.h xltdec.h \			  xltdeccom.h xltutilstack.h smldef.h libutil.h \			  libmem.h libstr.h xlttagtbl.h xltmetinf.h xltdecwbxml.o		: xlttags.h define.h smldtd.h smlerr.h xltdeccom.h \			  xltutilstack.h smldef.h libutil.h libmem.h libstr.hxltdecxml.o		: xltdeccom.h smldef.h define.h smldtd.h xlttags.h \			  libutil.h libmem.h libstr.h smlerr.hxltutilstack.o		: xltdeccom.h smldef.h define.h smldtd.h xlttags.h \			  libutil.h xltutilstack.h smlerr.h libmem.hxltenc.o		: xltenc.h smlerr.h xltenccom.h smldef.h define.h \			  smldtd.h xltencwbxml.h xlttags.h xltencxml.h \			  libstr.h libmem.h libutil.h smlmetinfdtd.h xltmetinf.h\			  xlttagtbl.h xltencwbxml.o		: xltencwbxml.h smlerr.h smldef.h define.h smldtd.h \			  xlttags.h xltenccom.h libmem.h libstr.h libutil.hxltencxml.o		: xltencxml.h smlerr.h xlttags.h smldtd.h smldef.h \			  define.h xltenccom.h libstr.h libmem.h libutil.hxltenccom.o		: xltenccom.h smldef.h define.h smlerr.h libmem.h \			  libutil.hxltmetinf.o		: smldef.h smldtd.h smlerr.h smlmetinfdtd.h define.h\			  libmem.h libstr.h libutil.h xltdeccom.h xltmetinf.h\			  xlttags.h xlttagtbl.h xltdec.h xltenc.hxltdevinf.o		: smldevinfdtd.h xlttags.h xlttagtbl.h xltenc.h \			  xltenc.h xltencwbxml.h libstr.h smlerr.h smldtd.h\			  libmem.h libutil.h### default rules for building DLL objects. Note that client programs (ie.,# the ones that *use* the DLL) have to be compiled without the DLL_CFLAGS# flags.#.c.o:	$(CC) -c $(DLL_CFLAGS) $(CFLAGS) $(INCS) -o $@ $<.PHONY: all sml xpt clean# targetsall : sml xptsml : $(BIN)/$(SML_NAME)xpt : sml	@$(MAKE) -f Makefile.xpt --no-print-directory# cleaningclean:	.	$(RM) *.o *.dll *.a *.def 2>NUL	@$(MAKE) -f Makefile.xpt --no-print-directory clean

⌨️ 快捷键说明

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