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
8 !INCLUDE ..\config\NTMakefile.$(SYS_NAME)
9 !INCLUDE ..\config\NTMakefile.version
12 ############################################################################
13 # Install header files
15 INCFILEDIR = $(DESTDIR)\include
18 $(INCFILEDIR)\ubik.h \
19 $(INCFILEDIR)\ubik_int.h
23 ############################################################################
26 LIBFILE = $(DESTDIR)\lib\afsubik.lib
43 AFS_component_version_number.obj
46 $(LIBFILE): $(LIBOBJS)
49 ############################################################################
50 # Definitions for building a EXE.
52 RS_UDBG_EXEFILE = $(DESTDIR)\root.server\usr\afs\bin\udebug.exe
53 CL_UDBG_EXEFILE = $(DESTDIR)\bin\udebug.exe
60 $(DESTDIR)\lib\afsubik.lib \
61 $(DESTDIR)\lib\afsrx.lib \
62 $(DESTDIR)\lib\afs\afsreg.lib \
63 $(DESTDIR)\lib\afslwp.lib \
64 $(DESTDIR)\lib\afs\afscom_err.lib \
65 $(DESTDIR)\lib\afs\afscmd.lib \
66 $(DESTDIR)\lib\afs\afsutil.lib
69 $(RS_UDBG_EXEFILE): $(UDBG_EXEOBJS) $(UDBG_EXELIBS)
73 $(CL_UDBG_EXEFILE): $(RS_UDBG_EXEFILE)
76 ############################################################################
77 # generate versioninfo resources
79 udebug.res: udebug.rc AFS_component_version_number.h
82 ############################################################################
83 # rxgen on ubik_int.xg
85 ubik_int.ss.c ubik_int.cs.c ubik_int.xdr.c $(INCFILEDIR)\ubik_int.h: ubik_int.xg
87 $(COPY) ubik_int.h $(INCFILEDIR)\ubik_int.h
89 ############################################################################
90 # compile_et on uerrors.et
92 uerrors.c $(INCFILEDIR)\ubik.h: uerrors.et ubik.p.h
93 $(DEL) ubik.h uerrors.c
94 $(COMPILE_ET) uerrors -h ubik
95 $(COPY) ubik.h $(INCFILEDIR)\ubik.h
97 ############################################################################
98 # Install target; primary makefile target
100 install9X: $(INCFILES) $(LIBFILE)
102 install: $(INCFILES) $(LIBFILE) $(CL_UDBG_EXEFILE)
106 $(DEL) ubik_int.ss.c ubik_int.cs.c ubik_int.xdr.c
107 $(DEL) $(INCFILEDIR)\ubik_int.h uerrors.c $(INCFILEDIR)\ubik.h
108 $(DEL) ubik_int.h ubik.h
110 ############################################################################
113 test tests: utst_server utst_client $(EXEFILE)
115 utst_server: utst_server.obj utst_int.ss.obj utst_int.xdr.obj $(EXELIBS)
118 utst_client: utst_client.obj utst_int.cs.obj utst_int.xdr.obj $(EXELIBS)
121 # rxgen on utst_int.xg
122 utst_int.ss.c utst_int.cs.c utst_int.xdr.c utst_int.h: utst_int.xg
125 utst_server.obj utst_client.obj : utst_int.h