# Copyright 2000, International Business Machines Corporation and others.
# All Rights Reserved.
# 
# This software has been released under the terms of the IBM Public
# License.  For details, see the LICENSE file in the top-level source
# directory or online at http://www.openafs.org/dl/license10.html

RELDIR=rxgen
!INCLUDE ..\config\NTMakefile.$(SYS_NAME)
!INCLUDE ..\config\NTMakefile.version

INCFILEDIR = $(DESTDIR)\include\afs

INCFILES =\
	$(INCFILEDIR)\rxgen_consts.h

# build rxgen
EXEFILE = $(DESTDIR)\bin\rxgen.exe

EXERES = $(OUT)\rxgen.res

EXELIBS =\
    $(DESTDIR)\lib\afsroken.lib

EXEOBJS =\
	$(OUT)\rpc_main.obj \
	$(OUT)\rpc_hout.obj \
	$(OUT)\rpc_cout.obj \
	$(OUT)\rpc_parse.obj \
	$(OUT)\rpc_scan.obj \
	$(OUT)\rpc_util.obj

$(EXEOBJS): $$(@B).c
    $(C2OBJ) $**

$(EXERES): rxgen.rc AFS_component_version_number.h

$(EXEFILE): $(EXEOBJS) $(EXERES) $(EXELIBS)
	$(EXECONLINK)
        $(_VC_MANIFEST_EMBED_EXE)
	$(EXEPREP)
        $(CODESIGN_USERLAND)
        $(SYMSTORE_IMPORT)

install: AFS_component_version_number.c $(EXEFILE) $(INCFILES)

clean::
	$(DEL) $(EXEFILE)
	$(DEL) $(EXERES)

mkdir:

