290
|
1 |
# $Header$
|
|
2 |
#
|
|
3 |
# -- nt.mak created from project at 'From Smalltalk/X, Version:3.5.5 on 8-nov-1999 at 21:44:36'
|
|
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 recreate nt.mak again
|
|
8 |
# - otherwise, your changes are lost.
|
|
9 |
|
|
10 |
# default installation directory:
|
|
11 |
# (overwrite with 'make INSTALLTOP_DIR=... install')
|
|
12 |
# the INSTALLBASE is imported from configurations... and usually
|
|
13 |
# defaults to something like /opt/smalltalk.
|
|
14 |
# (overwrite with 'make INSTALLBASE=... install')
|
|
15 |
INSTALLTOP_DIR=$(INSTALLBASE)/packages/$(MODULE)/$(MODULE_DIR)
|
|
16 |
INSTALLLIB_DIR=$(INSTALLTOP_DIR)
|
|
17 |
INSTALLBIN_DIR=$(INSTALLTOP_DIR)
|
|
18 |
|
|
19 |
#
|
|
20 |
# position (of this package) in directory hierarchy:
|
|
21 |
# (must point to ST/X top directory, for tools and includes)
|
|
22 |
TOP=..\..\stx
|
|
23 |
|
|
24 |
#
|
|
25 |
!INCLUDE Make.spec
|
|
26 |
#
|
|
27 |
!INCLUDE "$(TOP)\rules\stdHeader_nt"
|
|
28 |
|
|
29 |
# subdirectories where targets are to be made:
|
|
30 |
SUBDIRS=
|
|
31 |
|
|
32 |
# subdirectories where Makefiles are to be made:
|
|
33 |
# (only define if different from SUBDIRS)
|
|
34 |
# ALLSUBDIRS=
|
|
35 |
|
|
36 |
# the next define suppresses installation of
|
|
37 |
# the classes as autoloaded (i.e. not added to abbrev.stc).
|
|
38 |
SUPPRESS_LOCAL_ABBREVS=1
|
|
39 |
|
|
40 |
# Argument(s) to the stc compiler.
|
|
41 |
# -H. : create header files locally
|
|
42 |
# (if removed, they will be created as common
|
|
43 |
# -Pxxx : defines the package
|
|
44 |
# -Zxxx : a prefix for variables within the classLib
|
|
45 |
# -Dxxx : defines passed to to CC for inline C-code
|
|
46 |
# -Ixxx : include path passed to CC for inline C-code
|
|
47 |
# +optspace : optimized for space
|
|
48 |
# +optspace2 : optimized more for space
|
|
49 |
# +optspace3 : optimized even more for space
|
|
50 |
# +optinline : generate inline code for some ST constructs
|
|
51 |
# +inlineNew : additionally inline new
|
|
52 |
# +inlineMath : additionally inline some floatPnt math stuff
|
|
53 |
#
|
|
54 |
# ********** OPTIONAL: MODIFY the next line(s) ***
|
|
55 |
# STCLOCALOPTIMIZATIONS=+optinline +inlineNew
|
|
56 |
# STCLOCALOPTIMIZATIONS=+optspace3
|
|
57 |
STCLOCALOPTIMIZATIONS=+optspace3
|
|
58 |
|
|
59 |
# Argument(s) to the stc compiler.
|
|
60 |
# -warn : no warnings
|
|
61 |
# -warnNonStandard : no warnings about ST/X extensions
|
|
62 |
# -warnEOLComments : no warnings about EOL comment extension
|
|
63 |
# -warnPrivacy : no warnings about privateClass extension
|
|
64 |
#
|
|
65 |
# ********** OPTIONAL: MODIFY the next line(s) ***
|
|
66 |
# STCWARNINGS=-warn
|
|
67 |
# STCWARNINGS=-warnNonStandard
|
|
68 |
# STCWARNINGS=-warnEOLComments
|
|
69 |
STCWARNINGS=-warnEOLComments
|
|
70 |
|
|
71 |
# if your embedded C code requires any system includes,
|
|
72 |
# add the path(es) here:,
|
|
73 |
# ********** OPTIONAL: MODIFY the next lines ***
|
|
74 |
# LOCALINCLUDES=-Ifoo -Ibar
|
|
75 |
LOCALINCLUDES=-I. -I$(TOP)\goodies\sunit
|
|
76 |
|
|
77 |
# if you need any additional defines for embedded C code,
|
|
78 |
# add them here:,
|
|
79 |
# ********** OPTIONAL: MODIFY the next lines ***
|
|
80 |
# LOCALDEFINES=-Dfoo -Dbar -DDEBUG
|
|
81 |
LOCALDEFINES=
|
|
82 |
|
|
83 |
STCLOCALOPT=-I. $(STCLOCALOPTIMIZATIONS) $(STCWARNINGS) $(LOCALINCLUDES) $(LOCALDEFINES) -H. -package=$(PACKAGE) -varPrefix=$(LIBNAME) $(COMMONSYMFLAG) $(INITCODESEPFLAG)
|
|
84 |
|
|
85 |
# ********** OPTIONAL: MODIFY the next line ***
|
|
86 |
# additional C-libraries that should be pre-linked with the class-objects
|
|
87 |
LD_OBJ_LIBS=
|
|
88 |
|
|
89 |
# ********** OPTIONAL: MODIFY the next line ***
|
|
90 |
# additional C targets or libraries should be added below
|
|
91 |
LOCAL_EXTRA_TARGETS=
|
|
92 |
|
|
93 |
#ALL:: preMake $(LIBDIR)\$(LIBNAME).lib $(BINDIR)\$(LIBNAME).dll postMake
|
|
94 |
ALL:: $(LIBDIR)\$(LIBNAME).lib $(BINDIR)\$(LIBNAME).dll
|
|
95 |
|
|
96 |
|
|
97 |
# add more preMake actions here
|
|
98 |
preMake:
|
|
99 |
|
|
100 |
# add more postMake actions here
|
|
101 |
postMake: cleanjunk
|
|
102 |
|
|
103 |
#clean::
|
|
104 |
# -del $(OUTDIR)*.obj
|
|
105 |
# -del *.sc
|
|
106 |
|
|
107 |
#clobber::
|
|
108 |
# -del $(OUTDIR)*.obj
|
|
109 |
# -del *.sc
|
|
110 |
# -del *.dll
|
|
111 |
# -del *.lib
|
|
112 |
|
|
113 |
|
|
114 |
!INCLUDE $(TOP)\rules\stdRules_nt
|