X-Git-Url: https://git.openafs.org/?p=openafs.git;a=blobdiff_plain;f=src%2Frxstat%2FNTMakefile;h=9f04932122dffca11b4489028f2af0041c1654a1;hp=b1359e90de94fc9882dc2e018ddb193ae7efa41e;hb=941ac04165a9239a11b4ab908350dbfae24edfb9;hpb=7f4414ae3983fe7260de19cf3ccb7659d76a33f3 diff --git a/src/rxstat/NTMakefile b/src/rxstat/NTMakefile index b1359e9..9f04932 100644 --- a/src/rxstat/NTMakefile +++ b/src/rxstat/NTMakefile @@ -5,12 +5,12 @@ # License. For details, see the LICENSE file in the top-level source # directory or online at http://www.openafs.org/dl/license10.html +RELDIR=rxstat !INCLUDE ..\config\NTMakefile.$(SYS_NAME) !IF (EXIST(..\config\NTMakefile.version)) !INCLUDE ..\config\NTMakefile.version !ENDIF - INCFILEDIR = $(DESTDIR)\include INCFILES =\ @@ -19,19 +19,40 @@ INCFILES =\ # Library component lists. LIBOBJS = \ - rxstat.cs.obj \ - rxstat.ss.obj \ - rxstat.xdr.obj \ - rxstat.obj + $(OUT)\rxstat.cs.obj \ + $(OUT)\rxstat.ss.obj \ + $(OUT)\rxstat.xdr.obj \ + $(OUT)\rxstat.obj + +$(LIBOBJS): rxstat.cs.c rxstat.ss.c rxstat.xdr.c rxstat.h LIBFILE = $(DESTDIR)\lib\afsrxstat.lib $(LIBFILE): $(LIBOBJS) $(LIBARCH) -rxstat.cs.c rxstat.ss.c rxstat.xdr.c rxstat.h: rxstat.xg - $(RXGEN) -x $** +rxstat.cs.c: rxstat.xg rxstat.h + $(RXGEN) -x -C -o $@ rxstat.xg + +rxstat.ss.c: rxstat.xg rxstat.h + $(RXGEN) -x -S -o $@ rxstat.xg + +rxstat.xdr.c: rxstat.xg rxstat.h + $(RXGEN) -x -c -o $@ rxstat.xg + +rxstat.h: rxstat.xg + $(RXGEN) -x -h -o $@ rxstat.xg -install: $(LIBFILE) $(INCFILES) +copyheader: rxstat.h + $(COPY) rxstat.h $(INCFILEDIR)\rx\rxstat.h + +install: copyheader $(LIBFILE) $(INCFILES) install9x: install + +clean:: + $(DEL) rxstat.cs.c rxstat.h rxstat.ss.c rxstat.xdr.c + $(DEL) $(LIBFILE) + + +mkdir: