make/sanity-rules.gmk

Print this page

        

@@ -31,10 +31,14 @@
 
 ifeq ($(BUILD_HOTSPOT), true)
   sanity:: hotspot-sanity
 endif
 
+ifeq ($(BUILD_BDB), true)
+  sanity:: bdb-sanity
+endif
+
 ifeq ($(BUILD_DEPLOY), true)
   sanity:: deploy-sanity
 endif
 
 ifeq ($(BUILD_JDK), true)

@@ -172,10 +176,18 @@
            "        Hotspot libs will be obtained from \n" \
            "        the location set in ALT_HOTSPOT_IMPORT_PATH. \n" \
            "" >> $(WARNING_FILE)
   endif
 endif
+ifeq ($(BDB_SRC_AVAILABLE), true)
+  ifneq ($(BUILD_BDB), true)
+        @$(ECHO) "WARNING: You are not building the bdb sources.\n" \
+           "        The bdb files will be obtained from \n" \
+           "        the location set in ALT_BDB_IMPORT_PATH. \n" \
+           "" >> $(WARNING_FILE)
+  endif
+endif
 ifeq ($(JDK_SRC_AVAILABLE), true)
   ifneq ($(BUILD_JDK), true)
         @$(ECHO) "WARNING: You are not building the JDK sources.\n" \
            "        This will result in a development-only\n" \
            "        build of the JDK , lacking the jdk binaries.\n" \

@@ -263,10 +275,13 @@
         @$(ECHO) "   CORBA_TOPDIR = $(CORBA_TOPDIR)"  >> $(MESSAGE_FILE)
 endif
 ifeq ($(HOTSPOT_SRC_AVAILABLE), true)
         @$(ECHO) "   HOTSPOT_TOPDIR = $(HOTSPOT_TOPDIR)"  >> $(MESSAGE_FILE)
 endif
+ifeq ($(BDB_SRC_AVAILABLE), true)
+        @$(ECHO) "   BDB_TOPDIR = $(BDB_TOPDIR)"  >> $(MESSAGE_FILE)
+endif
 ifeq ($(JDK_SRC_AVAILABLE), true)
         @$(ECHO) "   JDK_TOPDIR = $(JDK_TOPDIR)"  >> $(MESSAGE_FILE)
 endif
 ifeq ($(DEPLOY_SRC_AVAILABLE), true)
         @$(ECHO) "   DEPLOY_TOPDIR = $(DEPLOY_TOPDIR)"  >> $(MESSAGE_FILE)

@@ -298,10 +313,13 @@
         @$(ECHO) "   BUILD_CORBA = $(BUILD_CORBA) " >> $(MESSAGE_FILE)
 endif
 ifeq ($(HOTSPOT_SRC_AVAILABLE), true)
         @$(ECHO) "   BUILD_HOTSPOT = $(BUILD_HOTSPOT) " >> $(MESSAGE_FILE)
 endif
+ifeq ($(BDB_SRC_AVAILABLE), true)
+        @$(ECHO) "   BUILD_BDB    = $(BUILD_BDB) " >> $(MESSAGE_FILE)
+endif
 ifeq ($(JDK_SRC_AVAILABLE), true)
         @$(ECHO) "   BUILD_JDK    = $(BUILD_JDK) " >> $(MESSAGE_FILE)
 endif
 ifeq ($(DEPLOY_SRC_AVAILABLE), true)
         @$(ECHO) "   BUILD_DEPLOY  = $(BUILD_DEPLOY) " >> $(MESSAGE_FILE)