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
11
############################################################################
15
# To select which language to build, run the ntlang.bat batch file
16
# before performing a build.
19
!IF ("$(LANGID)" == "") || ("$(LANGNAME)" == "") || ("$(LANGCP)" == "")
20
!ERROR Must select language before building (run NTLANG.BAT)
23
############################################################################
24
INCFILEDIR = $(DESTDIR)\include\WINNT
27
$(INCFILEDIR)\afsevent.h
29
############################################################################
30
DLLFILE = $(DESTDIR)\root.server\usr\afs\bin\afseventmsg_$(LANGID).dll
32
DLLRESFILE = afseventmsg_$(LANGID).res
34
DLLRCFILE = afseventmsg.rc
36
EVENTRCFILE = $(LANGNAME)\event.rc
38
EVENTRESFILE = $(LANGNAME)\event.res
40
DLLOBJS = $(DLLRESFILE)
42
$(DLLFILE): $(DLLOBJS)
46
############################################################################
47
# Generate versioninfo resources
49
$(DLLRESFILE): $(DLLRCFILE) $(EVENTRCFILE) AFS_component_version_number.h
50
$(RC) /fo$(DLLRESFILE) /c$(LANGCP) /I$(LANGNAME) /I.. $(DLLRCFILE)
52
############################################################################
54
$(INCFILEDIR)\afsevent.h: $(LANGNAME)\afsevent.h
55
$(COPY) $(LANGNAME)\afsevent.h $@
57
$(LANGNAME)\afsevent.h: ..\logevent.h $(LANGNAME)\event.h
58
$(DEL) $(LANGNAME)\afsevent.h
59
$(COPY) ..\logevent.h + $(LANGNAME)\event.h $(LANGNAME)\afsevent.h
61
$(LANGNAME)\event.h $(LANGNAME)\event.rc: $(LANGNAME)\event.mc
66
############################################################################
67
install: $(INCFILES) $(DLLFILE)
72
$(DEL) $(INCFILES) $(DLLFILE)
b'\\ No newline at end of file'