9c87cf826b866fec16d94373aca9e3d1895f74ee
[openafs.git] / src / butc / NTMakefile
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 !INCLUDE ..\config\NTMakefile.$(SYS_NAME)
9 !INCLUDE ..\config\NTMakefile.version
10
11
12 ############################################################################
13 # build butc
14
15 EXEFILE = $(DESTDIR)\etc\butc.exe
16
17 EXEOBJS =\
18         dbentries.obj \
19         tcprocs.obj \
20         lwps.obj \
21         list.obj \
22         recoverDb.obj \
23         tcudbprocs.obj \
24         dump.obj \
25         tcstatus.obj \
26         tcmain.obj \
27         butc.res
28
29 EXELIBS =\
30         $(DESTDIR)\lib\afs\afsbudb.lib \
31         $(DESTDIR)\lib\afs\afsbxdb.lib \
32         $(DESTDIR)\lib\afs\afsbubasics.lib \
33         $(DESTDIR)\lib\afs\afsbutm.lib \
34         $(DESTDIR)\lib\afs\afsvolser.lib \
35         $(DESTDIR)\lib\afs\afsvldb.lib \
36         $(DESTDIR)\lib\afs\afsacl.lib \
37         $(DESTDIR)\lib\afs\afsprot.lib  \
38         $(DESTDIR)\lib\afs\afskauth.lib \
39         $(DESTDIR)\lib\afsubik.lib \
40         $(DESTDIR)\lib\afs\afsauth.lib \
41         $(DESTDIR)\lib\afsrxkad.lib \
42         $(DESTDIR)\lib\afsdes.lib \
43         $(DESTDIR)\lib\afsrx.lib \
44         $(DESTDIR)\lib\afslwp.lib \
45         $(DESTDIR)\lib\afs\afscmd.lib \
46         $(DESTDIR)\lib\afs\afscom_err.lib \
47         $(DESTDIR)\lib\afs\afsutil.lib \
48         $(DESTDIR)\lib\afs\afsusd.lib \
49         $(DESTDIR)\lib\afs\afsprocmgmt.lib \
50         $(DESTDIR)\lib\afs\afspioctl.lib \
51         $(DESTDIR)\lib\afs\afseventlog.lib \
52         $(DESTDIR)\lib\afs\afsreg.lib \
53         $(DESTDIR)\lib\cm_dns.obj
54
55 $(EXEFILE): $(EXEOBJS) $(EXELIBS)
56         $(EXECONLINK)
57         $(EXEPREP)
58
59 ############################################################################
60 # Definitions for generating versioninfo resources
61
62 butc.res: butc.rc AFS_component_version_number.h
63         $(RC) $*.rc
64
65 ############################################################################
66 # Install target; primary makefile target
67
68 install: $(EXEFILE)
69         echo "Don't install $(EXEFILE) (will install from tbutc)"
70
71 ############################################################################
72 # Local clean target; augments predefined clean target
73
74 clean::
75
76
77 ############################################################################
78 # Auxiliary build targets not built by default; e.g. test programs
79 butc_test.exe: test.obj
80         $(EXECONLINK)