# Imakefile for building within the X11 source tree. # This Imakefile was automatically generated from Makefile.std. # # If you have problems building, you should read the README file and # consider using Makefile.std. # # If you use gcc, you should read the README file and consider using # Makefile.std. SYSPATHFILE = $(XAPPLOADDIR)/Xloadimage DEFINES = -DSYSPATHFILE=\"$(SYSPATHFILE)\" DEPLIBS = $(DEPXLIB) LOCAL_LIBRARIES = $(XLIB) SYS_LIBRARIES = -lm #ifdef HPArchitecture CCOPTIONS = -Aa -D_HPUX_SOURCE #endif # Comment out either of the next two lines if you don't have TIFF or JPEG libs #define HAS_TIFF #define HAS_JPEG #ifdef HAS_TIFF TIFF_DEFS = -DHAS_TIFF -I/usr/local/include TIFF_LIB = -L/usr/local/lib/tiff -ltiff TIFF_SRC = tiff.c TIFF_OBJ = tiff.o #endif #ifdef HAS_JPEG JPEG_DEFS = -DHAS_JPEG -I/usr/local/include/jpeg JPEG_LIB = -L/usr/local/lib/jpeg -ljpeg JPEG_SRC = jpeg.c JPEG_OBJ = jpeg.o #endif EXTRA_DEFINES = $(TIFF_DEFS) $(JPEG_DEFS) LOCAL_LIBRARIES = $(TIFF_LIB) $(JPEG_LIB) $(XLIB) SRCS = new.c niff.c value.c zio.c cmuwmraster.c faces.c fbm.c gif.c imagetypes.c img.c mac.c mcidas.c mc_tables.c pbm.c pcx.c pdsuncomp.c rle.c rlelib.c sunraster.c vff.c vicar.c xbitmap.c xpixmap.c xwd.c bright.c clip.c compress.c dither.c fill.c halftone.c merge.c reduce.c rotate.c smooth.c undither.c zoom.c config.c misc.c options.c root.c send.c window.c xloadimage.c $(TIFF_SRC) $(JPEG_SRC) OBJS = new.o niff.o value.o zio.o cmuwmraster.o faces.o fbm.o gif.o imagetypes.o img.o mac.o mcidas.o mc_tables.o pbm.o pcx.o pdsuncomp.o rle.o rlelib.o sunraster.o vff.o vicar.o xbitmap.o xpixmap.o xwd.o bright.o clip.o compress.o dither.o fill.o halftone.o merge.o reduce.o rotate.o smooth.o undither.o zoom.o config.o misc.o options.o root.o send.o window.o xloadimage.o $(TIFF_OBJ) $(JPEG_OBJ) AllTarget(xloadimage uufilter) ComplexProgramTarget(xloadimage) NormalProgramTarget(uufilter,uufilter.o,,,) InstallProgram(uufilter,$(BINDIR)) InstallManPage(uufilter,$(MANDIR)) install:: $(SYSPATHFILE) $(RM) $(BINDIR)/xview $(BINDIR)/xsetbg cd $(BINDIR); $(LN) xloadimage xview; $(LN) xloadimage xsetbg clean:: /bin/rm -f build.c build.c: ./build-info $(SYSPATHFILE): @echo "*** Creating default $(SYSPATHFILE) since you" @echo "*** don't have one. This file is used to set up default places" @echo "*** and names to look for images. You probably want to edit" @echo "*** it for your site. See the xloadimage manual page for" @echo "*** details on the contents of this file." cp xloadimagerc $(SYSPATHFILE) chmod a+r $(SYSPATHFILE)