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 !INCLUDE ..\config\NTMakefile.version
12 ####################################################################
13 # install comerr header files
14 INCFILEDIR = $(DESTDIR)\include\afs
16 $(INCFILEDIR)\com_err.h \
17 $(INCFILEDIR)\error_table.h \
18 $(INCFILEDIR)\mit-sipb-cr.h
20 ####################################################################
21 # build and install afscom_err.lib static lib
22 COMERR_LIBFILE = $(DESTDIR)\lib\afs\afscom_err.lib
25 $(OUT)\error_msg.obj \
28 $(OUT)\AFS_component_version_number.obj
30 $(COMERR_LIBOBJS): $$(@B).c
33 $(COMERR_LIBFILE): $(COMERR_LIBOBJS)
36 ####################################################################
37 # build and install the compile_et executable
38 COMPILE_ET_EXEFILE = $(DESTDIR)\bin\compile_et.exe
40 COMPILE_ET_EXERES = $(OUT)\compile_et.res
43 $(DESTDIR)\bin\touch et_lex.lex_nt.c
44 $(DESTDIR)\bin\touch error_table_nt.c
45 @echo If you update et_lex.lex.l, to build correctly, you should delete error_table_nt.c
47 et_lex.lex_nt.c: et_lex.lex.l
48 $(LEX) -t et_lex.lex.l > $@
50 error_table_nt.c: et_lex.lex_nt.c error_table.y
51 $(YACC) -d -o $@ error_table.y
54 $(OUT)\compile_et.obj \
55 $(OUT)\error_table_nt.obj
57 $(COMPILE_ET_EXERES): compile_et.rc AFS_component_version_number.h
59 $(COMPILE_ET_EXEOBJS): $$(@B).c
63 $(DESTDIR)\lib\afs\afsutil.lib \
64 $(DESTDIR)\lib\opr.lib \
65 $(DESTDIR)\lib\afsroken.lib
67 $(COMPILE_ET_EXEFILE): $(COMPILE_ET_EXEOBJS) $(COMPILE_ET_EXERES) $(COMPILE_ET_EXELIBS)
69 $(_VC_MANIFEST_EMBED_EXE)
74 ####################################################################
75 install: prep $(INCFILES) $(COMERR_LIBFILE) $(COMPILE_ET_EXEFILE)
78 $(DEL) $(COMERR_LIBFILE) $(OUT)\AFS_component_version_number.obj
79 $(DEL) $(COMPILE_ET_EXEFILE)
80 $(DEL) $(COMPILE_ET_EXERES);
82 *.otl *.aux *.toc *.PS *.dvi *.x9700 *.ps \
83 *.cp *.fn *.ky *.log *.pg *.tp *.vr \