author | Claus Gittinger <cg@exept.de> |
Mon, 25 Oct 1999 21:38:00 +0200 | |
changeset 1258 | a6d935055c0b |
parent 1256 | 338de8fddab9 |
child 1267 | 240d7b1d1aa5 |
permissions | -rw-r--r-- |
1258 | 1 |
# $Header: /cvs/stx/stx/libview2/Make.proto,v 1.72 1999-10-25 19:38:00 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) |
1227 | 11 |
NM_LIB_BASE=LIBVIEW2_BASE |
913 | 12 |
|
916 | 13 |
STCOPT=$(LIBVIEW2_STCOPT) |
1163
e07b937b67a0
added the PACKAGE definition
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
14 |
STCLOCALOPT='-package=$(PACKAGE)' $(COMMONSYMBOLS) $(SEPINITCODE) -varPrefix=$(LIBNAME) |
686 | 15 |
UNCRITICALOPT=-optinline +optspace3 |
328 | 16 |
CCLOCALOPT=$(CC_SPACEOPT) |
178 | 17 |
LINKOBJRULE=$(SEPINITLINKOBJRULE) |
96 | 18 |
|
256 | 19 |
all:: classLibRule |
96 | 20 |
|
21 |
# |
|
22 |
# less frequently used/needed |
|
713 | 23 |
# these are compiled with +optSpace |
96 | 24 |
# |
167 | 25 |
UNCRITICALOBJS= \ |
1235 | 26 |
ColorValue.$(O) \ |
529
d334b10089d8
prelink JPEGReader with libjpeg.a
Claus Gittinger <cg@exept.de>
parents:
484
diff
changeset
|
27 |
Icon.$(O) \ |
d334b10089d8
prelink JPEGReader with libjpeg.a
Claus Gittinger <cg@exept.de>
parents:
484
diff
changeset
|
28 |
InputView.$(O) \ |
d334b10089d8
prelink JPEGReader with libjpeg.a
Claus Gittinger <cg@exept.de>
parents:
484
diff
changeset
|
29 |
BlockValue.$(O) \ |
1234 | 30 |
PrintConverter.$(O) \ |
529
d334b10089d8
prelink JPEGReader with libjpeg.a
Claus Gittinger <cg@exept.de>
parents:
484
diff
changeset
|
31 |
EventListener.$(O) \ |
713 | 32 |
MIMETypes.$(O) \ |
529
d334b10089d8
prelink JPEGReader with libjpeg.a
Claus Gittinger <cg@exept.de>
parents:
484
diff
changeset
|
33 |
ActiveHelp.$(O) \ |
1081 | 34 |
ActiveHelpView.$(O) \ |
1125 | 35 |
KeyboardProcessor.$(O) \ |
1081 | 36 |
ToolApplicationModel.$(O) \ |
879 | 37 |
ResourceSpecEditor.$(O) |
157
dceec0425445
some (most ?) are not time critical
Claus Gittinger <cg@exept.de>
parents:
152
diff
changeset
|
38 |
|
96 | 39 |
OBJS= \ |
1235 | 40 |
ColorValue.$(O) \ |
105 | 41 |
Icon.$(O) \ |
1235 | 42 |
DisplayObject.$(O) \ |
529
d334b10089d8
prelink JPEGReader with libjpeg.a
Claus Gittinger <cg@exept.de>
parents:
484
diff
changeset
|
43 |
InputView.$(O) \ |
1234 | 44 |
PrintConverter.$(O) \ |
655 | 45 |
MIMETypes.$(O) \ |
1081 | 46 |
ApplicationWindow.$(O) \ |
655 | 47 |
Model.$(O) \ |
1234 | 48 |
ApplicationModel.$(O) \ |
1081 | 49 |
ToolApplicationModel.$(O) \ |
50 |
ResourceSpecEditor.$(O) \ |
|
1234 | 51 |
ValueModel.$(O) \ |
52 |
PluggableAdaptor.$(O) \ |
|
53 |
TypeConverter.$(O) \ |
|
655 | 54 |
BlockValue.$(O) \ |
1234 | 55 |
ValueHolder.$(O) \ |
1258 | 56 |
ValueHolderWithWeakDependents.$(O) \ |
1234 | 57 |
TriggerValue.$(O) \ |
1235 | 58 |
ProtocolAdaptor.$(O) \ |
59 |
AspectAdaptor.$(O) \ |
|
60 |
BufferedValueHolder.$(O) \ |
|
655 | 61 |
Plug.$(O) \ |
1234 | 62 |
StandardSystemController.$(O) \ |
655 | 63 |
Layout.$(O) \ |
1234 | 64 |
LayoutOrigin.$(O) \ |
65 |
LayoutFrame.$(O) \ |
|
66 |
AlignmentOrigin.$(O) \ |
|
655 | 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) \ |
|
1234 | 80 |
WindowBuilder.$(O) \ |
655 | 81 |
UIBuilder.$(O) \ |
1234 | 82 |
TIFFReader.$(O) \ |
1081 | 83 |
GIFReader.$(O) \ |
84 |
XBMReader.$(O) \ |
|
85 |
XPMReader.$(O) \ |
|
1258 | 86 |
$(JPEGREADER) \ |
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 |
|
137 |
# ENDMAKEDEPEND --- do not remove this line |