trunk: changeset 12

Sat, 29 Apr 2000 15:35:45 +0200

author
tuomov
date
Sat, 29 Apr 2000 15:35:45 +0200
changeset 9
55e7f2ff6021
parent 8
c1994196683f
child 10
ab335fe0d26d

trunk: changeset 12
Changed the copyright notice in headers

Makefile file | annotate | diff | comparison | revisions
include/libtu/misc.h file | annotate | diff | comparison | revisions
include/libtu/optparser.h file | annotate | diff | comparison | revisions
include/libtu/output.h file | annotate | diff | comparison | revisions
include/libtu/parser.h file | annotate | diff | comparison | revisions
include/libtu/tokenizer.h file | annotate | diff | comparison | revisions
include/libtu/types.h file | annotate | diff | comparison | revisions
include/libtu/util.h file | annotate | diff | comparison | revisions
misc.c file | annotate | diff | comparison | revisions
np-conv.h file | annotate | diff | comparison | revisions
numparser2.h file | annotate | diff | comparison | revisions
optparser.c file | annotate | diff | comparison | revisions
output.c file | annotate | diff | comparison | revisions
parser.c file | annotate | diff | comparison | revisions
rules.mk file | annotate | diff | comparison | revisions
system.mk file | annotate | diff | comparison | revisions
tester.c file | annotate | diff | comparison | revisions
tester2.c file | annotate | diff | comparison | revisions
tester3.c file | annotate | diff | comparison | revisions
tokenizer.c file | annotate | diff | comparison | revisions
util.c file | annotate | diff | comparison | revisions
--- a/Makefile	Sat Apr 22 17:34:20 2000 +0200
+++ b/Makefile	Sat Apr 29 15:35:45 2000 +0200
@@ -26,16 +26,16 @@
 testers: $(TESTERS)
 
 libtu.a: $(OBJS)
-	$(AR) $(AR_FLAGS) $@ $+
+	$(AR) $(ARFLAGS) $@ $+
 
 tester: tester.c libtu.a
-	$(CC) $(CC_FLAGS) $< -L. -ltu -lm -o $@
+	$(CC) $(CFLAGS) $< -L. -ltu -lm -o $@
 
 tester2: tester2.c libtu.a
-	$(CC) $(CC_FLAGS) $< -L. -ltu -lm -o $@
+	$(CC) $(CFLAGS) $< -L. -ltu -lm -o $@
 
 tester3: tester3.c libtu.a
-	$(CC) $(CC_FLAGS) $< -L. -ltu -lm -o $@
+	$(CC) $(CFLAGS) $< -L. -ltu -lm -o $@
 
 _install:
 	$(INSTALL) -d $(LIBDIR)
--- a/include/libtu/misc.h	Sat Apr 22 17:34:20 2000 +0200
+++ b/include/libtu/misc.h	Sat Apr 29 15:35:45 2000 +0200
@@ -1,9 +1,7 @@
 /*
  * libtu/misc.h
  *
- * Copyright (c) Tuomo Valkonen 1999-2000.
- * 
- * This file is distributed under the terms of the "Artistic License".
+ * Copyright (c) Tuomo Valkonen 1999-2000. 
  * See the included file LICENSE for details.
  */
 
--- a/include/libtu/optparser.h	Sat Apr 22 17:34:20 2000 +0200
+++ b/include/libtu/optparser.h	Sat Apr 29 15:35:45 2000 +0200
@@ -1,9 +1,7 @@
 /*
  * libtu/optparser.h
  *
- * Copyright (c) Tuomo Valkonen 1999-2000.
- * 
- * This file is distributed under the terms of the "Artistic License".
+ * Copyright (c) Tuomo Valkonen 1999-2000. 
  * See the included file LICENSE for details.
  */
 
--- a/include/libtu/output.h	Sat Apr 22 17:34:20 2000 +0200
+++ b/include/libtu/output.h	Sat Apr 29 15:35:45 2000 +0200
@@ -1,9 +1,7 @@
 /*
  * libtu/output.h
  *
- * Copyright (c) Tuomo Valkonen 1999-2000.
- * 
- * This file is distributed under the terms of the "Artistic License".
+ * Copyright (c) Tuomo Valkonen 1999-2000. 
  * See the included file LICENSE for details.
  */
 
--- a/include/libtu/parser.h	Sat Apr 22 17:34:20 2000 +0200
+++ b/include/libtu/parser.h	Sat Apr 29 15:35:45 2000 +0200
@@ -1,9 +1,7 @@
 /*
  * libtu/parser.h
  *
- * Copyright (c) Tuomo Valkonen 1999-2000.
- * 
- * This file is distributed under the terms of the "Artistic License".
+ * Copyright (c) Tuomo Valkonen 1999-2000. 
  * See the included file LICENSE for details.
  */
 
--- a/include/libtu/tokenizer.h	Sat Apr 22 17:34:20 2000 +0200
+++ b/include/libtu/tokenizer.h	Sat Apr 29 15:35:45 2000 +0200
@@ -1,9 +1,7 @@
 /*
  * libtu/tokenizer.h
  *
- * Copyright (c) Tuomo Valkonen 1999-2000.
- * 
- * This file is distributed under the terms of the "Artistic License".
+ * Copyright (c) Tuomo Valkonen 1999-2000. 
  * See the included file LICENSE for details.
  */
 
--- a/include/libtu/types.h	Sat Apr 22 17:34:20 2000 +0200
+++ b/include/libtu/types.h	Sat Apr 29 15:35:45 2000 +0200
@@ -1,9 +1,7 @@
 /*
  * libtu/types.h
  *
- * Copyright (c) Tuomo Valkonen 1999-2000.
- * 
- * This file is distributed under the terms of the "Artistic License".
+ * Copyright (c) Tuomo Valkonen 1999-2000. 
  * See the included file LICENSE for details.
  */
 
--- a/include/libtu/util.h	Sat Apr 22 17:34:20 2000 +0200
+++ b/include/libtu/util.h	Sat Apr 29 15:35:45 2000 +0200
@@ -1,14 +1,12 @@
 /*
  * libtu/util.h
  *
- * Copyright (c) Tuomo Valkonen 1999-2000.
- * 
- * This file is distributed under the terms of the "Artistic License".
+ * Copyright (c) Tuomo Valkonen 1999-2000. 
  * See the included file LICENSE for details.
  */
 
-#ifndef __LIBTU_UTIL_H
-#define __LIBTU_UTIL_H
+#ifndef LIBTU_UTIL_H
+#define LIBTU_UTIL_H
 
 #include <stdarg.h>
 #include <stdio.h>
@@ -37,4 +35,4 @@
 extern const char *prog_license();
 extern const char *prog_usage();
 
-#endif /* __LIBTU_UTIL_H */
+#endif /* LIBTU_UTIL_H */
--- a/misc.c	Sat Apr 22 17:34:20 2000 +0200
+++ b/misc.c	Sat Apr 29 15:35:45 2000 +0200
@@ -1,9 +1,7 @@
 /*
  * libtu/misc.c
  *
- * Copyright (c) Tuomo Valkonen 1999-2000.
- * 
- * This file is distributed under the terms of the "Artistic License".
+ * Copyright (c) Tuomo Valkonen 1999-2000. 
  * See the included file LICENSE for details.
  */
 
--- a/np-conv.h	Sat Apr 22 17:34:20 2000 +0200
+++ b/np-conv.h	Sat Apr 29 15:35:45 2000 +0200
@@ -1,9 +1,7 @@
 /*
  * libtu/np-conv.h
  *
- * Copyright (c) Tuomo Valkonen 1999-2000.
- * 
- * This file is distributed under the terms of the "Artistic License".
+ * Copyright (c) Tuomo Valkonen 1999-2000. 
  * See the included file LICENSE for details.
  */
 
--- a/numparser2.h	Sat Apr 22 17:34:20 2000 +0200
+++ b/numparser2.h	Sat Apr 29 15:35:45 2000 +0200
@@ -1,9 +1,7 @@
 /*
  * libtu/numparser2.h
  *
- * Copyright (c) Tuomo Valkonen 1999-2000.
- * 
- * This file is distributed under the terms of the "Artistic License".
+ * Copyright (c) Tuomo Valkonen 1999-2000. 
  * See the included file LICENSE for details.
  */
 
--- a/optparser.c	Sat Apr 22 17:34:20 2000 +0200
+++ b/optparser.c	Sat Apr 29 15:35:45 2000 +0200
@@ -1,9 +1,7 @@
 /*
  * libtu/optparser.c
  *
- * Copyright (c) Tuomo Valkonen 1999-2000.
- * 
- * This file is distributed under the terms of the "Artistic License".
+ * Copyright (c) Tuomo Valkonen 1999-2000. 
  * See the included file LICENSE for details.
  */
 
--- a/output.c	Sat Apr 22 17:34:20 2000 +0200
+++ b/output.c	Sat Apr 29 15:35:45 2000 +0200
@@ -1,9 +1,7 @@
 /*
  * libtu/output.c
  *
- * Copyright (c) Tuomo Valkonen 1999-2000.
- * 
- * This file is distributed under the terms of the "Artistic License".
+ * Copyright (c) Tuomo Valkonen 1999-2000. 
  * See the included file LICENSE for details.
  */
 
--- a/parser.c	Sat Apr 22 17:34:20 2000 +0200
+++ b/parser.c	Sat Apr 29 15:35:45 2000 +0200
@@ -1,9 +1,7 @@
 /*
  * libtu/parser.c
  *
- * Copyright (c) Tuomo Valkonen 1999-2000.
- * 
- * This file is distributed under the terms of the "Artistic License".
+ * Copyright (c) Tuomo Valkonen 1999-2000. 
  * See the included file LICENSE for details.
  */
 
--- a/rules.mk	Sat Apr 22 17:34:20 2000 +0200
+++ b/rules.mk	Sat Apr 29 15:35:45 2000 +0200
@@ -39,7 +39,7 @@
 ######################################
 
 .c.o:
-	$(CC) $(CC_FLAGS) -c $< -o $@
+	$(CC) $(CFLAGS) -c $< -o $@
 
 _clean: 
 	rm -f core $(OBJS) $(DEPEND_FILE)
@@ -53,19 +53,19 @@
 ######################################
 
 subdirs:
-	set -e; for i in $$(SUBDIRS); do $(MAKE) -C $$i; done
+	set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i; done
 
 subdirs-depend:
-	set -e; for i in $$(SUBDIRS); do $(MAKE) -C $$i depend; done
+	set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i depend; done
 
 subdirs-clean:
-	set -e; for i in $$(SUBDIRS); do $(MAKE) -C $$i clean; done
+	set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i clean; done
 
 subdirs-realclean:
-	set -e; for i in $$(SUBDIRS); do $(MAKE) -C $$i realclean; done
+	set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i realclean; done
 
 subdirs-install:
-	set -e; for i in $$(INSTALL_SUBDIRS); do $(MAKE) -C $$i install; done
+	set -e; for i in $(INSTALL_SUBDIRS); do $(MAKE) -C $$i install; done
 
 ######################################
 
--- a/system.mk	Sat Apr 22 17:34:20 2000 +0200
+++ b/system.mk	Sat Apr 29 15:35:45 2000 +0200
@@ -35,7 +35,7 @@
 
 ANSI_SOURCE=-ansi
 # gnu libc
-XOPEN_SOURCE=-ansi -D_XOPEN_SOURCE
+XOPEN_SOURCE=-ansi -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED
 # most other systems
 #XOPEN_SOURCE=-ansi -D__EXTENSIONS__
 
@@ -45,8 +45,8 @@
 	-Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized \
 	-Wparentheses -pedantic-errors
 
-CC_FLAGS=-g -O2 $(WARN) $(DEFINES) $(INCLUDES) $(EXTRA_INCLUDES)
-LINK_FLAGS=-g $(LIBS) $(EXTRA_LIBS)
+CFLAGS=-g -O2 $(WARN) $(DEFINES) $(INCLUDES) $(EXTRA_INCLUDES)
+LDFLAGS=-g $(LIBS) $(EXTRA_LIBS)
 
 
 ##
@@ -62,7 +62,7 @@
 ##
 
 AR=ar
-AR_FLAGS=crs
+ARFLAGS=crs
 
 
 ##
--- a/tester.c	Sat Apr 22 17:34:20 2000 +0200
+++ b/tester.c	Sat Apr 29 15:35:45 2000 +0200
@@ -1,9 +1,7 @@
 /*
  * libtu/tester.c
  *
- * Copyright (c) Tuomo Valkonen 1999-2000.
- * 
- * This file is distributed under the terms of the "Artistic License".
+ * Copyright (c) Tuomo Valkonen 1999-2000. 
  * See the included file LICENSE for details.
  */
 
--- a/tester2.c	Sat Apr 22 17:34:20 2000 +0200
+++ b/tester2.c	Sat Apr 29 15:35:45 2000 +0200
@@ -1,9 +1,7 @@
 /*
  * libtu/tester2.c
  *
- * Copyright (c) Tuomo Valkonen 1999-2000.
- * 
- * This file is distributed under the terms of the "Artistic License".
+ * Copyright (c) Tuomo Valkonen 1999-2000. 
  * See the included file LICENSE for details.
  */
 
--- a/tester3.c	Sat Apr 22 17:34:20 2000 +0200
+++ b/tester3.c	Sat Apr 29 15:35:45 2000 +0200
@@ -1,9 +1,7 @@
 /*
  * libtu/tester3.c
  *
- * Copyright (c) Tuomo Valkonen 1999-2000.
- * 
- * This file is distributed under the terms of the "Artistic License".
+ * Copyright (c) Tuomo Valkonen 1999-2000. 
  * See the included file LICENSE for details.
  */
 
--- a/tokenizer.c	Sat Apr 22 17:34:20 2000 +0200
+++ b/tokenizer.c	Sat Apr 29 15:35:45 2000 +0200
@@ -1,9 +1,7 @@
 /*
  * libtu/tokenizer.c
  *
- * Copyright (c) Tuomo Valkonen 1999-2000.
- * 
- * This file is distributed under the terms of the "Artistic License".
+ * Copyright (c) Tuomo Valkonen 1999-2000. 
  * See the included file LICENSE for details.
  */
 
--- a/util.c	Sat Apr 22 17:34:20 2000 +0200
+++ b/util.c	Sat Apr 29 15:35:45 2000 +0200
@@ -1,9 +1,7 @@
 /*
  * libtu/util.c
  *
- * Copyright (c) Tuomo Valkonen 1999-2000.
- * 
- * This file is distributed under the terms of the "Artistic License".
+ * Copyright (c) Tuomo Valkonen 1999-2000. 
  * See the included file LICENSE for details.
  */
 

mercurial