patchmake - Patches: patch #1539, CPP-like include (cinclude)


You are not allowed to post comments on this tracker with your current authentication level.

patch #1539: CPP-like include (cinclude)

Submitted by:  Boris Kolpackov <bosk>
Submitted on:  Tue 27 May 2003 11:13:46 PM UTC  
Category:  None Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
Fixed Release:  None

Thu 24 Nov 2005 05:03:51 AM UTC, comment #2:

<a href=''> - asian boy </a>
<a href=''> - transvestite fashions </a>
<a href=''> - porn sex anal oral asian </a>
<a href=''> - mature women young men videos </a>
<a href=''> - black transsexuals </a>
<a href=''> - free boobs porn </a>
<a href=''> - mature ebony movies </a>
<a href=''> - shemale pornstars </a>
<a href=''> - free mature sex video clips </a>
<a href=''> - french maid transgendered page </a>
<a href=''> - SPANISH MATURE MOVIES Galleries </a>
<a href=''> - photos of traditional asian royal costumes </a>
<a href=''> - transvestite photo </a>
<a href=''> - huge suffocating tits </a>
<a href=''> - mature granny anal sex galleries </a>
<a href=''> - free pictures of chicks with dicks </a>
<a href=''> - dogfart free interracial pics </a>
<a href=''> - janet jackson super bowl boob </a>
<a href=''> - free japanese gothic lolita girls photos </a>
<a href=''> - free perfect tits </a>
<a href=''> - granny </a>
<a href=''> - asian import models </a>
<a href=''> - shemale vanity </a>
<a href=''> - nterracial cream pie video </a>
<a href=''> - free mature photo galleries </a>
<a href=''> - montreal transexual escorts </a>
<a href=''> - thai fonts </a>
<a href=''> - asian lingerie models </a>
<a href=''> - boobs squad </a>
<a href=''> - fake breasts </a>
<a href=''> - chinese oral sex </a>

Tue 27 May 2003 11:42:32 PM UTC, comment #1:

Citing Paul D. Smith:
"You might be interested in this thread from help-mak: "

Boris Kolpackov <bosk>
Project Member
Tue 27 May 2003 11:13:46 PM UTC, original submission:

This patch provides a CPP-style include facility for GNU make. Consider the following example:

--------------- foo/config/g++.rules ----------------
# compiling code using g++

---------------------- end --------------------------

--------------- foo/config/cxx.rules ----------------
# compiling code using Compaq C++

--------------- end ----------------

--------------- foo/config/c++.rules ----------------
# include one of the compiler-specific .rules
include g++.rules
include cxx.rules
------------------------ end ------------------------

------------------- foo/Makefile --------------------
include config/c++.rules

----------------------- end -------------------------

This reasonable example would not work because vanilla gnu make does not look for included files in parent's make-file directory. In other words make won't be able to find g++.rules or cxx.rules. The proposed patch introduces new flavor or include facility with the name 'cinclude' and the following semantic:

(1) cinclud'ed file if searched in parent's make-file directory and in directories specified with -I option.

(2) if cinclud'ed file is not found make will not attempt to rebuild it but rather immediately exit with error.

Thus the cinclude mechanism resembles CPP-style include. The above example corrected using cinclude would look as follows:

--------------- foo/config/c++.rules ----------------
# include one of the compiler-specific .rules
cinclude g++.rules
cinclude cxx.rules
------------------------ end ------------------------

Boris Kolpackov <bosk>
Project Member


Attached Files
file #5723:  patch_item_1539.patch added by bosk (6KiB - text/plain - patch item 1539)


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty


Do you think this task is very important?
If so, you can add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.




No changes have been made to this item

Back to the top

Powered by Savane 3.3