sbsv2/raptor/lib/flm/resource.flm
branchfix
changeset 535 3ed696bd9e5f
parent 534 3b10c85868b1
child 536 49d91f1e52a3
equal deleted inserted replaced
534:3b10c85868b1 535:3ed696bd9e5f
    62 else
    62 else
    63         RESOURCEHEADER:=
    63         RESOURCEHEADER:=
    64 endif
    64 endif
    65 
    65 
    66 # we create intermediate .rpp and .d files
    66 # we create intermediate .rpp and .d files
    67 INTERBASE:=$(OUTPUTPATH)/$(TARGET_lower)
    67 INTERBASE:=$(OUTPUTPATH)/$(TARGET_lower)_$(notdir $(SOURCE))
    68 
    68 
    69 ################################## localisation ###########################$(GNUMKDIR)#############
    69 ################################## localisation ###########################$(GNUMKDIR)#############
    70 # Only make copies for full resource builds
    70 # Only make copies for full resource builds
    71 
    71 
    72 # Initialise to prevent RELEASABLES spill-over between calls
    72 # Initialise to prevent RELEASABLES spill-over between calls
   195     else
   195     else
   196         $1: $4
   196         $1: $4
   197 
   197 
   198     endif
   198     endif
   199     ifeq "$(MAKEFILE_GROUP)" "RESOURCE"
   199     ifeq "$(MAKEFILE_GROUP)" "RESOURCE"
   200     $1: 
   200     $1: $4.d
   201 	  $(call startrule,resourcepreprocess,FORCESUCCESS) \
   201 	  $(call startrule,resourcepreprocess,FORCESUCCESS) \
   202 	  $(GNUCPP) -C -DLANGUAGE_$3 -DLANGUAGE_$(subst sc,SC,$(3)) $(call makemacrodef,-D,$(MMPDEFS))\
   202 	  $(GNUCPP) -C -DLANGUAGE_$3 -DLANGUAGE_$(subst sc,SC,$(3)) $(call makemacrodef,-D,$(MMPDEFS))\
   203 	  $(CPPOPT) $(SOURCE) -o $$@ \
   203 	  $(CPPOPT) $(SOURCE) -o $$@ \
   204 	  $(call endrule,resourcepreprocess)
   204 	  $(call endrule,resourcepreprocess)
   205     endif
   205     endif