Commit e1a31a3c authored by Ben Avison's avatar Ben Avison
Browse files

Doesn't look like anyone's tried to build this before!

* Recreated missing header file.
* Added install phase and dummy export phases.
* Fixed clean phases so they clean rather than build.
* Removed auto-generated files.
* Removed dynamic dependencies.
Retagged as 'TarExtend-0_04'
parent 193b0801
| Copyright 2003 Castle Technology Ltd
|
| Licensed under the Apache License, Version 2.0 (the "License");
| you may not use this file except in compliance with the License.
| You may obtain a copy of the License at
|
| http://www.apache.org/licenses/LICENSE-2.0
|
| Unless required by applicable law or agreed to in writing, software
| distributed under the License is distributed on an "AS IS" BASIS,
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
| See the License for the specific language governing permissions and
| limitations under the License.
|
Dir <Obey$Dir>
amu_machine install INSTDIR=<Install$Dir>.Library.Build
...@@ -138,7 +138,13 @@ preprocess: ...@@ -138,7 +138,13 @@ preprocess:
@echo $(COMPONENT): preprocessing complete @echo $(COMPONENT): preprocessing complete
export: export_$(PHASE) export: export_$(PHASE)
export_hdrs:
@echo $(COMPONENT): export complete (hdrs)
export_libs:
@echo $(COMPONENT): export complete (libs)
export_libsMC: export_libsMC:
@amu -f MainMake $(MFLAGS) MemCheckCC=MemCheck.CC TARGET=$(MEMCHECK_TARGET) EXT=oMC @amu -f MainMake $(MFLAGS) MemCheckCC=MemCheck.CC TARGET=$(MEMCHECK_TARGET) EXT=oMC
@echo $(COMPONENT): export complete (MemCheck libs) @echo $(COMPONENT): export complete (MemCheck libs)
...@@ -151,6 +157,12 @@ ram: ...@@ -151,6 +157,12 @@ ram:
amu -f MainMake $(MFLAGS) TARGET=$(MODULE_TARGET) EXT=oz amu -f MainMake $(MFLAGS) TARGET=$(MODULE_TARGET) EXT=oz
@echo $(COMPONENT): Module built (RAM) @echo $(COMPONENT): Module built (RAM)
install:
amu -f MainMake $(MFLAGS) TARGET=$(NORMAL_TARGET) EXT=o
$(LD) $(LDFLAGS) -c++ -o $(INSTDIR).$(COMPONENT) $(OBJS) $(LIBS) -map > map.$(COMPONENT)
@echo $(COMPONENT): tool installed in library
installMC: installMC:
amu -f MainMake $(MFLAGS) MemCheckCC=MemCheck.CC TARGET=$(MEMCHECK_TARGET) EXT=oMC amu -f MainMake $(MFLAGS) MemCheckCC=MemCheck.CC TARGET=$(MEMCHECK_TARGET) EXT=oMC
$(LD) $(LDFLAGS) -c++ -o targets.$(COMPONENT) $(OBJS) $(LIBSMC) -map > map.$(COMPONENT) $(LD) $(LDFLAGS) -c++ -o targets.$(COMPONENT) $(OBJS) $(LIBSMC) -map > map.$(COMPONENT)
...@@ -158,13 +170,13 @@ installMC: ...@@ -158,13 +170,13 @@ installMC:
echo $(COMPONENT): $(TARGET) (MemCheckD) installed echo $(COMPONENT): $(TARGET) (MemCheckD) installed
clean: clean_common clean: clean_common
@amu -f MainMake $(MFLAGS) TARGET=AvoidAMUBug EXT=o @amu -f MainMake clean $(MFLAGS) TARGET=AvoidAMUBug EXT=o
@amu -f MainMake $(MFLAGS) TARGET=AvoidAMUBug EXT=oMC @amu -f MainMake clean $(MFLAGS) TARGET=AvoidAMUBug EXT=oMC
@amu -f MainMake $(MFLAGS) TARGET=AvoidAMUBug EXT=oHP @amu -f MainMake clean $(MFLAGS) TARGET=AvoidAMUBug EXT=oHP
@amu -f MainMake $(MFLAGS) TARGET=AvoidAMUBug EXT=od @amu -f MainMake clean $(MFLAGS) TARGET=AvoidAMUBug EXT=od
@amu -f MainMake $(MFLAGS) TARGET=AvoidAMUBug EXT=i @amu -f MainMake clean $(MFLAGS) TARGET=AvoidAMUBug EXT=i
@amu -f MainMake $(MFLAGS) TARGET=AvoidAMUBug EXT=oz @amu -f MainMake clean $(MFLAGS) TARGET=AvoidAMUBug EXT=oz
@amu -f MainMake $(MFLAGS) TARGET=AvoidAMUBug EXT=Targets @amu -f MainMake clean $(MFLAGS) TARGET=AvoidAMUBug EXT=Targets
@echo $(COMPONENT): cleaned @echo $(COMPONENT): cleaned
clean_common: clean_common:
...@@ -179,10 +191,10 @@ clean_common: ...@@ -179,10 +191,10 @@ clean_common:
# #
clean_all: clean_common clean_all: clean_common
@amu -f MainMake $(MFLAGS) TARGET=$(NORMAL_TARGET) EXT=o @amu -f MainMake clean_all $(MFLAGS) TARGET=$(NORMAL_TARGET) EXT=o
@amu -f MainMake $(MFLAGS) TARGET=$(NORMAL_TARGET) EXT=oMC @amu -f MainMake clean_all $(MFLAGS) TARGET=$(NORMAL_TARGET) EXT=oMC
@amu -f MainMake $(MFLAGS) TARGET=$(NORMAL_TARGET) EXT=oHP @amu -f MainMake clean_all $(MFLAGS) TARGET=$(NORMAL_TARGET) EXT=oHP
@amu -f MainMake $(MFLAGS) TARGET=$(NORMAL_TARGET) EXT=od @amu -f MainMake clean_all $(MFLAGS) TARGET=$(NORMAL_TARGET) EXT=od
@amu -f MainMake $(MFLAGS) TARGET=AvoidAMUBug EXT=i @amu -f MainMake clean_all $(MFLAGS) TARGET=AvoidAMUBug EXT=i
@amu -f MainMake $(MFLAGS) TARGET=$(NORMAL_TARGET) EXT=oz @amu -f MainMake clean_all $(MFLAGS) TARGET=$(NORMAL_TARGET) EXT=oz
@echo $(COMPONENT): Cleaned all @echo $(COMPONENT): Cleaned all
/* Copyright 2003 Castle Technology Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
extern void DBUG_PRINTF(char *fmt, ...);
AREA map of targets.Archiver:
Base Size Type Name
8080 780 CODE C$$code from object file main
8800 4 CODE C$$code from object file dbug
8804 7f8 CODE C$$code from object file CFilePath
8ffc 3668 CODE C$$code from object file Recurse
c664 8 CODE C$$code from object file RMalloc
c66c c0c CODE C$$code from object file CPathConv
d278 64 CODE C$$code from object file stubs
d2dc 78 CODE C$$code from object file _main
d354 284 CODE C$$code from object file cstreams
d5d8 fe8 CODE C$$code from object file out
e5c0 5a4 CODE C$$code from object file manip
eb64 68 CODE C$$code from object file _new
ebcc c CODE C$$code from object file _delete
ebd8 139c CODE C$$code from object file filebuf
ff74 f24 CODE C$$code from object file fstream
10e98 64 CODE C$$code from object file dtors
10efc 8 CODE C$$code from object file placenew
10f04 11a0 CODE C$$code from object file stream
120a4 770 CODE C$$code from object file streambuf
12814 18 CODE C$$code from object file _handler
1282c 754 CODE C$$code from object file in
12f80 220 CODE Stub$$Code from object file stubs
131a0 3a4 CODE Stub$$Entries from object file stubs
13544 28 DATA RTSK$$Data from object file stubs
1356c 24 DATA C$$data from object file main
13590 c DATA C$$data from object file CFilePath
1359c 30 DATA C$$data from object file Recurse
135cc c DATA C$$data from object file CPathConv
135d8 8 DATA C$$data from object file _main
135e0 128 DATA C$$data from object file cstreams
13708 d8 DATA C$$data from object file out
137e0 c DATA C$$data from object file manip
137ec 84 DATA C$$data from object file filebuf
13870 15c DATA C$$data from object file fstream
139cc 4 DATA C$$data from object file dtors
139d0 1c8 DATA C$$data from object file stream
13b98 78 DATA C$$data from object file streambuf
13c10 4 DATA C$$data from object file _handler
13c14 c DATA C$$data from object file in
13c20 4 ZERO C$$zidata from object file main
13c24 4 ZERO C$$zidata from object file CFilePath
13c28 4 ZERO C$$zidata from object file Recurse
13c2c 4 ZERO C$$zidata from object file CPathConv
13c30 4 ZERO C$$zidata from object file cstreams
13c34 4 ZERO C$$zidata from object file out
13c38 4 ZERO C$$zidata from object file manip
13c3c 8 ZERO C$$zidata from object file filebuf
13c44 4 ZERO C$$zidata from object file fstream
13c48 4 ZERO C$$zidata from object file stream
13c4c 4 ZERO C$$zidata from object file streambuf
13c50 4 ZERO C$$zidata from object file in
13c54 e64 ZERO Stub$$Data from object file stubs
AREA map of targets.TarExtend:
Base Size Type Name
8080 780 CODE C$$code from object file main
8800 4 CODE C$$code from object file dbug
8804 2d84 CODE C$$code from object file Recurse
b588 8 CODE C$$code from object file RMalloc
b590 c0c CODE C$$code from object file CPathConv
c19c 64 CODE C$$code from object file stubs
c200 78 CODE C$$code from object file _main
c278 284 CODE C$$code from object file cstreams
c4fc fe8 CODE C$$code from object file out
d4e4 5a4 CODE C$$code from object file manip
da88 c CODE C$$code from object file _delete
da94 68 CODE C$$code from object file _new
dafc 139c CODE C$$code from object file filebuf
ee98 f24 CODE C$$code from object file fstream
fdbc 64 CODE C$$code from object file dtors
fe20 8 CODE C$$code from object file placenew
fe28 11a0 CODE C$$code from object file stream
10fc8 770 CODE C$$code from object file streambuf
11738 18 CODE C$$code from object file _handler
11750 754 CODE C$$code from object file in
11ea4 220 CODE Stub$$Code from object file stubs
120c4 3a4 CODE Stub$$Entries from object file stubs
12468 28 DATA RTSK$$Data from object file stubs
12490 24 DATA C$$data from object file main
124b4 20 DATA C$$data from object file Recurse
124d4 c DATA C$$data from object file CPathConv
124e0 8 DATA C$$data from object file _main
124e8 128 DATA C$$data from object file cstreams
12610 d8 DATA C$$data from object file out
126e8 c DATA C$$data from object file manip
126f4 84 DATA C$$data from object file filebuf
12778 15c DATA C$$data from object file fstream
128d4 4 DATA C$$data from object file dtors
128d8 1c8 DATA C$$data from object file stream
12aa0 78 DATA C$$data from object file streambuf
12b18 4 DATA C$$data from object file _handler
12b1c c DATA C$$data from object file in
12b28 4 ZERO C$$zidata from object file main
12b2c 4 ZERO C$$zidata from object file Recurse
12b30 4 ZERO C$$zidata from object file CPathConv
12b34 4 ZERO C$$zidata from object file cstreams
12b38 4 ZERO C$$zidata from object file out
12b3c 4 ZERO C$$zidata from object file manip
12b40 8 ZERO C$$zidata from object file filebuf
12b48 4 ZERO C$$zidata from object file fstream
12b4c 4 ZERO C$$zidata from object file stream
12b50 4 ZERO C$$zidata from object file streambuf
12b54 4 ZERO C$$zidata from object file in
12b58 e64 ZERO Stub$$Data from object file stubs
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment