mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 06:50:12 +00:00
rxgk: Add NTMakefile to install headers
Commit 83eec909
(Implement afsconf_GetRXGKKey) added a reference to
rx/rxgk_types.h inside cellconfig.p.h. Nothing ever added src/rxgk
WINNT makefiles, so that include file is never installed into
place, breaking the WINNT build when code tries to include
cellconfig.h.
To fix this and other code that needs rxgk header files, create an
NTMakefile for src/rxgk, which just exists to install headers into
place. Call it from the top-level NTMakefile right before copying in
the auth headers.
Change-Id: Id111479f55b4c330640e80d167a8af664fe3622e
Reviewed-on: https://gerrit.openafs.org/13814
Tested-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
This commit is contained in:
parent
2df2de06e5
commit
1534302d44
@ -292,7 +292,14 @@ cm_headers: libacl_headers
|
||||
$(NTMAKE_HEADERS)
|
||||
$(CD) ..\..\..
|
||||
|
||||
auth_headers: cm_headers
|
||||
rxgk_headers: cm_headers
|
||||
@echo ***** $@
|
||||
$(DOCD) $(SRC)\rxgk
|
||||
$(CD) $(SRC)\rxgk
|
||||
$(NTMAKE_HEADERS)
|
||||
$(CD) ..\..
|
||||
|
||||
auth_headers: rxgk_headers
|
||||
@echo ***** $@
|
||||
$(DOCD) $(SRC)\auth
|
||||
$(CD) $(SRC)\auth
|
||||
|
29
src/rxgk/NTMakefile
Normal file
29
src/rxgk/NTMakefile
Normal file
@ -0,0 +1,29 @@
|
||||
# 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=rxgk
|
||||
!include ..\config\NTMakefile.$(SYS_NAME)
|
||||
|
||||
INCFILEDIR = $(DESTDIR)\include\rx
|
||||
|
||||
INCFILES = \
|
||||
$(INCFILEDIR)\rxgk_types.h \
|
||||
$(INCFILEDIR)\rxgk_int.h
|
||||
|
||||
$(INCFILEDIR)\rxgk_types.h: rxgk_types.h
|
||||
$(COPY) rxgk_types.h $@
|
||||
|
||||
$(INCFILEDIR)\rxgk_int.h: rxgk_int.h
|
||||
$(COPY) rxgk_int.h $@
|
||||
|
||||
rxgk_int.h: rxgk_int.xg
|
||||
$(RXGEN) -b -A -x -h -o $@ rxgk_int.xg
|
||||
|
||||
install_headers: $(INCFILES)
|
||||
|
||||
clean::
|
||||
$(DEL) rxgk_int.h
|
Loading…
Reference in New Issue
Block a user