723
|
1 |
# $Header: /home/jv/Projects/SmalltalkX/repositories/cvs/stx/libjava/Make.proto,v 1.10 2005/08/12 16:40:46 cg Exp $
|
616
|
2 |
#
|
722
|
3 |
# -- Make.proto created from project at 'From Smalltalk/X, Version:3.5.5 on 8-nov-1999 at 21:44:28'
|
616
|
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 |
#
|
|
11 |
# position (of this package) in directory hierarchy:
|
|
12 |
# (must point to ST/X top directory, for tools and includes)
|
|
13 |
TOP=..
|
|
14 |
|
|
15 |
# subdirectories where targets are to be made:
|
|
16 |
SUBDIRS=
|
|
17 |
|
|
18 |
# subdirectories where Makefiles are to be made:
|
|
19 |
# (only define if different from SUBDIRS)
|
645
|
20 |
ALLSUBDIRS=examples
|
616
|
21 |
|
|
22 |
|
722
|
23 |
# the next define suppresses installation of
|
|
24 |
# the classes as autoloaded (i.e. not added to abbrev.stc).
|
616
|
25 |
SUPPRESS_LOCAL_ABBREVS=1
|
|
26 |
|
|
27 |
# Argument(s) to the stc compiler.
|
|
28 |
# -H. : create header files locally
|
|
29 |
# (if removed, they will be created as common
|
|
30 |
# -Pxxx : defines the package
|
|
31 |
# -Zxxx : a prefix for variables within the classLib
|
|
32 |
# -Dxxx : defines passed to to CC for inline C-code
|
|
33 |
# -Ixxx : include path passed to CC for inline C-code
|
|
34 |
# +optspace : optimized for space
|
|
35 |
# +optspace2 : optimized more for space
|
|
36 |
# +optspace3 : optimized even more for space
|
|
37 |
# +optinline : generate inline code for some ST constructs
|
|
38 |
# +inlineNew : additionally inline new
|
|
39 |
# +inlineMath : additionally inline some floatPnt math stuff
|
|
40 |
#
|
|
41 |
# ********** OPTIONAL: MODIFY the next line(s) ***
|
|
42 |
# STCLOCALOPTIMIZATIONS=+optinline +inlineNew
|
|
43 |
# STCLOCALOPTIMIZATIONS=+optspace3
|
|
44 |
STCLOCALOPTIMIZATIONS=+optspace3
|
|
45 |
|
|
46 |
# Argument(s) to the stc compiler.
|
|
47 |
# -warn : no warnings
|
|
48 |
# -warnNonStandard : no warnings about ST/X extensions
|
|
49 |
# -warnEOLComments : no warnings about EOL comment extension
|
|
50 |
# -warnPrivacy : no warnings about privateClass extension
|
|
51 |
#
|
|
52 |
# ********** OPTIONAL: MODIFY the next line(s) ***
|
|
53 |
# STCWARNINGS=-warn
|
|
54 |
# STCWARNINGS=-warnNonStandard
|
|
55 |
# STCWARNINGS=-warnEOLComments
|
722
|
56 |
STCWARNINGS=-warnEOLComments
|
616
|
57 |
|
722
|
58 |
# if your embedded C code requires any system includes,
|
|
59 |
# add the path(es) here:,
|
616
|
60 |
# ********** OPTIONAL: MODIFY the next lines ***
|
|
61 |
# LOCALINCLUDES=-Ifoo -Ibar
|
|
62 |
LOCALINCLUDES=
|
|
63 |
|
722
|
64 |
# if you need any additional defines for embedded C code,
|
|
65 |
# add them here:,
|
616
|
66 |
# ********** OPTIONAL: MODIFY the next lines ***
|
|
67 |
# LOCALDEFINES=-Dfoo -Dbar -DDEBUG
|
|
68 |
LOCALDEFINES=
|
|
69 |
|
|
70 |
STCLOCALOPT=-I. $(STCLOCALOPTIMIZATIONS) $(STCWARNINGS) $(LOCALINCLUDES) $(LOCALDEFINES) -H. '-P$(PACKAGE)' '-Z$(LIBNAME)' $(COMMONSYMFLAG) $(INITCODESEPFLAG)
|
|
71 |
|
|
72 |
# ********** OPTIONAL: MODIFY the next line ***
|
|
73 |
# additional C-libraries that should be pre-linked with the class-objects
|
|
74 |
LD_OBJ_LIBS=
|
|
75 |
|
|
76 |
# ********** OPTIONAL: MODIFY the next line ***
|
|
77 |
# additional C targets or libraries should be added below
|
|
78 |
LOCAL_EXTRA_TARGETS=
|
|
79 |
|
|
80 |
all:: preMake classLibRule postMake
|
|
81 |
|
|
82 |
# add more install actions here
|
|
83 |
install::
|
|
84 |
|
|
85 |
# add more install actions for aux-files (resources) here
|
634
|
86 |
installAux:: installJava
|
|
87 |
|
|
88 |
$(INSTALLLIB_DIR)/java:: $(INSTALLLIB_DIR)
|
|
89 |
test -d $(INSTALLLIB_DIR)/java || mkdir $(INSTALLLIB_DIR)/java
|
|
90 |
|
|
91 |
installJava:: $(INSTALLLIB_DIR)/java
|
|
92 |
@if [ "$(VERBOSE)"x != "x" ]; then \
|
|
93 |
echo "installing java..."; \
|
|
94 |
fi
|
|
95 |
-(tar cf - java | (cd $(INSTALLLIB_DIR) ; tar xf -))
|
|
96 |
@-( find $(INSTALLLIB_DIR)/fonts -name 'CVS' -exec rm -rf {} \; ) 2>/dev/null
|
|
97 |
@-( find $(INSTALLLIB_DIR)/fonts -name 'not_delivered' -exec rm -rf {} \; ) 2>/dev/null
|
616
|
98 |
|
|
99 |
# add more preMake actions here
|
|
100 |
preMake::
|
|
101 |
|
|
102 |
# add more postMake actions here
|
|
103 |
postMake:: cleanjunk
|
|
104 |
|
|
105 |
cleanjunk::
|
|
106 |
|
|
107 |
clean::
|
|
108 |
-rm -f *.o *.H
|
|
109 |
|
|
110 |
clobber::
|
|
111 |
-rm -f *.so *.dll
|
|
112 |
|
|
113 |
# BEGINMAKEDEPEND --- do not remove this line; make depend needs it
|
|
114 |
# ENDMAKEDEPEND --- do not remove this line
|