Skip to content
Snippets Groups Projects
Commit eae6d71f authored by mnb's avatar mnb Committed by afarrell
Browse files

Added build_fitstcl script that automates the building of the libfitstcl...

Added build_fitstcl script that automates the building of the libfitstcl shared library within the 2dfdr/ACMM environment.
	Added build_fitstcl script to automate creation of required shared
	libfitstcl library and can be called from 2dfdr Makefile
parent 59bf76c0
Branches
Tags 21.4
No related merge requests found
......@@ -111,6 +111,9 @@ fitstclLibObjs:
#
# $Log$
# Revision 21.4 14-Mar-2006 09:10:06+11 mnb
# Added build_fitstcl script that automates the building of the libfitstcl shared library within the 2dfdr/ACMM environment.
#
# Revision 21.3 27-Jan-2006 13:42:54+11 tjf
# Inserted version 2.1.3
#
......
#!/bin/sh
# This is a build script written by Mike Birchall (AAO) to fit with
# the setup supplied with fitsTcl and the 2dfdr Makefiles.
# =========================================================================
# COMMENTS:
# =========
# The configure script supplied with fitsTcl will create the necessary Makefile
# if the path for cfitsio and the Tcl include libraries are supplied.
# This script specifies the cfitsio and Tcl include paths assuming that
# cfitsio and Tcl have been fetched from the ACMM. It call the configure script
# to make the makefile, then invokes the Makefile and finally cleans up
# =========================================================================
# Check that we have the necessary modules to make this build
if [ ! -d ../cfitsio ]; then
echo "Cannot build fitsTcl. Need the cfitsio module. Try AcmmCopy cfitsio"
exit
fi
if [ ! -d ../Tcl ]; then
echo "Cannot build fitsTcl. Need the Tcl module. Try AcmmCopy Tcl"
exit
fi
# Use the supplied configure script to automatically make a Makefile
./configure --prefix=.\
--with-cfitsio=../cfitsio\
--with-tcl-includes=../Tcl/generic
# Now make
make
# Now cleanup
rm *.o -vf
rm Makefile -vf
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment