From 740d923f4569d888246b231ff9a93278561d3c65 Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Fri, 10 Jul 2009 15:07:26 -0400 Subject: [PATCH] Add rx_headers build rule on Windows src/util/netutils.c must include rx/rx.h in order to avoid warnings due to the lack of prototypes for rx functions. src/rx depends on src/util being built in order to properly compile. Add a rx_headers build rule to the top level NTMakefile to permit rx headers to be installed before src/util is built. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/38 Verified-by: Jeffrey Altman Reviewed-by: Jeffrey Altman --- src/NTMakefile | 9 ++++++++- src/rx/NTMakefile | 6 ++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/src/NTMakefile b/src/NTMakefile index fbe0373..59c640e 100644 --- a/src/NTMakefile +++ b/src/NTMakefile @@ -74,7 +74,14 @@ lwp_headers: $(NTMAKE_HEADERS) $(CD) ..\.. -util: procmgmt_headers afsreg_headers lwp_headers +rx_headers: + @echo ***** $@ + $(DOCD) $(SRC)\rx + $(CD) $(SRC)\rx + $(NTMAKE_HEADERS) + $(CD) ..\.. + +util: procmgmt_headers afsreg_headers lwp_headers rx_headers @echo ***** $@ $(DOCD) $(SRC)\$@ $(CD) $(SRC)\$@ diff --git a/src/rx/NTMakefile b/src/rx/NTMakefile index 5707c93..b726a28 100644 --- a/src/rx/NTMakefile +++ b/src/rx/NTMakefile @@ -67,9 +67,11 @@ $(LIBFILE): $(LIBOBJS) # Not yet #rxdumptrace.exe: rx_trace.c -install: $(LIBFILE) $(INCFILES) +install_headers: $(INCFILES) -install9x: $(LIBFILE) $(INCFILES) +install: install_headers $(LIBFILE) + +install9x: install_headers $(LIBFILE) clean:: $(DEL) $(LIBFILE) $(INCFILES) -- 1.9.4