📄 makefile
字号:
# Makefile for UGL.## modification history# --------------------# 01p,18jun03,jlb Updated to Tornado 2.2# 01o,20jul01,msr Added files to downloadable "uglCPUTOOL.o" file.# 01n,04jan01,msr WindML 2.0 Post FCS -- Merging back to main branch.# 01m,18dec00,jlb Added video to the ugl.o build# 01l,10nov00,jlb Corrected spelling on SIMSPARCSOLARIS# 01k,26oct00,jlb Added ugllist.o to list of files to link for ugl.o# 01j,16oct00,jlb Remove ugl archive builds from examples (SPR 35102)# 01i,11oct00,rbp Invalid character on line 17.# 01h,29sep00,jlb Added build support from config tool# 01g,28sep00,jlb Moved rules.windml to h/ugl/make# 01f,15aug00,jlb New make targets for WindML# 01e,24jul00,rbp Addition of SIMSPARCSOLARIS.# 01d,22may00,lcs Do not build in bspExt for SIMNT# 01c,19mar99,jcs tidying up Makefile.# 01b,03dec98,??? adding LIBNAME and LIBDIRNAME# 01a,10sep98,ics createdTGT_DIR=$(WIND_BASE)/targetSUBDIRS= 2d os driver fonts event audio media winifneq ($(DIST_BUILD),YES)SUBDIRS += configendifexport BUILD_FROM_ROOT = yes############################################################### Objects to link when building an UGL downloadable object file#UGL_2D_OBJS = uglbatch.o uglcolor.o uglcursr.o ugldib.o ugldrvreg.o \ uglellip.o uglfont1.o uglfont2.o uglfont3.o uglgc.o uglinfo.o \ uglline.o ugllist.o uglmdib.o uglmem.o uglmode.o uglmutil.o \ uglovly.o uglpage.o uglpixel.o uglpoly.o uglrect.o uglregn.o \ uglregn1.o ugltdib.o uglugi.o UGL_EXT_OBJS = uglJpeg.o uglvideo.oUGL_AUDIO_OBJS = sndAu.o sndWave.oUGL_EVT_OBJS = uglevth.o uglevth1.o uglevtq.o uglevts.o uglevts1.o \ uglinput.oUGL_MEDIA_OBJS = uglmedia.oUGL_WIN_OBJS = winapp.o windirt.o window.o winroute.oUGL_INIT_OBJS = uglInit.oUGL_APP_OBJECTS = $(UGL_2D_OBJS) $(UGL_EXT_OBJS) $(UGL_AUDIO_OBJS) \ $(UGL_EVT_OBJS) $(UGL_MEDIA_OBJS) $(UGL_WIN_OBJS) \ $(UGL_INIT_OBJS)UGL_OBJECT = $(LIB_ROOT)$(DIRCHAR)$(OBJBASENAME).o# Get list of object file with paths for the entire application layer UGL_APP_LAYER = $(foreach file, $(UGL_APP_OBJECTS), $(LIBDIR)$(DIRCHAR)$(file))############################################################### Main build target#vx: helptip configh Defaultinclude $(TGT_DIR)/h/ugl/make/rules.windml############################################################### Build the WindML object file, includes the entire 2D layer and the driver# and fonts that have been specified in the configuration#uglobj:ifeq ($(BLD_UGLA),) $(MAKE) CPU=$(CPU) TOOL=$(TOOL) TGT_DIR=$(TGT_DIR) uglendif $(LD) $(LD_PARTIAL_FLAGS) -o $(UGL_OBJECT) $(UGL_APP_LAYER) $(LIBNAME_DIR)############################################################### Clean out the ugl object file#uglobjclean: $(RM) $(UGL_OBJECT)############################################################### Build a WindML distribution, this build will clean out all archives and# then rebuild the WindML into the VxWorks archive and create the WindML# archive. The example program objects are also removed.#ugldist: $(MAKE) CPU=$(CPU) TOOL=$(TOOL) TGT_DIR=$(TGT_DIR) uglrclean $(MAKE) CPU=$(CPU) TOOL=$(TOOL) TGT_DIR=$(TGT_DIR) ugldemoclean $(RM) $(UGL_OBJECT) $(MAKE) CPU=$(CPU) TOOL=$(TOOL) TGT_DIR=$(TGT_DIR) DIST_BUILD=YES $(MAKE) CPU=$(CPU) TOOL=$(TOOL) TGT_DIR=$(TGT_DIR) DIST_BUILD=YES ugl############################################################### Build WindML from the configuration tool#windml: helptip listBld $(BLD_UGLA) $(BLD_UGLO) $(BLD_UGLE)############################################################### Clean WindML from the configuration tool#windmlclean: $(CLEAN_UGLA) $(CLEAN_UGLO) $(CLEAN_UGLE)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -