Object-oriented method and apparatus for creating a makefile
First Claim
1. A method of constructing a platform specific makefile in a computer system having a memory, the makefile having instructions for constructing an executable program, the method comprising the steps of:
- A. receiving a request for constructing the makefile;
B. accessing, responsive to step A, a build file in the memory of the computer, the build file being non-plafform specific and having calls to at least one platform specific rule in a rules file, the rules file being in the memory of the computer system;
C. accessing, responsive to step B, the rules file; and
D. executing, responsive to step C, the rules called by the build file to construct the makefile.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and apparatus for building a platform dependent makefile from a platform independent "build" file. Accordingly, instead of requiring that a programmer create a plurality of makefiles for a plurality of platforms, the invention enables the programmer to create a single, platform independent build file that may be used across a plurality of platforms. The build file includes arguments that are passed to rules stored in a rules file that create an internal data structure having the information necessary for forming the makefile. The invention then uses the information in this data structure to form the platform dependent makefile.
40 Citations
18 Claims
-
1. A method of constructing a platform specific makefile in a computer system having a memory, the makefile having instructions for constructing an executable program, the method comprising the steps of:
-
A. receiving a request for constructing the makefile; B. accessing, responsive to step A, a build file in the memory of the computer, the build file being non-plafform specific and having calls to at least one platform specific rule in a rules file, the rules file being in the memory of the computer system; C. accessing, responsive to step B, the rules file; and D. executing, responsive to step C, the rules called by the build file to construct the makefile. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. An apparatus for constructing a platform specific makefile in a computer system having a memory, the makefile having instructions for constructing an executable program, the apparatus comprising:
-
a build file in the memory of the computer and being non-platform dependent; a rules file in the memory of the computer and comprising a plurality of platform specific rules; means for receiving a request for constructing the makefile; first means for accessing, responsive to the receiving means, the build file, the build file having calls to at least one rule in the rules file; second means for accessing, responsive to the first accessing means, the rules file; and means for executing, responsive to the second accessing means, the rules called by the build file to construct the makefile. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A computer program product comprising:
-
a computer usable medium having computer readable program code thereon for constructing a platform specific makefile in a computer system having a memory, the makefile having instructions for constructing an executable program, the computer readable program code comprising; program code for receiving a request for constructing the makefile; first program code for accessing, responsive to the program code for receiving, a build file in the memory of the computer, the build file being non-platform specific and having calls to at least one platform specific rule in a rules file, the rules file being in the memory of the computer system; second program code for accessing, responsive to the first program code for accessing, the rules file; and program code for executing, responsive to the second program code for accessing, the rules called by the build file to construct the makefile. - View Dependent Claims (14, 15, 16, 17, 18)
-
Specification