123
This commit is contained in:
196
STLPORT/src/SCpp.mak
Normal file
196
STLPORT/src/SCpp.mak
Normal file
@@ -0,0 +1,196 @@
|
||||
MAKEFILE = SCpp.mak
|
||||
<EFBFBD>MondoBuild<EFBFBD> = {MAKEFILE} # Make blank to avoid rebuilds when makefile is modified
|
||||
|
||||
Sym-68K = -sym on
|
||||
!ifdef DEBUG
|
||||
config_ = .68K.DBG
|
||||
SCpp_DebugOptions = -inline none,global -opt none -frames {Sym-68K}
|
||||
STL_DebugOptions = -d _STLP_DEBUG -d _STLP_DEBUG_ALLOC -d _STLP_DEBUG_UNINITIALIZED
|
||||
!else
|
||||
config_ = .68K
|
||||
SCpp_DebugOptions =
|
||||
STL_DebugOptions =
|
||||
!endif
|
||||
ObjDir = :{config_}:
|
||||
SrcDir = :
|
||||
|
||||
Includes = -i : -i "{STL}" -i "{CIncludes}"
|
||||
|
||||
SCpp_Options = -model far -ansi on -ansifor -bool on -exceptions on -rtti on -b2 -mbg full -opt all -inline all,global -includes unix_mac -w 12
|
||||
|
||||
STL_Options = #-d _STLP_USE_NEWALLOC <20>
|
||||
#-d _STLP_NO_SGI_IOSTREAMS <20>
|
||||
# end
|
||||
|
||||
Link_options = <20>
|
||||
-c 'MPS ' <20>
|
||||
-mf <20>
|
||||
-d <20>
|
||||
-w <20>
|
||||
-model far <20>
|
||||
-srtsg all <20>
|
||||
#{Sym-68K} <20>
|
||||
# end
|
||||
|
||||
### Default Rules ###
|
||||
|
||||
"{ObjDir}" <EFBFBD> "{SrcDir}"
|
||||
|
||||
.cpp.o <EFBFBD> .cpp # {<7B>MondoBuild<6C>}
|
||||
###
|
||||
echo "<22>nCompiling: '"{depDir}{default}.cpp"'"
|
||||
"{SCpp}" {depDir}{default}.cpp <20>
|
||||
-o {targDir}{default}.cpp.o <20>
|
||||
-seg "{default}" <20>
|
||||
{Includes} <20>
|
||||
{SCpp_Options} {SCpp_DebugOptions} {other_SCpp_Options} <20>
|
||||
{STL_Options} {STL_DebugOptions} {other_STL_Options}
|
||||
if "{status}"
|
||||
set compile_status 1
|
||||
end
|
||||
|
||||
|
||||
### Optional Dependencies ###
|
||||
|
||||
setup <EFBFBD> $OutOfDate
|
||||
###
|
||||
echo "<22>n# Target: '"{ObjDir}"'"
|
||||
unset compile_status
|
||||
if !`exists "{ObjDir}"`
|
||||
newfolder "{ObjDir}"
|
||||
end
|
||||
|
||||
|
||||
### Build this target to generate "include file" dependencies. ###
|
||||
|
||||
Dependencies <EFBFBD> $OutOfDate #*TY 02/26/2000 - MakeDepend does not work unless all mentioned include directory exists
|
||||
###
|
||||
echo "<22>nUpdating: {MAKEFILE} Dependencies"
|
||||
MakeDepend <20>
|
||||
-append {MAKEFILE} <20>
|
||||
-ignore "{CIncludes}" <20>
|
||||
-objdir "{ObjDir}" <20>
|
||||
-objext .x <20>
|
||||
{Includes} <20>
|
||||
{SrcFiles}
|
||||
|
||||
|
||||
##################################################################################
|
||||
# {stl}:src: build rule
|
||||
##################################################################################
|
||||
|
||||
### Source Files ###
|
||||
|
||||
STLportLibSrcFiles = <20>
|
||||
c_locale_stub.cpp <09>
|
||||
codecvt.cpp <09>
|
||||
collate.cpp <09>
|
||||
complex.cpp <09>
|
||||
complex_exp.cpp <09>
|
||||
complex_io.cpp <09>
|
||||
complex_io_w.cpp <09>
|
||||
complex_trig.cpp <09>
|
||||
ctype.cpp <09>
|
||||
dll_main.cpp <09>
|
||||
fstream.cpp <09>
|
||||
ios.cpp <09>
|
||||
iostream.cpp <09>
|
||||
istream.cpp <09>
|
||||
locale.cpp <09>
|
||||
locale_catalog.cpp <09>
|
||||
facets_byname.cpp <09>
|
||||
locale_impl.cpp <09>
|
||||
messages.cpp <09>
|
||||
monetary.cpp <09>
|
||||
num_get.cpp <09>
|
||||
num_get_float.cpp <09>
|
||||
num_put.cpp <09>
|
||||
num_put_float.cpp <09>
|
||||
numpunct.cpp <09>
|
||||
ostream.cpp <09>
|
||||
sstream.cpp <09>
|
||||
stdio_streambuf.cpp <09>
|
||||
streambuf.cpp <09>
|
||||
string_w.cpp <09>
|
||||
strstream.cpp <09>
|
||||
time_facets.cpp <09>
|
||||
# end #*TY 11/25/2000 - updated for STLport.4.1
|
||||
|
||||
|
||||
### Object Files ###
|
||||
|
||||
STLportLibObjFiles1-68K = <20>
|
||||
{ObjDir}c_locale_stub.cpp.o <09>
|
||||
{ObjDir}codecvt.cpp.o <09>
|
||||
{ObjDir}collate.cpp.o <09>
|
||||
{ObjDir}complex.cpp.o <09>
|
||||
{ObjDir}complex_exp.cpp.o <09>
|
||||
{ObjDir}complex_io.cpp.o <09>
|
||||
{ObjDir}complex_io_w.cpp.o <09>
|
||||
{ObjDir}complex_trig.cpp.o <09>
|
||||
{ObjDir}ctype.cpp.o <09>
|
||||
{ObjDir}dll_main.cpp.o <09>
|
||||
{ObjDir}fstream.cpp.o <09>
|
||||
{ObjDir}ios.cpp.o <09>
|
||||
{ObjDir}iostream.cpp.o <09>
|
||||
{ObjDir}istream.cpp.o <09>
|
||||
{ObjDir}locale.cpp.o <09>
|
||||
{ObjDir}locale_catalog.cpp.o <09>
|
||||
#
|
||||
STLportLibObjFiles2-68K = <20>
|
||||
{ObjDir}facets_byname.cpp.o <09>
|
||||
{ObjDir}locale_impl.cpp.o <09>
|
||||
{ObjDir}messages.cpp.o <09>
|
||||
{ObjDir}monetary.cpp.o <09>
|
||||
{ObjDir}num_get.cpp.o <09>
|
||||
{ObjDir}num_get_float.cpp.o <09>
|
||||
{ObjDir}num_put.cpp.o <09>
|
||||
{ObjDir}num_put_float.cpp.o <09>
|
||||
{ObjDir}numpunct.cpp.o <09>
|
||||
{ObjDir}ostream.cpp.o <09>
|
||||
{ObjDir}sstream.cpp.o <09>
|
||||
{ObjDir}stdio_streambuf.cpp.o <09>
|
||||
{ObjDir}streambuf.cpp.o <09>
|
||||
{ObjDir}string_w.cpp.o <09>
|
||||
{ObjDir}strstream.cpp.o <09>
|
||||
{ObjDir}time_facets.cpp.o <09>
|
||||
# end #*TY 11/25/2000 - updated for STLport.4.1
|
||||
|
||||
|
||||
### Build Rules ###
|
||||
|
||||
build <EFBFBD><EFBFBD> setup
|
||||
build <EFBFBD><EFBFBD> "{ObjDir}"STLportLib{config_}.o
|
||||
|
||||
"{ObjDir}"STLportLib{config_}.o <EFBFBD><EFBFBD> {STLportLibObjFiles1-68K} {STLportLibObjFiles2-68K} {<EFBFBD>MondoBuild<EFBFBD>}
|
||||
###
|
||||
echo "<22>nLibbing: {Targ}"
|
||||
Lib <20>
|
||||
-o "{ObjDir}"STLportLib1{config_}.o <20>
|
||||
{STLportLibObjFiles1-68K} <20>
|
||||
-mf <20>
|
||||
-d <20>
|
||||
-sym on <20>
|
||||
# end
|
||||
Lib <20>
|
||||
-o "{ObjDir}"STLportLib2{config_}.o <20>
|
||||
{STLportLibObjFiles2-68K} <20>
|
||||
-mf <20>
|
||||
-d <20>
|
||||
-sym on <20>
|
||||
# end
|
||||
Lib <20>
|
||||
-o {Targ} <20>
|
||||
"{ObjDir}"STLportLib1{config_}.o "{ObjDir}"STLportLib2{config_}.o <20>
|
||||
-mf <20>
|
||||
-d <20>
|
||||
-sym on <20>
|
||||
# end
|
||||
|
||||
install <EFBFBD><EFBFBD> build
|
||||
###
|
||||
echo "<22>nInstalling: <20>{stl<74>}:lib:STLportLib{config_}.o"
|
||||
if !`exists "{stl}":lib:`
|
||||
newfolder "{stl}":lib:
|
||||
end
|
||||
duplicate -y "{ObjDir}"STLportLib{config_}.o "{stl}":lib:STLportLib{config_}.o
|
||||
Reference in New Issue
Block a user