1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
|
#*************************************************************************
#*
#* $Workfile: tg_slo.mk $
#*
#* Ersterstellung MH 01.09.97
#* Letzte Aenderung $Author: hjs $ $Date: 2001-02-02 12:02:06 $
#* $Revision: 1.2 $
#*
#* $Logfile: T:/solar/inc/tg_slo.mkv $
#*
#* Copyright (c) 1990-1997, STAR DIVISION
#*
#*************************************************************************
MKFILENAME:=TG_SLO.MK
.IF "$(SLOTARGET)"!=""
$(SLOTARGET): $(SLOFILES) $(IDLSLOFILES)
.IF "$(MDB)" != ""
@echo $(SLOTARGET)
@echo $(&:+"\n")
.ENDIF
@echo ------------------------------
@echo Making: $@
# @+$(RM) $@
.IF "$(GUI)"=="WNT"
@-$(TYPE) $(mktmp $(&:+"\n")) > $(MISC)$/$(TARGET).lin
$(LIBMGR) $(LIBFLAGS) /OUT:$@ @$(mktmp $(&:+"\n"))
.ENDIF # "$(GUI)"=="WNT"
.IF "$(GUI)"=="UNX"
+echo $(foreach,i,$(IDLSLOFILES:f) $(RSLO)$/$(IDLPACKAGE)$/$(i:s/.obj/.o/)) | xargs -n1 > $@
+echo $(foreach,i,$(SLOFILES:f) $(RSLO)$/$(i:s/.obj/.o/)) | xargs -n1 >> $@
.ENDIF # "$(GUI)"=="UNX"
.IF "$(GUI)"=="MAC"
+echo $(foreach,i,$(IDLSLOFILES:f) $(RSLO)$/$(IDLPACKAGE)$/$(i)) | xargs -n1 > $@
+echo $(foreach,i,$(SLOFILES:f) $(RSLO)$/$(i)) | xargs -n1 >> $@
.ENDIF # "$(GUI)"=="MAC"
.IF "$(GUI)"=="WIN"
.IF "$(COM)"=="BLC"
@+-$(RM) $@ >& $(NULLDEV)
$(LIBMGR) $@ $(LIBFLAGS) +$(SLOFILES:+"\n+":^"&")
.ELSE # "$(COM)"=="BLC"
.ENDIF # "$(COM)"=="BLC"
.ENDIF # "$(GUI)"=="WIN"
.IF "$(GUI)"=="OS2"
@+-$(RM) $@
.IF "$(COM)"=="ICC"
$(LIBMGR) $(LIBFLAGS) $@ @$(mktmp $(&:+"&\n");)
.ELSE
$(LIBMGR) r $@ $(SLOFILES)
.ENDIF # "$(COM)"=="ICC"
.ENDIF # "$(GUI)"=="OS2"
.ENDIF # "$(SLOTARGET)"!=""
.IF "$(SMRSLOTARGET)"!=""
$(SMRSLOTARGET): $(SMRSLOFILES)
.IF "$(MDB)" != ""
@+echo $(SMRSLOTARGET:s/ttt/\/)
@+echo $(SMRSLOFILES)
.ENDIF
@echo ------------------------------
@echo Making: $@
.IF "$(GUI)"=="WNT"
@-$(TYPE) $(mktmp $(&:+"\n":s/ttt/\/)) > $(MISC)$/$(TARGET).lin
$(LIBMGR) $(LIBFLAGS) /OUT:$(@:s/ttt/\/) @$(mktmp $(&:+"\n":s/ttt/\/))
.ENDIF # "$(GUI)"=="WNT"
.IF "$(GUI)"=="UNX"
+echo $(foreach,i,$(SMRSLOFILES:f:s/ttt/\/) $(RPACKAGESLO)$/$(i:s/.obj/.o/)) | xargs -n1 > $@
.ENDIF # "$(GUI)"=="UNX"
.IF "$(GUI)"=="WIN"
.IF "$(COM)"=="BLC"
$(LIBMGR) $(@:s/ttt/\/) $(LIBFLAGS) +$(SMRSLOFILES:+"\n+":^"&":s/ttt/\/)
.ELSE # "$(COM)"=="BLC"
.ENDIF # "$(COM)"=="BLC"
.ENDIF # "$(GUI)"=="WIN"
.IF "$(GUI)"=="OS2"
@+-$(RM) $(@:s/ttt/\/)
$(LIBMGR) $(LIBFLAGS) $(@:s/ttt/\/) @$(mktmp $(&:+"&\n":s/ttt/\/);)
.ENDIF # "$(GUI)"=="OS2"
.ENDIF # "$(SMRSLOTARGET)"!=""
.IF "$(S2USLOTARGET)"!=""
$(S2USLOTARGET): $(S2USLOFILES:s/ttt/\/)
.IF "$(MDB)" != ""
@echo $(S2USLOTARGET)
@echo $(&:+"\n":s/ttt/\/)
.ENDIF
@echo ------------------------------
@echo Making: $(@:s/ttt/\/)
.IF "$(GUI)"=="WNT"
@-$(TYPE) $(mktmp $(&:+"\n":s/ttt/\/)) > $(MISC)$/$(TARGET).lin
$(LIBMGR) $(LIBFLAGS) /OUT:$(@:s/ttt/\/) @$(mktmp $(&:+"\n":s/ttt/\/))
.ENDIF # "$(GUI)"=="WNT"
.IF "$(GUI)"=="UNX"
+echo $(foreach,i,$(S2USLOFILES:f:s/ttt/\/) $(RPACKAGESLO)$/$(i:s/.obj/.o/)) | xargs -n1 > $@
.ENDIF # "$(GUI)"=="UNX"
.IF "$(GUI)"=="WIN"
.IF "$(COM)"=="BLC"
$(LIBMGR) $(@:s/ttt/\/) $(LIBFLAGS) +$(S2USLOFILES:+"\n+":^"&":s/ttt/\/)
.ELSE # "$(COM)"=="BLC"
.ENDIF # "$(COM)"=="BLC"
.ENDIF # "$(GUI)"=="WIN"
.IF "$(GUI)"=="OS2"
@+-$(RM) $(@:s/ttt/\/)
$(LIBMGR) $(LIBFLAGS) $@ @$(mktmp $(&:+"&\n":s/ttt/\/);)
.ENDIF # "$(GUI)"=="OS2"
.ENDIF # "$(S2USLOTARGET)"!=""
.IF "$(SVXLIGHTSLOTARGET)"!=""
$(SVXLIGHTSLOTARGET): $(REAL_SVXLIGHTSLOFILES)
.IF "$(MDB)" != ""
@echo $(REAL_SVXLIGHTSLOTARGET)
@echo $(&:+"\n")
.ENDIF
@echo ------------------------------
@echo Making: $@
.IF "$(GUI)"=="WNT"
@-$(TYPE) $(mktmp $(&:+"\n")) > $(MISC)$/$(TARGET).lin
$(LIBMGR) $(LIBFLAGS) /OUT:$@ @$(mktmp $(&:+"\n"))
.ENDIF # "$(GUI)"=="WNT"
.IF "$(GUI)"=="UNX"
+echo $(foreach,i,$(REAL_SVXLIGHTSLOFILES:f) $(RSLO)$/$(i:s/.obj/.o/)) | xargs -n1 >> $@
.ENDIF # "$(GUI)"=="UNX"
.IF "$(GUI)"=="WIN"
.IF "$(COM)"=="BLC"
@+-$(RM) $@ >& $(NULLDEV)
$(LIBMGR) $@ $(LIBFLAGS) +$(REAL_SVXLIGHTSLOFILES:+"\n+":^"&")
.ELSE # "$(COM)"=="BLC"
.ENDIF # "$(COM)"=="BLC"
.ENDIF # "$(GUI)"=="WIN"
.IF "$(GUI)"=="OS2"
@+-$(RM) $@
$(LIBMGR) $(LIBFLAGS) $@ @$(mktmp $(&:+"&\n");)
.ENDIF # "$(GUI)"=="OS2"
.ENDIF # "$(SVXLIGHTSLOTARGET)"!=""
.IF "$(SECOND_BUILD)"!=""
.IF "$($(SECOND_BUILD)SLOTARGET)"!=""
$($(SECOND_BUILD)SLOTARGET): $(REAL_$(SECOND_BUILD)_SLOFILES)
.IF "$(MDB)" != ""
@echo $(REAL_$(SECOND_BUILD)SLOTARGET)
@echo $(&:+"\n")
.ENDIF
@echo ------------------------------
@echo Making: $@
.IF "$(GUI)"=="WNT"
@-$(TYPE) $(mktmp $(&:+"\n")) > $(MISC)$/$(TARGET).lin
$(LIBMGR) $(LIBFLAGS) /OUT:$@ @$(mktmp $(&:+"\n"))
.ENDIF # "$(GUI)"=="WNT"
.IF "$(GUI)"=="UNX"
+echo $(foreach,i,$(REAL_$(SECOND_BUILD)_SLOFILES:f) $(RSLO)$/$(i:s/.obj/.o/)) | xargs -n1 >> $@
.ENDIF # "$(GUI)"=="UNX"
.IF "$(GUI)"=="WIN"
.IF "$(COM)"=="BLC"
@+-$(RM) $@ >& $(NULLDEV)
$(LIBMGR) $@ $(LIBFLAGS) +$(REAL_$(SECOND_BUILD)_SLOFILES:+"\n+":^"&")
.ELSE # "$(COM)"=="BLC"
.ENDIF # "$(COM)"=="BLC"
.ENDIF # "$(GUI)"=="WIN"
.IF "$(GUI)"=="OS2"
@+-$(RM) $@
$(LIBMGR) $(LIBFLAGS) $@ @$(mktmp $(&:+"&\n");)
.ENDIF # "$(GUI)"=="OS2"
.ENDIF # "$($(SECOND_BUILD)SLOTARGET)"!=""
.ENDIF # "$(SECOND_BUILD)"!=""
|