changeset 11094:8c8383a5ac33

6901749 Need rules in libfru and lib Makefiles to install nvfru.h
author Sundeep Panicker <Sundeep.Panicker@Sun.COM>
date Wed, 18 Nov 2009 13:06:09 -0800
parents 92e0bcf89283
children 4726a45b3bb2
files usr/src/lib/Makefile usr/src/lib/libfru/Makefile usr/src/lib/libfru/libnvfru/nvfru.h
diffstat 3 files changed, 7 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/lib/Makefile	Wed Nov 18 10:38:52 2009 -0700
+++ b/usr/src/lib/Makefile	Wed Nov 18 13:06:09 2009 -0800
@@ -405,6 +405,7 @@
 	libdtrace_jni	\
 	libelfsign	\
 	libeti		\
+	libfru		\
 	libfstyp	\
 	libgen		\
 	libwanboot	\
--- a/usr/src/lib/libfru/Makefile	Wed Nov 18 10:38:52 2009 -0700
+++ b/usr/src/lib/libfru/Makefile	Wed Nov 18 13:06:09 2009 -0800
@@ -70,9 +70,10 @@
 po_clean:
 	$(RM) $(POFILE)
 
-check: $(CHECKHDRS)
-
 $(SUBDIRS): FRC
 	@cd $@; pwd; $(MAKE) $(TARGET)
 
+install_h check: $(CHECKHDRS)
+	@cd libnvfru; pwd; $(MAKE) $@
+
 FRC:
--- a/usr/src/lib/libfru/libnvfru/nvfru.h	Wed Nov 18 10:38:52 2009 -0700
+++ b/usr/src/lib/libfru/libnvfru/nvfru.h	Wed Nov 18 13:06:09 2009 -0800
@@ -30,14 +30,14 @@
 #include <sys/types.h>
 #include <libnvpair.h>
 
-#ifdef  __cplusplus
+#ifdef __cplusplus
 extern "C" {
 #endif
 
 extern int rawfru_to_nvlist(uint8_t *, size_t, char *, nvlist_t **);
 
-#ifdef  __cplusplus
-	}
+#ifdef __cplusplus
+}
 #endif
 
 #endif /* _NVFRU_H */