author | Claus Gittinger <cg@exept.de> |
Fri, 26 Sep 2003 10:21:17 +0200 | |
changeset 2810 | b7784f4ca220 |
parent 2054 | 05375618f245 |
child 2824 | 5efbe0080492 |
permissions | -rw-r--r-- |
2054 | 1 |
# $Header: /cvs/stx/stx/libwidg/Make.proto,v 1.70 1999-12-01 17:39:23 cg Exp $ |
56 | 2 |
# |
0 | 3 |
# -------------- no need to change anything below ---------- |
4 |
||
39 | 5 |
TOP=.. |
6 |
SUBDIRS= |
|
7 |
||
2043 | 8 |
MODULE=stx |
2044 | 9 |
MODULE_DIR=libwidg |
0 | 10 |
LIBNAME=libwidg |
2054 | 11 |
THIS_IS_A_BASE_LIBRARY="yes" |
12 |
||
2043 | 13 |
PACKAGE=$(MODULE):$(LIBNAME) |
1511 | 14 |
LIB_BASE=$(LIBWIDG_BASE) |
2002 | 15 |
NM_LIB_BASE=LIBWIDG_BASE |
1511 | 16 |
|
132 | 17 |
STCOPT=$(LIBWIDG_STCOPT) -warnNonStandard |
1854
2376625c49b3
added the PACKAGE definition
Claus Gittinger <cg@exept.de>
parents:
1835
diff
changeset
|
18 |
STCLOCALOPT='-package=$(PACKAGE)' $(COMMONSYMBOLS) $(SEPINITCODE) -varPrefix=$(LIBNAME) |
519 | 19 |
LINKOBJRULE=$(SEPINITLINKOBJRULE) |
7 | 20 |
|
169 | 21 |
RCSSOURCES=*.st Make.proto resources/*.rs bitmaps/*.xbm |
110 | 22 |
|
530 | 23 |
all:: classLibRule |
119 | 24 |
|
457 | 25 |
# |
26 |
# pure interactors are definitely uncritical |
|
27 |
# |
|
1689 | 28 |
UNCRITICALOBJS= \ |
29 |
Button.$(O) \ |
|
2008 | 30 |
ButtonController.$(O) \ |
1689 | 31 |
Toggle.$(O) \ |
2009 | 32 |
ToggleController.$(O) \ |
33 |
RadioButton.$(O) \ |
|
34 |
RadioButtController.$(O) \ |
|
35 |
RadioButtGroup.$(O) \ |
|
36 |
CheckToggle.$(O) \ |
|
1689 | 37 |
CheckLabel.$(O) \ |
38 |
ScrollBar.$(O) \ |
|
2009 | 39 |
HorizontalScrollBar.$(O) \ |
40 |
MiniScroller.$(O) \ |
|
41 |
HorizontalMiniScroller.$(O) \ |
|
1689 | 42 |
DialogBox.$(O) \ |
2009 | 43 |
OptionBox.$(O) \ |
1689 | 44 |
EnterBox.$(O) \ |
45 |
EnterBox2.$(O) \ |
|
2009 | 46 |
ListSelectionBox.$(O) \ |
47 |
FileSelelectionBox.$(O) \ |
|
48 |
FileSaveBox.$(O) \ |
|
1689 | 49 |
InfoBox.$(O) \ |
2009 | 50 |
WarningBox.$(O) \ |
1689 | 51 |
YesNoBox.$(O) \ |
2009 | 52 |
MultiSelectionInList.$(O) \ |
530 | 53 |
FramedBox.$(O) \ |
836 | 54 |
Workspace.$(O) \ |
2009 | 55 |
VariablePanelController.$(O) \ |
56 |
VariableVerticalPanelController.$(O) \ |
|
57 |
VariableHorizontalPanelController.$(O) \ |
|
58 |
PopUpListController.$(O) \ |
|
457 | 59 |
FontPanel.$(O) |
60 |
||
119 | 61 |
OBJS= \ |
0 | 62 |
ListView.$(O) \ |
63 |
PanelView.$(O) \ |
|
2009 | 64 |
ScrollableView.$(O) \ |
65 |
HVScrollableView.$(O) \ |
|
1263 | 66 |
SequenceView.$(O) \ |
0 | 67 |
Label.$(O) \ |
68 |
Scroller.$(O) \ |
|
2009 | 69 |
MiniScroller.$(O) \ |
0 | 70 |
ScrollBar.$(O) \ |
2009 | 71 |
ObjectView.$(O) \ |
59 | 72 |
PopUpMenu.$(O) \ |
99 | 73 |
DialogBox.$(O) \ |
74 |
InfoBox.$(O) \ |
|
0 | 75 |
TextView.$(O) \ |
2009 | 76 |
SelectionInListView.$(O) \ |
77 |
HorizontalPanelView.$(O) \ |
|
78 |
VerticalPanelView.$(O) \ |
|
79 |
VariablePanel.$(O) \ |
|
80 |
VariableVerticalPanel.$(O) \ |
|
81 |
VariableHorizontalPanel.$(O) \ |
|
0 | 82 |
Button.$(O) \ |
2009 | 83 |
ArrowButton.$(O) \ |
84 |
HorizontalScroller.$(O) \ |
|
85 |
HorizontalMiniScroller.$(O)\ |
|
86 |
HorizontalScrollBar.$(O) \ |
|
59 | 87 |
EnterBox.$(O) \ |
2009 | 88 |
WarningBox.$(O) \ |
59 | 89 |
YesNoBox.$(O) \ |
0 | 90 |
MenuView.$(O) \ |
2009 | 91 |
FileSelectionList.$(O) \ |
92 |
EditTextView.$(O) \ |
|
0 | 93 |
Toggle.$(O) \ |
2009 | 94 |
ListSelectionBox.$(O) \ |
59 | 95 |
EnterBox2.$(O) \ |
0 | 96 |
EditField.$(O) \ |
2009 | 97 |
TextCollector.$(O) \ |
59 | 98 |
Workspace.$(O) \ |
99 |
CodeView.$(O) \ |
|
2009 | 100 |
FileSelectionBox.$(O) \ |
101 |
PullDownMenu.$(O) \ |
|
102 |
OptionBox.$(O) \ |
|
2008 | 103 |
CheckToggle.$(O) \ |
1701 | 104 |
CheckLabel.$(O) \ |
2009 | 105 |
FileSaveBox.$(O) \ |
2008 | 106 |
ButtonController.$(O) \ |
2009 | 107 |
PopUpListController.$(O) \ |
2008 | 108 |
ToggleController.$(O) \ |
2009 | 109 |
RadioButtonController.$(O) \ |
2008 | 110 |
ClickMenuView.$(O) \ |
2009 | 111 |
EnterFieldGroup.$(O) \ |
119 | 112 |
FontPanel.$(O) \ |
113 |
PopUpList.$(O) \ |
|
114 |
FramedBox.$(O) \ |
|
2009 | 115 |
RadioButtonGroup.$(O) \ |
2008 | 116 |
RadioButton.$(O) \ |
2009 | 117 |
VariablePanelController.$(O) \ |
118 |
VariableVerticalPanelController.$(O) \ |
|
119 |
VariableHorizontalPanelController.$(O) \ |
|
120 |
SelectionInList.$(O) \ |
|
121 |
MultiSelectionInList.$(O) |
|
0 | 122 |
|
524 | 123 |
# |
124 |
# on (my) aix system, this one cannot be compiled with |
|
125 |
# optimizer - running out of space during compile |
|
126 |
# |
|
1689 | 127 |
AIX:: ListView.o TextView.o |
2009 | 128 |
$(MAKE) OPT="" EditTextView.o |
129 |
$(MAKE) OPT="" ObjectView.o |
|
141 | 130 |
|
0 | 131 |
cleanjunk:: |
1835
93fafec7d774
be less verbose when cleaning or clobbering
Claus Gittinger <cg@exept.de>
parents:
1723
diff
changeset
|
132 |
@-rm -f *.c *.H |
0 | 133 |
|
134 |
clean:: |
|
1835
93fafec7d774
be less verbose when cleaning or clobbering
Claus Gittinger <cg@exept.de>
parents:
1723
diff
changeset
|
135 |
@-rm -f [A-Z]*.o *.c *.H |
0 | 136 |
|
137 |
clobber:: |
|
1835
93fafec7d774
be less verbose when cleaning or clobbering
Claus Gittinger <cg@exept.de>
parents:
1723
diff
changeset
|
138 |
@-rm -f *.c *.H classList.stc abbrev.stc |
0 | 139 |
|
457 | 140 |
rmuncrit: |
141 |
-rm -f $(UNCRITICALOBJS) |
|
142 |
||
0 | 143 |
tar: |
131 | 144 |
(cd $(TOP); tar cvfh DISTRIB/libwidg.tar \ |
84 | 145 |
libwidg/.dir.info \ |
0 | 146 |
libwidg/*.st \ |
147 |
libwidg/Make.proto \ |
|
110 | 148 |
libwidg/resources/.dir.info \ |
149 |
libwidg/resources/*.rs \ |
|
150 |
libwidg/bitmaps/*.*) |
|
0 | 151 |
|
56 | 152 |
# |
153 |
# these nest too deep on some systems (see discussion about LIMITSUPERINCLUDE |
|
154 |
# in configurations/COMMON/defines |
|
155 |
# |
|
156 |
WORKSPACE: |
|
157 |
$(MAKE) Workspace.o STCFLAGS="$(STCFLAGS) $(LIMITSUPERINCLUDE)" |
|
0 | 158 |
|
56 | 159 |
CODEVIEW: |
160 |
$(MAKE) CodeView.o STCFLAGS="$(STCFLAGS) $(LIMITSUPERINCLUDE)" |
|
0 | 161 |
|
702
a0ca5203e629
sunos has include-nesting problems with WarnBox
Claus Gittinger <cg@exept.de>
parents:
623
diff
changeset
|
162 |
WARNBOX: |
2009 | 163 |
$(MAKE) WarningBox.o STCFLAGS="$(STCFLAGS) $(LIMITSUPERINCLUDE)" |
702
a0ca5203e629
sunos has include-nesting problems with WarnBox
Claus Gittinger <cg@exept.de>
parents:
623
diff
changeset
|
164 |
|
56 | 165 |
RBUTTON: |
2008 | 166 |
$(MAKE) RadioButton.o STCFLAGS="$(STCFLAGS) $(LIMITSUPERINCLUDE)" |
0 | 167 |
|
168 |
# |
|
500
53964b964bee
HP needs BIG rule for ETXTView
Claus Gittinger <cg@exept.de>
parents:
470
diff
changeset
|
169 |
# special BIG-rule (kludge for HP) |
53964b964bee
HP needs BIG rule for ETXTView
Claus Gittinger <cg@exept.de>
parents:
470
diff
changeset
|
170 |
# |
2009 | 171 |
EditTextView.$(O): |
172 |
$(MAKE) $(BIG_STFILE_RULE) BIG_FILE=EditTextView CC=$(CC) OPT="$(OPT)" |
|
500
53964b964bee
HP needs BIG rule for ETXTView
Claus Gittinger <cg@exept.de>
parents:
470
diff
changeset
|
173 |
|
53964b964bee
HP needs BIG rule for ETXTView
Claus Gittinger <cg@exept.de>
parents:
470
diff
changeset
|
174 |
|
53964b964bee
HP needs BIG rule for ETXTView
Claus Gittinger <cg@exept.de>
parents:
470
diff
changeset
|
175 |
# |
61 | 176 |
# special BIG-rule (kludge for NeXT) |
177 |
# |
|
164 | 178 |
ListView.$(O): |
525 | 179 |
$(MAKE) $(BIG_STFILE_RULE) BIG_FILE=ListView OPT="$(OPT)" |
180 |
||
623
b9fdafecab14
HP's cc crashes with too many defines ...
Claus Gittinger <cg@exept.de>
parents:
530
diff
changeset
|
181 |
# |
b9fdafecab14
HP's cc crashes with too many defines ...
Claus Gittinger <cg@exept.de>
parents:
530
diff
changeset
|
182 |
# 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
|
183 |
# |
862 | 184 |
#HP:: |
185 |
# |
|
861 | 186 |
#HPbigFiles: |
2009 | 187 |
# $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=ObjectView CC=$(CC) OPT="$(OPT)" |
1689 | 188 |
# $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=DialogBox CC=$(CC) OPT="$(OPT)" |
189 |
# $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=TextView CC=$(CC) OPT="$(OPT)" |
|
2009 | 190 |
# $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=SelectionInListView CC=$(CC) OPT="$(OPT)" |
1689 | 191 |
# $(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
|
192 |
|
702
a0ca5203e629
sunos has include-nesting problems with WarnBox
Claus Gittinger <cg@exept.de>
parents:
623
diff
changeset
|
193 |
# |
a0ca5203e629
sunos has include-nesting problems with WarnBox
Claus Gittinger <cg@exept.de>
parents:
623
diff
changeset
|
194 |
# deeply nested includes (kludge for sun cc) |
a0ca5203e629
sunos has include-nesting problems with WarnBox
Claus Gittinger <cg@exept.de>
parents:
623
diff
changeset
|
195 |
# |
a0ca5203e629
sunos has include-nesting problems with WarnBox
Claus Gittinger <cg@exept.de>
parents:
623
diff
changeset
|
196 |
SUN:: SUNfiles |
a0ca5203e629
sunos has include-nesting problems with WarnBox
Claus Gittinger <cg@exept.de>
parents:
623
diff
changeset
|
197 |
|
a0ca5203e629
sunos has include-nesting problems with WarnBox
Claus Gittinger <cg@exept.de>
parents:
623
diff
changeset
|
198 |
SUNfiles: |
2009 | 199 |
$(MAKE) WarningBox.o STCFLAGS="$(STCFLAGS) $(LIMITSUPERINCLUDE)" |
702
a0ca5203e629
sunos has include-nesting problems with WarnBox
Claus Gittinger <cg@exept.de>
parents:
623
diff
changeset
|
200 |
|
623
b9fdafecab14
HP's cc crashes with too many defines ...
Claus Gittinger <cg@exept.de>
parents:
530
diff
changeset
|
201 |
|
61 | 202 |
|
144 | 203 |
# BEGINMAKEDEPEND --- do not remove this line; make depend needs it |
204 |
# ENDMAKEDEPEND --- do not remove this line; make depend needs it |
|
147 | 205 |