home *** CD-ROM | disk | FTP | other *** search
/ Graphics 16,000 / graphics-16000.iso / x / viewers / xloadimg.tar / Imakefile < prev    next >
Makefile  |  1991-05-20  |  2KB  |  36 lines

  1. # Imakefile for building within the X11 source tree.
  2. # This Imakefile was automatically generated from Makefile.std.
  3. #
  4. # If you have problems building, you should read the README file and
  5. # consider using Makefile.std.
  6. #
  7. # If you use gcc, you should read the README file and consider using
  8. # Makefile.std.
  9.  
  10.     SYSPATHFILE = $(XAPPLOADDIR)/Xloadimage
  11.         DEFINES = -DSYSPATHFILE=\"$(SYSPATHFILE)\"
  12.         DEPLIBS = $(DEPXLIB)
  13. LOCAL_LIBRARIES = $(XLIB)
  14. SYS_LIBRARIES   = -lm
  15.  
  16. SRCS = bright.c clip.c cmuwmraster.c compress.c dither.c faces.c fbm.c  fill.c g3.c gif.c halftone.c imagetypes.c img.c mac.c mcidas.c  mc_tables.c merge.c misc.c new.c options.c path.c pbm.c pcx.c  reduce.c rle.c rlelib.c root.c rotate.c send.c smooth.c sunraster.c  value.c window.c xbitmap.c xloadimage.c xpixmap.c xwd.c zio.c zoom.c
  17. OBJS = bright.o clip.o cmuwmraster.o compress.o dither.o faces.o fbm.o  fill.o g3.o gif.o halftone.o imagetypes.o img.o mac.o mcidas.o  mc_tables.o merge.o misc.o new.o options.o path.o pbm.o pcx.o  reduce.o rle.o rlelib.o root.o rotate.o send.o smooth.o sunraster.o  value.o window.o xbitmap.o xloadimage.o xpixmap.o xwd.o zio.o zoom.o
  18.  
  19. ComplexProgramTarget(xloadimage)
  20.  
  21. install:: $(SYSPATHFILE)
  22.     $(RM) $(BINDIR)/xview $(BINDIR)/xsetbg
  23.     $(LN) $(BINDIR)/xloadimage $(BINDIR)/xview
  24.     $(LN) $(BINDIR)/xloadimage $(BINDIR)/xsetbg
  25.  
  26. $(SYSPATHFILE):
  27.     @echo "*** Creating default $(SYSPATHFILE) since you"
  28.     @echo "*** don't have one. This file is used to set up default places"
  29.     @echo "*** and names to look for images.  You probably want to edit"
  30.     @echo "*** it for your site.  See the xloadimage manual page for"
  31.     @echo "*** details on the contents of this file."
  32.     cp /dev/null $(SYSPATHFILE)
  33.     echo "path=$(INCDIR)/bitmaps $(INCDIR)/images"         >> $(SYSPATHFILE)
  34.     echo "extension=.csun .msun .sun .face .xbm .bm .gif"         >>$(SYSPATHFILE)
  35.  
  36.