[Expat-checkins] expat/amiga Makefile, 1.7, 1.8 README.txt, 1.6, 1.7 expat_68k_handler_stubs.c, 1.1, 1.2 expat_lib.c, 1.5, 1.6 expat_vectors.c, 1.2, 1.3 stdlib.c, 1.3, 1.4

Steven Solie ssolie at users.sourceforge.net
Sat Jan 31 21:57:36 CET 2009


Update of /cvsroot/expat/expat/amiga
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv15220

Modified Files:
	Makefile README.txt expat_68k_handler_stubs.c expat_lib.c 
	expat_vectors.c stdlib.c 
Log Message:
More AmigaOS specific changes.

Index: Makefile
===================================================================
RCS file: /cvsroot/expat/expat/amiga/Makefile,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- Makefile	31 Jan 2009 06:21:09 -0000	1.7
+++ Makefile	31 Jan 2009 20:57:34 -0000	1.8
@@ -19,6 +19,7 @@
 	@echo " all     - make libraries, xmlwf, examples and runs tests"
 	@echo " install - install expat libraries and tools into SDK"
 	@echo " clean   - clean object files"
+	@echo " check   - run all the tests"
 	@echo " package - prepare distribution archive"
 
 all: clib2 newlib library so check
@@ -48,6 +49,8 @@
 	-delete T:expat all force quiet
 	makedir all T:expat/Workbench/Libs
 	copy clone libs/expat.library T:expat/Workbench/Libs
+	makedir all T:expat/Workbench/SObjs
+	copy clone so/libexpat.so T:expat/Workbench/SObjs
 	makedir all T:expat/SDK/Local/C
 	copy clone libs/xmlwf T:expat/SDK/Local/C
 	makedir all T:expat/SDK/Local/clib2/lib
@@ -85,6 +88,7 @@
 
 clib2/libexpat.a: clib2/xmlparse.o clib2/xmltok.o clib2/xmlrole.o
 	$(LIBTOOL) $(LTFLAGS) $@ $^
+	protect $@ -e
 
 clib2/xmlparse.o: xmlparse.c expat.h xmlrole.h xmltok.h \
 	expat_external.h internal.h amigaconfig.h
@@ -148,6 +152,7 @@
 
 newlib/libexpat.a: newlib/xmlparse.o newlib/xmltok.o newlib/xmlrole.o
 	$(LIBTOOL) $(LTFLAGS) $@ $^
+	protect $@ -e
 
 newlib/xmlparse.o: xmlparse.c expat.h xmlrole.h xmltok.h \
 	expat_external.h internal.h amigaconfig.h
@@ -211,6 +216,7 @@
 
 libs/expat.library: libs/expat_lib.o libs/expat_68k.o libs/expat_68k_handler_stubs.o libs/expat_vectors.o libs/stdlib.o newlib/libexpat.a
 	$(CC) -mcrt=newlib -nostartfiles -nostdlib $^ -o $@ newlib/libexpat.a
+	protect $@ -e
 
 libs/expat_lib.o: expat_lib.c
 
@@ -276,6 +282,7 @@
 
 so/libexpat.so: so/xmlparse.o so/xmltok.o so/xmlrole.o
 	$(CC) -mcrt=newlib -shared -o $@ $^
+	protect $@ -e
 
 so/xmlparse.o: xmlparse.c expat.h xmlrole.h xmltok.h \
 	expat_external.h internal.h amigaconfig.h

Index: README.txt
===================================================================
RCS file: /cvsroot/expat/expat/amiga/README.txt,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- README.txt	31 Jan 2009 06:21:09 -0000	1.6
+++ README.txt	31 Jan 2009 20:57:34 -0000	1.7
@@ -39,6 +39,10 @@
 
 HISTORY
 =======
+5.1  - fixed package archive which was missing libexpat.so
+     - fixed library protection bits
+     - fixed up copyright notices
+
 5.0  - integrated 68k patches from Fredrik Wikstrom which means
        expat.library is now callable from 68k code
      - bumped version for the addition of the 68k interface so

Index: expat_68k_handler_stubs.c
===================================================================
RCS file: /cvsroot/expat/expat/amiga/expat_68k_handler_stubs.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- expat_68k_handler_stubs.c	31 Jan 2009 06:21:09 -0000	1.1
+++ expat_68k_handler_stubs.c	31 Jan 2009 20:57:34 -0000	1.2
@@ -1,3 +1,26 @@
+/*
+** Copyright (c) 2001-2009 Expat maintainers.
+**
+** Permission is hereby granted, free of charge, to any person obtaining
+** a copy of this software and associated documentation files (the
+** "Software"), to deal in the Software without restriction, including
+** without limitation the rights to use, copy, modify, merge, publish,
+** distribute, sublicense, and/or sell copies of the Software, and to
+** permit persons to whom the Software is furnished to do so, subject to
+** the following conditions:
+**
+** The above copyright notice and this permission notice shall be included
+** in all copies or substantial portions of the Software.
+**
+** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+** SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+*/
+
 #include "expat_68k.h"
 #include <exec/emulation.h>
 #include <proto/exec.h>

Index: expat_lib.c
===================================================================
RCS file: /cvsroot/expat/expat/amiga/expat_lib.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- expat_lib.c	31 Jan 2009 06:21:09 -0000	1.5
+++ expat_lib.c	31 Jan 2009 20:57:34 -0000	1.6
@@ -27,8 +27,8 @@
 #define LIBNAME		"expat.library"
 #define LIBPRI		0
 #define VERSION		5
-#define REVISION	0
-#define VSTRING		"expat.library 5.0 (30.1.2009)"  /* dd.mm.yyyy */
+#define REVISION	1
+#define VSTRING		"expat.library 5.1 (31.1.2009)"  /* dd.mm.yyyy */
 
 
 static const char* __attribute__((used)) verstag = "\0$VER: " VSTRING;

Index: expat_vectors.c
===================================================================
RCS file: /cvsroot/expat/expat/amiga/expat_vectors.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- expat_vectors.c	3 Jun 2007 14:54:25 -0000	1.2
+++ expat_vectors.c	31 Jan 2009 20:57:34 -0000	1.3
@@ -1,5 +1,5 @@
 /*
-** Copyright (c) 2001-2007 Expat maintainers.
+** Copyright (c) 2001-2009 Expat maintainers.
 **
 ** Permission is hereby granted, free of charge, to any person obtaining
 ** a copy of this software and associated documentation files (the
@@ -8,10 +8,10 @@
 ** distribute, sublicense, and/or sell copies of the Software, and to
 ** permit persons to whom the Software is furnished to do so, subject to
 ** the following conditions:
-** 
+**
 ** The above copyright notice and this permission notice shall be included
 ** in all copies or substantial portions of the Software.
-** 
+**
 ** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.

Index: stdlib.c
===================================================================
RCS file: /cvsroot/expat/expat/amiga/stdlib.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- stdlib.c	3 Jun 2007 14:55:09 -0000	1.3
+++ stdlib.c	31 Jan 2009 20:57:34 -0000	1.4
@@ -1,5 +1,5 @@
 /*
-** Copyright (c) 2001-2007 Expat maintainers.
+** Copyright (c) 2001-2009 Expat maintainers.
 **
 ** Permission is hereby granted, free of charge, to any person obtaining
 ** a copy of this software and associated documentation files (the
@@ -8,10 +8,10 @@
 ** distribute, sublicense, and/or sell copies of the Software, and to
 ** permit persons to whom the Software is furnished to do so, subject to
 ** the following conditions:
-** 
+**
 ** The above copyright notice and this permission notice shall be included
 ** in all copies or substantial portions of the Software.
-** 
+**
 ** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.



More information about the Expat-checkins mailing list