1 # Copyright 2000, International Business Machines Corporation and others.
4 # This software has been released under the terms of the IBM Public
5 # License. For details, see the LICENSE file in the top-level source
6 # directory or online at http://www.openafs.org/dl/license10.html
10 VERSFILE=AFS_component_version_number
12 $(VERSFILE).o: $(VERSFILE).c
14 $(VERSFILE).c: @TOP_OBJDIR@/src/config/Makefile.version
15 echo 'char cml_version_number[]="@(#) OpenAFS ${VERSION} built ' `date +"%Y-%m-%d"` '";' >$(VERSFILE).c
16 echo 'char* AFSVersion = "${PACKAGE} ${VERSION}"; ' >>$(VERSFILE).c
19 echo '<?xml version="1.0" encoding="UTF-8"?>' >$(VERSFILE).xml
20 echo '<revision>' >>$(VERSFILE).xml
21 echo '<revnumber>${VERSION}</revnumber>' >>$(VERSFILE).xml
22 echo '</revision>' >>$(VERSFILE).xml