"Fossies" - the Fresh Open Source Software Archive

Member "xearth-1.1/Makefile.DIST" (7 Nov 1999, 2576 Bytes) of package /linux/misc/old/xearth-1.1.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 # simple Makefile for xearth
    2 #
    3 # Copyright (C) 1989, 1990, 1993-1995, 1999 Kirk Lauritz Johnson
    4 #
    5 # Parts of the source code (as marked) are:
    6 #   Copyright (C) 1989, 1990, 1991 by Jim Frost
    7 #   Copyright (C) 1992 by Jamie Zawinski <jwz@lucid.com>
    8 #
    9 # Permission to use, copy, modify and freely distribute xearth for
   10 # non-commercial and not-for-profit purposes is hereby granted without
   11 # fee, provided that both the above copyright notice and this
   12 # permission notice appear in all copies and in supporting
   13 # documentation.
   14 #
   15 # Unisys Corporation holds worldwide patent rights on the Lempel Zev
   16 # Welch (LZW) compression technique employed in the CompuServe GIF
   17 # image file format as well as in other formats. Unisys has made it
   18 # clear, however, that it does not require licensing or fees to be
   19 # paid for freely distributed, non-commercial applications (such as
   20 # xearth) that employ LZW/GIF technology. Those wishing further
   21 # information about licensing the LZW patent should contact Unisys
   22 # directly at (lzw_info@unisys.com) or by writing to
   23 #
   24 #   Unisys Corporation
   25 #   Welch Licensing Department
   26 #   M/S-C1SW19
   27 #   P.O. Box 500
   28 #   Blue Bell, PA 19424
   29 #
   30 # The author makes no representations about the suitability of this
   31 # software for any purpose. It is provided "as is" without express or
   32 # implied warranty.
   33 #
   34 # THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
   35 # INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN
   36 # NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, INDIRECT OR
   37 # CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
   38 # OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
   39 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
   40 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
   41 
   42 DEFINES = 
   43 CC	= gcc
   44 CFLAGS	= -O2 $(DEFINES)
   45 LDFLAGS = 
   46 
   47 PROG	= xearth
   48 SRCS	= xearth.c dither.c extarr.c gif.c gifout.c mapdata.c \
   49 	  markers.c ppm.c render.c resources.c scan.c sunpos.c x11.c
   50 OBJS	= xearth.o dither.o extarr.o gif.o gifout.o mapdata.o \
   51 	  markers.o ppm.o render.o resources.o scan.o sunpos.o x11.o
   52 LIBS	= -lXt -lX11 -lm
   53 
   54 TARFILE = xearth.tar
   55 DIST	= Imakefile Makefile.DIST README INSTALL HISTORY BUILT-IN \
   56 	  GAMMA-TEST gamma-test.gif xearth.man dither.c extarr.c \
   57 	  extarr.h gif.c gifint.h giflib.h gifout.c kljcpyrt.h \
   58 	  mapdata.c markers.c port.h ppm.c render.c resources.c \
   59 	  scan.c sunpos.c x11.c xearth.c xearth.h
   60 
   61 all:	$(PROG)
   62 
   63 $(PROG):	$(OBJS)
   64 	$(CC) -o $(PROG) $(LDFLAGS) $(OBJS) $(LIBS)
   65 
   66 clean:
   67 	/bin/rm -f $(PROG) $(OBJS)
   68 
   69 tarfile:
   70 	tar cvf $(TARFILE) $(DIST)