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 <jaltman@openafs.org>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
$(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)\$@
# 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)