1# ************************************************************* 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance 9# with the License. You may obtain a copy of the License at 10# 11# http://www.apache.org/licenses/LICENSE-2.0 12# 13# Unless required by applicable law or agreed to in writing, 14# software distributed under the License is distributed on an 15# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16# KIND, either express or implied. See the License for the 17# specific language governing permissions and limitations 18# under the License. 19# 20# ************************************************************* 21# unroll begin 22 23.IF "$(SCP1TARGETN)"!="" 24 25# try to get missing parfiles 26$(PAR)/%.par : $(SOLARPARDIR)/%.par 27 @@-$(MKDIRHIER) $(@:d:d) 28 $(COMMAND_ECHO)$(COPY) $< $@ 29 30LOCALSCP1FILES+=$(foreach,i,$(SCP1FILES) $(foreach,j,$(SCP1LINK_PRODUCT_TYPE) $(PAR)/$j/$i )) 31 32$(SCP1TARGETN): $(LOCALSCP1FILES) 33 @echo "Making: " $(@:f) 34 @@-$(MKDIRHIER) $(BIN)/$(SCP1LINK_PRODUCT_TYPE) 35 $(COMMAND_ECHO)$(SCPLINK) $(SCPLINKFLAGS) @@$(mktmp $(foreach,i,$(SCP1FILES) $(subst,$(@:d:d:d), $(@:d:d))/$(i:+","))) -o $@ 36.ENDIF 37 38# Anweisungen fuer das Linken 39# unroll begin 40 41.IF "$(SCP2TARGETN)"!="" 42 43# try to get missing parfiles 44$(PAR)/%.par : $(SOLARPARDIR)/%.par 45 @@-$(MKDIRHIER) $(@:d:d) 46 $(COMMAND_ECHO)$(COPY) $< $@ 47 48LOCALSCP2FILES+=$(foreach,i,$(SCP2FILES) $(foreach,j,$(SCP2LINK_PRODUCT_TYPE) $(PAR)/$j/$i )) 49 50$(SCP2TARGETN): $(LOCALSCP2FILES) 51 @echo "Making: " $(@:f) 52 @@-$(MKDIRHIER) $(BIN)/$(SCP2LINK_PRODUCT_TYPE) 53 $(COMMAND_ECHO)$(SCPLINK) $(SCPLINKFLAGS) @@$(mktmp $(foreach,i,$(SCP2FILES) $(subst,$(@:d:d:d), $(@:d:d))/$(i:+","))) -o $@ 54.ENDIF 55 56# Anweisungen fuer das Linken 57# unroll begin 58 59.IF "$(SCP3TARGETN)"!="" 60 61# try to get missing parfiles 62$(PAR)/%.par : $(SOLARPARDIR)/%.par 63 @@-$(MKDIRHIER) $(@:d:d) 64 $(COMMAND_ECHO)$(COPY) $< $@ 65 66LOCALSCP3FILES+=$(foreach,i,$(SCP3FILES) $(foreach,j,$(SCP3LINK_PRODUCT_TYPE) $(PAR)/$j/$i )) 67 68$(SCP3TARGETN): $(LOCALSCP3FILES) 69 @echo "Making: " $(@:f) 70 @@-$(MKDIRHIER) $(BIN)/$(SCP3LINK_PRODUCT_TYPE) 71 $(COMMAND_ECHO)$(SCPLINK) $(SCPLINKFLAGS) @@$(mktmp $(foreach,i,$(SCP3FILES) $(subst,$(@:d:d:d), $(@:d:d))/$(i:+","))) -o $@ 72.ENDIF 73 74# Anweisungen fuer das Linken 75# unroll begin 76 77.IF "$(SCP4TARGETN)"!="" 78 79# try to get missing parfiles 80$(PAR)/%.par : $(SOLARPARDIR)/%.par 81 @@-$(MKDIRHIER) $(@:d:d) 82 $(COMMAND_ECHO)$(COPY) $< $@ 83 84LOCALSCP4FILES+=$(foreach,i,$(SCP4FILES) $(foreach,j,$(SCP4LINK_PRODUCT_TYPE) $(PAR)/$j/$i )) 85 86$(SCP4TARGETN): $(LOCALSCP4FILES) 87 @echo "Making: " $(@:f) 88 @@-$(MKDIRHIER) $(BIN)/$(SCP4LINK_PRODUCT_TYPE) 89 $(COMMAND_ECHO)$(SCPLINK) $(SCPLINKFLAGS) @@$(mktmp $(foreach,i,$(SCP4FILES) $(subst,$(@:d:d:d), $(@:d:d))/$(i:+","))) -o $@ 90.ENDIF 91 92# Anweisungen fuer das Linken 93# unroll begin 94 95.IF "$(SCP5TARGETN)"!="" 96 97# try to get missing parfiles 98$(PAR)/%.par : $(SOLARPARDIR)/%.par 99 @@-$(MKDIRHIER) $(@:d:d) 100 $(COMMAND_ECHO)$(COPY) $< $@ 101 102LOCALSCP5FILES+=$(foreach,i,$(SCP5FILES) $(foreach,j,$(SCP5LINK_PRODUCT_TYPE) $(PAR)/$j/$i )) 103 104$(SCP5TARGETN): $(LOCALSCP5FILES) 105 @echo "Making: " $(@:f) 106 @@-$(MKDIRHIER) $(BIN)/$(SCP5LINK_PRODUCT_TYPE) 107 $(COMMAND_ECHO)$(SCPLINK) $(SCPLINKFLAGS) @@$(mktmp $(foreach,i,$(SCP5FILES) $(subst,$(@:d:d:d), $(@:d:d))/$(i:+","))) -o $@ 108.ENDIF 109 110# Anweisungen fuer das Linken 111# unroll begin 112 113.IF "$(SCP6TARGETN)"!="" 114 115# try to get missing parfiles 116$(PAR)/%.par : $(SOLARPARDIR)/%.par 117 @@-$(MKDIRHIER) $(@:d:d) 118 $(COMMAND_ECHO)$(COPY) $< $@ 119 120LOCALSCP6FILES+=$(foreach,i,$(SCP6FILES) $(foreach,j,$(SCP6LINK_PRODUCT_TYPE) $(PAR)/$j/$i )) 121 122$(SCP6TARGETN): $(LOCALSCP6FILES) 123 @echo "Making: " $(@:f) 124 @@-$(MKDIRHIER) $(BIN)/$(SCP6LINK_PRODUCT_TYPE) 125 $(COMMAND_ECHO)$(SCPLINK) $(SCPLINKFLAGS) @@$(mktmp $(foreach,i,$(SCP6FILES) $(subst,$(@:d:d:d), $(@:d:d))/$(i:+","))) -o $@ 126.ENDIF 127 128# Anweisungen fuer das Linken 129# unroll begin 130 131.IF "$(SCP7TARGETN)"!="" 132 133# try to get missing parfiles 134$(PAR)/%.par : $(SOLARPARDIR)/%.par 135 @@-$(MKDIRHIER) $(@:d:d) 136 $(COMMAND_ECHO)$(COPY) $< $@ 137 138LOCALSCP7FILES+=$(foreach,i,$(SCP7FILES) $(foreach,j,$(SCP7LINK_PRODUCT_TYPE) $(PAR)/$j/$i )) 139 140$(SCP7TARGETN): $(LOCALSCP7FILES) 141 @echo "Making: " $(@:f) 142 @@-$(MKDIRHIER) $(BIN)/$(SCP7LINK_PRODUCT_TYPE) 143 $(COMMAND_ECHO)$(SCPLINK) $(SCPLINKFLAGS) @@$(mktmp $(foreach,i,$(SCP7FILES) $(subst,$(@:d:d:d), $(@:d:d))/$(i:+","))) -o $@ 144.ENDIF 145 146# Anweisungen fuer das Linken 147# unroll begin 148 149.IF "$(SCP8TARGETN)"!="" 150 151# try to get missing parfiles 152$(PAR)/%.par : $(SOLARPARDIR)/%.par 153 @@-$(MKDIRHIER) $(@:d:d) 154 $(COMMAND_ECHO)$(COPY) $< $@ 155 156LOCALSCP8FILES+=$(foreach,i,$(SCP8FILES) $(foreach,j,$(SCP8LINK_PRODUCT_TYPE) $(PAR)/$j/$i )) 157 158$(SCP8TARGETN): $(LOCALSCP8FILES) 159 @echo "Making: " $(@:f) 160 @@-$(MKDIRHIER) $(BIN)/$(SCP8LINK_PRODUCT_TYPE) 161 $(COMMAND_ECHO)$(SCPLINK) $(SCPLINKFLAGS) @@$(mktmp $(foreach,i,$(SCP8FILES) $(subst,$(@:d:d:d), $(@:d:d))/$(i:+","))) -o $@ 162.ENDIF 163 164# Anweisungen fuer das Linken 165# unroll begin 166 167.IF "$(SCP9TARGETN)"!="" 168 169# try to get missing parfiles 170$(PAR)/%.par : $(SOLARPARDIR)/%.par 171 @@-$(MKDIRHIER) $(@:d:d) 172 $(COMMAND_ECHO)$(COPY) $< $@ 173 174LOCALSCP9FILES+=$(foreach,i,$(SCP9FILES) $(foreach,j,$(SCP9LINK_PRODUCT_TYPE) $(PAR)/$j/$i )) 175 176$(SCP9TARGETN): $(LOCALSCP9FILES) 177 @echo "Making: " $(@:f) 178 @@-$(MKDIRHIER) $(BIN)/$(SCP9LINK_PRODUCT_TYPE) 179 $(COMMAND_ECHO)$(SCPLINK) $(SCPLINKFLAGS) @@$(mktmp $(foreach,i,$(SCP9FILES) $(subst,$(@:d:d:d), $(@:d:d))/$(i:+","))) -o $@ 180.ENDIF 181 182# Anweisungen fuer das Linken 183# unroll begin 184 185.IF "$(SCP10TARGETN)"!="" 186 187# try to get missing parfiles 188$(PAR)/%.par : $(SOLARPARDIR)/%.par 189 @@-$(MKDIRHIER) $(@:d:d) 190 $(COMMAND_ECHO)$(COPY) $< $@ 191 192LOCALSCP10FILES+=$(foreach,i,$(SCP10FILES) $(foreach,j,$(SCP10LINK_PRODUCT_TYPE) $(PAR)/$j/$i )) 193 194$(SCP10TARGETN): $(LOCALSCP10FILES) 195 @echo "Making: " $(@:f) 196 @@-$(MKDIRHIER) $(BIN)/$(SCP10LINK_PRODUCT_TYPE) 197 $(COMMAND_ECHO)$(SCPLINK) $(SCPLINKFLAGS) @@$(mktmp $(foreach,i,$(SCP10FILES) $(subst,$(@:d:d:d), $(@:d:d))/$(i:+","))) -o $@ 198.ENDIF 199 200# Anweisungen fuer das Linken 201