# Makefile generated by imake - do not edit! # $XConsortium: imake.c,v 1.89 94/08/12 00:45:51 gildea Exp $ # ----------------------------------------------------------------------- # Makefile generated from "Imake.tmpl" and # $XConsortium: Imake.tmpl,v 1.219 94/05/13 15:58:31 matt Exp $ # .SUFFIXES: .i # $XConsortium: Imake.cf,v 1.12 94/03/29 15:42:08 gildea Exp $ # ----------------------------------------------------------------------- # site-specific configuration parameters that need to come before # the platform-specific parameters - edit site.def to change # site: $XConsortium: site.sample,v 1.9 94/04/08 17:02:06 rws Exp $ # ----------------------------------------------------------------------- # platform-specific configuration parameters - edit sgi.cf to change # platform: $XConsortium: sgi.cf,v 1.43 94/06/03 21:38:45 matt Exp $ # operating system: IRIX 5.2 # ----------------------------------------------------------------------- # site-specific configuration parameters that go after # the platform-specific parameters - edit site.def to change # site: $XConsortium: site.sample,v 1.9 94/04/08 17:02:06 rws Exp $ # ----------------------------------------------------------------------- # Imake rules for building libraries, programs, scripts, and data files # rules: $XConsortium: Imake.rules,v 1.193 94/04/10 17:39:55 rws Exp $ PATHSEP = / SHELL = /bin/sh TOP = .. CURRENT_DIR = magick IMAKE = imake DEPEND = makedepend MKDIRHIER = mkdirhier CONFIGSRC = $(TOP)/config IMAKESRC = $(CONFIGSRC)/imake DEPENDSRC = $(CONFIGSRC)/makedepend IXXSRC = $(UNSUPPORTEDSRC)/programs/ixx IXX = ixx IXXFLAGS = -s BaseObject -m TypeObj -r RequestObj -p Xf IXXINCLUDES = -i '' INCROOT = /usr/include USRLIBDIR = /usr/lib SHLIBDIR = /usr/lib LINTLIBDIR = $(USRLIBDIR)/lint MANPATH = /usr/man MANSOURCEPATH = $(MANPATH)/man MANDIR = $(MANSOURCEPATH)$(MANSUFFIX) LIBMANDIR = $(MANSOURCEPATH)$(LIBMANSUFFIX) FILEMANDIR = $(MANSOURCEPATH)$(FILEMANSUFFIX) AR = ar scq BOOTSTRAPCFLAGS = CC = cc AS = as COMPRESS = compress CPP = /lib/cpp $(STD_CPP_DEFINES) PREPROCESSCMD = cc -E $(STD_CPP_DEFINES) INSTALL = bsdinst INSTALLFLAGS = -c LD = ld LEX = lex LEXLIB = -ll YACC = yacc CCYACC = yacc LINT = lint LINTLIBFLAG = -o LINTOPTS = -bh LN = ln -s MAKE = make MV = mv CP = cp RM = rm -f MANSUFFIX = n LIBMANSUFFIX = 3 FILEMANSUFFIX = 4 TROFF = psroff MSMACROS = -ms TBL = tbl EQN = eqn STD_INCLUDES = STD_CPP_DEFINES = -DSYSV STD_DEFINES = -DSYSV EXTRA_LOAD_FLAGS = EXTRA_LDOPTIONS = EXTRA_LIBRARIES = -lsun -lmalloc -lc_s -lw TAGS = ctags PROTO_DEFINES = -DFUNCPROTO=7 -DNARROWPROTO INSTPGMFLAGS = INSTBINFLAGS = -m 0755 INSTUIDFLAGS = -m 4755 INSTLIBFLAGS = -m 0644 INSTINCFLAGS = -m 0444 INSTMANFLAGS = -m 0444 INSTDATFLAGS = -m 0444 INSTKMEMFLAGS = -m 2755 -g sys PROJECTROOT = /usr TOP_INCLUDES = -I$(INCROOT) CDEBUGFLAGS = -O CCOPTIONS = -xansi -D__STDC__=1 -float -Wf,-XNp9000,-XNd8000,-XNh2000 ALLINCLUDES = $(INCLUDES) $(EXTRA_INCLUDES) $(TOP_INCLUDES) $(STD_INCLUDES) ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(EXTRA_DEFINES) $(PROTO_DEFINES) $(THREADS_DEFINES) $(DEFINES) CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(THREADS_CFLAGS) $(ALLDEFINES) LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES) $(DEPEND_DEFINES) LDPRELIB = -L$(USRLIBDIR) LDPOSTLIB = LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS) $(EXTRA_LDOPTIONS) $(THREADS_LDFLAGS) $(LOCAL_LDFLAGS) $(LDPRELIB) CXXLDOPTIONS = $(CXXDEBUGFLAGS) $(CXXOPTIONS) $(EXTRA_LDOPTIONS) $(THREADS_CXXLDFLAGS) $(LOCAL_LDFLAGS) $(LDPRELIB) LDLIBS = $(LDPOSTLIB) $(THREADS_LIBS) $(SYS_LIBRARIES) $(EXTRA_LIBRARIES) CCLINK = $(CC) CXXLINK = $(CXX) LDSTRIPFLAGS = -x LDCOMBINEFLAGS = -r DEPENDFLAGS = MACROFILE = sgi.cf RM_CMD = $(RM) IMAKE_DEFINES = IRULESRC = $(CONFIGDIR) IMAKE_CMD = $(IMAKE) -DUseInstalled -I$(IRULESRC) $(IMAKE_DEFINES) ICONFIGFILES = $(IRULESRC)/Imake.tmpl $(IRULESRC)/Project.tmpl \ $(IRULESRC)/site.def $(IRULESRC)/$(MACROFILE) \ $(EXTRA_ICONFIGFILES) # ----------------------------------------------------------------------- # X Window System Build Parameters and Rules # $XConsortium: Project.tmpl,v 1.242 94/04/13 14:58:40 rws Exp $ # ----------------------------------------------------------------------- # X Window System make variables; these need to be coordinated with rules BINDIR = /usr/bin BUILDINCROOT = $(TOP) BUILDINCDIR = $(BUILDINCROOT)/X11 BUILDINCTOP = .. BUILDLIBDIR = $(TOP)/usrlib BUILDLIBTOP = .. INCDIR = $(INCROOT)/X11 ADMDIR = /usr/adm LIBDIR = $(USRLIBDIR)/X11 FONTDIR = $(LIBDIR)/fonts XINITDIR = $(LIBDIR)/xinit XDMDIR = $(LIBDIR)/xdm TWMDIR = $(LIBDIR)/twm NLSDIR = $(LIBDIR)/nls XLOCALEDIR = $(LIBDIR)/locale PEXAPIDIR = $(LIBDIR)/PEX XAPPLOADDIR = $(LIBDIR)/app-defaults FONTCFLAGS = -t INSTAPPFLAGS = $(INSTDATFLAGS) RGB = rgb FONTC = bdftopcf MKFONTDIR = mkfontdir DOCUTILSRC = $(TOP)/doc/util XDOCMACROS = $(DOCUTILSRC)/macros.t XIDXMACROS = $(DOCUTILSRC)/indexmacros.t PROGRAMSRC = $(TOP)/programs LIBSRC = $(TOP)/lib FONTSRC = $(TOP)/fonts INCLUDESRC = $(TOP)/X11 SERVERSRC = $(TOP)/programs/Xserver CONTRIBSRC = $(TOP)/../contrib UNSUPPORTEDSRC = $(TOP)/unsupported DOCSRC = $(TOP)/doc RGBSRC = $(TOP)/programs/rgb BDFTOPCFSRC = $(PROGRAMSRC)/bdftopcf MKFONTDIRSRC = $(PROGRAMSRC)/mkfontdir FONTSERVERSRC = $(PROGRAMSRC)/xfs FONTINCSRC = $(TOP)/include/fonts EXTINCSRC = $(TOP)/include/extensions TRANSCOMMSRC = $(LIBSRC)/xtrans TRANS_INCLUDES = -I$(TRANSCOMMSRC) XLIBSRC = $(LIBSRC)/X11 DEPXONLYLIB = $(USRLIBDIR)/libX11.a XONLYLIB = -lX11 LINTXONLY = $(LINTLIBDIR)/llib-lX11.ln XLIBONLY = $(XONLYLIB) XEXTLIBSRC = $(LIBSRC)/Xext DEPEXTENSIONLIB = $(USRLIBDIR)/libXext.a EXTENSIONLIB = -lXext LINTEXTENSION = $(LINTLIBDIR)/llib-lXext.ln LINTEXTENSIONLIB = $(LINTEXTENSION) DEPXLIB = $(DEPEXTENSIONLIB) $(DEPXONLYLIB) XLIB = $(EXTENSIONLIB) $(XONLYLIB) LINTXLIB = $(LINTXONLYLIB) XAUTHSRC = $(LIBSRC)/Xau DEPXAUTHLIB = $(USRLIBDIR)/libXau.a XAUTHLIB = -lXau LINTXAUTH = $(LINTLIBDIR)/llib-lXau.ln XDMCPLIBSRC = $(LIBSRC)/Xdmcp DEPXDMCPLIB = $(USRLIBDIR)/libXdmcp.a XDMCPLIB = -lXdmcp LINTXDMCP = $(LINTLIBDIR)/llib-lXdmcp.ln XMUSRC = $(LIBSRC)/Xmu DEPXMULIB = $(USRLIBDIR)/libXmu.a XMULIB = -lXmu LINTXMU = $(LINTLIBDIR)/llib-lXmu.ln OLDXLIBSRC = $(LIBSRC)/oldX DEPOLDXLIB = $(USRLIBDIR)/liboldX.a OLDXLIB = -loldX LINTOLDX = $(LINTLIBDIR)/llib-loldX.ln TOOLKITSRC = $(LIBSRC)/Xt DEPXTOOLONLYLIB = $(USRLIBDIR)/libXt.a XTOOLONLYLIB = -lXt LINTXTOOLONLY = $(LINTLIBDIR)/llib-lXt.ln DEPXTOOLLIB = $(DEPXTOOLONLYLIB) $(DEPSMLIB) $(DEPICELIB) XTOOLLIB = $(XTOOLONLYLIB) $(SMLIB) $(ICELIB) LINTXTOOLLIB = $(LINTXTOOLONLYLIB) AWIDGETSRC = $(LIBSRC)/Xaw DEPXAWLIB = $(USRLIBDIR)/libXaw.a XAWLIB = -lXaw LINTXAW = $(LINTLIBDIR)/llib-lXaw.ln XTFSRC = $(TOP)/workInProgress/Xtf DEPXTFLIB = $(USRLIBDIR)/libXtf.a XTFLIB = -lXtf LINTXTF = $(LINTLIBDIR)/llib-lXtf.ln FRESCOSRC = $(TOP)/workInProgress/Fresco DEPFRESCOLIB = $(USRLIBDIR)/libFresco.a FRESCOLIB = -lFresco LINTFRESCO = $(LINTLIBDIR)/llib-lFresco.ln XILIBSRC = $(LIBSRC)/Xi DEPXILIB = $(USRLIBDIR)/libXi.a XILIB = -lXi LINTXI = $(LINTLIBDIR)/llib-lXi.ln XTESTLIBSRC = $(LIBSRC)/Xtst DEPXTESTLIB = $(USRLIBDIR)/libXtst.a XTESTLIB = -lXtst LINTXTEST = $(LINTLIBDIR)/llib-lXtst.ln PEXLIBSRC = $(LIBSRC)/PEX5 DEPPEXLIB = $(USRLIBDIR)/libPEX5.a PEXLIB = -lPEX5 LINTPEX = $(LINTLIBDIR)/llib-lPEX5.ln XIELIBSRC = $(LIBSRC)/XIE DEPXIELIB = $(USRLIBDIR)/libXIE.a XIELIB = -lXIE LINTXIE = $(LINTLIBDIR)/llib-lXIE.ln PHIGSLIBSRC = $(LIBSRC)/PHIGS DEPPHIGSLIB = $(USRLIBDIR)/libphigs.a PHIGSLIB = -lphigs LINTPHIGS = $(LINTLIBDIR)/llib-lphigs.ln DEPXBSDLIB = $(USRLIBDIR)/libXbsd.a XBSDLIB = -lXbsd LINTXBSD = $(LINTLIBDIR)/llib-lXbsd.ln ICESRC = $(LIBSRC)/ICE DEPICELIB = $(USRLIBDIR)/libICE.a ICELIB = -lICE LINTICE = $(LINTLIBDIR)/llib-lICE.ln SMSRC = $(LIBSRC)/SM DEPSMLIB = $(USRLIBDIR)/libSM.a SMLIB = -lSM LINTSM = $(LINTLIBDIR)/llib-lSM.ln FSLIBSRC = $(LIBSRC)/FS DEPFSLIB = $(USRLIBDIR)/libFS.a FSLIB = -lFS LINTFS = $(LINTLIBDIR)/llib-lFS.ln FONTLIBSRC = $(LIBSRC)/font DEPFONTLIB = $(USRLIBDIR)/libfont.a FONTLIB = -lfont LINTFONT = $(LINTLIBDIR)/llib-lfont.ln DEPLIBS = $(DEPXAWLIB) $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB) DEPLIBS1 = $(DEPLIBS) DEPLIBS2 = $(DEPLIBS) DEPLIBS3 = $(DEPLIBS) CONFIGDIR = $(LIBDIR)/config # ----------------------------------------------------------------------- # start of Imakefile # # Imakefile for display, animate, montage, and import. # # Copyright 1994 E. I. du Pont de Nemours & Company # # Permission to use, copy, modify, distribute, and sell this software and # its documentation for any purpose is hereby granted without fee, # provided that the above Copyright notice appear in all copies and that # both that Copyright notice and this permission notice appear in # supporting documentation, and that the name of E. I. du Pont de Nemours # & Company not be used in advertising or publicity pertaining to # distribution of the software without specific, written prior # permission. E. I. du Pont de Nemours & Company makes no representations # about the suitability of this software for any purpose. It is provided # "as is" without express or implied warranty. # # E. I. du Pont de Nemours & Company disclaims all warranties with regard # to this software, including all implied warranties of merchantability # and fitness, in no event shall E. I. du Pont de Nemours & Company be # liable for any special, indirect or consequential damages or any # damages whatsoever resulting from loss of use, data or profits, whether # in an action of contract, negligence or other tortious action, arising # out of or in connection with the use or performance of this software. # # ImageMagick Imakefile info. This contains any special redefinitions. # # Copyright 1994 E. I. du Pont de Nemours & Company # # Permission to use, copy, modify, distribute, and sell this software and # its documentation for any purpose is hereby granted without fee, # provided that the above Copyright notice appear in all copies and that # both that Copyright notice and this permission notice appear in # supporting documentation, and that the name of E. I. du Pont de Nemours # and Company not be used in advertising or publicity pertaining to # distribution of the software without specific, written prior # permission. E. I. du Pont de Nemours & Company makes no representations # about the suitability of this software for any purpose. It is provided # "as is" without express or implied warranty. # # E. I. du Pont de Nemours & Company disclaims all warranties with regard # to this software, including all implied warranties of merchantability # and fitness, in no event shall E. I. du Pont de Nemours & Company be # liable for any special, indirect or consequential damages or any # damages whatsoever resulting from loss of use, data or profits, whether # in an action of contract, negligence or other tortious action, arising # out of or in connection with the use or performance of this software. # If your system does not have /usr/include/dirent.h, define DIRENT. # # DIRENT_DEFINES= -DNoDIRENT DIRENT_DEFINES= # Define HasShape if your X server supports the Shape Extension. Define # HasSharedMemory if your X server supports the Shared Memory Extension. # # EXTENSIONS_DEFINES= -DHasShape -DHasSharedMemory EXTENSIONS_DEFINES= # Set DoSharedLib to 0 to build ImageMagick with shared # libraries. # # #define DoSharedLib 0 # If you have the JPEG, TIFF, or XPM libraries define HasJPEG, HasTIFF, or # HasXPM respectively. Make sure the path names are correct. See README # for more details. # # #define HasJPEG # #define HasMPEG # #define HasTIFF # #define HasXPM JPEG_DEFINES= -DHasJPEG JPEG_INCLUDES= -I$(TOP)/jpeg JPEG_LIBRARIES= -L$(TOP)/jpeg -ljpeg MPEG_DEFINES= -DHasMPEG MPEG_INCLUDES= -I$(TOP)/mpeg MPEG_LIBRARIES= -L$(TOP)/mpeg -lmpeg TIFF_DEFINES= -DHasTIFF TIFF_INCLUDES= -I$(TOP)/tiff TIFF_LIBRARIES= -L$(TOP)/tiff -ltiff XPM_DEFINES= -DHasXPM XPM_INCLUDES= -I$(TOP)/xpm XPM_LIBRARIES= -L$(TOP)/xpm -lXpm # Might need extra libraries for xtp to link correctly. # # EXTRA_LOAD_FLAGS= -lnsl LOCALDIR= /usr/local/bin LOCALINC= /usr/local/include LOCALLIB= /usr/local/lib MAGICK_INCLUDES= -I$(TOP)/magick MAGICK_LIBRARIES= -L$(TOP)/magick -lMagick DEFINES= $(MAGICK_INCLUDES) $(DIRENT_DEFINES) $(EXTENSIONS_DEFINES) \ $(JPEG_DEFINES) $(JPEG_INCLUDES) $(MPEG_DEFINES) $(MPEG_INCLUDES) \ $(TIFF_DEFINES) $(TIFF_INCLUDES) $(XPM_DEFINES) $(XPM_INCLUDES) LOCAL_LIBRARIES= $(MAGICK_LIBRARIES) $(JPEG_LIBRARIES) $(MPEG_LIBRARIES) \ $(TIFF_LIBRARIES) $(XPM_LIBRARIES) REQUIRED_LIBRARIES= $(JPEG_LIBRARIES) $(MPEG_LIBRARIES) $(TIFF_LIBRARIES) \ $(XPM_LIBRARIES) HEADERS = magick.h image.h compress.h utility.h X.h widget.h PreRvIcccm.h SRCS = widget.c X.c image.c shear.c quantize.c colors.c signature.c \ decode.c encode.c compress.c utility.c error.c PreRvIcccm.c OBJS = widget.o X.o image.o shear.o quantize.o colors.o signature.o \ decode.o encode.o compress.o utility.o error.o PreRvIcccm.o SOMAGICKLIBREV= 3.3 # $XConsortium: Library.tmpl,v 1.32 94/05/14 15:10:41 rws Exp $ CC = cc CCOPTIONS = -xansi -D__STDC__=1 -float -Wf,-XNp9000,-XNd8000,-XNh2000 STD_DEFINES = -DSYSV CDEBUGFLAGS = -O LIBNAME = Magick all:: $(_NULLCMD_) $(_NULLCMD_) $(_NULLCMD_) includes:: $(_NULLCMD_) $(_NULLCMD_) $(_NULLCMD_) .c.o: $(_NULLCMD_) $(_NULLCMD_) $(RM) $@ $*.os \ && $(CC) -c $(_NOOP_) $(CFLAGS) $*.c \ && $(LD) $(LDSTRIPFLAGS) -r $@ -o $*.os \ && $(MV) $*.os $@ $(_NULLCMD_) clean:: $(_NULLCMD_) $(_NULLCMD_) $(_NULLCMD_) all:: lib$(LIBNAME).a lib$(LIBNAME).a: $(OBJS) $(RM) $@ $(AR) $@ $(OBJS) $(_NULLCMD_) $(_NULLCMD_) install:: lib$(LIBNAME).a @if [ -d $(DESTDIR)$(USRLIBDIR) ]; then set +x; \ else (set -x; $(MKDIRHIER) $(DESTDIR)$(USRLIBDIR)); fi $(INSTALL) $(INSTALLFLAGS) $(INSTLIBFLAGS) lib$(LIBNAME).a $(DESTDIR)$(USRLIBDIR) $(_NULLCMD_) lintlib:: llib-l$(LIBNAME).ln llib-l$(LIBNAME).ln: $(SRCS) $(RM) $@ $(LINT) $(LINTLIBFLAG)$(LIBNAME) $(LINTFLAGS) $(SRCS) install.ln:: llib-l$(LIBNAME).ln @if [ -d $(DESTDIR)$(LINTLIBDIR) ]; then set +x; \ else (set -x; $(MKDIRHIER) $(DESTDIR)$(LINTLIBDIR)); fi $(INSTALL) $(INSTALLFLAGS) $(INSTLIBFLAGS) llib-l$(LIBNAME).ln $(DESTDIR)$(LINTLIBDIR)/llib-l$(LIBNAME).ln includes:: @if [ -d $(BUILDINCDIR)/magick ]; then set +x; \ else (set -x; $(MKDIRHIER) $(BUILDINCDIR)/magick); fi @(set -x; cd $(BUILDINCDIR)/magick; for i in $(HEADERS); do \ $(RM) $$i; \ $(LN) $(BUILDINCTOP)/../$(CURRENT_DIR)/$$i .; \ done) install:: $(HEADERS) @if [ -d $(DESTDIR)$(INCDIR)/magick ]; then set +x; \ else (set -x; $(MKDIRHIER) $(DESTDIR)$(INCDIR)/magick); fi @case '${MFLAGS}' in *[i]*) set +e;; esac; \ for i in $(HEADERS); do \ (set -x; $(INSTALL) $(INSTALLFLAGS) $(INSTINCFLAGS) $$i $(DESTDIR)$(INCDIR)/magick); \ done lint: $(LINT) $(LINTFLAGS) $(SRCS) $(LINTLIBS) lint1: $(LINT) $(LINTFLAGS) $(FILE) $(LINTLIBS) install:: $(HEADERS) @if [ -d $(DESTDIR)$(LOCALINC) ]; then set +x; \ else (set -x; $(MKDIRHIER) $(DESTDIR)$(LOCALINC)); fi @case '${MFLAGS}' in *[i]*) set +e;; esac; \ for i in $(HEADERS); do \ (set -x; $(INSTALL) $(INSTALLFLAGS) $(INSTDATFLAGS) $$i $(DESTDIR)$(LOCALINC)); \ done depend:: $(DEPEND) $(DEPENDFLAGS) -- $(ALLDEFINES) $(DEPEND_DEFINES) -- $(SRCS) # ----------------------------------------------------------------------- # common rules for all Makefiles - do not edit .c.i: $(RM) $@ $(CC) -E $(CFLAGS) $(_NOOP_) $*.c > $@ emptyrule:: clean:: $(RM_CMD) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut "#"* Makefile:: -@if [ -f Makefile ]; then set -x; \ $(RM) Makefile.bak; $(MV) Makefile Makefile.bak; \ else exit 0; fi $(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR) tags:: $(TAGS) -w *.[ch] $(TAGS) -xw *.[ch] > TAGS # ----------------------------------------------------------------------- # empty rules for directories that do not have SUBDIRS - do not edit install:: @echo "install in $(CURRENT_DIR) done" install.man:: @echo "install.man in $(CURRENT_DIR) done" Makefiles:: includes:: depend:: # ----------------------------------------------------------------------- # dependencies generated by makedepend