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
13 ############################################################################
14 # Definitions for installing header files
16 INCFILEDIR = $(DESTDIR)\include # header file install directory
19 $(INCFILEDIR)\dbrpc.h \
20 $(INCFILEDIR)\basic.h \
21 $(INCFILEDIR)\osidebug.h \
22 $(INCFILEDIR)\osiltype.h \
23 $(INCFILEDIR)\osistatl.h \
24 $(INCFILEDIR)\trylock.h \
25 $(INCFILEDIR)\main.h \
26 $(INCFILEDIR)\osibasel.h \
27 $(INCFILEDIR)\osifd.h \
28 $(INCFILEDIR)\osiqueue.h \
29 $(INCFILEDIR)\osiutils.h \
31 $(INCFILEDIR)\osidb.h \
32 $(INCFILEDIR)\osilog.h \
33 $(INCFILEDIR)\osisleep.h \
34 $(INCFILEDIR)\perf.h \
35 $(INCFILEDIR)\osithrdnt.h
38 $(INCFILEDIR)\dbrpc.h: dbrpc.h
40 ############################################################################
41 # Definitions for building a DLL.
43 DLLFILE = $(DESTDIR)\root.client\usr\vice\etc\libosi.dll
45 ILIBDIR = $(DESTDIR)\lib
66 $(DLLFILE): $(DLLOBJS)
67 $(DLLGUILINK) $(DLLLIBS) -def:libosi.def
69 $(COPY) $*.lib $(ILIBDIR)
73 ############################################################################
76 dbrpc.h dbrpc_c.c dbrpc_s.c: dbrpc.idl
77 $(MIDL) -Zp4 -cpp_cmd $(cc) -cpp_opt "-E" dbrpc.idl
79 ############################################################################
80 # generate versioninfo resources
82 libosi.res: libosi.rc AFS_component_version_number.h
84 ############################################################################
85 # Install target; primary makefile target
87 install_headers: $(INCFILES)
89 install: install_headers $(DLLFILE)
93 ############################################################################
94 # Local clean target; augments predefined clean target
97 $(DEL) dbrpc_s.c dbrpc_c.c dbrpc.h $(DLLFILE) $(INCFILES)