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 | RELDIR=fsint | |
9 | !INCLUDE ..\config\NTMakefile.$(SYS_NAME) | |
10 | !IF (EXIST(..\config\NTMakefile.version)) | |
11 | !INCLUDE ..\config\NTMakefile.version | |
12 | !ENDIF | |
13 | ||
14 | # Definitions for installing header files | |
15 | ||
16 | INCFILEDIR = $(DESTDIR)\include\afs | |
17 | ||
18 | INCFILES =\ | |
19 | $(INCFILEDIR)\afsint.h \ | |
20 | $(INCFILEDIR)\afscbint.h | |
21 | ||
22 | # afsint.lib | |
23 | ||
24 | LIBFILE = $(DESTDIR)\lib\afs\afsint.lib | |
25 | ||
26 | LIBOBJS =\ | |
27 | $(OUT)\afscbint.cs.obj \ | |
28 | $(OUT)\afscbint.ss.obj \ | |
29 | $(OUT)\afscbint.xdr.obj \ | |
30 | $(OUT)\afsint.cs.obj \ | |
31 | $(OUT)\afsint.ss.obj \ | |
32 | $(OUT)\afsint.xdr.obj \ | |
33 | $(OUT)\afsaux.obj \ | |
34 | $(OUT)\AFS_component_version_number.obj | |
35 | ||
36 | $(LIBFILE): $(LIBOBJS) | |
37 | $(LIBARCH) | |
38 | ||
39 | # use rxgen on afscbint.xg and afsint.xg | |
40 | afscbint.cs.c: common.xg afscbint.xg afsint.h afscbint.h | |
41 | $(RXGEN) -x -C -o afscbint.cs.c afscbint.xg | |
42 | ||
43 | afscbint.ss.c: common.xg afscbint.xg afsint.h afscbint.h | |
44 | $(RXGEN) -x -S -o afscbint.ss.c afscbint.xg | |
45 | ||
46 | afscbint.xdr.c: common.xg afscbint.xg afsint.h afscbint.h | |
47 | $(RXGEN) -x -y -c -o afscbint.xdr.c afscbint.xg | |
48 | ||
49 | afscbint.h: common.xg afscbint.xg | |
50 | $(RXGEN) -x -h -o afscbint.h afscbint.xg | |
51 | ||
52 | afsint.cs.c: common.xg afsint.xg afsint.h | |
53 | $(RXGEN) -x -C -o afsint.cs.c afsint.xg | |
54 | ||
55 | afsint.ss.c: common.xg afsint.xg afsint.h | |
56 | $(RXGEN) -x -S -o afsint.ss.c afsint.xg | |
57 | ||
58 | afsint.xdr.c: common.xg afsint.xg | |
59 | $(RXGEN) -x -c -o afsint.xdr.c afsint.xg | |
60 | ||
61 | afsint.h: common.xg afsint.xg | |
62 | $(RXGEN) -x -h -o afsint.h afsint.xg | |
63 | ||
64 | ||
65 | # mtafsint.lib | |
66 | ||
67 | MT_LIBFILE = $(DESTDIR)\lib\afs\mtafsint.lib | |
68 | ||
69 | MT_LIBOBJS =\ | |
70 | $(OUT)\afscbint.cs_mt.obj \ | |
71 | $(OUT)\afscbint.ss_mt.obj \ | |
72 | $(OUT)\afscbint.xdr_mt.obj \ | |
73 | $(OUT)\afsint.cs_mt.obj \ | |
74 | $(OUT)\afsint.ss_mt.obj \ | |
75 | $(OUT)\afsint.xdr_mt.obj \ | |
76 | $(OUT)\afsaux_mt.obj \ | |
77 | $(OUT)\AFS_component_version_number.obj | |
78 | ||
79 | ||
80 | $(OUT)\afscbint.cs_mt.obj:afscbint.cs.c | |
81 | $(C2OBJ) $** -DAFS_PTHREAD_ENV | |
82 | ||
83 | $(OUT)\afscbint.ss_mt.obj:afscbint.ss.c | |
84 | $(C2OBJ) $** -DAFS_PTHREAD_ENV | |
85 | ||
86 | $(OUT)\afscbint.xdr_mt.obj:afscbint.xdr.c | |
87 | $(C2OBJ) $** -DAFS_PTHREAD_ENV | |
88 | ||
89 | $(OUT)\afsint.cs_mt.obj:afsint.cs.c | |
90 | $(C2OBJ) $** -DAFS_PTHREAD_ENV | |
91 | ||
92 | $(OUT)\afsint.ss_mt.obj:afsint.ss.c | |
93 | $(C2OBJ) $** -DAFS_PTHREAD_ENV | |
94 | ||
95 | $(OUT)\afsint.xdr_mt.obj:afsint.xdr.c | |
96 | $(C2OBJ) $** -DAFS_PTHREAD_ENV | |
97 | ||
98 | $(OUT)\afsaux_mt.obj:afsaux.c | |
99 | $(C2OBJ) $** -DAFS_PTHREAD_ENV | |
100 | ||
101 | $(MT_LIBFILE): $(MT_LIBOBJS) | |
102 | $(LIBARCH) | |
103 | ||
104 | install: $(LIBFILE) $(INCFILES) $(MT_LIBFILE) | |
105 | ||
106 | clean:: | |
107 | $(DEL) *.cs.c *.ss.c *.xdr.c afsint.h afscbint.h | |
108 | $(DEL) $(LIBFILE) $(MT_LIBFILE) | |
109 | mkdir: | |
110 |