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