author | Claus Gittinger <cg@exept.de> |
Thu, 22 Apr 1999 14:07:34 +0200 | |
changeset 1854 | 2376625c49b3 |
parent 1835 | 93fafec7d774 |
child 2002 | 1a292bb3baec |
permissions | -rw-r--r-- |
1854
2376625c49b3
added the PACKAGE definition
Claus Gittinger <cg@exept.de>
parents:
1835
diff
changeset
|
1 |
# $Header: /cvs/stx/stx/libwidg/Make.proto,v 1.63 1999-04-22 12:07:34 cg Exp $ |
56 | 2 |
# |
0 | 3 |
# -------------- no need to change anything below ---------- |
4 |
||
39 | 5 |
TOP=.. |
6 |
SUBDIRS= |
|
7 |
||
0 | 8 |
LIBNAME=libwidg |
1854
2376625c49b3
added the PACKAGE definition
Claus Gittinger <cg@exept.de>
parents:
1835
diff
changeset
|
9 |
PACKAGE=stx:$(LIBNAME) |
1511 | 10 |
LIB_BASE=$(LIBWIDG_BASE) |
11 |
||
132 | 12 |
STCOPT=$(LIBWIDG_STCOPT) -warnNonStandard |
1854
2376625c49b3
added the PACKAGE definition
Claus Gittinger <cg@exept.de>
parents:
1835
diff
changeset
|
13 |
STCLOCALOPT='-package=$(PACKAGE)' $(COMMONSYMBOLS) $(SEPINITCODE) -varPrefix=$(LIBNAME) |
519 | 14 |
LINKOBJRULE=$(SEPINITLINKOBJRULE) |
7 | 15 |
|
169 | 16 |
RCSSOURCES=*.st Make.proto resources/*.rs bitmaps/*.xbm |
110 | 17 |
|
530 | 18 |
all:: classLibRule |
119 | 19 |
|
457 | 20 |
# |
21 |
# pure interactors are definitely uncritical |
|
22 |
# |
|
1689 | 23 |
UNCRITICALOBJS= \ |
24 |
Button.$(O) \ |
|
25 |
ButtonC.$(O) \ |
|
26 |
Toggle.$(O) \ |
|
27 |
ToggleC.$(O) \ |
|
28 |
RButton.$(O) \ |
|
29 |
RButtC.$(O) \ |
|
30 |
RButtGrp.$(O) \ |
|
31 |
ChckTggle.$(O) \ |
|
32 |
CheckLabel.$(O) \ |
|
33 |
ScrollBar.$(O) \ |
|
34 |
HScrBar.$(O) \ |
|
35 |
MiniScr.$(O) \ |
|
36 |
HMiniScr.$(O) \ |
|
37 |
DialogBox.$(O) \ |
|
38 |
EnterBox.$(O) \ |
|
39 |
EnterBox2.$(O) \ |
|
40 |
LSelBox.$(O) \ |
|
41 |
FSelBox.$(O) \ |
|
42 |
FSaveBox.$(O) \ |
|
43 |
InfoBox.$(O) \ |
|
44 |
WarnBox.$(O) \ |
|
45 |
YesNoBox.$(O) \ |
|
46 |
MSelList.$(O) \ |
|
530 | 47 |
FramedBox.$(O) \ |
836 | 48 |
Workspace.$(O) \ |
457 | 49 |
FontPanel.$(O) |
50 |
||
119 | 51 |
OBJS= \ |
0 | 52 |
ListView.$(O) \ |
53 |
PanelView.$(O) \ |
|
54 |
ScrView.$(O) \ |
|
1263 | 55 |
HVScrView.$(O) \ |
56 |
SequenceView.$(O) \ |
|
0 | 57 |
Label.$(O) \ |
58 |
Scroller.$(O) \ |
|
59 | 59 |
MiniScr.$(O) \ |
0 | 60 |
ScrollBar.$(O) \ |
61 |
ObjView.$(O) \ |
|
59 | 62 |
PopUpMenu.$(O) \ |
99 | 63 |
DialogBox.$(O) \ |
64 |
InfoBox.$(O) \ |
|
0 | 65 |
TextView.$(O) \ |
66 |
SelListV.$(O) \ |
|
67 |
HPanelV.$(O) \ |
|
68 |
VPanelV.$(O) \ |
|
1689 | 69 |
VarPanel.$(O) \ |
70 |
VarVPanel.$(O) \ |
|
294
667773990289
merged all variablePanel code into a common class.
Claus Gittinger <cg@exept.de>
parents:
286
diff
changeset
|
71 |
VarHPanel.$(O) \ |
0 | 72 |
Button.$(O) \ |
59 | 73 |
ArrButton.$(O) \ |
0 | 74 |
HScroller.$(O) \ |
59 | 75 |
HMiniScr.$(O) \ |
0 | 76 |
HScrBar.$(O) \ |
59 | 77 |
EnterBox.$(O) \ |
78 |
WarnBox.$(O) \ |
|
79 |
YesNoBox.$(O) \ |
|
0 | 80 |
MenuView.$(O) \ |
12 | 81 |
FSelList.$(O) \ |
0 | 82 |
ETxtView.$(O) \ |
83 |
Toggle.$(O) \ |
|
59 | 84 |
LSelBox.$(O) \ |
85 |
EnterBox2.$(O) \ |
|
0 | 86 |
EditField.$(O) \ |
39 | 87 |
TextColl.$(O) \ |
59 | 88 |
Workspace.$(O) \ |
89 |
CodeView.$(O) \ |
|
90 |
FSelBox.$(O) \ |
|
91 |
PullDMenu.$(O) \ |
|
92 |
OptBox.$(O) \ |
|
93 |
ChckTggle.$(O) \ |
|
1701 | 94 |
CheckLabel.$(O) \ |
79 | 95 |
FSaveBox.$(O) \ |
99 | 96 |
ButtonC.$(O) \ |
137 | 97 |
PopUpLstC.$(O) \ |
99 | 98 |
ToggleC.$(O) \ |
105 | 99 |
RButtC.$(O) \ |
119 | 100 |
ClckMenuV.$(O) \ |
101 |
EFGroup.$(O) \ |
|
102 |
FontPanel.$(O) \ |
|
103 |
PopUpList.$(O) \ |
|
104 |
FramedBox.$(O) \ |
|
105 |
RButtGrp.$(O) \ |
|
106 |
RButton.$(O) \ |
|
105 | 107 |
VarPanelC.$(O) \ |
108 |
VarVPanelC.$(O) \ |
|
137 | 109 |
VarHPanelC.$(O) \ |
1689 | 110 |
SelList.$(O) \ |
527 | 111 |
MSelList.$(O) |
59 | 112 |
|
113 |
obsolete: Notifier.$(O) \ |
|
39 | 114 |
ErrNotify.$(O) |
0 | 115 |
|
524 | 116 |
# |
117 |
# on (my) aix system, this one cannot be compiled with |
|
118 |
# optimizer - running out of space during compile |
|
119 |
# |
|
1689 | 120 |
AIX:: ListView.o TextView.o |
859 | 121 |
$(MAKE) OPT="" ETxtView.o |
122 |
$(MAKE) OPT="" ObjView.o |
|
141 | 123 |
|
0 | 124 |
cleanjunk:: |
1835
93fafec7d774
be less verbose when cleaning or clobbering
Claus Gittinger <cg@exept.de>
parents:
1723
diff
changeset
|
125 |
@-rm -f *.c *.H |
0 | 126 |
|
127 |
clean:: |
|
1835
93fafec7d774
be less verbose when cleaning or clobbering
Claus Gittinger <cg@exept.de>
parents:
1723
diff
changeset
|
128 |
@-rm -f [A-Z]*.o *.c *.H |
0 | 129 |
|
130 |
clobber:: |
|
1835
93fafec7d774
be less verbose when cleaning or clobbering
Claus Gittinger <cg@exept.de>
parents:
1723
diff
changeset
|
131 |
@-rm -f *.c *.H classList.stc abbrev.stc |
0 | 132 |
|
457 | 133 |
rmuncrit: |
134 |
-rm -f $(UNCRITICALOBJS) |
|
135 |
||
0 | 136 |
tar: |
131 | 137 |
(cd $(TOP); tar cvfh DISTRIB/libwidg.tar \ |
84 | 138 |
libwidg/.dir.info \ |
0 | 139 |
libwidg/*.st \ |
140 |
libwidg/Make.proto \ |
|
110 | 141 |
libwidg/resources/.dir.info \ |
142 |
libwidg/resources/*.rs \ |
|
143 |
libwidg/bitmaps/*.*) |
|
0 | 144 |
|
56 | 145 |
# |
146 |
# these nest too deep on some systems (see discussion about LIMITSUPERINCLUDE |
|
147 |
# in configurations/COMMON/defines |
|
148 |
# |
|
149 |
WORKSPACE: |
|
150 |
$(MAKE) Workspace.o STCFLAGS="$(STCFLAGS) $(LIMITSUPERINCLUDE)" |
|
0 | 151 |
|
56 | 152 |
CODEVIEW: |
153 |
$(MAKE) CodeView.o STCFLAGS="$(STCFLAGS) $(LIMITSUPERINCLUDE)" |
|
0 | 154 |
|
702
a0ca5203e629
sunos has include-nesting problems with WarnBox
Claus Gittinger <cg@exept.de>
parents:
623
diff
changeset
|
155 |
WARNBOX: |
a0ca5203e629
sunos has include-nesting problems with WarnBox
Claus Gittinger <cg@exept.de>
parents:
623
diff
changeset
|
156 |
$(MAKE) WarnBox.o STCFLAGS="$(STCFLAGS) $(LIMITSUPERINCLUDE)" |
a0ca5203e629
sunos has include-nesting problems with WarnBox
Claus Gittinger <cg@exept.de>
parents:
623
diff
changeset
|
157 |
|
56 | 158 |
RBUTTON: |
159 |
$(MAKE) RButton.o STCFLAGS="$(STCFLAGS) $(LIMITSUPERINCLUDE)" |
|
0 | 160 |
|
161 |
# |
|
500
53964b964bee
HP needs BIG rule for ETXTView
Claus Gittinger <cg@exept.de>
parents:
470
diff
changeset
|
162 |
# special BIG-rule (kludge for HP) |
53964b964bee
HP needs BIG rule for ETXTView
Claus Gittinger <cg@exept.de>
parents:
470
diff
changeset
|
163 |
# |
53964b964bee
HP needs BIG rule for ETXTView
Claus Gittinger <cg@exept.de>
parents:
470
diff
changeset
|
164 |
ETxtView.$(O): |
53964b964bee
HP needs BIG rule for ETXTView
Claus Gittinger <cg@exept.de>
parents:
470
diff
changeset
|
165 |
$(MAKE) $(BIG_STFILE_RULE) BIG_FILE=ETxtView CC=$(CC) OPT="$(OPT)" |
53964b964bee
HP needs BIG rule for ETXTView
Claus Gittinger <cg@exept.de>
parents:
470
diff
changeset
|
166 |
|
53964b964bee
HP needs BIG rule for ETXTView
Claus Gittinger <cg@exept.de>
parents:
470
diff
changeset
|
167 |
|
53964b964bee
HP needs BIG rule for ETXTView
Claus Gittinger <cg@exept.de>
parents:
470
diff
changeset
|
168 |
# |
61 | 169 |
# special BIG-rule (kludge for NeXT) |
170 |
# |
|
164 | 171 |
ListView.$(O): |
525 | 172 |
$(MAKE) $(BIG_STFILE_RULE) BIG_FILE=ListView OPT="$(OPT)" |
173 |
||
623
b9fdafecab14
HP's cc crashes with too many defines ...
Claus Gittinger <cg@exept.de>
parents:
530
diff
changeset
|
174 |
# |
b9fdafecab14
HP's cc crashes with too many defines ...
Claus Gittinger <cg@exept.de>
parents:
530
diff
changeset
|
175 |
# on HP, big classes blow the C-preprocessor (stops with 'too much defining' error) |
b9fdafecab14
HP's cc crashes with too many defines ...
Claus Gittinger <cg@exept.de>
parents:
530
diff
changeset
|
176 |
# |
862 | 177 |
#HP:: |
178 |
# |
|
861 | 179 |
#HPbigFiles: |
1689 | 180 |
# $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=ObjView CC=$(CC) OPT="$(OPT)" |
181 |
# $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=DialogBox CC=$(CC) OPT="$(OPT)" |
|
182 |
# $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=TextView CC=$(CC) OPT="$(OPT)" |
|
183 |
# $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=SelListV CC=$(CC) OPT="$(OPT)" |
|
184 |
# $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=MenuView CC=$(CC) OPT="$(OPT)" |
|
623
b9fdafecab14
HP's cc crashes with too many defines ...
Claus Gittinger <cg@exept.de>
parents:
530
diff
changeset
|
185 |
|
702
a0ca5203e629
sunos has include-nesting problems with WarnBox
Claus Gittinger <cg@exept.de>
parents:
623
diff
changeset
|
186 |
# |
a0ca5203e629
sunos has include-nesting problems with WarnBox
Claus Gittinger <cg@exept.de>
parents:
623
diff
changeset
|
187 |
# deeply nested includes (kludge for sun cc) |
a0ca5203e629
sunos has include-nesting problems with WarnBox
Claus Gittinger <cg@exept.de>
parents:
623
diff
changeset
|
188 |
# |
a0ca5203e629
sunos has include-nesting problems with WarnBox
Claus Gittinger <cg@exept.de>
parents:
623
diff
changeset
|
189 |
SUN:: SUNfiles |
a0ca5203e629
sunos has include-nesting problems with WarnBox
Claus Gittinger <cg@exept.de>
parents:
623
diff
changeset
|
190 |
|
a0ca5203e629
sunos has include-nesting problems with WarnBox
Claus Gittinger <cg@exept.de>
parents:
623
diff
changeset
|
191 |
SUNfiles: |
a0ca5203e629
sunos has include-nesting problems with WarnBox
Claus Gittinger <cg@exept.de>
parents:
623
diff
changeset
|
192 |
$(MAKE) WarnBox.o STCFLAGS="$(STCFLAGS) $(LIMITSUPERINCLUDE)" |
a0ca5203e629
sunos has include-nesting problems with WarnBox
Claus Gittinger <cg@exept.de>
parents:
623
diff
changeset
|
193 |
|
623
b9fdafecab14
HP's cc crashes with too many defines ...
Claus Gittinger <cg@exept.de>
parents:
530
diff
changeset
|
194 |
|
61 | 195 |
|
144 | 196 |
# BEGINMAKEDEPEND --- do not remove this line; make depend needs it |
771 | 197 |
ArrButton.$(O): ArrButton.st $(STCHDR) |
198 |
Button.$(O): Button.st $(STCHDR) |
|
199 |
ButtonC.$(O): ButtonC.st $(STCHDR) |
|
200 |
ChckTggle.$(O): ChckTggle.st $(STCHDR) |
|
1689 | 201 |
CheckLabel.$(O): CheckLabel.st $(STCHDR) |
771 | 202 |
ClckMenuV.$(O): ClckMenuV.st $(STCHDR) |
203 |
CodeView.$(O): CodeView.st $(STCHDR) |
|
204 |
DialogBox.$(O): DialogBox.st $(STCHDR) |
|
205 |
EFGroup.$(O): EFGroup.st $(STCHDR) |
|
206 |
ETxtView.$(O): ETxtView.st $(STCHDR) |
|
207 |
EditField.$(O): EditField.st $(STCHDR) |
|
208 |
EnterBox.$(O): EnterBox.st $(STCHDR) |
|
209 |
EnterBox2.$(O): EnterBox2.st $(STCHDR) |
|
210 |
FSaveBox.$(O): FSaveBox.st $(STCHDR) |
|
211 |
FSelBox.$(O): FSelBox.st $(STCHDR) |
|
212 |
FSelList.$(O): FSelList.st $(STCHDR) |
|
213 |
FontPanel.$(O): FontPanel.st $(STCHDR) |
|
214 |
FramedBox.$(O): FramedBox.st $(STCHDR) |
|
215 |
HMiniScr.$(O): HMiniScr.st $(STCHDR) |
|
216 |
HPanelV.$(O): HPanelV.st $(STCHDR) |
|
217 |
HScrBar.$(O): HScrBar.st $(STCHDR) |
|
218 |
HScroller.$(O): HScroller.st $(STCHDR) |
|
219 |
HVScrView.$(O): HVScrView.st $(STCHDR) |
|
220 |
InfoBox.$(O): InfoBox.st $(STCHDR) |
|
221 |
LSelBox.$(O): LSelBox.st $(STCHDR) |
|
222 |
Label.$(O): Label.st $(STCHDR) |
|
223 |
ListView.$(O): ListView.st $(STCHDR) |
|
224 |
ListViewC.$(O): ListViewC.st $(STCHDR) |
|
225 |
MenuView.$(O): MenuView.st $(STCHDR) |
|
226 |
MSelList.$(O): MSelList.st $(STCHDR) |
|
227 |
MiniScr.$(O): MiniScr.st $(STCHDR) |
|
228 |
ObjView.$(O): ObjView.st $(STCHDR) |
|
229 |
OptBox.$(O): OptBox.st $(STCHDR) |
|
230 |
PanelView.$(O): PanelView.st $(STCHDR) |
|
231 |
PopUpList.$(O): PopUpList.st $(STCHDR) |
|
232 |
PopUpLstC.$(O): PopUpLstC.st $(STCHDR) |
|
233 |
PopUpMenu.$(O): PopUpMenu.st $(STCHDR) |
|
234 |
PullDMenu.$(O): PullDMenu.st $(STCHDR) |
|
235 |
RButtC.$(O): RButtC.st $(STCHDR) |
|
236 |
RButtGrp.$(O): RButtGrp.st $(STCHDR) |
|
237 |
RButton.$(O): RButton.st $(STCHDR) |
|
238 |
ScrView.$(O): ScrView.st $(STCHDR) |
|
239 |
ScrollBar.$(O): ScrollBar.st $(STCHDR) |
|
240 |
Scroller.$(O): Scroller.st $(STCHDR) |
|
241 |
SelList.$(O): SelList.st $(STCHDR) |
|
242 |
SelListV.$(O): SelListV.st $(STCHDR) |
|
243 |
TextColl.$(O): TextColl.st $(STCHDR) |
|
244 |
TextView.$(O): TextView.st $(STCHDR) |
|
245 |
Toggle.$(O): Toggle.st $(STCHDR) |
|
246 |
ToggleC.$(O): ToggleC.st $(STCHDR) |
|
247 |
VPanelV.$(O): VPanelV.st $(STCHDR) |
|
248 |
VarPanel.$(O): VarPanel.st $(STCHDR) |
|
249 |
VarHPanel.$(O): VarHPanel.st $(STCHDR) |
|
250 |
VarHPanelC.$(O): VarHPanelC.st $(STCHDR) |
|
251 |
VarPanelC.$(O): VarPanelC.st $(STCHDR) |
|
252 |
VarVPanel.$(O): VarVPanel.st $(STCHDR) |
|
253 |
VarVPanelC.$(O): VarVPanelC.st $(STCHDR) |
|
254 |
WarnBox.$(O): WarnBox.st $(STCHDR) |
|
255 |
Workspace.$(O): Workspace.st $(STCHDR) |
|
256 |
YesNoBox.$(O): YesNoBox.st $(STCHDR) |
|
144 | 257 |
# ENDMAKEDEPEND --- do not remove this line; make depend needs it |
147 | 258 |