author | Claus Gittinger <cg@exept.de> |
Mon, 22 Nov 1999 16:05:05 +0100 | |
changeset 1271 | 1fc0f8a774c7 |
parent 1268 | 26176cd448fd |
child 1276 | 37f3ed4a959b |
permissions | -rw-r--r-- |
1268 | 1 |
# $Header: /cvs/stx/stx/libview2/Make.proto,v 1.74 1999-11-19 13:27:55 cg Exp $ |
96 | 2 |
# |
3 |
# -------------- no need to change anything below ---------- |
|
4 |
||
5 |
TOP=.. |
|
6 |
SUBDIRS= |
|
7 |
||
1267 | 8 |
MODULE=stx |
1268 | 9 |
MODULE_DIR=libview2 |
96 | 10 |
LIBNAME=libview2 |
1267 | 11 |
PACKAGE=$(MODULE):$(LIBNAME) |
913 | 12 |
LIB_BASE=$(LIBVIEW2_BASE) |
1227 | 13 |
NM_LIB_BASE=LIBVIEW2_BASE |
913 | 14 |
|
916 | 15 |
STCOPT=$(LIBVIEW2_STCOPT) |
1163
e07b937b67a0
added the PACKAGE definition
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
16 |
STCLOCALOPT='-package=$(PACKAGE)' $(COMMONSYMBOLS) $(SEPINITCODE) -varPrefix=$(LIBNAME) |
686 | 17 |
UNCRITICALOPT=-optinline +optspace3 |
328 | 18 |
CCLOCALOPT=$(CC_SPACEOPT) |
178 | 19 |
LINKOBJRULE=$(SEPINITLINKOBJRULE) |
96 | 20 |
|
256 | 21 |
all:: classLibRule |
96 | 22 |
|
23 |
# |
|
24 |
# less frequently used/needed |
|
713 | 25 |
# these are compiled with +optSpace |
96 | 26 |
# |
167 | 27 |
UNCRITICALOBJS= \ |
1235 | 28 |
ColorValue.$(O) \ |
529
d334b10089d8
prelink JPEGReader with libjpeg.a
Claus Gittinger <cg@exept.de>
parents:
484
diff
changeset
|
29 |
Icon.$(O) \ |
d334b10089d8
prelink JPEGReader with libjpeg.a
Claus Gittinger <cg@exept.de>
parents:
484
diff
changeset
|
30 |
InputView.$(O) \ |
d334b10089d8
prelink JPEGReader with libjpeg.a
Claus Gittinger <cg@exept.de>
parents:
484
diff
changeset
|
31 |
BlockValue.$(O) \ |
1234 | 32 |
PrintConverter.$(O) \ |
529
d334b10089d8
prelink JPEGReader with libjpeg.a
Claus Gittinger <cg@exept.de>
parents:
484
diff
changeset
|
33 |
EventListener.$(O) \ |
713 | 34 |
MIMETypes.$(O) \ |
529
d334b10089d8
prelink JPEGReader with libjpeg.a
Claus Gittinger <cg@exept.de>
parents:
484
diff
changeset
|
35 |
ActiveHelp.$(O) \ |
1081 | 36 |
ActiveHelpView.$(O) \ |
1125 | 37 |
KeyboardProcessor.$(O) \ |
1081 | 38 |
ToolApplicationModel.$(O) \ |
879 | 39 |
ResourceSpecEditor.$(O) |
157
dceec0425445
some (most ?) are not time critical
Claus Gittinger <cg@exept.de>
parents:
152
diff
changeset
|
40 |
|
96 | 41 |
OBJS= \ |
1235 | 42 |
ColorValue.$(O) \ |
105 | 43 |
Icon.$(O) \ |
1235 | 44 |
DisplayObject.$(O) \ |
529
d334b10089d8
prelink JPEGReader with libjpeg.a
Claus Gittinger <cg@exept.de>
parents:
484
diff
changeset
|
45 |
InputView.$(O) \ |
1234 | 46 |
PrintConverter.$(O) \ |
655 | 47 |
MIMETypes.$(O) \ |
1081 | 48 |
ApplicationWindow.$(O) \ |
655 | 49 |
Model.$(O) \ |
1234 | 50 |
ApplicationModel.$(O) \ |
1081 | 51 |
ToolApplicationModel.$(O) \ |
52 |
ResourceSpecEditor.$(O) \ |
|
1234 | 53 |
ValueModel.$(O) \ |
54 |
PluggableAdaptor.$(O) \ |
|
55 |
TypeConverter.$(O) \ |
|
655 | 56 |
BlockValue.$(O) \ |
1234 | 57 |
ValueHolder.$(O) \ |
1258 | 58 |
ValueHolderWithWeakDependents.$(O) \ |
1234 | 59 |
TriggerValue.$(O) \ |
1235 | 60 |
ProtocolAdaptor.$(O) \ |
61 |
AspectAdaptor.$(O) \ |
|
62 |
BufferedValueHolder.$(O) \ |
|
655 | 63 |
Plug.$(O) \ |
1234 | 64 |
StandardSystemController.$(O) \ |
655 | 65 |
Layout.$(O) \ |
1234 | 66 |
LayoutOrigin.$(O) \ |
67 |
LayoutFrame.$(O) \ |
|
68 |
AlignmentOrigin.$(O) \ |
|
655 | 69 |
EventListener.$(O) \ |
70 |
ActiveHelp.$(O) \ |
|
71 |
ActiveHelpView.$(O) \ |
|
1126 | 72 |
KeyboardProcessor.$(O) \ |
655 | 73 |
Menu.$(O) \ |
1081 | 74 |
MenuItem.$(O) \ |
655 | 75 |
DragAndDropManager.$(O) \ |
76 |
DropObject.$(O) \ |
|
897 | 77 |
DropContext.$(O) \ |
908 | 78 |
DropTarget.$(O) \ |
897 | 79 |
DragHandler.$(O) \ |
1081 | 80 |
VisualRegion.$(O) \ |
81 |
ResourceRetriever.$(O) \ |
|
1234 | 82 |
WindowBuilder.$(O) \ |
655 | 83 |
UIBuilder.$(O) \ |
1234 | 84 |
TIFFReader.$(O) \ |
1081 | 85 |
GIFReader.$(O) \ |
86 |
XBMReader.$(O) \ |
|
87 |
XPMReader.$(O) \ |
|
1258 | 88 |
$(JPEGREADER) \ |
830 | 89 |
SimpleDialog.$(O) |
529
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 |
pre_objs:: JPEGReader |
d334b10089d8
prelink JPEGReader with libjpeg.a
Claus Gittinger <cg@exept.de>
parents:
484
diff
changeset
|
92 |
|
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 |
# prelink JPEGReader.o with libjpeg |
d334b10089d8
prelink JPEGReader with libjpeg.a
Claus Gittinger <cg@exept.de>
parents:
484
diff
changeset
|
95 |
# |
d334b10089d8
prelink JPEGReader with libjpeg.a
Claus Gittinger <cg@exept.de>
parents:
484
diff
changeset
|
96 |
JPEGReader: $(LIBJPEG) |
592 | 97 |
@$(MAKE) JPEGReader.$(O) \ |
683 | 98 |
CC="$(LIBJPEG_CC)" \ |
99 |
OPT="$(LIBJPEG_OPT)" \ |
|
100 |
LOCALDEFS="-I$(LIBJPEG_DIR)" \ |
|
529
d334b10089d8
prelink JPEGReader with libjpeg.a
Claus Gittinger <cg@exept.de>
parents:
484
diff
changeset
|
101 |
LIBNAME="$(LIBNAME)" \ |
683 | 102 |
STCOPT="$(STCOPT)" \ |
529
d334b10089d8
prelink JPEGReader with libjpeg.a
Claus Gittinger <cg@exept.de>
parents:
484
diff
changeset
|
103 |
STCLOCALOPT="$(STCLOCALOPT)" \ |
d334b10089d8
prelink JPEGReader with libjpeg.a
Claus Gittinger <cg@exept.de>
parents:
484
diff
changeset
|
104 |
CCLOCALOPT="$(CCLOCALOPT)" \ |
d334b10089d8
prelink JPEGReader with libjpeg.a
Claus Gittinger <cg@exept.de>
parents:
484
diff
changeset
|
105 |
LINKOBJRULE="$(LINKOBJRULE)" |
914 | 106 |
@if [ "$(NO_PRELINK_LIBJPEG)" = "" ]; then \ |
107 |
mv JPEGReader.$(O) __JPEGReader.$(O); \ |
|
108 |
echo; \ |
|
109 |
echo "prelinking JPEGReader with libjpg ..."; \ |
|
110 |
echo; \ |
|
111 |
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
|
112 |
rm -f __JPEGReader.$(O); \ |
914 | 113 |
echo; \ |
114 |
fi |
|
529
d334b10089d8
prelink JPEGReader with libjpeg.a
Claus Gittinger <cg@exept.de>
parents:
484
diff
changeset
|
115 |
|
d334b10089d8
prelink JPEGReader with libjpeg.a
Claus Gittinger <cg@exept.de>
parents:
484
diff
changeset
|
116 |
$(LIBJPEG):: |
683 | 117 |
@-echo |
118 |
@-echo "making libjpg support library ..." |
|
119 |
@-echo |
|
1154 | 120 |
-(cd $(LIBJPEG_DIR) ; $(MAKE) libjpeg.a CC="$(LIBJPEG_CC)" OPT="$(LIBJPEG_OPT)" CFLAGS="$(LIBJPEG_OPT)") |
683 | 121 |
@-echo |
96 | 122 |
|
123 |
cleanjunk:: |
|
1153
9132e541cf39
be less verbose when cleaning or clobbering
Claus Gittinger <cg@exept.de>
parents:
1151
diff
changeset
|
124 |
@-rm -f *.c *.H __JPEGReader.$(O) |
96 | 125 |
|
126 |
clean:: |
|
1153
9132e541cf39
be less verbose when cleaning or clobbering
Claus Gittinger <cg@exept.de>
parents:
1151
diff
changeset
|
127 |
@-rm -f [A-Z]*.o *.c *.H __JPEGReader.$(O) |
96 | 128 |
|
129 |
clobber:: |
|
1153
9132e541cf39
be less verbose when cleaning or clobbering
Claus Gittinger <cg@exept.de>
parents:
1151
diff
changeset
|
130 |
@-rm -f *.c *.H classList.stc abbrev.stc |
96 | 131 |
|
132 |
tar: |
|
133 |
(cd $(TOP); tar cvfh DISTRIB/libview2.tar \ |
|
134 |
libview2/.dir.info \ |
|
135 |
libview2/*.st \ |
|
136 |
libview2/Make.proto) |
|
137 |
||
138 |
# BEGINMAKEDEPEND --- do not remove this line; make depend needs it |
|
139 |
# ENDMAKEDEPEND --- do not remove this line |