Commit | Line | Data |
---|---|---|
805e021f CE |
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 | !IFDEF CML_PREFIX | |
17 | CML_ARG=-c $(CML_PREFIX) | |
18 | !ENDIF | |
19 | ||
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) | |
24 | ||
25 | $(VERSFILE).h: | |
26 | $(DESTDIR)\bin\mkvers -o $(VERSFILE).h -v | |
27 | ||
28 | $(VERSFILE).txt: | |
29 | $(DESTDIR)\bin\mkvers -o $(VERSFILE).txt -t | |
30 | ||
31 | $(VERSFILE).xml: | |
32 | $(DESTDIR)\bin\mkvers -o $(VERSFILE).xml -x |