# 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

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) $**

$(EXEFILE): $(EXEOBJS) $(EXELIBS)
	$(EXECONLINK)
	$(EXEPREP) 



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

install9x: install

clean::
	$(DEL) $(EXEFILE)	

mkdir:
	
