1 # Copyright 2000, International Business Machines Corporation and others.
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
9 !INCLUDE ..\config\NTMakefile.$(SYS_NAME)
10 !IF (EXIST(..\config\NTMakefile.version))
11 !INCLUDE ..\config\NTMakefile.version
14 # Definitions for installing header files
16 INCFILEDIR = $(DESTDIR)\include\afs
19 $(INCFILEDIR)\afsint.h \
20 $(INCFILEDIR)\afscbint.h
24 LIBFILE = $(DESTDIR)\lib\afs\afsint.lib
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 \
34 $(OUT)\AFS_component_version_number.obj
36 $(LIBFILE): $(LIBOBJS)
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
43 afscbint.ss.c: common.xg afscbint.xg afsint.h afscbint.h
44 $(RXGEN) -x -S -o afscbint.ss.c afscbint.xg
46 afscbint.xdr.c: common.xg afscbint.xg afsint.h afscbint.h
47 $(RXGEN) -x -y -c -o afscbint.xdr.c afscbint.xg
49 afscbint.h: common.xg afscbint.xg
50 $(RXGEN) -x -h -o afscbint.h afscbint.xg
52 afsint.cs.c: common.xg afsint.xg afsint.h
53 $(RXGEN) -x -C -o afsint.cs.c afsint.xg
55 afsint.ss.c: common.xg afsint.xg afsint.h
56 $(RXGEN) -x -S -o afsint.ss.c afsint.xg
58 afsint.xdr.c: common.xg afsint.xg
59 $(RXGEN) -x -c -o afsint.xdr.c afsint.xg
61 afsint.h: common.xg afsint.xg
62 $(RXGEN) -x -h -o afsint.h afsint.xg
67 MT_LIBFILE = $(DESTDIR)\lib\afs\mtafsint.lib
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
80 $(OUT)\afscbint.cs_mt.obj:afscbint.cs.c
81 $(C2OBJ) $** -DAFS_PTHREAD_ENV
83 $(OUT)\afscbint.ss_mt.obj:afscbint.ss.c
84 $(C2OBJ) $** -DAFS_PTHREAD_ENV
86 $(OUT)\afscbint.xdr_mt.obj:afscbint.xdr.c
87 $(C2OBJ) $** -DAFS_PTHREAD_ENV
89 $(OUT)\afsint.cs_mt.obj:afsint.cs.c
90 $(C2OBJ) $** -DAFS_PTHREAD_ENV
92 $(OUT)\afsint.ss_mt.obj:afsint.ss.c
93 $(C2OBJ) $** -DAFS_PTHREAD_ENV
95 $(OUT)\afsint.xdr_mt.obj:afsint.xdr.c
96 $(C2OBJ) $** -DAFS_PTHREAD_ENV
98 $(OUT)\afsaux_mt.obj:afsaux.c
99 $(C2OBJ) $** -DAFS_PTHREAD_ENV
101 $(MT_LIBFILE): $(MT_LIBOBJS)
104 install: $(LIBFILE) $(INCFILES) $(MT_LIBFILE)
107 $(DEL) *.cs.c *.ss.c *.xdr.c afsint.h afscbint.h
108 $(DEL) $(LIBFILE) $(MT_LIBFILE)