Standardize License information
[openafs.git] / src / fsint / 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 !INCLUDE ..\config\NTMakefile.$(SYS_NAME)
9 !INCLUDE ..\config\NTMakefile.version
10
11 # Definitions for installing header files
12
13 INCFILEDIR = $(DESTDIR)\include\afs
14
15 INCFILES =\
16         $(INCFILEDIR)\afsint.h \
17         $(INCFILEDIR)\afscbint.h
18
19 # afsint.lib
20
21 LIBFILE = $(DESTDIR)\lib\afs\afsint.lib
22
23 LIBOBJS =\
24         afscbint.cs.obj \
25         afscbint.ss.obj \
26         afscbint.xdr.obj \
27         afsint.cs.obj   \
28         afsint.ss.obj   \
29         afsint.xdr.obj  \
30         afsaux.obj      \
31         AFS_component_version_number.obj
32
33 $(LIBFILE): $(LIBOBJS)  
34         $(LIBARCH)  
35
36
37 # use rxgen on afscbint.xg and afsint.xg
38 afscbint.cs.c afscbint.ss.c afscbint.xdr.c afscbint.h : afscbint.xg common.xg
39         $(RXGEN) -x -y afscbint.xg
40
41 afsint.cs.c afsint.ss.c afsint.xdr.c afsint.h: afsint.xg common.xg
42         $(RXGEN) -x afsint.xg
43
44 # mtafsint.lib
45
46 MT_LIBFILE = $(DESTDIR)\lib\afs\mtafsint.lib
47
48 MT_LIBOBJS =\
49         afscbint.cs_mt.obj \
50         afscbint.ss_mt.obj \
51         afscbint.xdr_mt.obj \
52         afsint.cs_mt.obj        \
53         afsint.ss_mt.obj        \
54         afsint.xdr_mt.obj       \
55         afsaux_mt.obj      \
56         AFS_component_version_number.obj
57
58 afscbint.cs_mt.obj:afscbint.cs.c
59         $(C2OBJ) afscbint.cs.c -DAFS_PTHREAD_ENV /Foafscbint.cs_mt.obj
60
61 afscbint.ss_mt.obj:afscbint.ss.c
62         $(C2OBJ) afscbint.ss.c -DAFS_PTHREAD_ENV /Foafscbint.ss_mt.obj
63
64 afscbint.xdr_mt.obj:afscbint.xdr.c
65         $(C2OBJ) afscbint.xdr.c -DAFS_PTHREAD_ENV /Foafscbint.xdr_mt.obj
66
67 afsint.cs_mt.obj:afsint.cs.c
68         $(C2OBJ) afsint.cs.c -DAFS_PTHREAD_ENV /Foafsint.cs_mt.obj
69
70 afsint.ss_mt.obj:afsint.ss.c
71         $(C2OBJ) afsint.ss.c -DAFS_PTHREAD_ENV /Foafsint.ss_mt.obj
72
73 afsint.xdr_mt.obj:afsint.xdr.c
74         $(C2OBJ) afsint.xdr.c -DAFS_PTHREAD_ENV /Foafsint.xdr_mt.obj
75
76 afsaux_mt.obj:afsaux.c
77         $(C2OBJ) afsaux.c -DAFS_PTHREAD_ENV /Foafsaux_mt.obj
78
79 $(MT_LIBFILE): $(MT_LIBOBJS)  
80         $(LIBARCH)  
81
82 install: $(LIBFILE) $(INCFILES) $(MT_LIBFILE)
83
84 clean::
85         $(DEL) *.cs.c *.ss.c *.xdr.c afsint.h afscbint.h