home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / OSK / NETWORK / netpbm_src.lzh / NETPBM / Imakefile < prev    next >
Makefile  |  1996-11-18  |  1KB  |  70 lines

  1. /* Imakefile for pbmplus tools.
  2.  *
  3.  * Copyright (C) 1991 by Rainer Klute.
  4.  *
  5.  * Permission to use, copy, modify, and distribute this software and its
  6.  * documentation for any purpose and without fee is hereby granted, provided
  7.  * that the above copyright notice appear in all copies and that both that
  8.  * copyright notice and this permission notice appear in supporting
  9.  * documentation.  This software is provided "as is" without express or
  10.  * implied warranty.
  11.  */
  12.  
  13. #include <Pbmplus.tmpl>
  14.  
  15. #define IHaveSubdirs
  16. #define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)'
  17.  
  18. #if BuildLibTiff
  19. SUBDIRS = libtiff pbm pgm ppm pnm
  20. #else
  21. SUBDIRS = pbm pgm ppm pnm
  22. #endif
  23.  
  24. MakeSubdirs($(SUBDIRS))
  25. DependSubdirs($(SUBDIRS))
  26.  
  27. World::
  28.     @echo ""
  29.     @echo "Building PBMPLUS"
  30.     @echo ""
  31.     @date
  32.     @echo ""
  33.     $(MAKE) $(MFLAGS) Makefiles
  34.     $(MAKE) $(MFLAGS) clean
  35.     $(MAKE) $(MFLAGS) includes
  36.     $(MAKE) $(MFLAGS) depend
  37.     $(MAKE) $(MFLAGS)
  38.     @echo ""
  39.     @date
  40.     @echo ""
  41.     @echo "Full build of PBMPLUS complete."
  42.     @echo ""
  43.  
  44. Everything::
  45.     @echo ""
  46.     @echo "Rebuilding PBMPLUS"
  47.     @echo ""
  48.     @date
  49.     @echo ""
  50.     $(MAKE) $(MFLAGS) Makefiles
  51.     $(MAKE) $(MFLAGS) includes
  52.     $(MAKE) $(MFLAGS) depend
  53.     $(MAKE) $(MFLAGS)
  54.     @echo ""
  55.     @date
  56.     @echo ""
  57.     @echo "Rebuild of PBMPLUS complete."
  58.     @echo ""
  59.  
  60. realclean: clean
  61.     @echo ""
  62.     @echo "Removing Makefiles"
  63.     @echo ""
  64.     rm */Makefile Makefile
  65.     @echo ""
  66.  
  67. #if InstallIncludes
  68. InstallMultipleFlags(pbmplus.h,$(PBMPLUSDIR)$(PBMPLUSINCDIR),$(INSTINCFLAGS))
  69. #endif
  70.