summaryrefslogtreecommitdiff
path: root/build_vxworks/dbdemo
diff options
context:
space:
mode:
Diffstat (limited to 'build_vxworks/dbdemo')
-rw-r--r--build_vxworks/dbdemo/README39
-rw-r--r--build_vxworks/dbdemo/dbdemo.c2
-rwxr-xr-xbuild_vxworks/dbdemo/dbdemo20.wpj142
-rwxr-xr-xbuild_vxworks/dbdemo/dbdemo22.wpj176
4 files changed, 1 insertions, 358 deletions
diff --git a/build_vxworks/dbdemo/README b/build_vxworks/dbdemo/README
deleted file mode 100644
index 1a2c7c7d..00000000
--- a/build_vxworks/dbdemo/README
+++ /dev/null
@@ -1,39 +0,0 @@
-This README describes the steps needed to run a demo example of BerkeleyDB.
-
-1. Read the pages in the Reference Guide that describe building
- BerkeleyDB on VxWorks:
-
- $(WIND_BASE)/target/src/BerkeleyDB/docs/ref/build_vxworks/intro.html
- $(WIND_BASE)/target/src/BerkeleyDB/docs/ref/build_vxworks/notes.html
- $(WIND_BASE)/target/src/BerkeleyDB/docs/ref/build_vxworks/faq.html
-
-2. Launch Tornado 2.0 and open up the BerkeleyDB project.
-
-3. Add the demo project to that workspace:
-
- $(WIND_BASE)/target/src/BerkeleyDB/build_vxworks/demo/dbdemo.wpj
-
-4. Build BerkeleyDB as described in the Reference Guide.
-
-5. Build the dbdemo project.
-
-6. Download BerkeleyDB onto the target.
-
-7. Download the dbdemo project onto the target.
-
-8. Open a windsh to the target and run the demo:
-
- -> dbdemo "<pathname>/<dbname>"
-
- Where pathname is a pathname string pointing to a directory that the
- demo can create a database in. That directory should already exist.
- The dbname is the name for the database. For example:
-
- -> dbdemo "/tmp/demo.db"
-
-9. The demo program will ask for input. You can type in any string.
- The program will add an entry to the database with that string as
- the key and the reverse of that string as the data item for that key.
- It will continue asking for input until you hit ^D or enter "quit".
- Upon doing so, the demo program will display all the keys you have
- entered as input and their data items.
diff --git a/build_vxworks/dbdemo/dbdemo.c b/build_vxworks/dbdemo/dbdemo.c
index 6ef4f448..e4bf38ae 100644
--- a/build_vxworks/dbdemo/dbdemo.c
+++ b/build_vxworks/dbdemo/dbdemo.c
@@ -1,7 +1,7 @@
/*-
* See the file LICENSE for redistribution information.
*
- * Copyright (c) 1997, 2012 Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2015 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
diff --git a/build_vxworks/dbdemo/dbdemo20.wpj b/build_vxworks/dbdemo/dbdemo20.wpj
deleted file mode 100755
index 5cb4b754..00000000
--- a/build_vxworks/dbdemo/dbdemo20.wpj
+++ /dev/null
@@ -1,142 +0,0 @@
-Document file - DO NOT EDIT
-
-<BEGIN> BUILD_PENTIUMgnu_BUILDRULE
-dbdemo20.out
-<END>
-
-<BEGIN> BUILD_PENTIUMgnu_MACRO_AR
-ar386
-<END>
-
-<BEGIN> BUILD_PENTIUMgnu_MACRO_ARCHIVE
-$(PRJ_DIR)/PENTIUMgnu/dbdemo20.a
-<END>
-
-<BEGIN> BUILD_PENTIUMgnu_MACRO_AS
-cc386
-<END>
-
-<BEGIN> BUILD_PENTIUMgnu_MACRO_CC
-cc386
-<END>
-
-<BEGIN> BUILD_PENTIUMgnu_MACRO_CFLAGS
--g \
- -mpentium \
- -ansi \
- -nostdinc \
- -DRW_MULTI_THREAD \
- -D_REENTRANT \
- -fvolatile \
- -nostdlib \
- -fno-builtin \
- -fno-defer-pop \
- -I$(PRJ_DIR)/.. \
- -I$(PRJ_DIR)/../.. \
- -I$(WIND_BASE)/target/h \
- -DCPU=PENTIUM
-<END>
-
-<BEGIN> BUILD_PENTIUMgnu_MACRO_CFLAGS_AS
--g \
- -mpentium \
- -ansi \
- -nostdinc \
- -fvolatile \
- -nostdlib \
- -fno-builtin \
- -fno-defer-pop \
- -P \
- -x \
- assembler-with-cpp \
- -I$(WIND_BASE)/target/h \
- -DCPU=PENTIUM
-<END>
-
-<BEGIN> BUILD_PENTIUMgnu_MACRO_CPP
-cc386 -E -P -xc
-<END>
-
-<BEGIN> BUILD_PENTIUMgnu_MACRO_LD
-ld386
-<END>
-
-<BEGIN> BUILD_PENTIUMgnu_MACRO_LDDEPS
-
-<END>
-
-<BEGIN> BUILD_PENTIUMgnu_MACRO_LDFLAGS
--X -N
-<END>
-
-<BEGIN> BUILD_PENTIUMgnu_MACRO_LD_PARTIAL_FLAGS
--X -r
-<END>
-
-<BEGIN> BUILD_PENTIUMgnu_MACRO_NM
-nm386 -g
-<END>
-
-<BEGIN> BUILD_PENTIUMgnu_MACRO_OPTION_DEFINE_MACRO
--D
-<END>
-
-<BEGIN> BUILD_PENTIUMgnu_MACRO_OPTION_INCLUDE_DIR
--I
-<END>
-
-<BEGIN> BUILD_PENTIUMgnu_MACRO_POST_BUILD_RULE
-
-<END>
-
-<BEGIN> BUILD_PENTIUMgnu_MACRO_PRJ_LIBS
-
-<END>
-
-<BEGIN> BUILD_PENTIUMgnu_MACRO_SIZE
-size386
-<END>
-
-<BEGIN> BUILD_PENTIUMgnu_RO_DEPEND_PATH
-{$(WIND_BASE)/target/h/} \
- {$(WIND_BASE)/target/src/} \
- {$(WIND_BASE)/target/config/}
-<END>
-
-<BEGIN> BUILD_PENTIUMgnu_TC
-::tc_PENTIUMgnu
-<END>
-
-<BEGIN> BUILD_RULE_archive
-
-<END>
-
-<BEGIN> BUILD_RULE_dbdemo20.out
-
-<END>
-
-<BEGIN> BUILD_RULE_objects
-
-<END>
-
-<BEGIN> BUILD__CURRENT
-PENTIUMgnu
-<END>
-
-<BEGIN> BUILD__LIST
-PENTIUMgnu
-<END>
-
-<BEGIN> CORE_INFO_TYPE
-::prj_vxApp
-<END>
-
-<BEGIN> CORE_INFO_VERSION
-2.0
-<END>
-<BEGIN> PROJECT_FILES
-<END>
-
-<BEGIN> userComments
-dbdemo
-<END>
diff --git a/build_vxworks/dbdemo/dbdemo22.wpj b/build_vxworks/dbdemo/dbdemo22.wpj
deleted file mode 100755
index 28bf5ae8..00000000
--- a/build_vxworks/dbdemo/dbdemo22.wpj
+++ /dev/null
@@ -1,176 +0,0 @@
-Document file - DO NOT EDIT
-
-<BEGIN> BUILD_PENTIUM2gnu_BUILDRULE
-dbdemo22.out
-<END>
-
-<BEGIN> BUILD_PENTIUM2gnu_MACRO_AR
-arpentium
-<END>
-
-<BEGIN> BUILD_PENTIUM2gnu_MACRO_ARCHIVE
-$(PRJ_DIR)/PENTIUM2gnu/dbdemo22.a
-<END>
-
-<BEGIN> BUILD_PENTIUM2gnu_MACRO_AS
-ccpentium
-<END>
-
-<BEGIN> BUILD_PENTIUM2gnu_MACRO_CC
-ccpentium
-<END>
-
-<BEGIN> BUILD_PENTIUM2gnu_MACRO_CC_ARCH_SPEC
--mcpu=pentiumpro -march=pentiumpro
-<END>
-
-<BEGIN> BUILD_PENTIUM2gnu_MACRO_CFLAGS
--g \
- -mcpu=pentiumpro \
- -march=pentiumpro \
- -ansi \
- -nostdlib \
- -DRW_MULTI_THREAD \
- -D_REENTRANT \
- -fvolatile \
- -fno-builtin \
- -fno-defer-pop \
- -I$(PRJ_DIR)/.. \
- -I$(PRJ_DIR)/../.. \
- -I$(WIND_BASE)/target/h \
- -DCPU=PENTIUM2 \
- -DTOOL_FAMILY=gnu \
- -DTOOL=gnu
-<END>
-
-<BEGIN> BUILD_PENTIUM2gnu_MACRO_CFLAGS_AS
--g \
- -mcpu=pentiumpro \
- -march=pentiumpro \
- -ansi \
- -nostdlib \
- -fno-builtin \
- -fno-defer-pop \
- -P \
- -xassembler-with-cpp \
- -I$(WIND_BASE)/target/h \
- -DCPU=PENTIUM2 \
- -DTOOL_FAMILY=gnu \
- -DTOOL=gnu
-<END>
-
-<BEGIN> BUILD_PENTIUM2gnu_MACRO_CPP
-ccpentium -E -P
-<END>
-
-<BEGIN> BUILD_PENTIUM2gnu_MACRO_HEX_FLAGS
-
-<END>
-
-<BEGIN> BUILD_PENTIUM2gnu_MACRO_LD
-ldpentium
-<END>
-
-<BEGIN> BUILD_PENTIUM2gnu_MACRO_LDFLAGS
--X -N
-<END>
-
-<BEGIN> BUILD_PENTIUM2gnu_MACRO_LD_PARTIAL
-ccpentium -r -nostdlib -Wl,-X
-<END>
-
-<BEGIN> BUILD_PENTIUM2gnu_MACRO_LD_PARTIAL_FLAGS
--X -r
-<END>
-
-<BEGIN> BUILD_PENTIUM2gnu_MACRO_NM
-nmpentium -g
-<END>
-
-<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_DEFINE_MACRO
--D
-<END>
-
-<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_DEPEND
--M -w
-<END>
-
-<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_GENERATE_DEPENDENCY_FILE
--MD
-<END>
-
-<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_INCLUDE_DIR
--I
-<END>
-
-<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_LANG_C
--xc
-<END>
-
-<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_UNDEFINE_MACRO
--U
-<END>
-
-<BEGIN> BUILD_PENTIUM2gnu_MACRO_POST_BUILD_RULE
-
-<END>
-
-<BEGIN> BUILD_PENTIUM2gnu_MACRO_PRJ_LIBS
-
-<END>
-
-<BEGIN> BUILD_PENTIUM2gnu_MACRO_SIZE
-sizepentium
-<END>
-
-<BEGIN> BUILD_PENTIUM2gnu_MACRO_TOOL_FAMILY
-gnu
-<END>
-
-<BEGIN> BUILD_PENTIUM2gnu_RO_DEPEND_PATH
-{$(WIND_BASE)/target/h/} \
- {$(WIND_BASE)/target/src/} \
- {$(WIND_BASE)/target/config/}
-<END>
-
-<BEGIN> BUILD_PENTIUM2gnu_TC
-::tc_PENTIUM2gnu
-<END>
-
-<BEGIN> BUILD_RULE_archive
-
-<END>
-
-<BEGIN> BUILD_RULE_dbdemo22.out
-
-<END>
-
-<BEGIN> BUILD_RULE_dbdemo22.pl
-
-<END>
-
-<BEGIN> BUILD_RULE_objects
-
-<END>
-
-<BEGIN> BUILD__CURRENT
-PENTIUM2gnu
-<END>
-
-<BEGIN> BUILD__LIST
-PENTIUM2gnu
-<END>
-
-<BEGIN> CORE_INFO_TYPE
-::prj_vxApp
-<END>
-
-<BEGIN> CORE_INFO_VERSION
-2.2
-<END>
-<BEGIN> PROJECT_FILES
-<END>
-
-<BEGIN> userComments
-dbdemo
-<END>