Skip to content

Commit b848b4c

Browse files
committed
Begin the process of adding NIST's STEP Class Libraries code to the BRL-CAD tree. This first commit sets up the build logic for a src/other/step subconfigure and imports a step tree which is the original NIST STEP 3.2 release, minus some temporary files and an old file in src/cldai that causes conflicts on case insensitive filesystems. This is not expected to be a buildable configuration - it is included to preserve the original state of the libraries in case it is needed.
0 parents  commit b848b4c

File tree

450 files changed

+155203
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

450 files changed

+155203
-0
lines changed

INSTALL

Lines changed: 443 additions & 0 deletions
Large diffs are not rendered by default.

Makefile

Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,128 @@
1+
PDES_ROOT = `pwd`
2+
ARCH_DIR = arch
3+
4+
message:
5+
@echo " "
6+
@echo "You can run \"make default\" to install the NIST STEP Class Library and "
7+
@echo "the related EXPRESS Toolkit, EXPRESS Pretty Printer, and fedex_plus software"
8+
@echo "using defaults from your path."
9+
@echo "If... "
10+
@echo "- the installation fails or "
11+
@echo "- you didn't get the compilers, etc you expected or
12+
@echo "- you want to do multiple installations (using different compilers or "
13+
@echo " other SCL options)"
14+
@echo "then you will need to read the instructions in INSTALL"
15+
@echo " "
16+
17+
default:: time
18+
-@if [ -d $(ARCH_DIR) ]; then \
19+
echo " " ; \
20+
echo "***ERROR*** The directory \"$(ARCH_DIR)\" already exists. " ; \
21+
echo " Move it aside or delete it or read INSTALL."; \
22+
echo " " ; \
23+
else \
24+
echo " " ; \
25+
echo "configure will create arch dir: \"$(ARCH_DIR)\"" ; \
26+
echo "running \"configure --with-arch=$(ARCH_DIR)\""; \
27+
configure --with-arch=$(ARCH_DIR); \
28+
echo " " ; \
29+
date ; \
30+
echo " " ; \
31+
fi
32+
33+
time:
34+
@echo " "
35+
@date
36+
37+
# only use these make rules after the everything else has been installed
38+
39+
scl_examples:
40+
# trigger when installing scl
41+
@echo "**************************************************************"
42+
@echo "*********** building scl example ***********"
43+
# in this example the example schema is installed
44+
(mkProbe -l -i -R $(PDES_ROOT) data/example/example.exp example)
45+
@echo "**************************************************************"
46+
@echo "when you are through with the example, remove the directories"
47+
@echo " src/clSchemas/example and arch/Probes/example "
48+
@echo "**************************************************************"
49+
(cd src/test; make )
50+
@echo ""
51+
52+
dp_example:
53+
# depends on running make install
54+
@echo "**************************************************************"
55+
@echo "*********** building example Data Probe ***********"
56+
# in this example the example schema and Data Probe are not installed
57+
(mkProbe data/example/example.exp example)
58+
@echo "**************************************************************"
59+
@echo "when you are through with the example, remove the directory"
60+
@echo " example "
61+
@echo "**************************************************************"
62+
@echo ""
63+
64+
clean:
65+
@echo "**************************************************************"
66+
@echo "*********** cleaning up ***********"
67+
cd src/express; make clean; cd $(PDES_ROOT);
68+
cd src/exppp; make clean; cd $(PDES_ROOT);
69+
cd src/fedex_plus; make clean; cd $(PDES_ROOT);
70+
cd $(ARCH_DIR)/ofiles; make clean; cd $(PDES_ROOT);
71+
# remove the installed example
72+
cd $(ARCH_DIR)/Probes;
73+
if [ -d example ]; then rm -r example; cd $(PDES_ROOT);
74+
cd src/clSchemas;
75+
if [ -d example ]; then rm -r example; cd $(PDES_ROOT);
76+
77+
fresh: clean
78+
@echo "building EXPRESS Toolkit libraries"
79+
cd src/express; co checkout; checkout; make install; cd $(PDES_ROOT);
80+
cd src/exppp; co checkout; checkout; make install; cd $(PDES_ROOT);
81+
@echo "building fedex_plus"
82+
cd src/fedex_plus; co checkout;
83+
checkout; make depend; make install; cd $(PDES_ROOT);
84+
@echo "building the STEP Class Libraries"
85+
cd $(ARCH_DIR)/ofiles; make depend; make build; cd $(PDES_ROOT);
86+
87+
# To create a tar file use the following command.
88+
# You need to do this from a seperate dir
89+
# if you want to have a top level dir different from ~pdevel.
90+
91+
# For example create a release dir called SCL.
92+
# In it place links to all the dirs you need.
93+
# i.e.
94+
# $(SCL)/src
95+
# $(SCL)/src/express
96+
# $(SCL)/src/exppp
97+
# $(SCL)/src/fedex_plus
98+
# $(SCL)/src/clstepcore
99+
# $(SCL)/src/clutils
100+
# $(SCL)/src/cleditor
101+
# $(SCL)/src/clprobe-ui
102+
#
103+
# and the bin, arch, man dir and any other files.
104+
# Then run the tar command. The options mean
105+
# c create
106+
# v verbose
107+
# h hard code links as files
108+
# f file to create
109+
# FF skip .o files and RCS files
110+
# [X] file name of other files to exclude
111+
112+
# create a tar file of the current dir
113+
# by following all the links but don't copy any RCS dirs
114+
#SCL = DProbe3.0pre
115+
#tarfile:
116+
# tar cvhfFF $(SCL).tar $(SCL)
117+
# $(SCL)/src/RCS
118+
# $(SCL)/src/express/RCS
119+
# $(SCL)/src/exppp/RCS
120+
# $(SCL)/src/fedex_plus/RCS
121+
# $(SCL)/src/clstepcore/RCS
122+
# $(SCL)/src/clutils/RCS
123+
# $(SCL)/src/cleditor/RCS
124+
# $(SCL)/src/clprobe-ui/RCS
125+
#
126+
#
127+
#
128+
# $(SCL)

0 commit comments

Comments
 (0)