office-gobmx/solenv/inc/_tg_scp.mk

191 lines
5.4 KiB
Makefile
Raw Normal View History

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