Merge 1.8.0~pre4 packaging into master
[pkg-k5-afs_openafs.git] / src / config / NTMakefile.version-CML
blob5969a82529cf1302d18adc384c0cc397f3ff1330
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
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.
12 !IFNDEF VERSFILE
13 VERSFILE=AFS_component_version_number
14 !ENDIF
16 !IFDEF CML_PREFIX
17 CML_ARG=-c $(CML_PREFIX)
18 !ENDIF
20 # Since we don't really know the ../ path, we need to check timestamps in
21 # in mkvers. 
22 $(VERSFILE).c:
23         $(DESTDIR)\bin\mkvers -o $(VERSFILE).c $(CML_ARG)
25 $(VERSFILE).h:
26         $(DESTDIR)\bin\mkvers -o $(VERSFILE).h -v
28 $(VERSFILE).txt:
29         $(DESTDIR)\bin\mkvers -o $(VERSFILE).txt -t
31 $(VERSFILE).xml:
32         $(DESTDIR)\bin\mkvers -o $(VERSFILE).xml -x