author | Claus Gittinger <cg@exept.de> |
Thu, 22 Apr 1999 14:07:33 +0200 | |
changeset 1163 | e07b937b67a0 |
parent 1154 | 85278972730f |
child 1210 | 376e329af91d |
permissions | -rw-r--r-- |
1163
e07b937b67a0
added the PACKAGE definition
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
1 |
# $Header: /cvs/stx/stx/libview2/Make.proto,v 1.65 1999-04-22 12:07:33 cg Exp $ |
96 | 2 |
# |
3 |
# -------------- no need to change anything below ---------- |
|
4 |
||
5 |
TOP=.. |
|
6 |
SUBDIRS= |
|
7 |
||
8 |
LIBNAME=libview2 |
|
1163
e07b937b67a0
added the PACKAGE definition
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
9 |
PACKAGE=stx:$(LIBNAME) |
913 | 10 |
LIB_BASE=$(LIBVIEW2_BASE) |
11 |
||
916 | 12 |
STCOPT=$(LIBVIEW2_STCOPT) |
1163
e07b937b67a0
added the PACKAGE definition
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
13 |
STCLOCALOPT='-package=$(PACKAGE)' $(COMMONSYMBOLS) $(SEPINITCODE) -varPrefix=$(LIBNAME) |
686 | 14 |
UNCRITICALOPT=-optinline +optspace3 |
328 | 15 |
CCLOCALOPT=$(CC_SPACEOPT) |
178 | 16 |
LINKOBJRULE=$(SEPINITLINKOBJRULE) |
96 | 17 |
|
18 |
RCSSOURCES=*.st Make.proto |
|
19 |
||
256 | 20 |
all:: classLibRule |
96 | 21 |
|
22 |
# |
|
23 |
# less frequently used/needed |
|
713 | 24 |
# these are compiled with +optSpace |
96 | 25 |
# |
167 | 26 |
UNCRITICALOBJS= \ |
529
d334b10089d8
prelink JPEGReader with libjpeg.a
Claus Gittinger <cg@exept.de>
parents:
484
diff
changeset
|
27 |
ClrValue.$(O) \ |
d334b10089d8
prelink JPEGReader with libjpeg.a
Claus Gittinger <cg@exept.de>
parents:
484
diff
changeset
|
28 |
Icon.$(O) \ |
d334b10089d8
prelink JPEGReader with libjpeg.a
Claus Gittinger <cg@exept.de>
parents:
484
diff
changeset
|
29 |
InputView.$(O) \ |
d334b10089d8
prelink JPEGReader with libjpeg.a
Claus Gittinger <cg@exept.de>
parents:
484
diff
changeset
|
30 |
BlockValue.$(O) \ |
d334b10089d8
prelink JPEGReader with libjpeg.a
Claus Gittinger <cg@exept.de>
parents:
484
diff
changeset
|
31 |
PrintConv.$(O) \ |
d334b10089d8
prelink JPEGReader with libjpeg.a
Claus Gittinger <cg@exept.de>
parents:
484
diff
changeset
|
32 |
EventListener.$(O) \ |
713 | 33 |
MIMETypes.$(O) \ |
529
d334b10089d8
prelink JPEGReader with libjpeg.a
Claus Gittinger <cg@exept.de>
parents:
484
diff
changeset
|
34 |
ActiveHelp.$(O) \ |
1081 | 35 |
ActiveHelpView.$(O) \ |
1125 | 36 |
KeyboardProcessor.$(O) \ |
1081 | 37 |
ToolApplicationModel.$(O) \ |
879 | 38 |
ResourceSpecEditor.$(O) |
157
dceec0425445
some (most ?) are not time critical
Claus Gittinger <cg@exept.de>
parents:
152
diff
changeset
|
39 |
|
96 | 40 |
OBJS= \ |
41 |
ClrValue.$(O) \ |
|
105 | 42 |
Icon.$(O) \ |
96 | 43 |
DObject.$(O) \ |
529
d334b10089d8
prelink JPEGReader with libjpeg.a
Claus Gittinger <cg@exept.de>
parents:
484
diff
changeset
|
44 |
InputView.$(O) \ |
d334b10089d8
prelink JPEGReader with libjpeg.a
Claus Gittinger <cg@exept.de>
parents:
484
diff
changeset
|
45 |
PrintConv.$(O) \ |
655 | 46 |
MIMETypes.$(O) \ |
1081 | 47 |
ApplicationWindow.$(O) \ |
655 | 48 |
Model.$(O) \ |
49 |
AppModel.$(O) \ |
|
1081 | 50 |
ToolApplicationModel.$(O) \ |
51 |
ResourceSpecEditor.$(O) \ |
|
655 | 52 |
ValModel.$(O) \ |
53 |
PlugAdptr.$(O) \ |
|
671 | 54 |
TypeConv.$(O) \ |
655 | 55 |
BlockValue.$(O) \ |
56 |
ValHolder.$(O) \ |
|
57 |
TriggerVal.$(O) \ |
|
58 |
ProtAdptr.$(O) \ |
|
59 |
AspctAdptr.$(O) \ |
|
60 |
BuffValHldr.$(O) \ |
|
61 |
Plug.$(O) \ |
|
62 |
StdSysC.$(O) \ |
|
63 |
Layout.$(O) \ |
|
64 |
LayoutOrg.$(O) \ |
|
65 |
LayoutFrm.$(O) \ |
|
66 |
AlignOrg.$(O) \ |
|
67 |
EventListener.$(O) \ |
|
68 |
ActiveHelp.$(O) \ |
|
69 |
ActiveHelpView.$(O) \ |
|
1126 | 70 |
KeyboardProcessor.$(O) \ |
655 | 71 |
Menu.$(O) \ |
1081 | 72 |
MenuItem.$(O) \ |
655 | 73 |
DragAndDropManager.$(O) \ |
74 |
DropObject.$(O) \ |
|
897 | 75 |
DropContext.$(O) \ |
908 | 76 |
DropTarget.$(O) \ |
897 | 77 |
DragHandler.$(O) \ |
1081 | 78 |
VisualRegion.$(O) \ |
79 |
ResourceRetriever.$(O) \ |
|
655 | 80 |
WinBuilder.$(O) \ |
81 |
UIBuilder.$(O) \ |
|
1081 | 82 |
TIFFRdr.$(O) \ |
83 |
GIFReader.$(O) \ |
|
84 |
XBMReader.$(O) \ |
|
85 |
XPMReader.$(O) \ |
|
86 |
JPEGReader.$(O) \ |
|
830 | 87 |
SimpleDialog.$(O) |
529
d334b10089d8
prelink JPEGReader with libjpeg.a
Claus Gittinger <cg@exept.de>
parents:
484
diff
changeset
|
88 |
|
d334b10089d8
prelink JPEGReader with libjpeg.a
Claus Gittinger <cg@exept.de>
parents:
484
diff
changeset
|
89 |
pre_objs:: JPEGReader |
d334b10089d8
prelink JPEGReader with libjpeg.a
Claus Gittinger <cg@exept.de>
parents:
484
diff
changeset
|
90 |
|
d334b10089d8
prelink JPEGReader with libjpeg.a
Claus Gittinger <cg@exept.de>
parents:
484
diff
changeset
|
91 |
# |
d334b10089d8
prelink JPEGReader with libjpeg.a
Claus Gittinger <cg@exept.de>
parents:
484
diff
changeset
|
92 |
# prelink JPEGReader.o with libjpeg |
d334b10089d8
prelink JPEGReader with libjpeg.a
Claus Gittinger <cg@exept.de>
parents:
484
diff
changeset
|
93 |
# |
d334b10089d8
prelink JPEGReader with libjpeg.a
Claus Gittinger <cg@exept.de>
parents:
484
diff
changeset
|
94 |
JPEGReader: $(LIBJPEG) |
592 | 95 |
@$(MAKE) JPEGReader.$(O) \ |
683 | 96 |
CC="$(LIBJPEG_CC)" \ |
97 |
OPT="$(LIBJPEG_OPT)" \ |
|
98 |
LOCALDEFS="-I$(LIBJPEG_DIR)" \ |
|
529
d334b10089d8
prelink JPEGReader with libjpeg.a
Claus Gittinger <cg@exept.de>
parents:
484
diff
changeset
|
99 |
LIBNAME="$(LIBNAME)" \ |
683 | 100 |
STCOPT="$(STCOPT)" \ |
529
d334b10089d8
prelink JPEGReader with libjpeg.a
Claus Gittinger <cg@exept.de>
parents:
484
diff
changeset
|
101 |
STCLOCALOPT="$(STCLOCALOPT)" \ |
d334b10089d8
prelink JPEGReader with libjpeg.a
Claus Gittinger <cg@exept.de>
parents:
484
diff
changeset
|
102 |
CCLOCALOPT="$(CCLOCALOPT)" \ |
d334b10089d8
prelink JPEGReader with libjpeg.a
Claus Gittinger <cg@exept.de>
parents:
484
diff
changeset
|
103 |
LINKOBJRULE="$(LINKOBJRULE)" |
914 | 104 |
@if [ "$(NO_PRELINK_LIBJPEG)" = "" ]; then \ |
105 |
mv JPEGReader.$(O) __JPEGReader.$(O); \ |
|
106 |
echo; \ |
|
107 |
echo "prelinking JPEGReader with libjpg ..."; \ |
|
108 |
echo; \ |
|
109 |
ld $(LD_REL_FLAG) -o JPEGReader.$(O) __JPEGReader.$(O) $(LIBJPEG); \ |
|
1151
c13863335d01
- Fixes to avoid using '-' rules to ignore an exit status:
manfred
parents:
1126
diff
changeset
|
110 |
rm -f __JPEGReader.$(O); \ |
914 | 111 |
echo; \ |
112 |
fi |
|
529
d334b10089d8
prelink JPEGReader with libjpeg.a
Claus Gittinger <cg@exept.de>
parents:
484
diff
changeset
|
113 |
|
d334b10089d8
prelink JPEGReader with libjpeg.a
Claus Gittinger <cg@exept.de>
parents:
484
diff
changeset
|
114 |
$(LIBJPEG):: |
683 | 115 |
@-echo |
116 |
@-echo "making libjpg support library ..." |
|
117 |
@-echo |
|
1154 | 118 |
-(cd $(LIBJPEG_DIR) ; $(MAKE) libjpeg.a CC="$(LIBJPEG_CC)" OPT="$(LIBJPEG_OPT)" CFLAGS="$(LIBJPEG_OPT)") |
683 | 119 |
@-echo |
96 | 120 |
|
121 |
cleanjunk:: |
|
1153
9132e541cf39
be less verbose when cleaning or clobbering
Claus Gittinger <cg@exept.de>
parents:
1151
diff
changeset
|
122 |
@-rm -f *.c *.H __JPEGReader.$(O) |
96 | 123 |
|
124 |
clean:: |
|
1153
9132e541cf39
be less verbose when cleaning or clobbering
Claus Gittinger <cg@exept.de>
parents:
1151
diff
changeset
|
125 |
@-rm -f [A-Z]*.o *.c *.H __JPEGReader.$(O) |
96 | 126 |
|
127 |
clobber:: |
|
1153
9132e541cf39
be less verbose when cleaning or clobbering
Claus Gittinger <cg@exept.de>
parents:
1151
diff
changeset
|
128 |
@-rm -f *.c *.H classList.stc abbrev.stc |
96 | 129 |
|
130 |
tar: |
|
131 |
(cd $(TOP); tar cvfh DISTRIB/libview2.tar \ |
|
132 |
libview2/.dir.info \ |
|
133 |
libview2/*.st \ |
|
134 |
libview2/Make.proto) |
|
135 |
||
136 |
# BEGINMAKEDEPEND --- do not remove this line; make depend needs it |
|
333 | 137 |
ActiveHelp.$(O): ActiveHelp.st $(STCHDR) |
138 |
ActiveHelpView.$(O): ActiveHelpView.st $(STCHDR) |
|
139 |
AlignOrg.$(O): AlignOrg.st $(STCHDR) |
|
140 |
AppControl.$(O): AppControl.st $(STCHDR) |
|
141 |
AppModel.$(O): AppModel.st $(STCHDR) |
|
986 | 142 |
ApplicationWindow.$(O): ApplicationWindow.st $(STCHDR) |
333 | 143 |
AspctAdptr.$(O): AspctAdptr.st $(STCHDR) |
144 |
BlockValue.$(O): BlockValue.st $(STCHDR) |
|
145 |
BuffValHldr.$(O): BuffValHldr.st $(STCHDR) |
|
146 |
ClrValue.$(O): ClrValue.st $(STCHDR) |
|
147 |
ConvValue.$(O): ConvValue.st $(STCHDR) |
|
148 |
DObject.$(O): DObject.st $(STCHDR) |
|
897 | 149 |
DragAndDropManager.$(O): DragAndDropManager.st $(STCHDR) |
150 |
DragHandler.$(O): DragHandler.st $(STCHDR) |
|
151 |
DropContext.$(O): DropContext.st $(STCHDR) |
|
152 |
DropObject.$(O): DropObject.st $(STCHDR) |
|
908 | 153 |
DropTarget.$(O): DropTarget.st $(STCHDR) |
897 | 154 |
DObject.$(O): DObject.st $(STCHDR) |
333 | 155 |
EventListener.$(O): EventListener.st $(STCHDR) |
156 |
FaceReader.$(O): FaceReader.st $(STCHDR) |
|
575 | 157 |
GIFReader.$(O): GIFReader.st $(INCLUDE)/ImageRdr.H $(STCHDR) |
333 | 158 |
HersheyFont.$(O): HersheyFont.st $(STCHDR) |
159 |
Icon.$(O): Icon.st $(STCHDR) |
|
160 |
InputView.$(O): InputView.st $(STCHDR) |
|
818 | 161 |
Insets.$(O): Insets.st $(STCHDR) |
575 | 162 |
JPEGReader.$(O): JPEGReader.st $(INCLUDE)/ImageRdr.H $(STCHDR) |
333 | 163 |
Layout.$(O): Layout.st $(STCHDR) |
164 |
LayoutFrm.$(O): LayoutFrm.st $(STCHDR) |
|
165 |
LayoutOrg.$(O): LayoutOrg.st $(STCHDR) |
|
644 | 166 |
MIMETypes.$(O): MIMETypes.st $(STCHDR) |
333 | 167 |
Model.$(O): Model.st $(STCHDR) |
575 | 168 |
PBMReader.$(O): PBMReader.st $(INCLUDE)/ImageRdr.H $(STCHDR) |
169 |
PCXReader.$(O): PCXReader.st $(INCLUDE)/ImageRdr.H $(STCHDR) |
|
333 | 170 |
Plug.$(O): Plug.st $(STCHDR) |
171 |
PlugAdptr.$(O): PlugAdptr.st $(STCHDR) |
|
172 |
PrintConv.$(O): PrintConv.st $(STCHDR) |
|
173 |
ProtAdptr.$(O): ProtAdptr.st $(STCHDR) |
|
174 |
STFormRdr.$(O): STFormRdr.st $(STCHDR) |
|
175 |
ShadowV.$(O): ShadowV.st $(STCHDR) |
|
830 | 176 |
SimpleDialog.$(O): SimpleDialog.st $(STCHDR) |
333 | 177 |
StdSysC.$(O): StdSysC.st $(STCHDR) |
575 | 178 |
SunReader.$(O): SunReader.st $(INCLUDE)/ImageRdr.H $(STCHDR) |
333 | 179 |
TIFFRdr.$(O): TIFFRdr.st $(STCHDR) |
575 | 180 |
TargaReader.$(O): TargaReader.st $(INCLUDE)/ImageRdr.H $(STCHDR) |
754 | 181 |
ToolApplicationModel.$(O): ToolApplicationModel.st $(STCHDR) |
1058 | 182 |
ResourceRetriever.$(O): ResourceRetriever.st $(STCHDR) |
879 | 183 |
ResourceSpecEditor.$(O): ResourceSpecEditor.st $(STCHDR) |
333 | 184 |
TriggerVal.$(O): TriggerVal.st $(STCHDR) |
671 | 185 |
TypeConv.$(O): TypeConv.st $(STCHDR) |
333 | 186 |
UIBuilder.$(O): UIBuilder.st $(STCHDR) |
187 |
ValHolder.$(O): ValHolder.st $(STCHDR) |
|
188 |
ValModel.$(O): ValModel.st $(STCHDR) |
|
189 |
VisualPart.$(O): VisualPart.st $(STCHDR) |
|
857 | 190 |
VisualRegion.$(O): VisualRegion.st $(STCHDR) |
333 | 191 |
WinBuilder.$(O): WinBuilder.st $(STCHDR) |
192 |
WinIconRdr.$(O): WinIconRdr.st $(STCHDR) |
|
575 | 193 |
XBMReader.$(O): XBMReader.st $(INCLUDE)/ImageRdr.H $(STCHDR) |
194 |
XPMReader.$(O): XPMReader.st $(INCLUDE)/ImageRdr.H $(STCHDR) |
|
195 |
XWDReader.$(O): XWDReader.st $(INCLUDE)/ImageRdr.H $(STCHDR) |
|
96 | 196 |
# ENDMAKEDEPEND --- do not remove this line |