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
8 # This makefile creates the AFS_component_version_number.c header file
9 # for binaries. It is invoked from the NTMakefile in the binary's tree. Hence
10 # the paths are correct for those trees.
13 VERSFILE=AFS_component_version_number
17 echo char $(CML_PREFIX)cml_version_number[]="@(#)OpenAFS$(AFSPRODUCT_VERSION)"; >$(VERSFILE).c
18 echo char* AFSVersion = "OpenAFS$(AFSPRODUCT_VERSION)"; >>$(VERSFILE).c
21 echo #define AFS_VERINFO_BUILD "OpenAFS$(AFSPRODUCT_VERSION)" >$(VERSFILE).h
24 echo OpenAFS$(AFSPRODUCT_VERSION)>$(VERSFILE).txt