-
公开(公告)号:US08863077B2
公开(公告)日:2014-10-14
申请号:US13916337
申请日:2013-06-12
Applicant: Apple Inc.
Inventor: Genevieve Lee , Anders Bertelrud
CPC classification number: G06F8/71
Abstract: Embodiments may provide a makefile interposer, which enables a makefile to be used for building software for different platforms without modifying the makefile. In some embodiments, the interposer intercepts the commands run by makefile and automatically interposes the correct library files, dependencies, paths, and other information used by make to build the program for a particular platform. Additionally, calls that the invoked tools themselves make are intercepted and the interposer may redirect them to the platform-specific tools or file system locations including redirecting file descriptors. In some instances, when a tool is called that is not in the platform, the interposer may also fall back on the other system tools.
Abstract translation: 实施例可以提供makefile中介器,其使makefile能够用于在不修改makefile的情况下为不同平台构建软件。 在一些实施例中,中介层拦截由makefile运行的命令,并自动插入由make构建用于特定平台的程序所使用的正确库文件,依赖关系,路径和其他信息。 此外,被调用的工具本身所做的调用被截取,并且插入程序可以将它们重定向到特定于平台的工具或文件系统位置,包括重定向文件描述符。 在某些情况下,当调用不在平台中的工具时,插入器也可能会落在其他系统工具上。
-
公开(公告)号:US20130283235A1
公开(公告)日:2013-10-24
申请号:US13916337
申请日:2013-06-12
Applicant: Apple Inc.
Inventor: Genevieve Lee , Anders Bertelrud
IPC: G06F9/44
CPC classification number: G06F8/71
Abstract: Embodiments may provide a makefile interposer, which enables a makefile to be used for building software for different platforms without modifying the makefile. In some embodiments, the interposer intercepts the commands run by makefile and automatically interposes the correct library files, dependencies, paths, and other information used by make to build the program for a particular platform. Additionally, calls that the invoked tools themselves make are intercepted and the interposer may redirect them to the platform-specific tools or file system locations including redirecting file descriptors. In some instances, when a tool is called that is not in the platform, the interposer may also fall back on the other system tools.
-