634
|
1 |
# $Header: /home/jv/Projects/SmalltalkX/repositories/cvs/stx/libjava/Make.proto,v 1.6 1999/12/21 12:54:58 cg Exp $
|
616
|
2 |
#
|
|
3 |
# -- Make.proto created from project at 'From Smalltalk/X, Version:3.5.5 on 8-nov-1999 at 21:44:28'
|
|
4 |
#
|
|
5 |
# Warning: YOU SHOULD NOT MODIFY THIS FILE - MODIFY THE .prj FILE INSTEAD
|
|
6 |
# and let the ProjectBrowser recreate this file.
|
|
7 |
# once you modify this file, do not rerun
|
|
8 |
# stmkmp or recreate the Make.proto again - otherwise, your changes are lost.
|
|
9 |
|
|
10 |
# module and directory-in-module;
|
|
11 |
# these should correspond to the directory hierarchy
|
|
12 |
# location (otherwise, ST/X will have a hard time to
|
|
13 |
# find out the packages location from its packageID)
|
|
14 |
MODULE=stx
|
|
15 |
MODULE_DIR=libjava
|
|
16 |
|
|
17 |
# default installation directory:
|
|
18 |
# (overwrite with 'make INSTALLTOP_DIR=... install')
|
|
19 |
# the INSTALLBASE is imported from configurations... and usually
|
|
20 |
# defaults to something like /opt/smalltalk.
|
|
21 |
# (overwrite with 'make INSTALLBASE=... install')
|
|
22 |
INSTALLTOP_DIR=$(INSTALLBASE)/packages/$(MODULE)/$(MODULE_DIR)
|
|
23 |
INSTALLLIB_DIR=$(INSTALLTOP_DIR)
|
|
24 |
INSTALLBIN_DIR=$(INSTALLTOP_DIR)
|
629
|
25 |
INSTALLED_LOAD_SCRIPTS=loadAll loadClasses
|
616
|
26 |
|
|
27 |
#
|
|
28 |
# position (of this package) in directory hierarchy:
|
|
29 |
# (must point to ST/X top directory, for tools and includes)
|
|
30 |
TOP=..
|
|
31 |
|
|
32 |
# subdirectories where targets are to be made:
|
|
33 |
SUBDIRS=
|
|
34 |
|
|
35 |
# subdirectories where Makefiles are to be made:
|
|
36 |
# (only define if different from SUBDIRS)
|
|
37 |
# ALLSUBDIRS=
|
|
38 |
|
|
39 |
|
|
40 |
# the name of your classLibrary:
|
|
41 |
# ********** REQUIRED: CHECK the next line ***
|
|
42 |
LIBNAME=libjava
|
|
43 |
|
|
44 |
|
|
45 |
# the next define suppresses installation of
|
|
46 |
# the classes as autoloaded (i.e. not added to abbrev.stc).
|
|
47 |
SUPPRESS_LOCAL_ABBREVS=1
|
|
48 |
|
|
49 |
# the package is stored as an ID in classes and methods
|
|
50 |
# to identify code belonging to this project.
|
|
51 |
# It also specifies the position in the source repository
|
|
52 |
# and directory tree, when packages are loaded by packageID.
|
|
53 |
# ********** REQUIRED: CHECK the next line ***
|
|
54 |
PACKAGE=$(MODULE):$(MODULE_DIR)
|
|
55 |
|
|
56 |
# Argument(s) to the stc compiler.
|
|
57 |
# -H. : create header files locally
|
|
58 |
# (if removed, they will be created as common
|
|
59 |
# -Pxxx : defines the package
|
|
60 |
# -Zxxx : a prefix for variables within the classLib
|
|
61 |
# -Dxxx : defines passed to to CC for inline C-code
|
|
62 |
# -Ixxx : include path passed to CC for inline C-code
|
|
63 |
# +optspace : optimized for space
|
|
64 |
# +optspace2 : optimized more for space
|
|
65 |
# +optspace3 : optimized even more for space
|
|
66 |
# +optinline : generate inline code for some ST constructs
|
|
67 |
# +inlineNew : additionally inline new
|
|
68 |
# +inlineMath : additionally inline some floatPnt math stuff
|
|
69 |
#
|
|
70 |
# ********** OPTIONAL: MODIFY the next line(s) ***
|
|
71 |
# STCLOCALOPTIMIZATIONS=+optinline +inlineNew
|
|
72 |
# STCLOCALOPTIMIZATIONS=+optspace3
|
|
73 |
STCLOCALOPTIMIZATIONS=+optspace3
|
|
74 |
|
|
75 |
# Argument(s) to the stc compiler.
|
|
76 |
# -warn : no warnings
|
|
77 |
# -warnNonStandard : no warnings about ST/X extensions
|
|
78 |
# -warnEOLComments : no warnings about EOL comment extension
|
|
79 |
# -warnPrivacy : no warnings about privateClass extension
|
|
80 |
#
|
|
81 |
# ********** OPTIONAL: MODIFY the next line(s) ***
|
|
82 |
# STCWARNINGS=-warn
|
|
83 |
# STCWARNINGS=-warnNonStandard
|
|
84 |
# STCWARNINGS=-warnEOLComments
|
|
85 |
STCWARNINGS=-warnEOLComments
|
|
86 |
|
|
87 |
# if your embedded C code requires any system includes,
|
|
88 |
# add the path(es) here:,
|
|
89 |
# ********** OPTIONAL: MODIFY the next lines ***
|
|
90 |
# LOCALINCLUDES=-Ifoo -Ibar
|
|
91 |
LOCALINCLUDES=
|
|
92 |
|
|
93 |
# if you need any additional defines for embedded C code,
|
|
94 |
# add them here:,
|
|
95 |
# ********** OPTIONAL: MODIFY the next lines ***
|
|
96 |
# LOCALDEFINES=-Dfoo -Dbar -DDEBUG
|
|
97 |
LOCALDEFINES=
|
|
98 |
|
|
99 |
STCLOCALOPT=-I. $(STCLOCALOPTIMIZATIONS) $(STCWARNINGS) $(LOCALINCLUDES) $(LOCALDEFINES) -H. '-P$(PACKAGE)' '-Z$(LIBNAME)' $(COMMONSYMFLAG) $(INITCODESEPFLAG)
|
|
100 |
|
|
101 |
# ********** OPTIONAL: MODIFY the next line ***
|
|
102 |
# additional C-libraries that should be pre-linked with the class-objects
|
|
103 |
LD_OBJ_LIBS=
|
|
104 |
|
|
105 |
# ********** OPTIONAL: MODIFY the next line ***
|
|
106 |
# additional C targets or libraries should be added below
|
|
107 |
LOCAL_EXTRA_TARGETS=
|
|
108 |
|
|
109 |
all:: preMake classLibRule postMake
|
|
110 |
|
|
111 |
|
|
112 |
OBJS= \
|
|
113 |
JavaClass.$(O) \
|
|
114 |
Java.$(O) \
|
|
115 |
JavaRef.$(O) \
|
|
116 |
JavaClassRef.$(O) \
|
|
117 |
JavaClassReader.$(O) \
|
|
118 |
JavaClassPointerRef.$(O) \
|
|
119 |
JavaConstantPool.$(O) \
|
|
120 |
JavaContext.$(O) \
|
|
121 |
JavaExceptionTableEntry.$(O) \
|
|
122 |
JavaField.$(O) \
|
|
123 |
JavaFieldref.$(O) \
|
|
124 |
JavaMethodref.$(O) \
|
|
125 |
JavaLocalVariableTable.$(O) \
|
|
126 |
JavaLocalVariableTableEntry.$(O) \
|
|
127 |
JavaMethod.$(O) \
|
|
128 |
JavaMethodWithBreakpoint.$(O) \
|
|
129 |
JavaMethodWithException.$(O) \
|
|
130 |
JavaMethodWithHandler.$(O) \
|
|
131 |
JavaInterfaceMethodref.$(O) \
|
|
132 |
JavaNameandType.$(O) \
|
|
133 |
JavaNativeMethod.$(O) \
|
|
134 |
JavaObject.$(O) \
|
|
135 |
JavaProcess.$(O) \
|
|
136 |
JavaBuiltInClassPointerRef.$(O) \
|
|
137 |
JavaSlotIndexCache.$(O) \
|
|
138 |
JavaUnresolvedConstant.$(O) \
|
|
139 |
JavaUnresolvedClassConstant.$(O) \
|
|
140 |
JavaUnresolvedRefConstant.$(O) \
|
|
141 |
JavaUnresolvedMethodrefConstant.$(O) \
|
|
142 |
JavaUnresolvedInterfaceMethodrefConstant.$(O) \
|
|
143 |
JavaUnresolvedFieldrefConstant.$(O) \
|
|
144 |
JavaUnresolvedNameandTypeConstant.$(O) \
|
|
145 |
JavaUnresolvedSTArrayConstant.$(O) \
|
|
146 |
JavaUnresolvedStringConstant.$(O) \
|
623
|
147 |
JavaVM.$(O) \
|
616
|
148 |
JavaDecompiler.$(O) \
|
622
|
149 |
JavaByteCodeEnumerator.$(O) \
|
623
|
150 |
JavaView.$(O) \
|
|
151 |
JavaEmbeddedFrameView.$(O) \
|
|
152 |
JavaPopUpView.$(O) \
|
|
153 |
JavaTopView.$(O) \
|
|
154 |
SmalltalkAppletContext.$(O) \
|
|
155 |
SmalltalkAppletStub.$(O)
|
616
|
156 |
|
|
157 |
# add more install actions here
|
|
158 |
install::
|
|
159 |
|
|
160 |
# add more install actions for aux-files (resources) here
|
634
|
161 |
installAux:: installJava
|
|
162 |
|
|
163 |
$(INSTALLLIB_DIR)/java:: $(INSTALLLIB_DIR)
|
|
164 |
test -d $(INSTALLLIB_DIR)/java || mkdir $(INSTALLLIB_DIR)/java
|
|
165 |
|
|
166 |
installJava:: $(INSTALLLIB_DIR)/java
|
|
167 |
@if [ "$(VERBOSE)"x != "x" ]; then \
|
|
168 |
echo "installing java..."; \
|
|
169 |
fi
|
|
170 |
-(tar cf - java | (cd $(INSTALLLIB_DIR) ; tar xf -))
|
|
171 |
@-( find $(INSTALLLIB_DIR)/fonts -name 'CVS' -exec rm -rf {} \; ) 2>/dev/null
|
|
172 |
@-( find $(INSTALLLIB_DIR)/fonts -name 'not_delivered' -exec rm -rf {} \; ) 2>/dev/null
|
616
|
173 |
|
|
174 |
# add more preMake actions here
|
|
175 |
preMake::
|
|
176 |
|
|
177 |
# add more postMake actions here
|
|
178 |
postMake:: cleanjunk
|
|
179 |
|
|
180 |
cleanjunk::
|
|
181 |
|
|
182 |
clean::
|
|
183 |
-rm -f *.o *.H
|
|
184 |
|
|
185 |
clobber::
|
|
186 |
-rm -f *.so *.dll
|
|
187 |
|
|
188 |
# BEGINMAKEDEPEND --- do not remove this line; make depend needs it
|
|
189 |
# ENDMAKEDEPEND --- do not remove this line
|
|
190 |
|