Remove various unnecessary files - duplicates, rcs scripts, autotools stuff
This commit is contained in:
parent
5d1606208a
commit
f660197e85
16 changed files with 0 additions and 8787 deletions
|
|
@ -1,21 +0,0 @@
|
|||
|
||||
config/README
|
||||
|
||||
examples/ - directory containing files that you can "source" to
|
||||
install SCL as appropriate for NIST.
|
||||
|
||||
scl_cf.h.in - used by configure to create an arch-specific header file
|
||||
that handles problem areas for compilers and operating systems.
|
||||
The created file is <arch_dir>/scl_cf.h
|
||||
|
||||
mkProbe.current.in - used by configure to create an arch-specific mkProbe
|
||||
script. The created file is <arch_dir>/bin/mkProbe
|
||||
|
||||
setup-arch.current.in - used by configure to create an arch-specific
|
||||
setup-arch script. The created file is <arch_dir>/bin/setup-arch
|
||||
|
||||
sclbuild.current.in - used by configure to create an arch-specific
|
||||
sclbuild script. The created file is <arch_dir>/bin/sclbuild
|
||||
|
||||
checkout - checks out files from RCS as appropriate for this directory.
|
||||
|
||||
|
|
@ -1,327 +0,0 @@
|
|||
#!/bin/csh
|
||||
###############################################################################
|
||||
# To create a new Data Probe use the mkProbe script as follows:
|
||||
#
|
||||
# mkProbe [-i] [-l] [-p] [-s] [-R pdes_root] [-E express_path]
|
||||
# express-file schema_name
|
||||
#
|
||||
|
||||
# mkProbe creates a new Data Probe executable using the express-file
|
||||
# argument. The new Data Probe has the name dp_schema-name and is
|
||||
# located in a (possibly new) directory named schema-name.
|
||||
|
||||
# The optional argument -i indicates that the new data probe should be
|
||||
# installed into the PDES root directory. Without the -i argument the
|
||||
# new Data Probe will be created in the directory from which the
|
||||
# mkProbe script is run.
|
||||
|
||||
# The optional argument -l tells the script to only create the library
|
||||
# for the schema and not to create the Data Probe application.
|
||||
|
||||
# The optional argument -p tells the script to only create the Part 21
|
||||
# file reader application rather than the Data Probe.
|
||||
|
||||
# The optional argument -E specifies an EXPRESS_PATH environment
|
||||
# variable to be used when fedex_plus is executed in mkProbe. (See
|
||||
# documentation on the NIST EXPRESS Toolkit.) If this option is not
|
||||
# chosen, mkProbe will use the EXPRESS_PATH environment variable set
|
||||
# in the user's .cshrc file or if EXPRESS_PATH is not set in the
|
||||
# .cshrc file, mkProbe will use the EXPRESS_PATH setting it finds when
|
||||
# executed (i.e., from a previous setenv EXPRESS_PATH command or the
|
||||
# user's .login file).
|
||||
|
||||
# The optional argument -s (or -S) tells the EXPRESS-to-C++
|
||||
# translator, fedex_plus, to use only single-inheritance, rather than
|
||||
# multiple inheritance. This option is just passed along to fedex_plus.
|
||||
|
||||
# The PDES root directory can be defined by the environment variable
|
||||
# PDES_ROOT. This variable should be set in the user's .cshrc file as
|
||||
# follows:
|
||||
|
||||
#
|
||||
# % setenv PDES_ROOT = ~pdes
|
||||
#
|
||||
|
||||
# If the PDES_ROOT environment variable is not set mkProbe looks for
|
||||
# the directory ~pdevel and uses that as the PDES root.
|
||||
#
|
||||
###############################################################################
|
||||
|
||||
#####
|
||||
# ----- set up variables and directories
|
||||
|
||||
#set USAGE = "usage: mkProbe [-i] [-l] [-p] [-s] [-R pdes_root] [-E express_path] express-file schema_name"
|
||||
set origDir = `pwd`
|
||||
|
||||
#to flag the -i option when chosen
|
||||
set useroot = 'no'
|
||||
#
|
||||
|
||||
# set up a flags variable for fedex_plus
|
||||
set fedXflags = ''
|
||||
|
||||
# -- find the root directory
|
||||
# This can be overridden with the -R option to mkProbe option
|
||||
if ($?PDES_ROOT) then
|
||||
set pdesRoot=$PDES_ROOT
|
||||
else
|
||||
set pdesRoot = '/proj/pdevel/scl3-1'
|
||||
endif
|
||||
|
||||
#####
|
||||
# -- set up to install into a public place
|
||||
# and other options
|
||||
|
||||
set mkrule = ''
|
||||
|
||||
foreach i ($1 $2 $3 $4 $5 $6)
|
||||
switch ($i)
|
||||
case -i:
|
||||
case -I:
|
||||
# set up the installation locations last
|
||||
set useroot = '-i';
|
||||
shift;
|
||||
breaksw
|
||||
case -s:
|
||||
case -S:
|
||||
# set up flag to fedex_plus for single-inheritance
|
||||
set fedXflags = $i;
|
||||
shift;
|
||||
breaksw
|
||||
case -e:
|
||||
case -E:
|
||||
# set the EXPRESS_PATH for fed-x to use
|
||||
setenv EXPRESS_PATH $2;
|
||||
shift;
|
||||
shift;
|
||||
breaksw
|
||||
case -r:
|
||||
case -R:
|
||||
# set the PDES_ROOT
|
||||
set pdesRoot = $2;
|
||||
shift;
|
||||
shift;
|
||||
breaksw
|
||||
case -L:
|
||||
case -l:
|
||||
# create only the schema library and not the Data Probe application
|
||||
set mkrule = 'lib';
|
||||
shift;
|
||||
breaksw
|
||||
case -p:
|
||||
case -P:
|
||||
# create the Part 21 file reader and not the Data Probe application
|
||||
set mkrule = 'p21';
|
||||
shift;
|
||||
breaksw
|
||||
default:
|
||||
# don't shift so that the express file and schema name will be left
|
||||
breaksw
|
||||
endsw
|
||||
|
||||
end
|
||||
|
||||
if ( -d $pdesRoot ) then
|
||||
else
|
||||
echo "usage: mkProbe [-i] [-l] [-p] [-s] [-R pdes_root] [-E express_path] express-file schema_name"
|
||||
echo " -i install in the scl root directory"
|
||||
echo " -l create only the library for the schema"
|
||||
echo " -p create only the Part 21 file reader application"
|
||||
echo " -s passed to fedex_plus to generate only single inheritance for entities"
|
||||
echo "Use the environment variable PDES_ROOT or the -R option"
|
||||
echo "to set the root of the pdes directory."
|
||||
exit(-1)
|
||||
endif
|
||||
|
||||
# -- set arch directory
|
||||
set archRoot = $pdesRoot/arch-gnu-solaris
|
||||
|
||||
# -- set fedex_plus
|
||||
set fedXplus = $archRoot/bin/fedex_plus
|
||||
|
||||
#####
|
||||
# -- set up directories for installation
|
||||
set EXPRESS_FILE = $1
|
||||
set SCHEMA_NAME = $2
|
||||
|
||||
if $useroot == '-i' then
|
||||
# -- set up to create files in public directory
|
||||
set OFILES = $archRoot/Probes/$SCHEMA_NAME
|
||||
set SRCS = $pdesRoot/src/clSchemas/$SCHEMA_NAME
|
||||
set TMP_MAKE = $archRoot/Probes/template-schema/Makefile.public
|
||||
|
||||
else
|
||||
# -- set up to create files in personal directory
|
||||
set OFILES = $origDir/$SCHEMA_NAME
|
||||
set SRCS = $origDir/$SCHEMA_NAME
|
||||
set TMP_MAKE = $archRoot/Probes/template-schema/Makefile.personal
|
||||
endif
|
||||
|
||||
#####
|
||||
# -- make all directories
|
||||
if ( -d $SRCS ) then
|
||||
else
|
||||
mkdir $SRCS
|
||||
endif
|
||||
|
||||
if (-w $SRCS ) then
|
||||
else
|
||||
echo "Unable to write to directory $SRCS"
|
||||
echo "usage: mkProbe [-i] [-l] [-p] [-s] [-R pdes_root] [-E express_path] express-file schema_name"
|
||||
echo " -i install in the scl root directory"
|
||||
echo " -l create only the library for the schema"
|
||||
echo " -p create only the Part 21 file reader application"
|
||||
echo " -s passed to fedex_plus to generate only single inheritance for entities"
|
||||
exit(-1)
|
||||
endif
|
||||
|
||||
if ( -d $OFILES ) then
|
||||
else
|
||||
mkdir $OFILES
|
||||
endif
|
||||
|
||||
if (-w $OFILES ) then
|
||||
else
|
||||
echo "Unable to write to directory $OFILES"
|
||||
echo "usage: mkProbe [-i] [-l] [-p] [-s] [-R pdes_root] [-E express_path] express-file schema_name"
|
||||
echo " -i install in the scl root directory"
|
||||
echo " -l create only the library for the schema"
|
||||
echo " -p create only the Part 21 file reader application"
|
||||
echo " -s passed to fedex_plus to generate only single inheritance for entities"
|
||||
exit(-1)
|
||||
endif
|
||||
|
||||
#####
|
||||
# -- if public set up some links for convience
|
||||
|
||||
if ($useroot == '-i') then
|
||||
# set up links only if they do not already exist
|
||||
if ((-e $OFILES/src) || (-e $SRCS/o)) then
|
||||
else
|
||||
ln -s $OFILES $SRCS/o
|
||||
ln -s $SRCS $OFILES/src
|
||||
endif
|
||||
endif
|
||||
|
||||
#####
|
||||
# -- check the arguments
|
||||
|
||||
if ($EXPRESS_FILE == '') then
|
||||
echo "No EXPRESS file supplied"
|
||||
echo "usage: mkProbe [-i] [-l] [-p] [-s] [-R pdes_root] [-E express_path] express-file schema_name"
|
||||
echo " -i install in the scl root directory"
|
||||
echo " -l create only the library for the schema"
|
||||
echo " -p create only the Part 21 file reader application"
|
||||
echo " -s passed to fedex_plus to generate only single inheritance for entities"
|
||||
exit(-1)
|
||||
endif
|
||||
|
||||
if ( -r $EXPRESS_FILE) then
|
||||
set expFile = `basename $EXPRESS_FILE`
|
||||
set expressPath = `dirname $EXPRESS_FILE`
|
||||
cd $expressPath
|
||||
set fullExpPath = `pwd`
|
||||
cd $SRCS
|
||||
ln -s $fullExpPath/$expFile
|
||||
cd $origDir
|
||||
else
|
||||
echo "EXPRESS file is not readable"
|
||||
echo "usage: mkProbe [-i] [-l] [-p] [-s] [-R pdes_root] [-E express_path] express-file schema_name"
|
||||
echo " -i install in the scl root directory"
|
||||
echo " -l create only the library for the schema"
|
||||
echo " -p create only the Part 21 file reader application"
|
||||
echo " -s passed to fedex_plus to generate only single inheritance for entities"
|
||||
exit(-1)
|
||||
endif
|
||||
|
||||
if ($SCHEMA_NAME == '') then
|
||||
echo "No schema name supplied"
|
||||
echo "usage: mkProbe [-i] [-l] [-p] [-s] [-R pdes_root] [-E express_path] express-file schema_name"
|
||||
echo " -i install in the scl root directory"
|
||||
echo " -l create only the library for the schema"
|
||||
echo " -p create only the Part 21 file reader application"
|
||||
echo " -s passed to fedex_plus to generate only single inheritance for entities"
|
||||
exit(-1)
|
||||
endif
|
||||
|
||||
#####
|
||||
# ----- everything's set, translate the Express file
|
||||
|
||||
echo " "
|
||||
echo "Creating a Data Probe..."
|
||||
echo " "
|
||||
echo "EXPRESS file = $EXPRESS_FILE"
|
||||
echo "schema name = $SCHEMA_NAME"
|
||||
if ($?EXPRESS_PATH) then
|
||||
echo "EXPRESS_PATH = $EXPRESS_PATH"
|
||||
endif
|
||||
echo "pdes root dir = $pdesRoot"
|
||||
echo " "
|
||||
|
||||
cd $SRCS
|
||||
|
||||
# run fedex_plus on the Express schema to generate the C++ source code
|
||||
echo "Translating the schema..."
|
||||
# echo $fedXplus $fedXflags $fullExpPath/$expFile
|
||||
$fedXplus $fedXflags $fullExpPath/$expFile
|
||||
|
||||
#####
|
||||
# ----- source is generated, now compile it
|
||||
cd $OFILES
|
||||
|
||||
# -- edit the makefile
|
||||
if( -r Makefile ) then
|
||||
mv Makefile Makefile.old
|
||||
rm -f Makefile
|
||||
endif
|
||||
sed -e "s/SCHEMA_NAME = your-schema/SCHEMA_NAME = $SCHEMA_NAME/" $TMP_MAKE > Makefile
|
||||
echo " "
|
||||
|
||||
#####
|
||||
# -- compile the new probe
|
||||
# no need to run make depend if not developing
|
||||
#make PDES_ROOT=$pdesRoot depend
|
||||
|
||||
echo " "
|
||||
echo "Compiling..."
|
||||
make PDES_ROOT=$pdesRoot $mkrule
|
||||
|
||||
#####
|
||||
# -- report what happened
|
||||
if ( -r libC$SCHEMA_NAME.a) then
|
||||
echo " "
|
||||
echo "Your schema library is libC$SCHEMA_NAME.a"
|
||||
|
||||
else
|
||||
echo "mkProbe was unsuccessful in creating the Schema Library."
|
||||
echo " "
|
||||
echo "Resolve previous error messages and try again."
|
||||
echo " "
|
||||
exit (-1)
|
||||
endif
|
||||
|
||||
# if only building the schema library stop here
|
||||
if ($mkrule == 'lib') then
|
||||
|
||||
else if ( -x dp_$SCHEMA_NAME) then
|
||||
echo " "
|
||||
echo " "
|
||||
echo "To run your new Data Probe..."
|
||||
echo "run $OFILES/dp_$SCHEMA_NAME"
|
||||
|
||||
else if ( -x p21read_$SCHEMA_NAME) then
|
||||
echo " "
|
||||
echo " "
|
||||
echo "Your Part 21 reader is in $OFILES/dp_$SCHEMA_NAME"
|
||||
|
||||
else
|
||||
echo " "
|
||||
echo " "
|
||||
echo "mkProbe was unsuccessful in making the Data Probe."
|
||||
echo " "
|
||||
echo "Resolve previous error messages and try again."
|
||||
echo " "
|
||||
exit (-1)
|
||||
endif
|
||||
|
||||
|
||||
|
|
@ -1,327 +0,0 @@
|
|||
#!/bin/csh
|
||||
###############################################################################
|
||||
# To create a new Data Probe use the mkProbe script as follows:
|
||||
#
|
||||
# mkProbe [-i] [-l] [-p] [-s] [-R pdes_root] [-E express_path]
|
||||
# express-file schema_name
|
||||
#
|
||||
|
||||
# mkProbe creates a new Data Probe executable using the express-file
|
||||
# argument. The new Data Probe has the name dp_schema-name and is
|
||||
# located in a (possibly new) directory named schema-name.
|
||||
|
||||
# The optional argument -i indicates that the new data probe should be
|
||||
# installed into the PDES root directory. Without the -i argument the
|
||||
# new Data Probe will be created in the directory from which the
|
||||
# mkProbe script is run.
|
||||
|
||||
# The optional argument -l tells the script to only create the library
|
||||
# for the schema and not to create the Data Probe application.
|
||||
|
||||
# The optional argument -p tells the script to only create the Part 21
|
||||
# file reader application rather than the Data Probe.
|
||||
|
||||
# The optional argument -E specifies an EXPRESS_PATH environment
|
||||
# variable to be used when fedex_plus is executed in mkProbe. (See
|
||||
# documentation on the NIST EXPRESS Toolkit.) If this option is not
|
||||
# chosen, mkProbe will use the EXPRESS_PATH environment variable set
|
||||
# in the user's .cshrc file or if EXPRESS_PATH is not set in the
|
||||
# .cshrc file, mkProbe will use the EXPRESS_PATH setting it finds when
|
||||
# executed (i.e., from a previous setenv EXPRESS_PATH command or the
|
||||
# user's .login file).
|
||||
|
||||
# The optional argument -s (or -S) tells the EXPRESS-to-C++
|
||||
# translator, fedex_plus, to use only single-inheritance, rather than
|
||||
# multiple inheritance. This option is just passed along to fedex_plus.
|
||||
|
||||
# The PDES root directory can be defined by the environment variable
|
||||
# PDES_ROOT. This variable should be set in the user's .cshrc file as
|
||||
# follows:
|
||||
|
||||
#
|
||||
# % setenv PDES_ROOT = ~pdes
|
||||
#
|
||||
|
||||
# If the PDES_ROOT environment variable is not set mkProbe looks for
|
||||
# the directory ~pdevel and uses that as the PDES root.
|
||||
#
|
||||
###############################################################################
|
||||
|
||||
#####
|
||||
# ----- set up variables and directories
|
||||
|
||||
#set USAGE = "usage: mkProbe [-i] [-l] [-p] [-s] [-R pdes_root] [-E express_path] express-file schema_name"
|
||||
set origDir = `pwd`
|
||||
|
||||
#to flag the -i option when chosen
|
||||
set useroot = 'no'
|
||||
#
|
||||
|
||||
# set up a flags variable for fedex_plus
|
||||
set fedXflags = ''
|
||||
|
||||
# -- find the root directory
|
||||
# This can be overridden with the -R option to mkProbe option
|
||||
if ($?PDES_ROOT) then
|
||||
set pdesRoot=$PDES_ROOT
|
||||
else
|
||||
set pdesRoot = '@PDES_ROOT@'
|
||||
endif
|
||||
|
||||
#####
|
||||
# -- set up to install into a public place
|
||||
# and other options
|
||||
|
||||
set mkrule = ''
|
||||
|
||||
foreach i ($1 $2 $3 $4 $5 $6)
|
||||
switch ($i)
|
||||
case -i:
|
||||
case -I:
|
||||
# set up the installation locations last
|
||||
set useroot = '-i';
|
||||
shift;
|
||||
breaksw
|
||||
case -s:
|
||||
case -S:
|
||||
# set up flag to fedex_plus for single-inheritance
|
||||
set fedXflags = $i;
|
||||
shift;
|
||||
breaksw
|
||||
case -e:
|
||||
case -E:
|
||||
# set the EXPRESS_PATH for fed-x to use
|
||||
setenv EXPRESS_PATH $2;
|
||||
shift;
|
||||
shift;
|
||||
breaksw
|
||||
case -r:
|
||||
case -R:
|
||||
# set the PDES_ROOT
|
||||
set pdesRoot = $2;
|
||||
shift;
|
||||
shift;
|
||||
breaksw
|
||||
case -L:
|
||||
case -l:
|
||||
# create only the schema library and not the Data Probe application
|
||||
set mkrule = 'lib';
|
||||
shift;
|
||||
breaksw
|
||||
case -p:
|
||||
case -P:
|
||||
# create the Part 21 file reader and not the Data Probe application
|
||||
set mkrule = 'p21';
|
||||
shift;
|
||||
breaksw
|
||||
default:
|
||||
# don't shift so that the express file and schema name will be left
|
||||
breaksw
|
||||
endsw
|
||||
|
||||
end
|
||||
|
||||
if ( -d $pdesRoot ) then
|
||||
else
|
||||
echo "usage: mkProbe [-i] [-l] [-p] [-s] [-R pdes_root] [-E express_path] express-file schema_name"
|
||||
echo " -i install in the scl root directory"
|
||||
echo " -l create only the library for the schema"
|
||||
echo " -p create only the Part 21 file reader application"
|
||||
echo " -s passed to fedex_plus to generate only single inheritance for entities"
|
||||
echo "Use the environment variable PDES_ROOT or the -R option"
|
||||
echo "to set the root of the pdes directory."
|
||||
exit(-1)
|
||||
endif
|
||||
|
||||
# -- set arch directory
|
||||
set archRoot = $pdesRoot/@ARCH_ROOT@
|
||||
|
||||
# -- set fedex_plus
|
||||
set fedXplus = $archRoot/bin/fedex_plus
|
||||
|
||||
#####
|
||||
# -- set up directories for installation
|
||||
set EXPRESS_FILE = $1
|
||||
set SCHEMA_NAME = $2
|
||||
|
||||
if $useroot == '-i' then
|
||||
# -- set up to create files in public directory
|
||||
set OFILES = $archRoot/Probes/$SCHEMA_NAME
|
||||
set SRCS = $pdesRoot/src/clSchemas/$SCHEMA_NAME
|
||||
set TMP_MAKE = $archRoot/Probes/template-schema/Makefile.public
|
||||
|
||||
else
|
||||
# -- set up to create files in personal directory
|
||||
set OFILES = $origDir/$SCHEMA_NAME
|
||||
set SRCS = $origDir/$SCHEMA_NAME
|
||||
set TMP_MAKE = $archRoot/Probes/template-schema/Makefile.personal
|
||||
endif
|
||||
|
||||
#####
|
||||
# -- make all directories
|
||||
if ( -d $SRCS ) then
|
||||
else
|
||||
mkdir $SRCS
|
||||
endif
|
||||
|
||||
if (-w $SRCS ) then
|
||||
else
|
||||
echo "Unable to write to directory $SRCS"
|
||||
echo "usage: mkProbe [-i] [-l] [-p] [-s] [-R pdes_root] [-E express_path] express-file schema_name"
|
||||
echo " -i install in the scl root directory"
|
||||
echo " -l create only the library for the schema"
|
||||
echo " -p create only the Part 21 file reader application"
|
||||
echo " -s passed to fedex_plus to generate only single inheritance for entities"
|
||||
exit(-1)
|
||||
endif
|
||||
|
||||
if ( -d $OFILES ) then
|
||||
else
|
||||
mkdir $OFILES
|
||||
endif
|
||||
|
||||
if (-w $OFILES ) then
|
||||
else
|
||||
echo "Unable to write to directory $OFILES"
|
||||
echo "usage: mkProbe [-i] [-l] [-p] [-s] [-R pdes_root] [-E express_path] express-file schema_name"
|
||||
echo " -i install in the scl root directory"
|
||||
echo " -l create only the library for the schema"
|
||||
echo " -p create only the Part 21 file reader application"
|
||||
echo " -s passed to fedex_plus to generate only single inheritance for entities"
|
||||
exit(-1)
|
||||
endif
|
||||
|
||||
#####
|
||||
# -- if public set up some links for convience
|
||||
|
||||
if ($useroot == '-i') then
|
||||
# set up links only if they do not already exist
|
||||
if ((-e $OFILES/src) || (-e $SRCS/o)) then
|
||||
else
|
||||
ln -s $OFILES $SRCS/o
|
||||
ln -s $SRCS $OFILES/src
|
||||
endif
|
||||
endif
|
||||
|
||||
#####
|
||||
# -- check the arguments
|
||||
|
||||
if ($EXPRESS_FILE == '') then
|
||||
echo "No EXPRESS file supplied"
|
||||
echo "usage: mkProbe [-i] [-l] [-p] [-s] [-R pdes_root] [-E express_path] express-file schema_name"
|
||||
echo " -i install in the scl root directory"
|
||||
echo " -l create only the library for the schema"
|
||||
echo " -p create only the Part 21 file reader application"
|
||||
echo " -s passed to fedex_plus to generate only single inheritance for entities"
|
||||
exit(-1)
|
||||
endif
|
||||
|
||||
if ( -r $EXPRESS_FILE) then
|
||||
set expFile = `basename $EXPRESS_FILE`
|
||||
set expressPath = `dirname $EXPRESS_FILE`
|
||||
cd $expressPath
|
||||
set fullExpPath = `pwd`
|
||||
cd $SRCS
|
||||
ln -s $fullExpPath/$expFile
|
||||
cd $origDir
|
||||
else
|
||||
echo "EXPRESS file is not readable"
|
||||
echo "usage: mkProbe [-i] [-l] [-p] [-s] [-R pdes_root] [-E express_path] express-file schema_name"
|
||||
echo " -i install in the scl root directory"
|
||||
echo " -l create only the library for the schema"
|
||||
echo " -p create only the Part 21 file reader application"
|
||||
echo " -s passed to fedex_plus to generate only single inheritance for entities"
|
||||
exit(-1)
|
||||
endif
|
||||
|
||||
if ($SCHEMA_NAME == '') then
|
||||
echo "No schema name supplied"
|
||||
echo "usage: mkProbe [-i] [-l] [-p] [-s] [-R pdes_root] [-E express_path] express-file schema_name"
|
||||
echo " -i install in the scl root directory"
|
||||
echo " -l create only the library for the schema"
|
||||
echo " -p create only the Part 21 file reader application"
|
||||
echo " -s passed to fedex_plus to generate only single inheritance for entities"
|
||||
exit(-1)
|
||||
endif
|
||||
|
||||
#####
|
||||
# ----- everything's set, translate the Express file
|
||||
|
||||
echo " "
|
||||
echo "Creating a Data Probe..."
|
||||
echo " "
|
||||
echo "EXPRESS file = $EXPRESS_FILE"
|
||||
echo "schema name = $SCHEMA_NAME"
|
||||
if ($?EXPRESS_PATH) then
|
||||
echo "EXPRESS_PATH = $EXPRESS_PATH"
|
||||
endif
|
||||
echo "pdes root dir = $pdesRoot"
|
||||
echo " "
|
||||
|
||||
cd $SRCS
|
||||
|
||||
# run fedex_plus on the Express schema to generate the C++ source code
|
||||
echo "Translating the schema..."
|
||||
# echo $fedXplus $fedXflags $fullExpPath/$expFile
|
||||
$fedXplus $fedXflags $fullExpPath/$expFile
|
||||
|
||||
#####
|
||||
# ----- source is generated, now compile it
|
||||
cd $OFILES
|
||||
|
||||
# -- edit the makefile
|
||||
if( -r Makefile ) then
|
||||
mv Makefile Makefile.old
|
||||
rm -f Makefile
|
||||
endif
|
||||
sed -e "s/SCHEMA_NAME = your-schema/SCHEMA_NAME = $SCHEMA_NAME/" $TMP_MAKE > Makefile
|
||||
echo " "
|
||||
|
||||
#####
|
||||
# -- compile the new probe
|
||||
# no need to run make depend if not developing
|
||||
#make PDES_ROOT=$pdesRoot depend
|
||||
|
||||
echo " "
|
||||
echo "Compiling..."
|
||||
make PDES_ROOT=$pdesRoot $mkrule
|
||||
|
||||
#####
|
||||
# -- report what happened
|
||||
if ( -r libC$SCHEMA_NAME.a) then
|
||||
echo " "
|
||||
echo "Your schema library is libC$SCHEMA_NAME.a"
|
||||
|
||||
else
|
||||
echo "mkProbe was unsuccessful in creating the Schema Library."
|
||||
echo " "
|
||||
echo "Resolve previous error messages and try again."
|
||||
echo " "
|
||||
exit (-1)
|
||||
endif
|
||||
|
||||
# if only building the schema library stop here
|
||||
if ($mkrule == 'lib') then
|
||||
|
||||
else if ( -x dp_$SCHEMA_NAME) then
|
||||
echo " "
|
||||
echo " "
|
||||
echo "To run your new Data Probe..."
|
||||
echo "run $OFILES/dp_$SCHEMA_NAME"
|
||||
|
||||
else if ( -x p21read_$SCHEMA_NAME) then
|
||||
echo " "
|
||||
echo " "
|
||||
echo "Your Part 21 reader is in $OFILES/p21read_$SCHEMA_NAME"
|
||||
|
||||
else
|
||||
echo " "
|
||||
echo " "
|
||||
echo "mkProbe was unsuccessful in making the Data Probe."
|
||||
echo " "
|
||||
echo "Resolve previous error messages and try again."
|
||||
echo " "
|
||||
exit (-1)
|
||||
endif
|
||||
|
||||
|
||||
|
|
@ -1,66 +0,0 @@
|
|||
|
||||
.PHONY: fast fast-am fast-recursive noprod prodclean prodclean-recursive depends
|
||||
|
||||
#
|
||||
# compile all sources first, then link on a second pass. requires 2x
|
||||
# disk space to account for uncertainty on whether the objects are for
|
||||
# a library or an executable.
|
||||
#
|
||||
fast: fast-recursive
|
||||
|
||||
fast-am: $(FAST_OBJECTS) all-am
|
||||
|
||||
fast-recursive:
|
||||
@list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) fast); \
|
||||
done
|
||||
@$(MAKE) $(AM_MAKEFLAGS) fast-am
|
||||
|
||||
#
|
||||
# remove all of the build targets (binaries and libraries)
|
||||
#
|
||||
noprod: prodclean
|
||||
|
||||
prodclean: prodclean-recursive
|
||||
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
||||
f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
|
||||
echo "rm -f $$p $$f"; \
|
||||
rm -f $$p $$f ; \
|
||||
done
|
||||
@list='$(noinst_PROGRAMS)'; for p in $$list; do \
|
||||
f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
|
||||
echo "rm -f $$p $$f"; \
|
||||
rm -f $$p $$f ; \
|
||||
done
|
||||
@list='$(EXTRA_PROGRAMS)'; for p in $$list; do \
|
||||
f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
|
||||
echo "rm -f $$p $$f"; \
|
||||
rm -f $$p $$f ; \
|
||||
done
|
||||
@if test ! -z "$(lib_LTLIBRARIES)" ; then echo rm -f $(lib_LTLIBRARIES) && rm -f $(lib_LTLIBRARIES) ; fi
|
||||
@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
|
||||
dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
|
||||
test -z "$dir" && dir=.; \
|
||||
echo "rm -f \"$${dir}/so_locations\""; \
|
||||
rm -f "$${dir}/so_locations"; \
|
||||
done
|
||||
@if test ! -z "$(noinst_LTLIBRARIES)" ; then echo rm -f $(noinst_LTLIBRARIES) && rm -f $(noinst_LTLIBRARIES) ; fi
|
||||
@list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
|
||||
dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
|
||||
test -z "$dir" && dir=.; \
|
||||
echo "rm -f \"$${dir}/so_locations\""; \
|
||||
rm -f "$${dir}/so_locations"; \
|
||||
done
|
||||
@if test ! -z "$(lib_LIBRARIES)" ; then echo rm -f $(lib_LIBRARIES) && rm -f $(lib_LIBRARIES) ; fi
|
||||
@if test ! -z "$(noinst_LIBRARIES)" ; then echo rm -f $(noinst_LIBRARIES) && rm -f $(noinst_LIBRARIES) ; fi
|
||||
|
||||
prodclean-recursive:
|
||||
@list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) prodclean); \
|
||||
done
|
||||
|
||||
depends:
|
||||
for dep in ${DEPS} ${DEPENDS} ; do echo "$$dep" ; (cd ${top_builddir}/$$dep && $(MAKE) $(AM_MAKEFLAGS) depends all) ; done
|
||||
|
||||
install-depends:
|
||||
for dep in ${DEPS} ${DEPENDS} ; do echo "$$dep" ; (cd ${top_builddir}/$$dep && $(MAKE) $(AM_MAKEFLAGS) install-depends install) ; done
|
||||
6000
misc/libtool.m4
vendored
6000
misc/libtool.m4
vendored
File diff suppressed because it is too large
Load diff
|
|
@ -1,3 +0,0 @@
|
|||
OFILES = schema.o SdaiAll.o compstructs.o\
|
||||
SdaiEXAMPLE_SCHEMA.o \
|
||||
SdaiEXAMPLE_SCHEMA.init.o
|
||||
|
|
@ -1,41 +0,0 @@
|
|||
# $Id: Makefile,v 2.2.1.1 1997/11/05 23:05:42 sauderd DP3.1 $
|
||||
|
||||
# This code was developed with the support of the United States Government,
|
||||
# and is not subject to copyright.
|
||||
|
||||
# This Makefile makes the library ../../arch/lib/libCivfasd.a which is
|
||||
# made from the pdevel/src/clivfasd/ directory.
|
||||
# It does this by running the corresponding make in
|
||||
# ../../arch/ofiles/ivfasd
|
||||
# If you just type 'make' it will run 'make all'.
|
||||
# It has the rule necessary for making a single object file.
|
||||
# All object files are dropped in the directory named by the OBJDIR macro.
|
||||
|
||||
CC = g++
|
||||
X = X11
|
||||
MAKE = make X=$X
|
||||
OBJDIR = ../../arch/ofiles/ivfasd
|
||||
|
||||
LIBRARY = ../../arch/lib/libCivfasd.a
|
||||
|
||||
.KEEP_STATE:
|
||||
.SUFFIXES: . .o .c .h .cc
|
||||
|
||||
# make the whole library
|
||||
all: $(LIBRARY)
|
||||
|
||||
# make the whole library
|
||||
$(LIBRARY)::
|
||||
-@if [ -d $(OBJDIR) ]; then \
|
||||
echo "running make all" "in $(OBJDIR)"; \
|
||||
cd $(OBJDIR); $(MAKE) all; \
|
||||
else exit 0; fi
|
||||
|
||||
# This makes a single .o file.
|
||||
# It makes it by running make in $(OBJDIR), thus the
|
||||
# object file will end up in the $(OBJDIR) directory.
|
||||
%.o: %.cc
|
||||
-@if [ -d $(OBJDIR) ]; then \
|
||||
echo "running make" $< "in $(OBJDIR)"; \
|
||||
cd $(OBJDIR); $(MAKE) $@ ; \
|
||||
else exit 0; fi
|
||||
|
|
@ -1,25 +0,0 @@
|
|||
|
||||
while [ "$1" ]
|
||||
do
|
||||
co -l $1
|
||||
mv $1 $1.30
|
||||
echo "co -r2.2 -l $1"
|
||||
co -r2.2 -l $1
|
||||
mv $1.30 $1
|
||||
echo " "
|
||||
echo "checking in $1"
|
||||
echo "check in v 3.0"
|
||||
echo " "
|
||||
ci -f -r3.0 -sdp3-0 -m"STEP Class Library Pre Release 3.0" $1
|
||||
rcs -u $1
|
||||
co -l -r3.0 $1
|
||||
echo " "
|
||||
echo "check in v 3.0.1.0"
|
||||
echo " "
|
||||
ci -f -r3.0.1.0 -m"Setting the first branch" $1
|
||||
rcs -u $1
|
||||
rcs -b3.0.1 $1
|
||||
co $1
|
||||
rm $1.30
|
||||
shift
|
||||
done
|
||||
|
|
@ -1,41 +0,0 @@
|
|||
# $Id: Makefile,v 2.2.1.1 1997/11/05 23:01:04 sauderd DP3.1 $
|
||||
|
||||
# This code was developed with the support of the United States Government,
|
||||
# and is not subject to copyright.
|
||||
|
||||
# This Makefile makes the library ../../arch/lib/libCprobe-ui.a which is
|
||||
# made from the pdevel/src/clprobe-ui/ directory.
|
||||
# It does this by running the corresponding make in
|
||||
# ../../arch/ofiles/probe-ui
|
||||
# If you just type 'make' it will run 'make all'.
|
||||
# It has the rule necessary for making a single object file.
|
||||
# All object files are dropped in the directory named by the OBJDIR macro.
|
||||
|
||||
CC = g++
|
||||
X = X11
|
||||
MAKE = make X=$X
|
||||
OBJDIR = ../../arch/ofiles/probe-ui
|
||||
|
||||
LIBRARY = ../../arch/lib/libCprobe-ui.a
|
||||
|
||||
.KEEP_STATE:
|
||||
.SUFFIXES: . .o .c .h .cc
|
||||
|
||||
# make the whole library
|
||||
all: $(LIBRARY)
|
||||
|
||||
# make the whole library
|
||||
$(LIBRARY)::
|
||||
-@if [ -d $(OBJDIR) ]; then \
|
||||
echo "running make all" "in $(OBJDIR)"; \
|
||||
cd $(OBJDIR); $(MAKE) all; \
|
||||
else exit 0; fi
|
||||
|
||||
# This makes a single .o file.
|
||||
# It makes it by running make in $(OBJDIR), thus the
|
||||
# object file will end up in the $(OBJDIR) directory.
|
||||
%.o: %.cc
|
||||
-@if [ -d $(OBJDIR) ]; then \
|
||||
echo "running make" $< "in $(OBJDIR)"; \
|
||||
cd $(OBJDIR); $(MAKE) $@ ; \
|
||||
else exit 0; fi
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,57 +0,0 @@
|
|||
# This Makefile is a wrapper for all the Makefiles for the individual
|
||||
# test programs. Just typing 'make' in this directory will build all
|
||||
# of the programs. To build them individually, either run make from their
|
||||
# own directory, or from here type 'make progname', where progname is the
|
||||
# program you want to build.
|
||||
|
||||
.KEEP_STATE:
|
||||
|
||||
.SUFFIXES: . .o .c .h .cc
|
||||
|
||||
TESTS = p21read tstatic treg tio scl2html
|
||||
|
||||
%.h:
|
||||
|
||||
HEADERS = tests.h SEarritr.h
|
||||
|
||||
include schema-loc
|
||||
|
||||
INCLUDES = $(CC_INCLUDES) -I.
|
||||
|
||||
%.o: %.cc
|
||||
@echo " "
|
||||
@echo "compiling $<";
|
||||
$(CC) $(CFLAGS) $(INCLUDES) -c $<
|
||||
|
||||
all: needFunc.o $(TESTS)
|
||||
|
||||
p21read::
|
||||
cd p21read; make all
|
||||
|
||||
tstatic::
|
||||
cd tstatic; make all
|
||||
|
||||
treg::
|
||||
cd treg; make all
|
||||
|
||||
tio::
|
||||
cd tio; make all
|
||||
|
||||
scl2html::
|
||||
cd scl2html; make all
|
||||
|
||||
clean:
|
||||
touch foo.o; rm *.o;
|
||||
cd p21read; make clean;
|
||||
cd tstatic; make clean;
|
||||
cd treg; make clean;
|
||||
cd tio; make clean;
|
||||
cd scl2html; make clean;
|
||||
|
||||
depend:
|
||||
cd p21read; make depend
|
||||
cd tstatic; make depend
|
||||
cd treg; make depend
|
||||
cd tio; make depend
|
||||
cd scl2html; make depend
|
||||
|
||||
|
|
@ -1,60 +0,0 @@
|
|||
# Include information about directory structure... may need editing!
|
||||
include ../schema-loc
|
||||
|
||||
SCL_ED = $(PDES_ROOT)/src/cleditor
|
||||
CORE = $(PDES_ROOT)/src/clstepcore
|
||||
UTILS = $(PDES_ROOT)/src/clutils
|
||||
DAI = $(PDES_ROOT)/src/cldai
|
||||
|
||||
PDESINCLUDES = -I$(SCL_ED) \
|
||||
-I$(CORE) \
|
||||
-I$(UTILS) \
|
||||
-I$(DAI) \
|
||||
-I$(SCHEMA_DIR) \
|
||||
-I$(ARCH_ROOT)
|
||||
|
||||
INCLUDES = -I. -I..\
|
||||
$(PDESINCLUDES) \
|
||||
$(CC_INCLUDES)
|
||||
|
||||
LIBPDES = \
|
||||
-L$(ARCH_ROOT)/lib \
|
||||
-lCedcore \
|
||||
-lCutils \
|
||||
-lCdai
|
||||
|
||||
SCL_LIBS = $(LIBSCHEMA) $(LIBPDES)
|
||||
|
||||
.KEEP_STATE:
|
||||
|
||||
.SUFFIXES: . .o .c .h .cc
|
||||
|
||||
SRCS = p21read.cc ../needFunc.o
|
||||
|
||||
OFILES = p21read.o ../needFunc.o
|
||||
|
||||
%.o: %.cc
|
||||
@echo " "
|
||||
@echo "compiling $<";
|
||||
$(CXX) $(CFLAGS) $(INCLUDES) -c $<
|
||||
|
||||
all: p21read
|
||||
|
||||
p21read: $(OFILES)
|
||||
$(CXX) -o p21read $(OFILES) $(SCL_LIBS) $(LDFLAGS);
|
||||
|
||||
ocenter_src: $(SRCS) *.h
|
||||
#load $(CFLAGS) $(SRCS)
|
||||
|
||||
ocenter_obj: $(OBJS)
|
||||
#load $(CFLAGS) $(OFILES)
|
||||
|
||||
clean:
|
||||
touch p21read foo.o core;
|
||||
rm p21read *.o core;
|
||||
|
||||
depend: Makefile $(SRCS)
|
||||
$(MAKE_DEPEND) $(INCLUDES) $(COND_DEFS) $(SRCS);
|
||||
|
||||
|
||||
# DO NOT DELETE THIS LINE -- make depend depends on it.
|
||||
|
|
@ -1,59 +0,0 @@
|
|||
# Include information about directory structure... may need editing!
|
||||
include ../schema-loc
|
||||
|
||||
SCL_ED = $(PDES_ROOT)/src/cleditor
|
||||
CORE = $(PDES_ROOT)/src/clstepcore
|
||||
UTILS = $(PDES_ROOT)/src/clutils
|
||||
DAI = $(PDES_ROOT)/src/cldai
|
||||
|
||||
PDESINCLUDES = -I$(SCL_ED) \
|
||||
-I$(CORE) \
|
||||
-I$(UTILS) \
|
||||
-I$(DAI) \
|
||||
-I$(SCHEMA_DIR)
|
||||
|
||||
INCLUDES = -I. -I..\
|
||||
$(PDESINCLUDES) \
|
||||
$(CC_INCLUDES)
|
||||
|
||||
LIBPDES = \
|
||||
-L$(ARCH_ROOT)/lib \
|
||||
-lCedcore \
|
||||
-lCutils \
|
||||
-lCdai
|
||||
|
||||
SCL_LIBS = $(LIBSCHEMA) $(LIBPDES)
|
||||
|
||||
.KEEP_STATE:
|
||||
|
||||
.SUFFIXES: . .o .c .h .cc
|
||||
|
||||
SRCS = scl2html.cc ../needFunc.o
|
||||
|
||||
OFILES = scl2html.o ../needFunc.o
|
||||
|
||||
%.o: %.cc
|
||||
@echo " "
|
||||
@echo "compiling $<";
|
||||
$(CC) $(CFLAGS) $(INCLUDES) -c $<
|
||||
|
||||
all: scl2html
|
||||
|
||||
scl2html: $(OFILES)
|
||||
$(CC) -o scl2html.$(SCHEMA_NAME) $(OFILES) $(SCL_LIBS) $(LDFLAGS);
|
||||
strip scl2html.$(SCHEMA_NAME);
|
||||
|
||||
scl2html.tc: $(OFILES)
|
||||
proof $(CC) -g -o scl2html.$(SCHEMA_NAME).tc \
|
||||
$(OFILES) $(SCL_LIBS) $(LDFLAGS)
|
||||
|
||||
clean:
|
||||
touch scl2html.$(SCHEMA_NAME) foo.tc foo.o core;
|
||||
rm scl2html.$(SCHEMA_NAME) *.tc *.o core;
|
||||
|
||||
depend: Makefile $(SRCS)
|
||||
$(MAKE_DEPEND) $(INCLUDES) $(COND_DEFS) $(SRCS);
|
||||
|
||||
|
||||
# DO NOT DELETE THIS LINE -- make depend depends on it.
|
||||
|
||||
|
|
@ -1,59 +0,0 @@
|
|||
# Include information about directory structure... may need editing!
|
||||
include ../schema-loc
|
||||
|
||||
SCL_ED = $(PDES_ROOT)/src/cleditor
|
||||
CORE = $(PDES_ROOT)/src/clstepcore
|
||||
UTILS = $(PDES_ROOT)/src/clutils
|
||||
DAI = $(PDES_ROOT)/src/cldai
|
||||
|
||||
PDESINCLUDES = -I$(SCL_ED) \
|
||||
-I$(CORE) \
|
||||
-I$(UTILS) \
|
||||
-I$(DAI) \
|
||||
-I$(SCHEMA_DIR)
|
||||
|
||||
INCLUDES = -I. -I..\
|
||||
$(PDESINCLUDES) \
|
||||
$(CC_INCLUDES)
|
||||
|
||||
LIBPDES = \
|
||||
-L$(ARCH_ROOT)/lib \
|
||||
-lCedcore \
|
||||
-lCutils \
|
||||
-lCdai
|
||||
|
||||
SCL_LIBS = $(LIBSCHEMA) $(LIBPDES)
|
||||
|
||||
.KEEP_STATE:
|
||||
|
||||
.SUFFIXES: . .o .c .h .cc
|
||||
|
||||
SRCS = tio.cc ../needFunc.o
|
||||
|
||||
OFILES = tio.o ../needFunc.o
|
||||
|
||||
%.o: %.cc
|
||||
@echo " "
|
||||
@echo "compiling $<";
|
||||
$(CC) $(CFLAGS) $(INCLUDES) -c $<
|
||||
|
||||
all: tio
|
||||
|
||||
tio: $(OFILES)
|
||||
$(CC) -o tio $(OFILES) $(SCL_LIBS) $(LDFLAGS);
|
||||
|
||||
ocenter_src: $(SRCS) *.h
|
||||
#load $(CFLAGS) $(SRCS)
|
||||
|
||||
ocenter_obj: $(OBJS)
|
||||
#load $(CFLAGS) $(OFILES)
|
||||
|
||||
clean:
|
||||
touch tio foo.o core;
|
||||
rm tio *.o core;
|
||||
|
||||
depend: Makefile $(SRCS)
|
||||
$(MAKE_DEPEND) $(INCLUDES) $(COND_DEFS) $(SRCS);
|
||||
|
||||
|
||||
# DO NOT DELETE THIS LINE -- make depend depends on it.
|
||||
|
|
@ -1,60 +0,0 @@
|
|||
# Include information about directory structure... may need editing!
|
||||
include ../schema-loc
|
||||
|
||||
SCL_ED = $(PDES_ROOT)/src/cleditor
|
||||
CORE = $(PDES_ROOT)/src/clstepcore
|
||||
UTILS = $(PDES_ROOT)/src/clutils
|
||||
DAI = $(PDES_ROOT)/src/cldai
|
||||
|
||||
PDESINCLUDES = -I$(SCL_ED) \
|
||||
-I$(CORE) \
|
||||
-I$(UTILS) \
|
||||
-I$(DAI) \
|
||||
-I$(SCHEMA_DIR)
|
||||
|
||||
INCLUDES = -I. -I..\
|
||||
$(PDESINCLUDES) \
|
||||
$(CC_INCLUDES)
|
||||
|
||||
LIBPDES = \
|
||||
-L$(ARCH_ROOT)/lib \
|
||||
-lCedcore \
|
||||
-lCutils \
|
||||
-lCdai
|
||||
|
||||
SCL_LIBS = $(LIBSCHEMA) $(LIBPDES)
|
||||
|
||||
.KEEP_STATE:
|
||||
|
||||
.SUFFIXES: . .o .c .h .cc
|
||||
|
||||
SRCS = treg.cc ../needFunc.o
|
||||
|
||||
OFILES = treg.o ../needFunc.o
|
||||
|
||||
%.o: %.cc
|
||||
@echo " "
|
||||
@echo "compiling $<";
|
||||
$(CC) $(CFLAGS) $(INCLUDES) -c $<
|
||||
|
||||
all: treg
|
||||
|
||||
treg: $(OFILES)
|
||||
$(CC) -o treg $(OFILES) $(SCL_LIBS) $(LDFLAGS);
|
||||
|
||||
ocenter_src: $(SRCS) *.h
|
||||
#load $(CFLAGS) $(SRCS)
|
||||
|
||||
ocenter_obj: $(OBJS)
|
||||
#load $(CFLAGS) $(OFILES)
|
||||
|
||||
clean:
|
||||
touch treg foo.o core;
|
||||
rm treg *.o core;
|
||||
|
||||
depend: Makefile $(SRCS)
|
||||
$(MAKE_DEPEND) $(INCLUDES) $(COND_DEFS) $(SRCS);
|
||||
|
||||
|
||||
# DO NOT DELETE THIS LINE -- make depend depends on it.
|
||||
|
||||
|
|
@ -1,60 +0,0 @@
|
|||
# Include information about directory structure... may need editing!
|
||||
include ../schema-loc
|
||||
|
||||
SCL_ED = $(PDES_ROOT)/src/cleditor
|
||||
CORE = $(PDES_ROOT)/src/clstepcore
|
||||
UTILS = $(PDES_ROOT)/src/clutils
|
||||
DAI = $(PDES_ROOT)/src/cldai
|
||||
|
||||
PDESINCLUDES = -I$(SCL_ED) \
|
||||
-I$(CORE) \
|
||||
-I$(UTILS) \
|
||||
-I$(DAI) \
|
||||
-I$(SCHEMA_DIR)
|
||||
|
||||
INCLUDES = -I. -I..\
|
||||
$(PDESINCLUDES) \
|
||||
$(CC_INCLUDES)
|
||||
|
||||
LIBPDES = \
|
||||
-L$(ARCH_ROOT)/lib \
|
||||
-lCedcore \
|
||||
-lCutils \
|
||||
-lCdai
|
||||
|
||||
SCL_LIBS = $(LIBSCHEMA) $(LIBPDES)
|
||||
|
||||
.KEEP_STATE:
|
||||
|
||||
.SUFFIXES: . .o .c .h .cc
|
||||
|
||||
SRCS = tstatic.cc ../needFunc.o
|
||||
|
||||
OFILES = tstatic.o ../needFunc.o
|
||||
|
||||
%.o: %.cc
|
||||
@echo " "
|
||||
@echo "compiling $<";
|
||||
$(CC) $(CFLAGS) $(INCLUDES) -c $<
|
||||
|
||||
all: tstatic
|
||||
|
||||
tstatic: $(OFILES)
|
||||
$(CC) -o tstatic $(OFILES) $(SCL_LIBS) $(LDFLAGS);
|
||||
|
||||
ocenter_src: $(SRCS) *.h
|
||||
#load $(CFLAGS) $(SRCS)
|
||||
|
||||
ocenter_obj: $(OBJS)
|
||||
#load $(CFLAGS) $(OFILES)
|
||||
|
||||
clean:
|
||||
touch tstatic foo.o core;
|
||||
rm tstatic *.o core;
|
||||
|
||||
depend: Makefile $(SRCS)
|
||||
$(MAKE_DEPEND) $(INCLUDES) $(COND_DEFS) $(SRCS);
|
||||
|
||||
|
||||
# DO NOT DELETE THIS LINE -- make depend depends on it.
|
||||
|
||||
Loading…
Reference in a new issue