Fixed treatment of source files in UseArchObjectHeaders and SourceHdrs. Grist/object suffix were not set correctly.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10026 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2004-11-19 15:42:06 +00:00
parent 83c97032ee
commit 081debe878

View File

@ -1046,7 +1046,7 @@ rule SourceHdrs
[ on $(file) return $(HDRS) ] ] ;
}
} else {
for file in $(sources) {
for file in $(sources:S=$(SUFOBJ)) {
ObjectHdrs $(file) : $(headers) ;
# also reformat the assembler headers
ASHDRS on $(file) = [ FIncludes $(SEARCH_SOURCE) $(SUBDIRHDRS)
@ -1217,7 +1217,7 @@ rule UseArchObjectHeaders
if $(objects) {
targets = $(objects) ;
} else {
targets = $(sources) ;
targets = [ FGristFiles $(sources:S=$(SUFOBJ)) ] ;
}
local opt = -D$(OBOS_TARGET_DEFINE) ;