#
# $Header: /tmp_mnt/net/orchestra5/davy/stuff/misc/xsat/RCS/Imakefile,v 1.1 92/04/10 14:08:06 davy Exp $
#
# Copyright 1992 by David A. Curry
#
# Permission to use, copy, modify, distribute, and sell this software and its
# documentation for any purpose is hereby granted without fee, provided that
# the above copyright notice appear in all copies and that both that copyright
# notice and this permission notice appear in supporting documentation.  The
# author makes no representations about the suitability of this software for
# any purpose.  It is provided "as is" without express or implied warranty.
#
# Imakefile for xsat.
#
# David A. Curry
# Purdue University
# Engineering Computer Network
# 1285 Electrical Engineering Building
# West Lafayette, IN 47907
# davy@ecn.purdue.edu
#
# $Log:	Imakefile,v $
# Revision 1.1  92/04/10  14:08:06  davy
# Initial revision
#
# Revision 1.2  94/05/24  11:22:33  trf
#
#
     XSATLIBDIR = /usr/local/lib/xsat

      XSATFILES = lib/cities.info lib/satellites.info lib/satellites.doc \
                  lib/map.africa lib/map.antarctica \
                  lib/map.asia lib/map.australia lib/map.europe \
                  lib/map.greenland lib/map.namerica lib/map.pacific \
                  lib/map.samerica lib/map.usa

# use the following TIMEDEFINES for BSD systems and most System V systems
    TIMEDEFINES = -DSTRUCT_TM_HAS_GMTOFF -DSTRUCT_TM_HAS_ZONE
# use the following TIMEDEFINES for POSIX and some System V systems
#    TIMEDEFINES =

# uncomment the following line to use gcc */
#CC = gcc

# uncomment the following line if you're using gcc under Ultrix (this
# eliminates the "-Wf,-XNh2000 -Olimit 2000" felderkarb)
#CCOPTIONS =

    CDEBUGFLAGS = -g
LOCAL_LIBRARIES = XawClientLibs
  SYS_LIBRARIES = -lm
        DEFINES = -DXSATLIBDIR=\"$(XSATLIBDIR)\" $(TIMEDEFINES)
        DEPLIBS = XawClientDepLibs
           SRCS = Canvas.c cities.c commands.c parsedate.c maps.c orbit.c \
                  satellites.c elements.c util.c xsat.c
           OBJS = Canvas.o cities.o commands.o parsedate.o maps.o orbit.o \
                  satellites.o elements.o util.o xsat.o

ComplexProgramTarget(xsat)

InstallAppDefaults(XSat)

InstallMultipleDestFlags(install,$(XSATFILES),$(XSATLIBDIR),$(INSTDATFLAGS))

Canvas.o:	Canvas.c Canvas.h CanvasP.h xsat.h
cities.o:	cities.c xsat.h
commands.o:	commands.c xsat.h
parsedate.o:	parsedate.y
maps.o:		maps.c xsat.h
orbit.o:	orbit.c xsat.h
satellites.o:	satellites.c xsat.h
xsat.o:		xsat.c xsat.h
util.o:		util.c xsat.h
elements.o:	elements.c xsat.h
