IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 3, 2004, 9:43:43 AM (22 years ago)
Author:
gusciora
Message:

MOdified makefile for /usr/local/include

Location:
trunk/psLib/src/astronomy
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/astronomy/Makefile

    r2600 r2602  
    33endif
    44
     5# XXX: Must put appropiate conditional here:
     6LIBXMLDIR = /usr/include/libxml2
     7LIBXMLDIR = /usr/local/include/libxml2
     8
    59TARGET_STATIC  = libpslib.a
    610include ../Makefile.Globals
    711CFLAGS := $(CFLAGS_RELOC) -I. -I../sysUtils -I../collections -I../dataManip \
    8     -I.. -I../image -I../fileUtils -I/usr/local/include/libxml2 \
     12    -I.. -I../image -I../fileUtils -I$(LIBXMLDIR) \
    913    -DTIME_CONFIG_FILE="\"$(TIME_CONFIG_FILE)\""
    1014
  • trunk/psLib/src/astronomy/psCoord.c

    r2600 r2602  
    1010*  @author GLG, MHPCC
    1111*
    12 *  @version $Revision: 1.37 $ $Name: not supported by cvs2svn $
    13 *  @date $Date: 2004-12-02 21:12:51 $
     12*  @version $Revision: 1.38 $ $Name: not supported by cvs2svn $
     13*  @date $Date: 2004-12-03 19:43:43 $
    1414*
    1515*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    208208    y = coord->d;
    209209    dx = x - transform->phiP;
    210     sinY = cos(y) * sin(dx) * transform->sinDeltaP + sin(y) * transform->cosDeltaP;
     210    sinY = cos(y) * sin(dx) * transform->sinDeltaP +
     211           sin(y) * transform->cosDeltaP;
    211212    cosY = sqrt(1.0 - sinY * sinY);
    212     sinX = (cos(y) * sin(dx) * transform->cosDeltaP - sin(y) * transform->sinDeltaP) / cos(y);
     213    sinX = (cos(y) * sin(dx) * transform->cosDeltaP -
     214            sin(y) * transform->sinDeltaP) / cos(y);
    213215    cosX = cos(y) * cos(dx) / cos(y);
    214216
Note: See TracChangeset for help on using the changeset viewer.