Index: /branches/rel4/psLib/test/astronomy/Makefile
===================================================================
--- /branches/rel4/psLib/test/astronomy/Makefile	(revision 3100)
+++ /branches/rel4/psLib/test/astronomy/Makefile	(revision 3101)
@@ -3,6 +3,6 @@
 ##  Makefile:   test/astronomy
 ##
-##  $Revision: 1.25.2.1 $  $Name: not supported by cvs2svn $
-##  $Date: 2005-01-19 02:17:04 $
+##  $Revision: 1.25.2.2 $  $Name: not supported by cvs2svn $
+##  $Date: 2005-01-27 20:00:12 $
 ##
 ##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -38,12 +38,25 @@
          tst_psCoord \
          tst_psAstrometry01
+ 
+TARGET_CFG = test.psTime.config1 \
+         test.psTime.config2 \
+         test.psTime.config3 \
+         test.psTime.config4 
 
 OBJS = $(addprefix builddir/,$(addsuffix .o,$(TARGET)))
 
-all: $(TARGET)
-	sed 's|PREFIX|$(prefix)|' test.psTime.config1.template > test.psTime.config1
-	sed 's|PREFIX|$(prefix)|' test.psTime.config2.template > test.psTime.config2
-	sed 's|PREFIX|$(prefix)|' test.psTime.config3.template > test.psTime.config3
-	sed 's|PREFIX|$(prefix)|' test.psTime.config4.template > test.psTime.config4
+all: $(TARGET) $(TARGET_CFG)
+
+test.psTime.config1: test.psTime.config1.template
+	sed 's|PREFIX|$(prefix)|' $< > $@
+
+test.psTime.config2: test.psTime.config2.template
+	sed 's|PREFIX|$(prefix)|' $< > $@
+
+test.psTime.config3: test.psTime.config3.template
+	sed 's|PREFIX|$(prefix)|' $< > $@
+
+test.psTime.config4: test.psTime.config4.template
+	sed 's|PREFIX|$(prefix)|' $< > $@
 
 clean:
@@ -52,10 +65,10 @@
 
 distclean: clean
-	$(RM) $(TARGET)
+	$(RM) $(TARGET) $(TARGET_CFG)
 
-install: $(testbindir) $(testbindir)/verified $(TARGET)
-	install test.config header_1.fits header_2.fits $(TARGET) $(testbindir)
+install: $(testbindir) $(testbindir)/verified $(TARGET) $(TARGET_CFG)
+	install header_1.fits header_2.fits $(TARGET) $(testbindir)
 	install verified/*.stderr verified/*.stdout $(testbindir)/verified
-	install test.ser7.dat test.psTime.config1 test.psTime.config2 test.psTime.config3 test.psTime.config4 $(testbindir)
+	install test.config test.ser7.dat $(TARGET_CFG) $(testbindir)
 
 $(testbindir):
Index: anches/rel4/psLib/test/astronomy/test.psTime.config1
===================================================================
--- /branches/rel4/psLib/test/astronomy/test.psTime.config1	(revision 3100)
+++ 	(revision )
@@ -1,23 +1,0 @@
-# This configuration file specifies values required for time calculations by psLib.
-psLib.time.tables.dir STR bogus                                                    # Directory for time tables
-psLib.time.tables.n S32 4                                                               # Number of time tables
-psLib.time.tables.files STR ser7.dat eopc01_1900_2004.dat finals_all.dat tai_utc.dat    # These are the table file names
-@psLib.time.tables.from F64 53258.0, 15020.0, 41684.0 2437300.5                         # Valid from these dates
-@psLib.time.tables.to F64 53622.0, 53258.0, 53627.0 2451179.5                           # Valid to these dates
-psLib.time.before.xp F64 0.0                                                            # Value of XP for before the earliest MJD
-psLib.time.before.yp F64 0.0                                                            # Value of YP for before the earliest MJD
-psLib.time.before.dut F64 0.0                                                           # Value of UT1-UTC for before the earliest MJD
-
-# Now follows formulae for predicting ahead of the most recent available table entry.
-# xp = [0] + [1]*cos A + [2]*sin A + [3]*cos C + [4]*sin C
-# yp = [0] + [1]*cos A + [2]*sin A + [3]*cos C + [4]*sin C
-# A = 2*pi*(MJD - pslib.time.predict.mjd)/365.25
-# C = 2*pi*(MJD - pslib.time.predict.mjd)/435.0
-# dut = ut1-utc = [0] + [1]*(MJD - [2]) - (UT2-UT1)
-# ut2-ut1 = 0.022 sin(2*pi*T) - 0.012 cos(2*pi*T) - 0.006 sin(4*pi*T) + 0.007 cos(4*pi*T)
-# T = 2000.0 + (MJD - 51544.03)/365.2422
-@psLib.time.predict.xp F64 0.0569, 0.0555, -0.0200, 0.0513, 0.1483
-@psLib.time.predict.yp F64 0.3498, -0.0176, -0.0498, 0.1483, -0.0513
-psLib.time.predict.mjd F64 53257.0
-@psLib.time.predict.dut F64 -0.4944, -0.00023, 53262.0
-
Index: anches/rel4/psLib/test/astronomy/test.psTime.config2
===================================================================
--- /branches/rel4/psLib/test/astronomy/test.psTime.config2	(revision 3100)
+++ 	(revision )
@@ -1,23 +1,0 @@
-# This configuration file specifies values required for time calculations by psLib.
-psLib.time.tables.dir STR /home/desonia/psLib/data                                                    # Directory for time tables
-psLib.time.tables.n S32 4                                                               # Number of time tables
-psLib.time.tables.files STR eopc01_1900_2004.dat finals_all.dat tai_utc.dat    # These are the table file names
-@psLib.time.tables.from F64 53258.0, 15020.0, 41684.0 2437300.5                         # Valid from these dates
-@psLib.time.tables.to F64 53622.0, 53258.0, 53627.0 2451179.5                           # Valid to these dates
-psLib.time.before.xp F64 0.0                                                            # Value of XP for before the earliest MJD
-psLib.time.before.yp F64 0.0                                                            # Value of YP for before the earliest MJD
-psLib.time.before.dut F64 0.0                                                           # Value of UT1-UTC for before the earliest MJD
-
-# Now follows formulae for predicting ahead of the most recent available table entry.
-# xp = [0] + [1]*cos A + [2]*sin A + [3]*cos C + [4]*sin C
-# yp = [0] + [1]*cos A + [2]*sin A + [3]*cos C + [4]*sin C
-# A = 2*pi*(MJD - pslib.time.predict.mjd)/365.25
-# C = 2*pi*(MJD - pslib.time.predict.mjd)/435.0
-# dut = ut1-utc = [0] + [1]*(MJD - [2]) - (UT2-UT1)
-# ut2-ut1 = 0.022 sin(2*pi*T) - 0.012 cos(2*pi*T) - 0.006 sin(4*pi*T) + 0.007 cos(4*pi*T)
-# T = 2000.0 + (MJD - 51544.03)/365.2422
-@psLib.time.predict.xp F64 0.0569, 0.0555, -0.0200, 0.0513, 0.1483
-@psLib.time.predict.yp F64 0.3498, -0.0176, -0.0498, 0.1483, -0.0513
-psLib.time.predict.mjd F64 53257.0
-@psLib.time.predict.dut F64 -0.4944, -0.00023, 53262.0
-
Index: anches/rel4/psLib/test/astronomy/test.psTime.config3
===================================================================
--- /branches/rel4/psLib/test/astronomy/test.psTime.config3	(revision 3100)
+++ 	(revision )
@@ -1,23 +1,0 @@
-# This configuration file specifies values required for time calculations by psLib.
-psLib.time.tables.dir STR /home/desonia/psLib/data                                                    # Directory for time tables
-psLib.time.tables.n S32 4                                                               # Number of time tables
-psLib.time.tables.files STR ser7.dat eopc01_1900_2004.dat finals_all.dat tai_utc.dat    # These are the table file names
-@psLib.time.tables.from F64 15020.0, 41684.0 2437300.5                         # Valid from these dates
-@psLib.time.tables.to F64 53622.0, 53258.0, 53627.0 2451179.5                           # Valid to these dates
-psLib.time.before.xp F64 0.0                                                            # Value of XP for before the earliest MJD
-psLib.time.before.yp F64 0.0                                                            # Value of YP for before the earliest MJD
-psLib.time.before.dut F64 0.0                                                           # Value of UT1-UTC for before the earliest MJD
-
-# Now follows formulae for predicting ahead of the most recent available table entry.
-# xp = [0] + [1]*cos A + [2]*sin A + [3]*cos C + [4]*sin C
-# yp = [0] + [1]*cos A + [2]*sin A + [3]*cos C + [4]*sin C
-# A = 2*pi*(MJD - pslib.time.predict.mjd)/365.25
-# C = 2*pi*(MJD - pslib.time.predict.mjd)/435.0
-# dut = ut1-utc = [0] + [1]*(MJD - [2]) - (UT2-UT1)
-# ut2-ut1 = 0.022 sin(2*pi*T) - 0.012 cos(2*pi*T) - 0.006 sin(4*pi*T) + 0.007 cos(4*pi*T)
-# T = 2000.0 + (MJD - 51544.03)/365.2422
-@psLib.time.predict.xp F64 0.0569, 0.0555, -0.0200, 0.0513, 0.1483
-@psLib.time.predict.yp F64 0.3498, -0.0176, -0.0498, 0.1483, -0.0513
-psLib.time.predict.mjd F64 53257.0
-@psLib.time.predict.dut F64 -0.4944, -0.00023, 53262.0
-
Index: anches/rel4/psLib/test/astronomy/test.psTime.config4
===================================================================
--- /branches/rel4/psLib/test/astronomy/test.psTime.config4	(revision 3100)
+++ 	(revision )
@@ -1,23 +1,0 @@
-# This configuration file specifies values required for time calculations by psLib.
-psLib.time.tables.dir STR .                                                             # Directory for time tables
-psLib.time.tables.n S32 1                                                               # Number of time tables
-psLib.time.tables.files STR test.ser7.dat                                               # This the table file
-@psLib.time.tables.from F64 53258.0                                                     # Valid from this date
-@psLib.time.tables.to F64 53622.0                                                       # Valid to this date
-psLib.time.before.xp F64 0.0                                                            # Value of XP for before the earliest MJD
-psLib.time.before.yp F64 0.0                                                            # Value of YP for before the earliest MJD
-psLib.time.before.dut F64 0.0                                                           # Value of UT1-UTC for before the earliest MJD
-
-# Now follows formulae for predicting ahead of the most recent available table entry.
-# xp = [0] + [1]*cos A + [2]*sin A + [3]*cos C + [4]*sin C
-# yp = [0] + [1]*cos A + [2]*sin A + [3]*cos C + [4]*sin C
-# A = 2*pi*(MJD - pslib.time.predict.mjd)/365.25
-# C = 2*pi*(MJD - pslib.time.predict.mjd)/435.0
-# dut = ut1-utc = [0] + [1]*(MJD - [2]) - (UT2-UT1)
-# ut2-ut1 = 0.022 sin(2*pi*T) - 0.012 cos(2*pi*T) - 0.006 sin(4*pi*T) + 0.007 cos(4*pi*T)
-# T = 2000.0 + (MJD - 51544.03)/365.2422
-@psLib.time.predict.xp F64 0.0569
-@psLib.time.predict.yp F64 0.3498
-psLib.time.predict.mjd F64 53257.0
-@psLib.time.predict.dut F64 -0.4944
-
