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

📄 imake.tmpl

📁 与Casio BOSS进行串口通讯的程序
💻 TMPL
📖 第 1 页 / 共 2 页
字号:
#ifndef MvCmd#define MvCmd mv#endif#ifndef DoRanlibCmd#if SystemV || SystemV4#define DoRanlibCmd NO#else#define DoRanlibCmd YES#endif#endif#ifndef RanlibCmd#define RanlibCmd ranlib#endif#ifndef RanlibInstFlags#define RanlibInstFlags /**/#endif#ifndef RmCmd#define RmCmd rm -f#endif#ifndef StandardIncludes#define StandardIncludes /**/			/* for platform-specifics */#endif#ifndef StandardDefines#if SystemV#define StandardDefines -DSYSV#else#if SystemV4#define StandardDefines -DSVR4#else#define StandardDefines /**/#endif#endif#endif#ifndef StandardCppDefines#define StandardCppDefines StandardDefines#endif#ifndef Malloc0ReturnsNull#define Malloc0ReturnsNull NO#endif#ifndef NdbmDefines#if HasNdbm#define NdbmDefines -DNDBM#else#define NdbmDefines /**/#endif#endif#ifndef ExtraLibraries#if SystemV4#if HasSockets#define ExtraLibraries -lsocket -lnsl#else#define ExtraLibraries -lnsl#endif#else#define ExtraLibraries /**/#endif#endif#ifndef ExtraLoadFlags#define ExtraLoadFlags /**/#endif#ifndef LdCombineFlags#if SystemV4#define LdCombineFlags -r#else#define LdCombineFlags -X -r#endif#endif#ifndef TagsCmd#define TagsCmd ctags#endif#ifndef LoaderLibPrefix#define LoaderLibPrefix /**/			/* cray does -l libX11.a */#endif#ifndef DependFlags#define DependFlags /**/#endif#ifndef TroffCmd#define TroffCmd psroff#endif#ifndef MsMacros#define MsMacros -ms#endif#ifndef TblCmd#define TblCmd tbl#endif#ifndef EqnCmd#define EqnCmd eqn#endif#ifndef ExpandManNames#if SystemV#define ExpandManNames NO#else#define ExpandManNames YES#endif#endif#ifndef TOPDIR#define TOPDIR .#endif#ifndef CURDIR#define CURDIR .#endif#ifndef ExtraFilesToClean#define ExtraFilesToClean /**/#endif#ifndef FilesToClean#define FilesToClean *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut #endif            SHELL = BourneShell              TOP = TOPDIR      CURRENT_DIR = CURDIR               AR = ArCmd  BOOTSTRAPCFLAGS = BootstrapCFlags	/* set if cpp does not have uniq sym */               CC = CcCmd               AS = AsCmd         COMPRESS = CompressCmd              CPP = CppCmd $(STD_CPP_DEFINES)		/* simple filters */    PREPROCESSCMD = PreProcessCmd $(STD_CPP_DEFINES)	/* prefered; mdep */          INSTALL = InstallCmd               LD = LdCmd         LOADOPTS = LoadOpts         LOADLIBS = LoadLibs             LINT = LintCmd      LINTLIBFLAG = LintLibFlag         LINTOPTS = LintOpts         LINTLIBS = LintLibs               LN = LnCmd             MAKE = MakeCmd               MV = MvCmd               CP = CpCmd#if DoRanlibCmd           RANLIB = RanlibCmd  RANLIBINSTFLAGS = RanlibInstFlags#endif               RM = RmCmd            TROFF = TroffCmd         MSMACROS = MsMacros              TBL = TblCmd              EQN = EqnCmd     STD_INCLUDES = StandardIncludes  STD_CPP_DEFINES = StandardCppDefines      STD_DEFINES = StandardDefines EXTRA_LOAD_FLAGS = ExtraLoadFlags  EXTRA_LIBRARIES = ExtraLibraries             TAGS = TagsCmd#if ConstructMFLAGS           MFLAGS = -$(MAKEFLAGS)#endif#if !HasVoidSignalReturn   SIGNAL_DEFINES = -DSIGNALRETURNSINT#endif/* * The following supports forcing of function prototypes */#if NeedFunctionPrototypes && NeedVarargsPrototypes && NeedConstPrototypes && NeedNestedPrototypes#define _funcprotodef -DFUNCPROTO=15#else#if NeedFunctionPrototypes && NeedVarargsPrototypes && NeedNestedPrototypes#define _funcprotodef -DFUNCPROTO=11#else#if NeedFunctionPrototypes && NeedNestedPrototypes#define _funcprotodef -DFUNCPROTO=9#else#if NeedFunctionPrototypes && NeedVarargsPrototypes && NeedConstPrototypes#define _funcprotodef -DFUNCPROTO=7#else#if NeedFunctionPrototypes && NeedConstPrototypes#define _funcprotodef -DFUNCPROTO=5#else#if NeedFunctionPrototypes && NeedVarargsPrototypes#define _funcprotodef -DFUNCPROTO=3#else#if NeedFunctionPrototypes#define _funcprotodef -DFUNCPROTO#else#define _funcprotodef /**/#endif#endif#endif#endif#endif#endif#endif#if NeedWidePrototypes#define _wideprotodef /**/#else#define _wideprotodef -DNARROWPROTO#endif    PROTO_DEFINES = _funcprotodef _wideprotodef #undef _funcprotodef#undef _wideprotodef      INSTSTRIP = InstStrip   INSTPROGMODE = InstProgMode INSTSCRIPTMODE = InstScriptMode    INSTLIBMODE = InstLibMode    INSTDATMODE = InstDatMode    INSTMANMODE = InstManMode      INSTOWNER = InstOwner      INSTGROUP = InstGroup  INSTPROGFLAGS = $(INSTOWNER) $(INSTGROUP) $(INSTSTRIP) $(INSTPROGMODE)INSTSCRIPTFLAGS = $(INSTOWNER) $(INSTGROUP) $(INSTSCRIPTMODE)   INSTLIBFLAGS = $(INSTOWNER) $(INSTGROUP) $(INSTLIBMODE)   INSTDATFLAGS = $(INSTOWNER) $(INSTGROUP) $(INSTDATMODE)   INSTMANFLAGS = $(INSTOWNER) $(INSTGROUP) $(INSTMANMODE)#ifdef ProjectRoot      PROJECTROOT = ProjectRoot#endif#ifdef UseInstalled#if AlternateIncRoot     TOP_INCLUDES = -I$(INCROOT)	/* def: for alternative /usr/include */#endif#else     TOP_INCLUDES = -I$(TOP)		/* def: for builds within tree */#endif      CDEBUGFLAGS = DefaultCDebugFlags        CCOPTIONS = DefaultCCOptions	/* to distinguish from param flags *//* * STD_INCLUDES contains system-specific includes * TOP_INCLUDES specifies how to get to /usr/include or its build substitute * EXTRA_INCLUDES contains project-specific includes set in project incfiles * INCLUDES contains client-specific includes set in Imakefile * LOCAL_LDFLAGS contains client-specific ld flags flags set in Imakefile */      ALLINCLUDES = $(INCLUDES) $(EXTRA_INCLUDES) $(TOP_INCLUDES) $(STD_INCLUDES)       ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(EXTRA_DEFINES) $(PROTO_DEFINES) $(DEFINES)           CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(ALLDEFINES)        LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES)#if AlternateUsrLibDir && !defined(UseInstalled)           LDLIBS = -L$(USRLIBDIR) $(SYS_LIBRARIES) $(EXTRA_LIBRARIES)#else           LDLIBS = $(SYS_LIBRARIES) $(EXTRA_LIBRARIES)#endif#if AlternateUsrLibDir && defined(UseInstalled)        LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS) $(LOCAL_LDFLAGS) -L$(USRLIBDIR)#else        LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS) $(LOCAL_LDFLAGS)#endif   LDCOMBINEFLAGS = LdCombineFlags      DEPENDFLAGS = DependFlags        MACROFILE = MacroFile           RM_CMD = $(RM) FilesToClean ExtraFilesToClean    IMAKE_DEFINES = /* leave blank, for command line use only */#ifdef UseInstalled         IRULESRC = $(CONFIGDIR)	/* used in rules file */        IMAKE_CMD = $(IMAKE) -DUseInstalled -I$(IRULESRC) $(IMAKE_DEFINES)#else         IRULESRC = $(CONFIGSRC)        IMAKE_CMD = $(IMAKE) -I$(NEWTOP)$(IRULESRC) $(IMAKE_DEFINES)#endif     ICONFIGFILES = $(IRULESRC)/Imake.tmpl $(IRULESRC)/Imake.rules \			$(IRULESRC)/Project.tmpl $(IRULESRC)/site.def \			$(IRULESRC)/$(MACROFILE) $(EXTRA_ICONFIGFILES)/* * get project-specific configuration and rules */#include <Project.tmpl>#include <Imake.rules>XCOMM -------------------------------------------------------------------------XCOMM start of Imakefile#include INCLUDE_IMAKEFILEXCOMM -------------------------------------------------------------------------XCOMM common rules for all Makefiles - do not edit/* * These need to be here so that rules in Imakefile occur first;  the blank * all is to make sure that an empty Imakefile does not default to make clean. */emptyrule::CleanTarget()MakefileTarget()TagsTarget()#if HasSaberCsaber:	XCOMM load $(ALLDEFINES) $(SRCS)osaber:	XCOMM load $(ALLDEFINES) $(OBJS)#endif#ifdef IHaveSubdirsXCOMM -----------------------------XCOMM rules for building in SUBDIRSMakeSubdirs($(SUBDIRS))DependSubdirs($(SUBDIRS))InstallSubdirs($(SUBDIRS))InstallManSubdirs($(SUBDIRS))CleanSubdirs($(SUBDIRS))TagSubdirs($(SUBDIRS))MakefileSubdirs($(SUBDIRS))IncludesSubdirs($(SUBDIRS))#elseXCOMM ----------------------------------------------------XCOMM empty rules for directories that do not have SUBDIRSall::depend::install::	@echo "install in $(CURRENT_DIR) done"install.man::	@echo "install.man in $(CURRENT_DIR) done"Makefiles::includes::#endif /* if subdirectory rules are needed */XCOMM -------------------------------------------------------------------------XCOMM dependencies generated by makedepend

⌨️ 快捷键说明

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