Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2010-09-30
02:00 • Closed ticket [1540729fff]: TEA_ADD_SOURCE is too aggressiv with dir stripping</... artifact: 85085b49ab user: sf-robot
2010-08-05
03:33 • Pending ticket [1540729fff]. artifact: 9e64b1c904 user: hobbs
03:33 • Ticket [1540729fff]: 4 changes artifact: f53476c335 user: hobbs
2007-02-09
08:01 • Ticket [1540729fff]: 1 change artifact: 5450cfea26 user: hobbs
2006-08-15
16:26 • New ticket [1540729fff]. artifact: 80f2d07368 user: mic42

TEA_ADD_SOURCE is too aggressiv with dir stripping

Closed / Wont Fix1540729fffffffffffffffffffffffffffffffffCreated 20 years agoUpdated 16 years ago
Descriptionplain2006-08-15 16:26:24
The TEA_ADD_SOURCE macro as used in the sampleextension
is overaggressiv when stripping source directories for
the PKG_OBJECTS.

If one uses the TEA_ADD_SOURCE macro with files outside
of the generic/unix/win directories (for example with
the tdom package with the expat/xmlrole.c file) the
macro creates a PKG_OBJECTS where the expat dir is
stripped from the file, but does not setup an
appropriate VPATH in the Makefile.

This leads to a failure during make, as no implicit
rule for the object is found.

Solution would be to only strip the path from the
PKG_OBJECTS values if it is in the special subdirs
win/unix/generic.

Michael
hobbs Ticket [1540729fff]: 1 change [History diff]2007-02-09 08:01:53
hobbsplain2010-08-05 03:33:00
I'm not sure this doesn't simply fall outside standard TEA.  My recommendation is that in such cases, VPATH should be manually extended.  The reason is that the basename call is done to ensure that the object ends up in the build dir, and not a subdir.
hobbs Pending ticket [1540729fff]. [History diff]2010-08-05 03:33:01
sf-robotplain2010-09-30 02:00:04
allow_comments - 1

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
Log in (anonymous is fine) to add a comment.