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)

Submitter:  Boris Kolpackov <bosk>
Submitted:  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='http://wvvw.dynu.net/masterzone/asian-boy.html'> http://wvvw.dynu.net/masterzone/asian-boy.html - asian boy </a> http://wvvw.dynu.net/masterzone/asian-boy.html
 <a href='http://wvvw.dynu.net/vatnik/transvestite-fashions.html'> http://wvvw.dynu.net/vatnik/transvestite-fashions.html - transvestite fashions </a> http://wvvw.dynu.net/vatnik/transvestite-fashions.html
 <a href='http://mamba.dynu.net/masterzone/porn-sex-anal-oral-asian.html'> http://mamba.dynu.net/masterzone/porn-sex-anal-oral-asian.html - porn sex anal oral asian </a> http://mamba.dynu.net/masterzone/porn-sex-anal-oral-asian.html
 <a href='http://wvvw.dynu.net/puzan/mature-women-young-men-videos.html'> http://wvvw.dynu.net/puzan/mature-women-young-men-videos.html - mature women young men videos </a> http://wvvw.dynu.net/puzan/mature-women-young-men-videos.html
 <a href='http://mamba.dynu.net/vatnik/black-transsexuals.html'> http://mamba.dynu.net/vatnik/black-transsexuals.html - black transsexuals </a> http://mamba.dynu.net/vatnik/black-transsexuals.html
 <a href='http://wvvw.dynu.net/kozel/free-boobs-porn.html'> http://wvvw.dynu.net/kozel/free-boobs-porn.html - free boobs porn </a> http://wvvw.dynu.net/kozel/free-boobs-porn.html
 <a href='http://mamba.dynu.net/puzan/mature-ebony-movies.html'> http://mamba.dynu.net/puzan/mature-ebony-movies.html - mature ebony movies </a> http://mamba.dynu.net/puzan/mature-ebony-movies.html
 <a href='http://wvvw.dynu.net/vatnik/shemale-pornstars.html'> http://wvvw.dynu.net/vatnik/shemale-pornstars.html - shemale pornstars </a> http://wvvw.dynu.net/vatnik/shemale-pornstars.html
 <a href='http://mamba.dynu.net/puzan/free-mature-sex-video-clips.html'> http://mamba.dynu.net/puzan/free-mature-sex-video-clips.html - free mature sex video clips </a> http://mamba.dynu.net/puzan/free-mature-sex-video-clips.html
 <a href='http://mamba.dynu.net/vatnik/french-maid-transgendered-page.html'> http://mamba.dynu.net/vatnik/french-maid-transgendered-page.html - french maid transgendered page </a> http://mamba.dynu.net/vatnik/french-maid-transgendered-page.html
 <a href='http://pivasik.dynu.net/puzan/SPANISH-MATURE-MOVIES-Galleries.html'> http://pivasik.dynu.net/puzan/SPANISH-MATURE-MOVIES-Galleries.html - SPANISH MATURE MOVIES Galleries </a> http://pivasik.dynu.net/puzan/SPANISH-MATURE-MOVIES-Galleries.html
 <a href='http://wvvw.dynu.net/masterzone/photos-of-traditional-asian-royal-costumes.html'> http://wvvw.dynu.net/masterzone/photos-of-traditional-asian-royal-costumes.html - photos of traditional asian royal costumes </a> http://wvvw.dynu.net/masterzone/photos-of-traditional-asian-royal-costumes.html
 <a href='http://pivasik.dynu.net/vatnik/transvestite-photo.html'> http://pivasik.dynu.net/vatnik/transvestite-photo.html - transvestite photo </a> http://pivasik.dynu.net/vatnik/transvestite-photo.html
 <a href='http://mamba.dynu.net/kozel/huge-suffocating-tits.html'> http://mamba.dynu.net/kozel/huge-suffocating-tits.html - huge suffocating tits </a> http://mamba.dynu.net/kozel/huge-suffocating-tits.html
 <a href='http://pivasik.dynu.net/puzan/mature-granny-anal-sex-galleries.html'> http://pivasik.dynu.net/puzan/mature-granny-anal-sex-galleries.html - mature granny anal sex galleries </a> http://pivasik.dynu.net/puzan/mature-granny-anal-sex-galleries.html
 <a href='http://mamba.dynu.net/vatnik/free-pictures-of-chicks-with-dicks.html'> http://mamba.dynu.net/vatnik/free-pictures-of-chicks-with-dicks.html - free pictures of chicks with dicks </a> http://mamba.dynu.net/vatnik/free-pictures-of-chicks-with-dicks.html
 <a href='http://mamba.dynu.net//dogfart-free-interracial-pics.html'> http://mamba.dynu.net//dogfart-free-interracial-pics.html - dogfart free interracial pics </a> http://mamba.dynu.net//dogfart-free-interracial-pics.html
 <a href='http://wvvw.dynu.net/kozel/janet-jackson-super-bowl-boob.html'> http://wvvw.dynu.net/kozel/janet-jackson-super-bowl-boob.html - janet jackson super bowl boob </a> http://wvvw.dynu.net/kozel/janet-jackson-super-bowl-boob.html
 <a href='http://pivasik.dynu.net/masterzone/free-japanese-gothic-lolita-girls-photos.html'> http://pivasik.dynu.net/masterzone/free-japanese-gothic-lolita-girls-photos.html - free japanese gothic lolita girls photos </a> http://pivasik.dynu.net/masterzone/free-japanese-gothic-lolita-girls-photos.html
 <a href='http://wvvw.dynu.net/kozel/free-perfect-tits.html'> http://wvvw.dynu.net/kozel/free-perfect-tits.html - free perfect tits </a> http://wvvw.dynu.net/kozel/free-perfect-tits.html
 <a href='http://wvvw.dynu.net/puzan/granny.html'> http://wvvw.dynu.net/puzan/granny.html - granny </a> http://wvvw.dynu.net/puzan/granny.html
 <a href='http://pivasik.dynu.net/masterzone/asian-import-models.html'> http://pivasik.dynu.net/masterzone/asian-import-models.html - asian import models </a> http://pivasik.dynu.net/masterzone/asian-import-models.html
 <a href='http://mamba.dynu.net/vatnik/shemale-vanity.html'> http://mamba.dynu.net/vatnik/shemale-vanity.html - shemale vanity </a> http://mamba.dynu.net/vatnik/shemale-vanity.html
 <a href='http://mamba.dynu.net//nterracial-cream-pie-video.html'> http://mamba.dynu.net//nterracial-cream-pie-video.html - nterracial cream pie video </a> http://mamba.dynu.net//nterracial-cream-pie-video.html
 <a href='http://wvvw.dynu.net/puzan/free-mature-photo-galleries.html'> http://wvvw.dynu.net/puzan/free-mature-photo-galleries.html - free mature photo galleries </a> http://wvvw.dynu.net/puzan/free-mature-photo-galleries.html
 <a href='http://pivasik.dynu.net/vatnik/montreal-transexual-escorts.html'> http://pivasik.dynu.net/vatnik/montreal-transexual-escorts.html - montreal transexual escorts </a> http://pivasik.dynu.net/vatnik/montreal-transexual-escorts.html
 <a href='http://pivasik.dynu.net/masterzone/thai-fonts.html'> http://pivasik.dynu.net/masterzone/thai-fonts.html - thai fonts </a> http://pivasik.dynu.net/masterzone/thai-fonts.html
 <a href='http://pivasik.dynu.net/masterzone/asian-lingerie-models.html'> http://pivasik.dynu.net/masterzone/asian-lingerie-models.html - asian lingerie models </a> http://pivasik.dynu.net/masterzone/asian-lingerie-models.html
 <a href='http://wvvw.dynu.net/kozel/boobs-squad.html'> http://wvvw.dynu.net/kozel/boobs-squad.html - boobs squad </a> http://wvvw.dynu.net/kozel/boobs-squad.html
 <a href='http://wvvw.dynu.net/kozel/fake-breasts.html'> http://wvvw.dynu.net/kozel/fake-breasts.html - fake breasts </a> http://wvvw.dynu.net/kozel/fake-breasts.html
 <a href='http://mamba.dynu.net/masterzone/chinese-oral-sex.html'> http://mamba.dynu.net/masterzone/chinese-oral-sex.html - chinese oral sex </a> http://mamba.dynu.net/masterzone/chinese-oral-sex.html
WBR GnACsLrteFpJMmVwl

Anonymous
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:

http://mail.gnu.org/archive/html/help-make/2003-04/msg00048.html "

Boris Kolpackov <bosk>
Group 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
#
ifeq($(CXX),g++)
  include g++.rules
else
  include cxx.rules
endif
------------------------ 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
#
ifeq($(CXX),g++)
  cinclude g++.rules
else
  cinclude cxx.rules
endif
------------------------ end ------------------------


Boris Kolpackov <bosk>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

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

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

No changes have been made to this item

Back to the top

Powered by Savane 3.13-7b9d.
Corresponding source code