equal
deleted
inserted
replaced
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_TMP:=$(OUTPUTPATH)/$(TARGET_lower)_$(notdir $(basename $(SOURCE))) |
67 INTERBASE_TMP:=$(OUTPUTPATH)/$(TARGET_lower)_$(notdir $(basename $(SOURCE))) |
68 INTERBASE:=$(OUTPUTPATH)/$(TARGET_lower) |
|
69 |
68 |
70 |
69 |
71 # common pre-processor options |
70 # common pre-processor options |
72 |
71 |
73 # We really should be using -iquote with a recent cpp. This is a note for when we do update: |
72 # We really should be using -iquote with a recent cpp. This is a note for when we do update: |
266 # generate a resource file for each language |
265 # generate a resource file for each language |
267 # For sc we generate $(RESBASE).rsc and define LANGUAGE_SC and LANGUAGE_sc. |
266 # For sc we generate $(RESBASE).rsc and define LANGUAGE_SC and LANGUAGE_sc. |
268 $(foreach L,$(LANGUAGES:SC=sc),$(eval $(call preprocessresource,$(INTERBASE_TMP)_$(L).rpp,$(L),$(PRIMARYRPPFILE)))) |
267 $(foreach L,$(LANGUAGES:SC=sc),$(eval $(call preprocessresource,$(INTERBASE_TMP)_$(L).rpp,$(L),$(PRIMARYRPPFILE)))) |
269 |
268 |
270 ifeq "$(MAKEFILE_GROUP)" "RESOURCE" |
269 ifeq "$(MAKEFILE_GROUP)" "RESOURCE" |
271 $(foreach L,$(LANGUAGES:SC=sc),$(eval $(call generateresource,$(INTERBASE_TMP).r$(L),$(INTERBASE_TMP)_$(L).rpp,$(L),$(notdir $(INTERBASE)).r$(L)))) |
270 $(foreach L,$(LANGUAGES:SC=sc),$(eval $(call generateresource,$(INTERBASE_TMP).r$(L),$(INTERBASE_TMP)_$(L).rpp,$(L),$(TARGET_lower).r$(L)))) |
272 endif |
271 endif |
273 else |
272 else |
274 # No resources are going to be made so unless we specifically ask for it, there will be no |
273 # No resources are going to be made so unless we specifically ask for it, there will be no |
275 # preprocessed file from which to create the header: |
274 # preprocessed file from which to create the header: |
276 |
275 |