A Software Tool for Maintaining File and Macro Build Dependencies

J. Buffenbarger
{"title":"A Software Tool for Maintaining File and Macro Build Dependencies","authors":"J. Buffenbarger","doi":"10.1002/(SICI)1096-908X(199611)8:6%3C421::AID-SMR140%3E3.0.CO;2-Z","DOIUrl":null,"url":null,"abstract":"Translating each of a UNIX software system's source files into an object file, and linking the object files into an executable file, can be a time-consuming process. Object file generation accounts for most of this time. Tools that recognize and avoid unnecessary object file regeneration are very popular. Many such tools are named MAKE. \n \n \n \nA software system often contains a parameter file. A parameter file is a source file, textually included by every other source file, which defines macros shared by multiple source files. Each object file depends on the parameter file, according to file dependencies. MAKE-like tools only understand file dependencies. So, when a software developer changes a macro in a parameter file, every object file is regenerated, regardless of whether its corresponding source file actually refers to the changed macro. \n \n \n \nUnnecessary object file regeneration can be avoided by replacing some file dependencies with macro dependencies, which express that an object file depends on a macro. \n \n \n \nDEP is a tool implementing a method for automatically detecting and maintaining a software system's file and macro dependencies. DEP works with any flavour of MAKE to minimize the cost of rebuilding an executable file.","PeriodicalId":383619,"journal":{"name":"J. Softw. Maintenance Res. Pract.","volume":"23 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1996-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"J. Softw. Maintenance Res. Pract.","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1002/(SICI)1096-908X(199611)8:6%3C421::AID-SMR140%3E3.0.CO;2-Z","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

Abstract

Translating each of a UNIX software system's source files into an object file, and linking the object files into an executable file, can be a time-consuming process. Object file generation accounts for most of this time. Tools that recognize and avoid unnecessary object file regeneration are very popular. Many such tools are named MAKE. A software system often contains a parameter file. A parameter file is a source file, textually included by every other source file, which defines macros shared by multiple source files. Each object file depends on the parameter file, according to file dependencies. MAKE-like tools only understand file dependencies. So, when a software developer changes a macro in a parameter file, every object file is regenerated, regardless of whether its corresponding source file actually refers to the changed macro. Unnecessary object file regeneration can be avoided by replacing some file dependencies with macro dependencies, which express that an object file depends on a macro. DEP is a tool implementing a method for automatically detecting and maintaining a software system's file and macro dependencies. DEP works with any flavour of MAKE to minimize the cost of rebuilding an executable file.
用于维护文件和宏构建依赖关系的软件工具
将UNIX软件系统的每个源文件转换为目标文件,并将目标文件链接到可执行文件,可能是一个耗时的过程。对象文件生成占了大部分时间。识别和避免不必要的目标文件再生的工具非常流行。许多这样的工具被命名为MAKE。软件系统通常包含一个参数文件。参数文件是一个源文件,在文本上包含在每个其他源文件中,它定义了由多个源文件共享的宏。根据文件依赖关系,每个目标文件都依赖于参数文件。类似make的工具只理解文件依赖关系。因此,当软件开发人员更改参数文件中的宏时,将重新生成每个目标文件,而不管其对应的源文件是否实际引用更改后的宏。可以通过用宏依赖项替换一些文件依赖项来避免不必要的对象文件再生,宏依赖项表示对象文件依赖于宏。DEP是一种实现自动检测和维护软件系统的文件和宏依赖关系的方法的工具。DEP与任何风格的MAKE一起工作,以尽量减少重建可执行文件的成本。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信