author | Claus Gittinger <cg@exept.de> |
Sat, 23 Oct 1999 15:36:15 +0200 | |
changeset 1256 | 338de8fddab9 |
parent 1235 | 9625f154a30d |
child 1258 | a6d935055c0b |
permissions | -rw-r--r-- |
1256 | 1 |
# $Header: /cvs/stx/stx/libview2/Make.proto,v 1.71 1999-10-23 13:36:13 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) \ |
56 |
TriggerValue.$(O) \ |
|
1235 | 57 |
ProtocolAdaptor.$(O) \ |
58 |
AspectAdaptor.$(O) \ |
|
59 |
BufferedValueHolder.$(O) \ |
|
655 | 60 |
Plug.$(O) \ |
1234 | 61 |
StandardSystemController.$(O) \ |
655 | 62 |
Layout.$(O) \ |
1234 | 63 |
LayoutOrigin.$(O) \ |
64 |
LayoutFrame.$(O) \ |
|
65 |
AlignmentOrigin.$(O) \ |
|
655 | 66 |
EventListener.$(O) \ |
67 |
ActiveHelp.$(O) \ |
|
68 |
ActiveHelpView.$(O) \ |
|
1126 | 69 |
KeyboardProcessor.$(O) \ |
655 | 70 |
Menu.$(O) \ |
1081 | 71 |
MenuItem.$(O) \ |
655 | 72 |
DragAndDropManager.$(O) \ |
73 |
DropObject.$(O) \ |
|
897 | 74 |
DropContext.$(O) \ |
908 | 75 |
DropTarget.$(O) \ |
897 | 76 |
DragHandler.$(O) \ |
1081 | 77 |
VisualRegion.$(O) \ |
78 |
ResourceRetriever.$(O) \ |
|
1234 | 79 |
WindowBuilder.$(O) \ |
655 | 80 |
UIBuilder.$(O) \ |
1234 | 81 |
TIFFReader.$(O) \ |
1081 | 82 |
GIFReader.$(O) \ |
83 |
XBMReader.$(O) \ |
|
84 |
XPMReader.$(O) \ |
|
1256 | 85 |
$(JPEGREADER) \ |
830 | 86 |
SimpleDialog.$(O) |
529
d334b10089d8
prelink JPEGReader with libjpeg.a
Claus Gittinger <cg@exept.de>
parents:
484
diff
changeset
|
87 |
|
d334b10089d8
prelink JPEGReader with libjpeg.a
Claus Gittinger <cg@exept.de>
parents:
484
diff
changeset
|
88 |
pre_objs:: JPEGReader |
d334b10089d8
prelink JPEGReader with libjpeg.a
Claus Gittinger <cg@exept.de>
parents:
484
diff
changeset
|
89 |
|
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 |
# prelink JPEGReader.o with libjpeg |
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 |
JPEGReader: $(LIBJPEG) |
592 | 94 |
@$(MAKE) JPEGReader.$(O) \ |
683 | 95 |
CC="$(LIBJPEG_CC)" \ |
96 |
OPT="$(LIBJPEG_OPT)" \ |
|
97 |
LOCALDEFS="-I$(LIBJPEG_DIR)" \ |
|
529
d334b10089d8
prelink JPEGReader with libjpeg.a
Claus Gittinger <cg@exept.de>
parents:
484
diff
changeset
|
98 |
LIBNAME="$(LIBNAME)" \ |
683 | 99 |
STCOPT="$(STCOPT)" \ |
529
d334b10089d8
prelink JPEGReader with libjpeg.a
Claus Gittinger <cg@exept.de>
parents:
484
diff
changeset
|
100 |
STCLOCALOPT="$(STCLOCALOPT)" \ |
d334b10089d8
prelink JPEGReader with libjpeg.a
Claus Gittinger <cg@exept.de>
parents:
484
diff
changeset
|
101 |
CCLOCALOPT="$(CCLOCALOPT)" \ |
d334b10089d8
prelink JPEGReader with libjpeg.a
Claus Gittinger <cg@exept.de>
parents:
484
diff
changeset
|
102 |
LINKOBJRULE="$(LINKOBJRULE)" |
914 | 103 |
@if [ "$(NO_PRELINK_LIBJPEG)" = "" ]; then \ |
104 |
mv JPEGReader.$(O) __JPEGReader.$(O); \ |
|
105 |
echo; \ |
|
106 |
echo "prelinking JPEGReader with libjpg ..."; \ |
|
107 |
echo; \ |
|
108 |
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
|
109 |
rm -f __JPEGReader.$(O); \ |
914 | 110 |
echo; \ |
111 |
fi |
|
529
d334b10089d8
prelink JPEGReader with libjpeg.a
Claus Gittinger <cg@exept.de>
parents:
484
diff
changeset
|
112 |
|
d334b10089d8
prelink JPEGReader with libjpeg.a
Claus Gittinger <cg@exept.de>
parents:
484
diff
changeset
|
113 |
$(LIBJPEG):: |
683 | 114 |
@-echo |
115 |
@-echo "making libjpg support library ..." |
|
116 |
@-echo |
|
1154 | 117 |
-(cd $(LIBJPEG_DIR) ; $(MAKE) libjpeg.a CC="$(LIBJPEG_CC)" OPT="$(LIBJPEG_OPT)" CFLAGS="$(LIBJPEG_OPT)") |
683 | 118 |
@-echo |
96 | 119 |
|
120 |
cleanjunk:: |
|
1153
9132e541cf39
be less verbose when cleaning or clobbering
Claus Gittinger <cg@exept.de>
parents:
1151
diff
changeset
|
121 |
@-rm -f *.c *.H __JPEGReader.$(O) |
96 | 122 |
|
123 |
clean:: |
|
1153
9132e541cf39
be less verbose when cleaning or clobbering
Claus Gittinger <cg@exept.de>
parents:
1151
diff
changeset
|
124 |
@-rm -f [A-Z]*.o *.c *.H __JPEGReader.$(O) |
96 | 125 |
|
126 |
clobber:: |
|
1153
9132e541cf39
be less verbose when cleaning or clobbering
Claus Gittinger <cg@exept.de>
parents:
1151
diff
changeset
|
127 |
@-rm -f *.c *.H classList.stc abbrev.stc |
96 | 128 |
|
129 |
tar: |
|
130 |
(cd $(TOP); tar cvfh DISTRIB/libview2.tar \ |
|
131 |
libview2/.dir.info \ |
|
132 |
libview2/*.st \ |
|
133 |
libview2/Make.proto) |
|
134 |
||
135 |
# BEGINMAKEDEPEND --- do not remove this line; make depend needs it |
|
136 |
# ENDMAKEDEPEND --- do not remove this line |