#ifndef XCOMM #define XCOMM # #endif #ifndef NullParameter #define NullParameter #endif XCOMM XCOMM Imakefile for display, animate, montage, and import. XCOMM XCOMM Copyright 1994 E. I. du Pont de Nemours and Company XCOMM XCOMM Permission to use, copy, modify, distribute, and sell this software and XCOMM its documentation for any purpose is hereby granted without fee, XCOMM provided that the above Copyright notice appear in all copies and that XCOMM both that Copyright notice and this permission notice appear in XCOMM supporting documentation, and that the name of E. I. du Pont de Nemours XCOMM and Company not be used in advertising or publicity pertaining to XCOMM distribution of the software without specific, written prior XCOMM permission. E. I. du Pont de Nemours and Company makes no representations XCOMM about the suitability of this software for any purpose. It is provided XCOMM "as is" without express or implied warranty. XCOMM XCOMM E. I. du Pont de Nemours and Company disclaims all warranties with regard XCOMM to this software, including all implied warranties of merchantability XCOMM and fitness, in no event shall E. I. du Pont de Nemours and Company be XCOMM liable for any special, indirect or consequential damages or any XCOMM damages whatsoever resulting from loss of use, data or profits, whether XCOMM in an action of contract, negligence or other tortious action, arising XCOMM out of or in connection with the use or performance of this software. XCOMM #include "Magick.tmpl" #define PassCDebugFlags CCOPTIONS='$(CCOPTIONS)' #define IHaveSubdirs HEADERS = magick/magick.h magick/image.h magick/compress.h magick/utility.h \ magick/X.h magick/widget.h magick/PreRvIcccm.h LINTSRCS = display.c magick/widget.c magick/X.c magick/image.c magick/shear.c \ magick/quantize.c magick/colors.c magick/signature.c magick/decode.c \ magick/encode.c magick/compress.c magick/utility.c magick/error.c \ magick/PreRvIcccm.c SRCS = display.c import.c montage.c animate.c convert.c mogrify.c identify.c \ combine.c segment.c OBJS = display.o import.o montage.o animate.o convert.o mogrify.o identify.o \ combine.o segment.o PROGRAMS= display import montage animate convert mogrify identify combine \ segment SUBDIRS= magick MakeSubdirs($(SUBDIRS)) DependSubdirs($(SUBDIRS)) AllTarget($(PROGRAMS)) LinkSourceFile(X.h,magick) NormalProgramTarget(display,display.o,NullParameter,$(LOCAL_LIBRARIES),$(XLIB) -lm) NormalLintTarget($(LINTSRCS)) InstallProgram(display,$(LOCALDIR)) InstallManPage(display,$(MANDIR)) NormalProgramTarget(montage,montage.o,NullParameter,$(LOCAL_LIBRARIES),$(XLIB) -lm) InstallProgram(montage,$(LOCALDIR)) InstallManPage(montage,$(MANDIR)) NormalProgramTarget(import,import.o,NullParameter,$(LOCAL_LIBRARIES),$(XLIB) -lm) InstallProgram(import,$(LOCALDIR)) InstallManPage(import,$(MANDIR)) NormalProgramTarget(animate,animate.o,NullParameter,$(LOCAL_LIBRARIES),$(XLIB) -lm) InstallProgram(animate,$(LOCALDIR)) InstallManPage(animate,$(MANDIR)) NormalProgramTarget(convert,convert.o,NullParameter,$(LOCAL_LIBRARIES),$(XLIB) -lm) InstallProgram(convert,$(LOCALDIR)) InstallManPage(convert,$(MANDIR)) NormalProgramTarget(identify,identify.o,NullParameter,$(LOCAL_LIBRARIES),$(XLIB) -lm) InstallProgram(identify,$(LOCALDIR)) InstallManPage(identify,$(MANDIR)) NormalProgramTarget(mogrify,mogrify.o,NullParameter,$(LOCAL_LIBRARIES),$(XLIB) -lm) InstallProgram(mogrify,$(LOCALDIR)) InstallManPage(mogrify,$(MANDIR)) NormalProgramTarget(combine,combine.o,NullParameter,$(LOCAL_LIBRARIES),$(XLIB) -lm) InstallProgram(combine,$(LOCALDIR)) InstallManPage(combine,$(MANDIR)) NormalProgramTarget(segment,segment.o,NullParameter,$(LOCAL_LIBRARIES),$(XLIB) -lm) InstallProgram(segment,$(LOCALDIR)) InstallManPage(segment,$(MANDIR)) InstallManPage(ImageMagick,$(MANDIR)) DependTarget() #define InstallMyManPage(file,destdir,suffix) @@\ install.man:: file.man @@\ $(INSTALL) -c $(INSTMANFLAGS) file.man $(DESTDIR)destdir/file.suffix InstallMyManPage(quantize,$(MANSOURCEPATH)5,5) InstallMyManPage(miff,$(MANSOURCEPATH)5,5)