home *** CD-ROM | disk | FTP | other *** search
/ Dream 52 / Amiga_Dream_52.iso / Linux / Divers / ImageMagick-4.0.6.tar.gz / ImageMagick-4.0.6.tar / ImageMagick-4.0.6 / Imakefile < prev    next >
Makefile  |  1998-02-24  |  4KB  |  104 lines

  1. #ifndef XCOMM
  2. #define XCOMM #
  3. #endif
  4.  
  5. XCOMM
  6. XCOMM Imakefile for ImageMagick.
  7. XCOMM
  8. XCOMM Copyright 1998 E. I. du Pont de Nemours and Company
  9. XCOMM
  10. XCOMM Permission is hereby granted, free of charge, to any person obtaining a
  11. XCOMM copy of this software and associated documentation files ("ImageMagick"),
  12. XCOMM to deal in ImageMagick without restriction, including without limitation
  13. XCOMM the rights to use, copy, modify, merge, publish, distribute, sublicense,
  14. XCOMM and/or sell copies of ImageMagick, and to permit persons to whom the
  15. XCOMM ImageMagick is furnished to do so, subject to the following conditions:
  16. XCOMM
  17. XCOMM The above copyright notice and this permission notice shall be included in
  18. XCOMM all copies or substantial portions of ImageMagick.
  19. XCOMM
  20. XCOMM The software is provided "as is", without warranty of any kind, express or
  21. XCOMM implied, including but not limited to the warranties of merchantability,
  22. XCOMM fitness for a particular purpose and noninfringement.  In no event shall
  23. XCOMM E. I. du Pont de Nemours and Company be liable for any claim, damages or
  24. XCOMM other liability, whether in an action of contract, tort or otherwise,
  25. XCOMM arising from, out of or in connection with ImageMagick or the use or other
  26. XCOMM dealings in ImageMagick.
  27. XCOMM
  28. XCOMM Except as contained in this notice, the name of the E. I. du Pont de
  29. XCOMM Nemours and Company shall not be used in advertising or otherwise to
  30. XCOMM promote the sale, use or other dealings in ImageMagick without prior
  31. XCOMM written authorization from the E. I. du Pont de Nemours and Company.
  32. XCOMM
  33. MANSUFFIX = 1
  34. #include "Magick.tmpl"
  35.  
  36. #ifndef ForceSubdirs
  37. #define ForceSubdirs(dirs)
  38. #endif
  39. #define IHaveSubdirs
  40. #define PassCDebugFlags CCOPTIONS='$(CCOPTIONS)'
  41.  
  42. HEADERS = magick/magick.h magick/image.h magick/compress.h magick/utility.h \
  43.   magick/monitor.h magick/X.h magick/widget.h magick/PreRvIcccm.h
  44.  
  45. LINTSRCS = display.c magick/image.c magick/gems.c magick/shear.c \
  46.   magick/quantize.c magick/colors.c magick/signature.c magick/decode.c \
  47.   magick/encode.c magick/compress.c magick/utility.c magick/monitor.c \
  48.   magick/error.c magick/X.c magick/display.c magick/animate.c magick/widget.c \
  49.   magick/PreRvIcccm.c
  50.  
  51. SRCS = display.c animate.c import.c montage.c convert.c mogrify.c identify.c \
  52.   combine.c
  53. OBJS = display.o animate.o import.o montage.o convert.o mogrify.o identify.o \
  54.   combine.o
  55.  
  56. #ifdef __CYGWIN32__
  57. PROGRAMS = magick display.exe animate.exe import.exe montage.exe convert.exe \
  58.   mogrify.exe identify.exe combine.exe
  59. #else
  60. PROGRAMS = magick display animate import montage convert mogrify identify \
  61.   combine xtp
  62. #endif
  63.  
  64. SUBDIRS = magick xtp
  65.  
  66. AllTarget($(PROGRAMS))
  67. DependTarget()
  68.  
  69. ForceSubdirs($(SUBDIRS))
  70. #if (ProjectX < 5) && !defined(uxpArchitecture)
  71. InstallSubdirs($(SUBDIRS))
  72. #endif
  73. DependSubdirs($(SUBDIRS))
  74.  
  75.  
  76. NormalProgramTarget(display,display.o,$(DEPLIBS),$(LOCAL_LIBRARIES),$(XLIB) -lm)
  77. NormalLintTarget($(LINTSRCS))
  78. InstallProgram(display,$(LOCALDIR))
  79. InstallMultipleMan(display.1,$(LOCALMAN1))
  80. NormalProgramTarget(montage,montage.o,$(DEPLIBS),$(LOCAL_LIBRARIES),$(XLIB) -lm)
  81. InstallProgram(montage,$(LOCALDIR))
  82. InstallMultipleMan(montage.1,$(LOCALMAN1))
  83. NormalProgramTarget(import,import.o,$(DEPLIBS),$(LOCAL_LIBRARIES),$(XLIB) -lm)
  84. InstallProgram(import,$(LOCALDIR))
  85. InstallMultipleMan(import.1,$(LOCALMAN1))
  86. NormalProgramTarget(animate,animate.o,$(DEPLIBS),$(LOCAL_LIBRARIES),$(XLIB) -lm)
  87. InstallProgram(animate,$(LOCALDIR))
  88. InstallMultipleMan(animate.1,$(LOCALMAN1))
  89. NormalProgramTarget(convert,convert.o,$(DEPLIBS),$(LOCAL_LIBRARIES),$(XLIB) -lm)
  90. InstallProgram(convert,$(LOCALDIR))
  91. InstallMultipleMan(convert.1,$(LOCALMAN1))
  92. NormalProgramTarget(identify,identify.o,$(DEPLIBS),$(LOCAL_LIBRARIES),$(XLIB) -lm)
  93. InstallProgram(identify,$(LOCALDIR))
  94. InstallMultipleMan(identify.1,$(LOCALMAN1))
  95. NormalProgramTarget(mogrify,mogrify.o,$(DEPLIBS),$(LOCAL_LIBRARIES),$(XLIB) -lm)
  96. InstallProgram(mogrify,$(LOCALDIR))
  97. InstallMultipleMan(mogrify.1,$(LOCALMAN1))
  98. NormalProgramTarget(combine,combine.o,$(DEPLIBS),$(LOCAL_LIBRARIES),$(XLIB) -lm)
  99. InstallProgram(combine,$(LOCALDIR))
  100. InstallMultipleMan(combine.1,$(LOCALMAN1))
  101. InstallMultipleMan(ImageMagick.1,$(LOCALMAN1))
  102. InstallMultipleMan(miff.4,$(LOCALMAN4))
  103. InstallMultipleMan(quantize.5,$(LOCALMAN5))
  104.