66 lines
1.7 KiB
Makefile
66 lines
1.7 KiB
Makefile
#*************************************************************************
|
|
#*
|
|
#* $Workfile: tg_scp.mk $
|
|
#*
|
|
#* Ersterstellung XX TT.MM.JJ
|
|
#* Letzte Aenderung $Author: hr $ $Date: 2000-09-20 14:43:17 $
|
|
#* $Revision: 1.1.1.1 $
|
|
#*
|
|
#* $Logfile: T:/solar/inc/tg_scp.mkv $
|
|
#*
|
|
#* Copyright (c) 1990-1997, STAR DIVISION
|
|
#*
|
|
#*************************************************************************
|
|
|
|
.IF "$(MULTI_SCP_FLAG)" == ""
|
|
$(SCP1TARGETN) .NULL : SCP1
|
|
|
|
$(SCP2TARGETN) .NULL : SCP2
|
|
|
|
$(SCP3TARGETN) .NULL : SCP3
|
|
|
|
$(SCP4TARGETN) .NULL : SCP4
|
|
|
|
$(SCP5TARGETN) .NULL : SCP5
|
|
|
|
$(SCP6TARGETN) .NULL : SCP6
|
|
|
|
$(SCP7TARGETN) .NULL : SCP7
|
|
|
|
$(SCP8TARGETN) .NULL : SCP8
|
|
|
|
$(SCP9TARGETN) .NULL : SCP9
|
|
.ENDIF
|
|
|
|
.IF "$(MULTI_SCP_FLAG)"==""
|
|
SCP1 SCP2 SCP3 SCP4 SCP5 SCP6 SCP7 SCP8 SCP9:
|
|
.IF "$(GUI)" != "MAC"
|
|
.IF "$(GUI)" == "UNX"
|
|
@echo $(SHELL) AUSE $(COMSPEC) MARTIN $(SHELLFLAGS)
|
|
.ENDIF
|
|
+@dmake $(SCP$(TNR)TARGETN) MULTI_SCP_FLAG=true TNR:=$(TNR) $(MFLAGS) $(CALLMACROS)
|
|
.ELSE
|
|
@dmake "$(SCP$(TNR)TARGETN)" MULTI_SCP_FLAG=true TNR:=$(TNR) $(MFLAGS) $(CALLMACROS)
|
|
.ENDIF
|
|
.ELSE
|
|
|
|
|
|
#######################################################
|
|
# Anweisungen fuer das Linken
|
|
# unroll begin
|
|
|
|
.IF "$(SCP$(TNR)TARGETN)"!=""
|
|
|
|
ALLSCP$(TNR)FILES=$(foreach,i,$(SCP$(TNR)FILES) $(foreach,j,$(SCP$(TNR)LINK_PRODUCT_TYPE) $(PAR)$/$j$/$i ))
|
|
|
|
$(SCP$(TNR)TARGETN): $(ALLSCP$(TNR)FILES)
|
|
@echo ------------------------------
|
|
@echo Making: $@
|
|
scplink $(SCPLINKFLAGS) @$(mktmp $(foreach,i,$(SCP$(TNR)FILES) $(PAR)$/{$(subst,$(@:d:d:d), $(@:d:d))}$/$(i:+","))) -o $@
|
|
.ENDIF
|
|
|
|
# Anweisungen fuer das Linken
|
|
# unroll end
|
|
#######################################################
|
|
|
|
.ENDIF # "$(MULTI_SCP_FLAG)"==""
|