Windows: remove install9x rules
[openafs.git] / src / cmd / NTMakefile
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 RELDIR=cmd
9 !INCLUDE ..\config\NTMakefile.$(SYS_NAME)
10 !INCLUDE ..\config\NTMakefile.version
11
12 # install include files 
13 INCFILEDIR = $(DESTDIR)\include\afs 
14
15 INCFILES =\
16         $(INCFILEDIR)\cmd.h
17
18
19 # build afscmd.lib
20 LIBFILE = $(DESTDIR)\lib\afs\afscmd.lib
21
22 LIBOBJS =\
23         $(OUT)\cmd_errors.obj \
24         $(OUT)\cmd.obj \
25         $(OUT)\AFS_component_version_number.obj
26         
27 $(LIBOBJS): $$(@B).c
28     $(C2OBJ) $**
29
30 $(LIBFILE): $(LIBOBJS)
31         $(LIBARCH) 
32
33 $(INCFILES):$$(@F)
34          $(COPY)  $** $(INCFILEDIR)\.
35
36 cmd_errors.c cmd.h: cmd_errors.et cmd.p.h
37         $(DEL) cmd_errors.c cmd.h
38         $(COMPILE_ET) cmd_errors.et -h cmd
39
40 install: cmd.h $(LIBFILE) $(INCFILES)
41
42 clean::
43         $(DEL) cmd_errors.c cmd.h $(INCFILES)
44         $(DEL) $(LIBFILE)
45         $(DEL) *.PDB
46
47 test tests:
48
49 mkdir:
50