cachemgr-setuerror-ifdef-cleanup-20020827
[openafs.git] / src / config / NTMakefile.version-NOCML
1 # Copyright 2000, International Business Machines Corporation and others.
2 # All Rights Reserved.
3
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
7
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.
11
12 !IFNDEF VERSFILE
13 VERSFILE=AFS_component_version_number
14 !ENDIF
15
16 $(VERSFILE).c:
17         echo char $(CML_PREFIX)cml_version_number[]="@(#)CML not accessible: No version information"; >$(VERSFILE).c
18         echo char* AFSVersion = "afs??";  >>$(VERSFILE).c
19
20 $(VERSFILE).h:
21         echo #define AFS_VERINFO_BUILD "CML not accessible: No version information" >$(VERSFILE).h
22
23 $(VERSFILE).txt:
24         echo CML not accessible: No version information >$(VERSFILE).txt