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