Added version number to binary
authorceriel <none@none>
Mon, 29 May 1989 11:17:40 +0000 (11:17 +0000)
committerceriel <none@none>
Mon, 29 May 1989 11:17:40 +0000 (11:17 +0000)
util/cpp/.distr
util/cpp/Makefile
util/cpp/Version.c [new file with mode: 0644]

index 7815b2b..a38425c 100644 (file)
@@ -32,3 +32,4 @@ scan.c
 skip.c
 tokenname.c
 cpp.6
+Version.c
index 77a1814..49ca7b2 100644 (file)
@@ -41,10 +41,10 @@ LOBJ =      tokenfile.o expression.o Lpars.o
 
 # Objects of hand-written C files
 CSRC = LLlex.c LLmessage.c ch7bin.c ch7mon.c domacro.c \
-       error.c idf.c init.c input.c main.c options.c \
+       error.c idf.c init.c input.c main.c options.c Version.c \
        preprocess.c replace.c scan.c skip.c tokenname.c next.c expr.c
 COBJ = LLlex.o LLmessage.o ch7bin.o ch7mon.o domacro.o \
-       error.o idf.o init.o input.o main.o options.o \
+       error.o idf.o init.o input.o main.o options.o Version.o \
        preprocess.o replace.o scan.o skip.o tokenname.o next.o expr.o
 
 PRFILES = Makefile Parameters \
diff --git a/util/cpp/Version.c b/util/cpp/Version.c
new file mode 100644 (file)
index 0000000..0a2ab69
--- /dev/null
@@ -0,0 +1,8 @@
+/* $Header$ */
+/*
+ * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
+ * See the copyright notice in the ACK home directory, in the file "Copyright".
+ */
+#ifndef        lint
+static char Version[] = "ACK C preprocessor Version 1.3";
+#endif lint