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

📄 makefile

📁 ecos实时嵌入式操作系统
💻
📖 第 1 页 / 共 2 页
字号:
## File:		Makefile for Configtool# Author:	Julian Smart# Created:	2000.08.25# Updated:	# Copyright:	(c) Red Hat, Inc.## To make absolutely everything:## % mkdir /tmp/ecos-build# % cd /tmp/ecos-build# % make -f $(ECOSDIR)/host/tools/configtool/standalone/wxwin/Makefile WXDIR=$(WXDIR) ECOSDIR=$(ECOSDIR) LEVEL=debug full## To make just Configtool:## % make ... LEVEL=debug ct## To make wxWindows & eCos libraries:## % make ... LEVEL=debug wx ecc## The result will be subdirectories under your /tmp/ecos-build (or other specified# directory) containing:## ct-build-debug/# ecc-build-debug/# wxwin-build-debug/## To make a release version, specify LEVEL=release instead of LEVEL=debug.## If this is set to gcc, we get some link errors relating to# streams and suchCC = c++#CC = gccPROGRAM = configtoolLEVEL = debugWXDEBUGFLAGS=--with-debug_flag --with-debug_info --enable-debug --enable-debug_cntxtECCDEBUGFLAGS=--enable-debug # IMPORTANT NOTE for recent versions of wxWindows, you must pass# --static to wx-config. For older versions, comment this out.#WXCONFIGFLAGS=--staticCPPDEBUGOPTIONS=-ggdbLINKDEBUGOPTIONS=STRIPCOMMAND=echo USEEXPERIMENTALCODE=1# You should specify this on the command lineWXDIR=You_should_override_the_WXDIR_variable# Current (build) directoryCURRDIR = $(shell pwd)BUILDDIR=$(CURRDIR)# Where the CDL, infra etc. libraries have been builtECOSBUILDDIR=$(BUILDDIR)/ecc-build-$(LEVEL)WXBUILDDIR=$(BUILDDIR)/wxwin-build-$(LEVEL)CTBUILDDIR=$(BUILDDIR)/ct-build-$(LEVEL)# You have to specify this when invoking make.ECOSDIR=You_should_override_the_ECOSDIR_variableCTDIR=$(ECOSDIR)/host/tools/configtool/standalone/wxwinWXCONFIG=$(WXBUILDDIR)/wx-config $(WXCONFIGFLAGS)# Where the binary will be installed locallyLOCALBINDIR=/home/ecos/misctools/H-i686-pc-linux-gnu/bin# A suitable home for archives of the toolLOCALARCHIVEDIR=/netopt/ecc-share/releng/eCosTools/eCosConfigurationToolifneq "$(LEVEL)" "debug"  WXDEBUGFLAGS=--without-debug_flag --without-debug_info --disable-debug   ECCDEBUGFLAGS=--disable-debug   CPPDEBUGOPTIONS=-O2  LINKDEBUGOPTIONS=--strip-debug  STRIPCOMMAND=stripendifOBJECTS = \ $(CTBUILDDIR)/aboutdlg.o \ $(CTBUILDDIR)/admindlg.o \ $(CTBUILDDIR)/appsettings.o \ $(CTBUILDDIR)/build.o \ $(CTBUILDDIR)/buildoptionsdlg.o \ $(CTBUILDDIR)/choosereposdlg.o \ $(CTBUILDDIR)/Collections.o \ $(CTBUILDDIR)/configitem.o \ $(CTBUILDDIR)/configpropdlg.o \ $(CTBUILDDIR)/configtool.o \ $(CTBUILDDIR)/configtooldoc.o \ $(CTBUILDDIR)/configtoolview.o \ $(CTBUILDDIR)/configtree.o \ $(CTBUILDDIR)/conflictsdlg.o \ $(CTBUILDDIR)/conflictwin.o \ $(CTBUILDDIR)/docsystem.o \ $(CTBUILDDIR)/ecscrolwin.o \ $(CTBUILDDIR)/eCosSerial.o \ $(CTBUILDDIR)/eCosSocket.o \ $(CTBUILDDIR)/eCosStd.o \ $(CTBUILDDIR)/eCosTest.o \ $(CTBUILDDIR)/eCosTestDownloadFilter.o \ $(CTBUILDDIR)/eCosTestPlatform.o \ $(CTBUILDDIR)/eCosTestSerialFilter.o \ $(CTBUILDDIR)/eCosTestUtils.o \ $(CTBUILDDIR)/eCosThreadUtils.o \ $(CTBUILDDIR)/eCosTrace.o \ $(CTBUILDDIR)/ecutils.o \ $(CTBUILDDIR)/filename.o \ $(CTBUILDDIR)/finddlg.o \ $(CTBUILDDIR)/flags.o \ $(CTBUILDDIR)/folderdlg.o \ $(CTBUILDDIR)/htmlparser.o \ $(CTBUILDDIR)/licensedlg.o \ $(CTBUILDDIR)/mainwin.o \ $(CTBUILDDIR)/mltwin.o \ $(CTBUILDDIR)/msgdlgex.o \ $(CTBUILDDIR)/outputwin.o \ $(CTBUILDDIR)/packagesdlg.o \ $(CTBUILDDIR)/platformeditordlg.o \ $(CTBUILDDIR)/platformsdlg.o \ $(CTBUILDDIR)/propertywin.o \ $(CTBUILDDIR)/Properties.o \ $(CTBUILDDIR)/reposdlg.o \ $(CTBUILDDIR)/ResetAttributes.o \ $(CTBUILDDIR)/runtestsdlg.o \ $(CTBUILDDIR)/sectiondlg.o \ $(CTBUILDDIR)/settingsdlg.o \ $(CTBUILDDIR)/shortdescrwin.o \ $(CTBUILDDIR)/solutionswin.o \ $(CTBUILDDIR)/splittree.o \ $(CTBUILDDIR)/Subprocess.o \ $(CTBUILDDIR)/templatesdlg.o \ $(CTBUILDDIR)/TestResource.o# C++ compilerCC          = c++INCLUDEPREFIX=--prefix=$(WXBUILDDIR)LIBPREFIX=--prefix=$(WXBUILDDIR)EXTRACPPFLAGS=\  -I$(WXDIR)/include\  -I$(ECOSDIR)/host/libcdl\  -I$(ECOSDIR)/host/infra\  -I$(ECOSDIR)/host/tools/configtool/common/common\  -I$(ECOSDIR)/host/tools/Utils/common\  -I$(ECOSDIR)/host/tools/ecostest/common\  -I$(ECOSBUILDDIR)/libcdl\  -I$(ECOSBUILDDIR)/infra\  -DecUSE_EXPERIMENTAL_CODE=$(USEEXPERIMENTALCODE)EXTRALDFLAGS=-L$(ECOSBUILDDIR)/infra -L$(ECOSBUILDDIR)/libcdl -lcdl -lcyginfra -ltcl.SUFFIXES:	.o .cpp .cxx.cpp.o :	$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) `$(WXCONFIG) $(INCLUDEPREFIX) --cflags` -o $@ $<.cxx.o :	$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) `$(WXCONFIG) $(INCLUDEPREFIX) --cflags` -o $@ $<all:    mkbuilddir $(CTBUILDDIR)/$(PROGRAM)ct:	mkbuilddir $(CTBUILDDIR)/$(PROGRAM)mkbuilddir:	mkdir -p $(CTBUILDDIR)$(CTBUILDDIR)/$(PROGRAM):	$(OBJECTS)	$(CC) $(LINKDEBUGOPTIONS) -o $(CTBUILDDIR)/$(PROGRAM) $(OBJECTS) $(EXTRALDFLAGS) `$(WXCONFIG) $(LIBPREFIX) --libs`	$(STRIPCOMMAND) $(CTBUILDDIR)/$(PROGRAM)full: wx ecc allwx:	@mkdir -p $(WXBUILDDIR) ; \	cd $(WXBUILDDIR) ; \        if test ! -f Makefile ; then rm -f *.o *.d ; \        rm -f *.cache ; \        $(WXDIR)/configure --disable-shared --enable-gui --with-gtk --enable-log $(WXDEBUGFLAGS) --with-threads --disable-no_rtti --without-sockets --without-odbc --without-libjpeg ; \        fi; \        makeecc:	@mkdir -p $(ECOSBUILDDIR) ; \        cd $(ECOSBUILDDIR) ; \        if test ! -f Makefile ; then $(ECOSDIR)/host/configure --prefix=$(ECOSBUILDDIR) $(ECCDEBUGFLAGS) --with-tcl=/usr ; \        fi ; \        make# Some GTK+ installations are a bit broken and we need to define __WXGTK127__ even if# we don't really have GTK++ 1.2.7. This manifests itself in a compile error in dcclient.cpp.wxgtkfix:	@rm -f $(WXBUILDDIR)/setup.h; rm -f $(WXBUILDIR)/lib/wx/include/wx/gtk*/setup/h; \	sed -e "s;/\* #undef __WXGTK127__ \*/;#define __WXGTK127__ 1;g;" < $(WXBUILDDIR)/include/wx/gtk/setup.h > /tmp/setup.h ; \	mv /tmp/setup.h $(WXBUILDDIR)/include/wx/gtk/setup.hclean: 	rm -f $(CTBUILDDIR)/$(PROGRAM) $(CTBUILDDIR)/*.ocleanct: clean

⌨️ 快捷键说明

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