# 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

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 \
	$(OUT)\rpc_svcout.obj \
	$(OUT)\rpc_clntout.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)

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

install9x: install

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

mkdir:
	
