Update of /cvsroot/naviserver/naviserver/include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31639/include
Modified Files:
Makefile.global.in Makefile.module.in
Log Message:
Add new module variable LIBHDRS which is the list of headers which should
be installed for other modules to link against (e.g. nsdb.h).
Index: Makefile.global.in
===================================================================
RCS file: /cvsroot/naviserver/naviserver/include/Makefile.global.in,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** Makefile.global.in 27 Apr 2005 05:01:24 -0000 1.4
--- Makefile.global.in 27 Apr 2005 05:30:41 -0000 1.5
***************
*** 93,96 ****
--- 93,97 ----
INSTBIN = $(NAVISERVER)/bin
INSTLIB = $(NAVISERVER)/lib
+ INSTHDR = $(NAVISERVER)/include
INSTMOD = $(NAVISERVER)/modules
INSTTCL = $(NAVISERVER)/modules/tcl
Index: Makefile.module.in
===================================================================
RCS file: /cvsroot/naviserver/naviserver/include/Makefile.module.in,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** Makefile.module.in 27 Apr 2005 05:01:24 -0000 1.4
--- Makefile.module.in 27 Apr 2005 05:30:41 -0000 1.5
***************
*** 41,44 ****
--- 41,45 ----
# LIB Root name of dynamic library (without lib prefix or extension)
# LIBOBJS List of library object files (required with LIB)
+ # LIBHDRS List of public header files to install (required with module LIB)
# PGM Name of executable program
# PGMOBJS List of program object files (required with PGM)
***************
*** 102,105 ****
--- 103,110 ----
endif
+ ifdef LIBHDRS
+ INSTALL += install-hdrs
+ endif
+
ifdef NSBUILD
include ../include/Makefile.global
***************
*** 145,148 ****
--- 150,156 ----
$(INSTALL_SH) $(PGM) $(INSTBIN)/
+ install-hdrs: $(LIBHDRS)
+ $(INSTALL_DATA) $(LIBHDRS) $(INSTHDR)/
+
clean-mod:
$(RM) $(MOD) $(MODOBJS)
|