office-gobmx/solenv/inc/_tg_scp.mk
Kurt Zenker 7cf68a8476 INTEGRATION: CWS vq37 (1.10.776); FILE MERGED
2006/10/04 19:29:23 vq 1.10.776.1: #i69989# Add missing '-' in tg_config.mk and remove unneeded '+'.
2006-10-05 15:19:38 +00:00

190 lines
5.7 KiB
Makefile

# unroll begin
.IF "$(SCP1TARGETN)"!=""
# try to get missing parfiles
$(PAR)$/%.par : $(SOLARPARDIR)$/%.par
@-$(MKDIRHIER) $(@:d:d) >& $(NULLDEV)
+$(COPY) $< $@
LOCALSCP1FILES=$(foreach,i,$(SCP1FILES) $(foreach,j,$(SCP1LINK_PRODUCT_TYPE) $(PAR)$/$j$/$i ))
$(SCP1TARGETN): $(LOCALSCP1FILES)
@echo ------------------------------
@echo Making: $@
@-$(MKDIRHIER) $(BIN)$/$(SCP1LINK_PRODUCT_TYPE) >& $(NULLDEV)
+$(SCPLINK) $(SCPLINKFLAGS) @@$(mktmp $(foreach,i,$(SCP1FILES) $(subst,$(@:d:d:d), $(@:d:d))$/$(i:+","))) -o $@
.ENDIF
# Anweisungen fuer das Linken
# unroll begin
.IF "$(SCP2TARGETN)"!=""
# try to get missing parfiles
$(PAR)$/%.par : $(SOLARPARDIR)$/%.par
@-$(MKDIRHIER) $(@:d:d) >& $(NULLDEV)
+$(COPY) $< $@
LOCALSCP2FILES=$(foreach,i,$(SCP2FILES) $(foreach,j,$(SCP2LINK_PRODUCT_TYPE) $(PAR)$/$j$/$i ))
$(SCP2TARGETN): $(LOCALSCP2FILES)
@echo ------------------------------
@echo Making: $@
@-$(MKDIRHIER) $(BIN)$/$(SCP2LINK_PRODUCT_TYPE) >& $(NULLDEV)
+$(SCPLINK) $(SCPLINKFLAGS) @@$(mktmp $(foreach,i,$(SCP2FILES) $(subst,$(@:d:d:d), $(@:d:d))$/$(i:+","))) -o $@
.ENDIF
# Anweisungen fuer das Linken
# unroll begin
.IF "$(SCP3TARGETN)"!=""
# try to get missing parfiles
$(PAR)$/%.par : $(SOLARPARDIR)$/%.par
@-$(MKDIRHIER) $(@:d:d) >& $(NULLDEV)
+$(COPY) $< $@
LOCALSCP3FILES=$(foreach,i,$(SCP3FILES) $(foreach,j,$(SCP3LINK_PRODUCT_TYPE) $(PAR)$/$j$/$i ))
$(SCP3TARGETN): $(LOCALSCP3FILES)
@echo ------------------------------
@echo Making: $@
@-$(MKDIRHIER) $(BIN)$/$(SCP3LINK_PRODUCT_TYPE) >& $(NULLDEV)
+$(SCPLINK) $(SCPLINKFLAGS) @@$(mktmp $(foreach,i,$(SCP3FILES) $(subst,$(@:d:d:d), $(@:d:d))$/$(i:+","))) -o $@
.ENDIF
# Anweisungen fuer das Linken
# unroll begin
.IF "$(SCP4TARGETN)"!=""
# try to get missing parfiles
$(PAR)$/%.par : $(SOLARPARDIR)$/%.par
@-$(MKDIRHIER) $(@:d:d) >& $(NULLDEV)
+$(COPY) $< $@
LOCALSCP4FILES=$(foreach,i,$(SCP4FILES) $(foreach,j,$(SCP4LINK_PRODUCT_TYPE) $(PAR)$/$j$/$i ))
$(SCP4TARGETN): $(LOCALSCP4FILES)
@echo ------------------------------
@echo Making: $@
@-$(MKDIRHIER) $(BIN)$/$(SCP4LINK_PRODUCT_TYPE) >& $(NULLDEV)
+$(SCPLINK) $(SCPLINKFLAGS) @@$(mktmp $(foreach,i,$(SCP4FILES) $(subst,$(@:d:d:d), $(@:d:d))$/$(i:+","))) -o $@
.ENDIF
# Anweisungen fuer das Linken
# unroll begin
.IF "$(SCP5TARGETN)"!=""
# try to get missing parfiles
$(PAR)$/%.par : $(SOLARPARDIR)$/%.par
@-$(MKDIRHIER) $(@:d:d) >& $(NULLDEV)
+$(COPY) $< $@
LOCALSCP5FILES=$(foreach,i,$(SCP5FILES) $(foreach,j,$(SCP5LINK_PRODUCT_TYPE) $(PAR)$/$j$/$i ))
$(SCP5TARGETN): $(LOCALSCP5FILES)
@echo ------------------------------
@echo Making: $@
@-$(MKDIRHIER) $(BIN)$/$(SCP5LINK_PRODUCT_TYPE) >& $(NULLDEV)
+$(SCPLINK) $(SCPLINKFLAGS) @@$(mktmp $(foreach,i,$(SCP5FILES) $(subst,$(@:d:d:d), $(@:d:d))$/$(i:+","))) -o $@
.ENDIF
# Anweisungen fuer das Linken
# unroll begin
.IF "$(SCP6TARGETN)"!=""
# try to get missing parfiles
$(PAR)$/%.par : $(SOLARPARDIR)$/%.par
@-$(MKDIRHIER) $(@:d:d) >& $(NULLDEV)
+$(COPY) $< $@
LOCALSCP6FILES=$(foreach,i,$(SCP6FILES) $(foreach,j,$(SCP6LINK_PRODUCT_TYPE) $(PAR)$/$j$/$i ))
$(SCP6TARGETN): $(LOCALSCP6FILES)
@echo ------------------------------
@echo Making: $@
@-$(MKDIRHIER) $(BIN)$/$(SCP6LINK_PRODUCT_TYPE) >& $(NULLDEV)
+$(SCPLINK) $(SCPLINKFLAGS) @@$(mktmp $(foreach,i,$(SCP6FILES) $(subst,$(@:d:d:d), $(@:d:d))$/$(i:+","))) -o $@
.ENDIF
# Anweisungen fuer das Linken
# unroll begin
.IF "$(SCP7TARGETN)"!=""
# try to get missing parfiles
$(PAR)$/%.par : $(SOLARPARDIR)$/%.par
@-$(MKDIRHIER) $(@:d:d) >& $(NULLDEV)
+$(COPY) $< $@
LOCALSCP7FILES=$(foreach,i,$(SCP7FILES) $(foreach,j,$(SCP7LINK_PRODUCT_TYPE) $(PAR)$/$j$/$i ))
$(SCP7TARGETN): $(LOCALSCP7FILES)
@echo ------------------------------
@echo Making: $@
@-$(MKDIRHIER) $(BIN)$/$(SCP7LINK_PRODUCT_TYPE) >& $(NULLDEV)
+$(SCPLINK) $(SCPLINKFLAGS) @@$(mktmp $(foreach,i,$(SCP7FILES) $(subst,$(@:d:d:d), $(@:d:d))$/$(i:+","))) -o $@
.ENDIF
# Anweisungen fuer das Linken
# unroll begin
.IF "$(SCP8TARGETN)"!=""
# try to get missing parfiles
$(PAR)$/%.par : $(SOLARPARDIR)$/%.par
@-$(MKDIRHIER) $(@:d:d) >& $(NULLDEV)
+$(COPY) $< $@
LOCALSCP8FILES=$(foreach,i,$(SCP8FILES) $(foreach,j,$(SCP8LINK_PRODUCT_TYPE) $(PAR)$/$j$/$i ))
$(SCP8TARGETN): $(LOCALSCP8FILES)
@echo ------------------------------
@echo Making: $@
@-$(MKDIRHIER) $(BIN)$/$(SCP8LINK_PRODUCT_TYPE) >& $(NULLDEV)
+$(SCPLINK) $(SCPLINKFLAGS) @@$(mktmp $(foreach,i,$(SCP8FILES) $(subst,$(@:d:d:d), $(@:d:d))$/$(i:+","))) -o $@
.ENDIF
# Anweisungen fuer das Linken
# unroll begin
.IF "$(SCP9TARGETN)"!=""
# try to get missing parfiles
$(PAR)$/%.par : $(SOLARPARDIR)$/%.par
@-$(MKDIRHIER) $(@:d:d) >& $(NULLDEV)
+$(COPY) $< $@
LOCALSCP9FILES=$(foreach,i,$(SCP9FILES) $(foreach,j,$(SCP9LINK_PRODUCT_TYPE) $(PAR)$/$j$/$i ))
$(SCP9TARGETN): $(LOCALSCP9FILES)
@echo ------------------------------
@echo Making: $@
@-$(MKDIRHIER) $(BIN)$/$(SCP9LINK_PRODUCT_TYPE) >& $(NULLDEV)
+$(SCPLINK) $(SCPLINKFLAGS) @@$(mktmp $(foreach,i,$(SCP9FILES) $(subst,$(@:d:d:d), $(@:d:d))$/$(i:+","))) -o $@
.ENDIF
# Anweisungen fuer das Linken
# unroll begin
.IF "$(SCP10TARGETN)"!=""
# try to get missing parfiles
$(PAR)$/%.par : $(SOLARPARDIR)$/%.par
@-$(MKDIRHIER) $(@:d:d) >& $(NULLDEV)
+$(COPY) $< $@
LOCALSCP10FILES=$(foreach,i,$(SCP10FILES) $(foreach,j,$(SCP10LINK_PRODUCT_TYPE) $(PAR)$/$j$/$i ))
$(SCP10TARGETN): $(LOCALSCP10FILES)
@echo ------------------------------
@echo Making: $@
@-$(MKDIRHIER) $(BIN)$/$(SCP10LINK_PRODUCT_TYPE) >& $(NULLDEV)
+$(SCPLINK) $(SCPLINKFLAGS) @@$(mktmp $(foreach,i,$(SCP10FILES) $(subst,$(@:d:d:d), $(@:d:d))$/$(i:+","))) -o $@
.ENDIF
# Anweisungen fuer das Linken