awips2/ncep/gov.noaa.nws.ncep.viz.tools/AODTLIB/so_new.csh
Brad Gonzales 6df38c98de Issue #628 committing PGEN code received from Plummer on 4-19-2012.
Former-commit-id: 1d576ac27d [formerly fda897d2d0] [formerly 253e8bc948] [formerly 295cbf95e5 [formerly 253e8bc948 [formerly 0816cd253c86acc699cb90866131619c4679f631]]]
Former-commit-id: 295cbf95e5
Former-commit-id: 85f06f12e49d774ff6df946ee3b7ae0ffed95a4c [formerly ae3d17c698]
Former-commit-id: 2a3bf4ec32
2012-05-10 16:50:45 -05:00

28 lines
877 B
Tcsh
Executable file
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/csh
#
# 1. Create a Java project and source folder....
#
# 2. Configure build path (see M. Li's lecture note):
# Right click the working project -> Build Path -> Configure build path
# -> Libraries -> Add JARs -> com.sun.jna jna.jar
#
# 3. cp /usr/lib/gcc/i386-redhat-linux/3.4.6/libg2c.so locally, e.g.,
# $AWIPS2/tools/lib and make myLinkFlags to contain -L$AWIPS2/tools/lib
#
# 4. Use this script to create a shared library (.so)
#
# 5. Deploy the SL and add the path, e.g., AWIPS2/lib, to LD_LIBRARY_PATH
# (in ~/.alias)
#
rm -f *.o
echo "Compiling program... "
gcc -fPIC -g -c -Wall *.c *.h
echo "Creating a Shared Library object... "
gcc -shared -Wl,-soname,libaodtv64.so -o libaodtv64.so *.o -lc
echo "library is created and cp to build.cave\n "
echo " "
cp libaodtv64.so $DEV_BASE/workspace/build.cave/static/common/cave/caveEnvironment/lib
endif