build: remove trailing whitespace from makefiles
[openafs.git] / src / rxkad / 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=rxkad
9 !INCLUDE ..\config\NTMakefile.$(SYS_NAME)
10 !INCLUDE ..\config\NTMakefile.version
11
12 INCFILEDIR = $(DESTDIR)\include\rx  # header file install directory
13
14 INCFILES =\
15         $(INCFILEDIR)\rxkad_prototypes.h \
16         $(INCFILEDIR)\asn1_err.h \
17         $(INCFILEDIR)\v5gen.h \
18         $(INCFILEDIR)\rxkad.h \
19         $(INCFILEDIR)\rxkad_convert.h
20
21 # build afsrxkad.lib
22 LIBOBJS =\
23         $(OUT)\rxkad_client.obj \
24         $(OUT)\rxkad_server.obj \
25         $(OUT)\rxkad_common.obj \
26         $(OUT)\ticket.obj \
27         $(OUT)\rxkad_errs.obj \
28         $(OUT)\AFS_component_version_number.obj \
29         $(OUT)\bg-fcrypt.obj \
30         $(OUT)\ticket5.obj \
31         $(OUT)\crc.obj \
32         $(OUT)\crypt_conn.obj
33
34 $(LIBOBJS):
35
36 # afsrxkad.lib
37 LIBFILE = $(DESTDIR)\lib\afsrxkad.lib
38
39 $(LIBFILE): $(LIBOBJS)
40         $(LIBARCH)
41
42 # generate rxkad.h and rxkad_errs.c from rxkad_errs.et
43
44 $(INCFILES):$$(@F)
45          $(COPY)  $** $(INCFILEDIR)\.
46          $(COPY)  fcrypt.h $(INCFILEDIR)\.
47          $(COPY)  stats.h $(INCFILEDIR)\rxkad_stats.h
48
49 rxkad.h rxkad_errs.c : rxkad_errs.et rxkad.p.h
50         $(DEL) rxkad_errs.c
51         $(COMPILE_ET) rxkad_errs -h rxkad
52
53 $(OUT)\fcrypt.obj: fcrypt.c fcrypt.h sboxes.h rxkad.h rxkad_prototypes.h
54         $(C2OBJ) fcrypt.c
55
56 $(OUT)\crypt_conn.obj: crypt_conn.c fcrypt.h private_data.h
57         $(C2OBJ) crypt_conn.c
58
59 install: $(INCFILES) $(LIBFILE)
60
61 clean::
62         $(DEL) rxkad.h rxkad_errs.c $(INCFILES) $(INCFILEDIR)\fcrypt.h
63         $(DEL) $(LIBFILE)
64
65 mkdir:
66