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
/
PPM
/
Makefile.ppm
< prev
next >
Wrap
Makefile
|
1996-11-27
|
30KB
|
1,108 lines
# Makefile generated by imake - do not edit!
# $XConsortium: imake.c,v 1.65 91/07/25 17:50:17 rws Exp $
# -------------------------------------------------------------------------
# Makefile generated from "Imake.tmpl" and <Imakefile>
# $XConsortium: Imake.tmpl,v 1.139 91/09/16 08:52:48 rws Exp $
#
# From the Alpha Imakefile
# Platform-specific parameters may be set in the appropriate <vendor>.cf
# configuration files. Site-specific parameters should be set in the file
# site.def. Full rebuilds are recommended if any parameters are changed.
#
# If your C preprocessor does not define any unique symbols, you will need
# to set BOOTSTRAPCFLAGS when rebuilding imake (usually when doing
# "make World" the first time).
#
# -------------------------------------------------------------------------
# site-specific configuration parameters that need to come before
# the platform-specific parameters - edit site.def to change
# site: $XConsortium: site.def,v 1.2 91/07/30 20:26:44 rws Exp $
# -------------------------------------------------------------------------
# platform-specific configuration parameters - edit osf1.cf to change
# platform: osf1.cf
# Operating system: 1/1 3.2
SHAREDSWITCH =
# Using 1 shared library rules
# -------------------------------------------------------------------------
# site-specific configuration parameters that go after
# the platform-specific parameters - edit site.def to change
# site: $XConsortium: site.def,v 1.2 91/07/30 20:26:44 rws Exp $
SHELL = /bin/sh
TOP = ../.
CURRENT_DIR = ./ppm
AR = ar cqls
LOCAR = ar clq
BOOTSTRAPCFLAGS =
CC = cc $(SHAREDSWITCH)
LOCCC = cc
LOCSHARCC = LocShareCcCmd
AS = as
COMPRESS = compress
CPP = /lib/cpp $(STD_CPP_DEFINES)
PREPROCESSCMD = cc $(SHAREDSWITCH) -E $(STD_CPP_DEFINES)
INSTALL = /usr/bin/X11/install.sh
LD = ld
LINT = lint
LINTLIBFLAG = -o
LINTOPTS = -ax
LN = ln -s
MAKE = make
MV = mv
CP = cp
RM = rm -f
TROFF = psroff
MSMACROS = -ms
TBL = tbl
EQN = eqn
STD_INCLUDES =
LOCSTD_INCLUDES =
STD_CPP_DEFINES = -DDEC -DR5_XLIB -DSMT
STD_DEFINES = -DDEC -DR5_XLIB -DSMT
EXTRA_LOAD_FLAGS =
EXTRA_LIBRARIES =
LOCEXTRA_LIBRARIES =
TAGS = ctags
SHAREDCODEDEF = -DSHAREDCODE
SHLIBDEF =
PROTO_DEFINES = -DFUNCPROTO=3
INSTPGMFLAGS = -s
INSTBINFLAGS = -m 0755
INSTUIDFLAGS = -m 4755
INSTLIBFLAGS = -m 0644
INSTINCFLAGS = -m 0444
INSTMANFLAGS = -m 0444
INSTDATFLAGS = -m 0444
INSTKMEMFLAGS = -m 4755
CDEBUGFLAGS = -O2 -Olimit 2000
CCOPTIONS =
LOCCCOPTIONS =
ALLINCLUDES = $(INCLUDES) $(EXTRA_INCLUDES) $(TOP_INCLUDES) $(STD_INCLUDES)
LOCALLINCLUDES = $(INCLUDES) $(EXTRA_INCLUDES) $(TOP_INCLUDES) $(LOCSTD_INCLUDES)
ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(EXTRA_DEFINES) $(PROTO_DEFINES) $(DEFINES)
LOCALLDEFINES = $(LOCALLINCLUDES) $(STD_DEFINES) $(EXTRA_DEFINES) $(PROTO_DEFINES) $(DEFINES)
CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(ALLDEFINES)
LOCCFLAGS = $(CDEBUGFLAGS) $(LOCCCOPTIONS) $(LOCALLDEFINES)
LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES)
LDLIBS = $(SYS_LIBRARIES) $(EXTRA_LIBRARIES)
LOCLDLIBS = $(SYS_LIBRARIES) $(LOCEXTRA_LIBRARIES)
LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS) $(LOCAL_LDFLAGS)
LOCLDOPTIONS = $(CDEBUGFLAGS) $(LOCCCOPTIONS) $(LOCAL_LDFLAGS)
LDCOMBINEFLAGS = -X -r
DEPENDFLAGS = -D__alpha -D__osf__ -I -I$(CROSSBASE)/usr/include
MACROFILE = osf1.cf
RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut
IMAKE_DEFINES =
IRULESRC = $(CONFIGDIR)
IMAKE_CMD = $(IMAKE) -DUseInstalled -I$(IRULESRC) $(IMAKE_DEFINES)
ICONFIGFILES = $(IRULESRC)/Imake.tmpl $(IRULESRC)/Imake.rules \
$(IRULESRC)/Project.tmpl $(IRULESRC)/site.def \
$(IRULESRC)/$(MACROFILE) $(EXTRA_ICONFIGFILES)
# -------------------------------------------------------------------------
# X Window System Build Parameters
# $XConsortium: Project.tmpl,v 1.142 92/01/25 16:44:02 rws Exp $
# -------------------------------------------------------------------------
# X Window System make variables; this need to be coordinated with rules
PATHSEP = /
USRLIBDIR = /usr/lib
BINDIR = /usr/bin/X11
INCROOT = /usr/include
BUILDINCROOT = $(TOP)
BUILDINCDIR = $(BUILDINCROOT)/X11
BUILDINCTOP = ..
INCDIR = $(INCROOT)/X11
ADMDIR = /usr/adm
LIBDIR = $(USRLIBDIR)/X11
VARDIR = /usr/var/X11
CONFIGDIR = $(LIBDIR)/config
LINTLIBDIR = $(USRLIBDIR)/lint
FONTDIR = $(LIBDIR)/fonts
USERFONTDIR = $(VARDIR)/fonts/user
FSDIR = $(VARDIR)/fs
XINITDIR = $(LIBDIR)/xinit
XDMDIR = $(VARDIR)/xdm
TWMDIR = $(LIBDIR)/twm
MANPATH = /usr/man
MANSOURCEPATH = $(MANPATH)/man
MANSUFFIX = n
LIBMANSUFFIX = 3
MANDIR = $(MANSOURCEPATH)$(MANSUFFIX)
LIBMANDIR = $(MANSOURCEPATH)$(LIBMANSUFFIX)
NLSDIR = $(LIBDIR)/nls
PEXAPIDIR = $(LIBDIR)/PEX
XAPPLOADDIR = $(LIBDIR)/app-defaults
FONTCFLAGS = -t
INSTAPPFLAGS = $(INSTDATFLAGS)
IMAKE = imake
DEPEND = makedepend
RGB = rgb
FONTC = bdftopcf
MKFONTDIR = mkfontdir
MKDIRHIER = /bin/sh $(BINDIR)/mkdirhier
CONFIGSRC = $(TOP)/config
DOCUTILSRC = $(TOP)/doc/util
CLIENTSRC = $(TOP)/clients
DEMOSRC = $(TOP)/demos
LIBSRC = $(TOP)/lib
FONTSRC = $(TOP)/fonts
INCLUDESRC = $(TOP)/X11
SERVERSRC = $(TOP)/server
UTILSRC = $(TOP)/util
SCRIPTSRC = $(UTILSRC)/scripts
EXAMPLESRC = $(TOP)/examples
CONTRIBSRC = $(TOP)/../contrib
DOCSRC = $(TOP)/doc
RGBSRC = $(TOP)/rgb
DEPENDSRC = $(UTILSRC)/makedepend
IMAKESRC = $(CONFIGSRC)
XAUTHSRC = $(LIBSRC)/Xau
XLIBSRC = $(LIBSRC)/X
XMUSRC = $(LIBSRC)/Xmu
TOOLKITSRC = $(LIBSRC)/Xt
AWIDGETSRC = $(LIBSRC)/Xaw
OLDXLIBSRC = $(LIBSRC)/oldX
XDMCPLIBSRC = $(LIBSRC)/Xdmcp
BDFTOPCFSRC = $(FONTSRC)/clients/bdftopcf
MKFONTDIRSRC = $(FONTSRC)/clients/mkfontdir
FSLIBSRC = $(FONTSRC)/lib/fs
FONTSERVERSRC = $(FONTSRC)/server
EXTENSIONSRC = $(TOP)/extensions
XILIBSRC = $(EXTENSIONSRC)/lib/xinput
XTESTLIBSRC = $(EXTENSIONSRC)/lib/xtest
XTRAPLIBSRC = $(EXTENSIONSRC)/lib/xtrap
PHIGSLIBSRC = $(EXTENSIONSRC)/lib/PEX
XIELIBSRC = $(EXTENSIONSRC)/lib/XIE
EXTINCSRC = $(TOP)/X11/extensions
USRSHLIBDIR = /usr/shlib
XSHLIBDIR = /usr/shlib/X11
SHLIBFLAGS = -check_registry $(CROSSBASE)/usr/shlib/so_locations -L$(CROSSBASE)/usr/shlib -L$(CROSSBASE)/usr/ccs/lib
DEPEXTENSIONLIB = $(USRSHLIBDIR)/libXext.so
EXTENSIONLIB = -lXext
DEPXLIB = $(DEPEXTENSIONLIB) $(USRSHLIBDIR)/libX11.so
XLIB = -lXext -lX11
DEPXMULIB = $(USRSHLIBDIR)/libXmu.so
XMULIB = -lXmu
DEPOLDXLIB = $(USRSHLIBDIR)/liboldX.so
OLDXLIB = -loldX
DEPXTOOLLIB = $(USRSHLIBDIR)/libXt.so
XTOOLLIB = -lXt
DEPXAWLIB = $(USRSHLIBDIR)/libXaw.so
XAWLIB = -lXaw
DEPXXIELIB = $(USRSHLIBDIR)/libXIE.so
XXIELIB = -lXIE
DEPXILIB = $(USRSHLIBDIR)/libXi.a
XILIB = -lXi
DNETLIB = -ldnet_stub
SOXLIBREV = SharedXlibRev
SOXTREV = SharedXtRev
SOXAWREV = SharedXawRev
SOXIEREV = SharedXIERev
SOOLDXREV = SharedOldXRev
SOXMUREV = SharedXmuRev
SOXEXTREV = SharedXextRev
SOXINPUTREV = SharedXinputRev
SOXTESTREV = SharedXTestRev
SOXTRAPREV = SharedXTrapRev
DEPXAUTHLIB = $(USRLIBDIR)/libXau.a
XAUTHLIB = -lXau
DEPXDMCPLIB = $(USRLIBDIR)/libXdmcp.a
XDMCPLIB = -lXdmcp
DEPXTESTLIB = $(USRLIBDIR)/libXtst.a
XTESTLIB = -lXtst
DEPXTRAPLIB = $(USRLIBDIR)/libXTrap.a
XTRAPLIB = -lXTrap
DEPPHIGSLIB = $(USRLIBDIR)/libphigs.a
PHIGSLIB = -lphigs
DEPACCESSXLIB = $(USRLIBDIR)/libAccessX.a
ACCESSXLIB = -lAccessx
DEPACCESSXLIB = $(USRLIBDIR)/libAccessX.a
ACCESSXLIB = -lAccessx
DEPXBSDLIB = $(USRLIBDIR)/libXbsd.a
XBSDLIB = -lXbsd
LINTEXTENSIONLIB = $(LINTLIBDIR)/llib-lXext.ln
LINTXLIB = $(LINTLIBDIR)/llib-lX11.ln
LINTXMU = $(LINTLIBDIR)/llib-lXmu.ln
LINTXTOOL = $(LINTLIBDIR)/llib-lXt.ln
LINTXAW = $(LINTLIBDIR)/llib-lXaw.ln
LINTXXIE = $(LINTLIBDIR)/llib-lXIE.ln
LINTXI = $(LINTLIBDIR)/llib-lXi.ln
LINTPHIGS = $(LINTLIBDIR)/llib-lphigs.ln
DEPXBSDLIB = $(USRLIBDIR)/libXbsd.a
XBSDLIB = -lXbsd
DEPLIBS = $(DEPXAWLIB) $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB)
DEPLIBS1 = $(DEPLIBS)
DEPLIBS2 = $(DEPLIBS)
DEPLIBS3 = $(DEPLIBS)
UILFLAGS =
MLIBSRC = $(TOP)/motif/lib
XMSRC = $(MLIBSRC)/Xm
LINTXM = $(USRLIBDIR)/llib-lXm.ln
USRINCDIR = $(INCDIR)
TESTSRC = $(TOP)/tests
MTOOLKITSRC = $(LIBSRC)/Xt
MWIDGETSRC = $(MLIBSRC)/Xm
MRESOURCESRC = $(MLIBSRC)/Mrm
MCLIENTSRC = $(TOP)/motif/clients
UILSRC = $(MCLIENTSRC)/uil
MINCLUDESRC = $(INCLUDESRC)
UIL = uil
INSTALLLIB = $(DESTDIR)/usr/lib
INSTALLSHLIB = $(DESTDIR)/usr/shlib
DEPXMLIB = $(USRSHLIBDIR)/libXm.so
XMLIB = -lXm
DEPMRESOURCELIB = $(USRSHLIBDIR)/libMrm.so
MRESOURCELIB = -lMrm
UILINCLUDES =
UILLIB = $(UILSRC)/libUil.a
LINTXMWIDGETLIB = $(MWIDGETSRC)/llib-l/Xm.ln
LINTXMTOOL = $(MTOOLKITSRC)/llib-lXt.ln
LINTUILLIB = $(UILSRC)/llib-lUil.ln
# -------------------------------------------------------------------------
# DEC-Specific System Build Parameters
HELPDIR = $(LIBDIR)/help
UIDDIR = $(LIBDIR)/uid
CDADIR = $(USRLIBDIR)/cda
DXMSRC = $(MLIBSRC)/DXm
DPSSRC = $(EXTENSIONSRC)/DPSII/lib/dps
DPSTKSRC = $(EXTENSIONSRC)/DPSII/lib/dpstk
PSRESSRC = $(EXTENSIONSRC)/DPSII/lib/psres
XIESRC = $(EXTENSIONSRC)/lib/xie
IDSSRC = $(MLIBSRC)/ids
BKRSRC = $(MLIBSRC)/bkr
DWI18NSRC = $(MLIBSRC)/dwi18n
LWKSRC = $(MLIBSRC)/lwk
DVRSRC = $(MLIBSRC)/dvr
DEPDXMLIB = $(USRSHLIBDIR)/libDXm.so
DXMLIB = -lDXm
MDXMLIB = $(DXMLIB)
DEPDPSLIB = $(USRSHLIBDIR)/libdps.so
DPSLIB = -ldps
DEPDPSTKLIB = $(USRSHLIBDIR)/libdpstk.so
DPSTKLIB = -ldpstk
DEPPSRESLIB = $(USRSHLIBDIR)/libpsres.so
PSRESLIB = -lpsres
DEPXIELIB = $(USRLIBDIR)/libXie.a
XIELIB = -lXie
DEPIDSLIB = $(USRSHLIBDIR)/libids.so
IDSLIB = -lids
DEPBKRLIB = $(USRSHLIBDIR)/libbkr.so
BKRLIB = -lbkr
DEPDWI18NLIB = $(USRLIBDIR)/libdwi18n.a
DWI18NLIB = -ldwi18n
DEPLWKLIB = $(USRSHLIBDIR)/liblwkdxm.so
LWKLIB = -llwkdxm
DEPDVRLIB = $(USRSHLIBDIR)/libdvr.so
DVRLIB = -ldvr
DEPIMGLIB =
DEPIPSLIB =
DEPCHFLIB =
DEPCDALIB =
DEPDVSLIB =
DEPIDS_NOXLIB =
IMGLIB = -limg
IPSLIB = -lips
CHFLIB = -lchf
CDALIB = -lcda
IDS_NOXLIB = -lids_nox
DVSLIB = -ldvs
DEBUGUSRLIBDIR=/usr/debugshlib
# -------------------------------------------------------------------------
# Imake rules for building libraries, programs, scripts, and data files
# rules: $XConsortium: Imake.rules,v 1.123 91/09/16 20:12:16 rws Exp $
# -------------------------------------------------------------------------
# DEC-Specific System Build Rules
# $Id: Dec.rules,v 1.1.2.8 92/12/08 19:29:22 Leela_Obilichetti Exp $
# -------------------------------------------------------------------------
# start of Imakefile
BINDIR = /usr/X11R6/pbmplus
MANDIR = /usr/X11R6/man
MANSUFFIX = 1p
PBMPLUSDIR =
PBMPLUSBINDIR = $(BINDIR)
PBMPLUSMANDIR = $(MANDIR)
PBMPLUSLIBDIR = $(USRLIBDIR)
PBMPLUSINCDIR = $(INCDIR)
PBMDIR = .././pbm
PGMDIR = .././pgm
PPMDIR = .././ppm
PNMDIR = .././pnm
TIFFDIR = .././libtiff
LIBPBM = $(PBMDIR)/libpbm.a
LIBPGM = $(PGMDIR)/libpgm.a
LIBPPM = libppm.a
LIBPNM = $(PNMDIR)/libpnm.a
LIBTIFF = $(TIFFDIR)/libtiff.a
DEPLIBPBM = $(PBMDIR)/libpbm.a
DEPLIBPGM = $(PGMDIR)/libpgm.a
DEPLIBPPM = libppm.a
DEPLIBPNM = $(PNMDIR)/libpnm.a
DEPLIBTIFF = $(TIFFDIR)/libtiff.a
CURRENTLIBS = $(LIBPPM) $(LIBPGM) $(LIBPBM)
CURRENTDEPLIBS = $(DEPLIBPPM) $(DEPLIBPGM) $(DEPLIBPBM)
INCLUDES = -I.. -I$(PBMDIR) -I$(PGMDIR)
DEFINES = -DRGB_DB=\"$(LIBDIR)/rgb\"
MERGE = ppmmerge
MAN1 = bmptoppm.1 gouldtoppm.1 hpcdtoppm.1 ilbmtoppm.1 \
imgtoppm.1 mtvtoppm.1 pcxtoppm.1 pgmtoppm.1 \
pi1toppm.1 picttoppm.1 pjtoppm.1 \
ppm3d.1 ppmbrighten.1 ppmchange.1 ppmdim.1 ppmdist.1 \
ppmdither.1 ppmflash.1 ppmhist.1 ppmmake.1 ppmmix.1 \
ppmnorm.1 ppmntsc.1 ppmquant.1 ppmrelief.1 \
ppmshift.1 ppmspread.1 \
ppmtoacad.1 ppmtobmp.1 \
ppmtogif.1 ppmtoicr.1 ppmtoilbm.1 ppmtomitsu.1 \
ppmtopcx.1 ppmtopgm.1 ppmtopi1.1 ppmtopict.1 ppmtopj.1 \
ppmtopjxl.1 ppmtopuzz.1 ppmtorgb3.1 ppmtosixel.1 ppmtotga.1 \
ppmtouil.1 ppmtoxpm.1 ppmtoyuv.1 ppmtoyuvsplit.1 \
qrttoppm.1 rawtoppm.1 rgb3toppm.1 sldtoppm.1 \
spctoppm.1 sputoppm.1 tgatoppm.1 ximtoppm.1 \
xpmtoppm.1 xvminitoppm.1 yuvtoppm.1 yuvsplittoppm.1 \
ppmforge.1 ppmpat.1 ppmqvga.1 ppmtomap.1 \
ppmquantall.1
MAN3 = libppm.3
MAN5 = ppm.5
SRCS = bmptoppm.c gouldtoppm.c hpcdtoppm.c ilbmtoppm.c \
imgtoppm.c mtvtoppm.c pcxtoppm.c pgmtoppm.c \
pi1toppm.c picttoppm.c pjtoppm.c \
ppm3d.c ppmbrighten.c ppmchange.c ppmdim.c ppmdist.c \
ppmdither.c ppmflash.c ppmhist.c ppmmake.c ppmmix.c \
ppmnorm.c ppmntsc.c ppmquant.c ppmrelief.c \
ppmshift.c ppmspread.c ppmtoacad.c ppmtobmp.c \
ppmtogif.c ppmtoicr.c ppmtoilbm.c ppmtomitsu.c \
ppmtopcx.c ppmtopgm.c ppmtopi1.c ppmtopict.c ppmtopj.c \
ppmtopjxl.c ppmtopuzz.c ppmtorgb3.c ppmtosixel.c ppmtotga.c \
ppmtouil.c ppmtoxpm.c ppmtoyuv.c ppmtoyuvsplit.c \
qrttoppm.c rawtoppm.c rgb3toppm.c sldtoppm.c \
spctoppm.c sputoppm.c tgatoppm.c ximtoppm.c \
xpmtoppm.c xvminitoppm.c yuvtoppm.c yuvsplittoppm.c \
ppmforge.c ppmpat.c ppmqvga.c ppmtomap.c
OBJS = bmptoppm.o gouldtoppm.o hpcdtoppm.o ilbmtoppm.o \
imgtoppm.o mtvtoppm.o pcxtoppm.o pgmtoppm.o \
pi1toppm.o picttoppm.o pjtoppm.o \
ppm3d.o ppmbrighten.o ppmchange.o ppmdim.o ppmdist.o \
ppmdither.o ppmflash.o ppmhist.o ppmmake.o ppmmix.o \
ppmnorm.o ppmntsc.o ppmquant.o ppmrelief.o \
ppmshift.o ppmspread.o \
ppmtoacad.o ppmtobmp.o \
ppmtogif.o ppmtoicr.o ppmtoilbm.o ppmtomitsu.o \
ppmtopcx.o ppmtopgm.o ppmtopi1.o ppmtopict.o ppmtopj.o \
ppmtopjxl.o ppmtopuzz.o ppmtorgb3.o ppmtosixel.o ppmtotga.o \
ppmtouil.o ppmtoxpm.o ppmtoyuv.o ppmtoyuvsplit.o \
qrttoppm.o rawtoppm.o rgb3toppm.o sldtoppm.o \
spctoppm.o sputoppm.o tgatoppm.o ximtoppm.o \
xpmtoppm.o xvminitoppm.o yuvtoppm.o yuvsplittoppm.o \
ppmforge.o ppmpat.o ppmqvga.o ppmtomap.o
BINS = bmptoppm gouldtoppm hpcdtoppm ilbmtoppm \
imgtoppm mtvtoppm pcxtoppm pgmtoppm \
pi1toppm picttoppm pjtoppm \
ppm3d ppmbrighten ppmchange ppmdim ppmdist \
ppmdither ppmflash ppmhist ppmmake ppmmix \
ppmnorm ppmntsc ppmquant ppmrelief \
ppmshift ppmspread \
ppmtoacad ppmtobmp \
ppmtogif ppmtoicr ppmtoilbm ppmtomitsu \
ppmtopcx ppmtopgm ppmtopi1 ppmtopict ppmtopj \
ppmtopjxl ppmtopuzz ppmtorgb3 ppmtosixel ppmtotga \
ppmtouil ppmtoxpm ppmtoyuv ppmtoyuvsplit \
qrttoppm rawtoppm rgb3toppm sldtoppm \
spctoppm sputoppm tgatoppm ximtoppm \
xpmtoppm xvminitoppm yuvtoppm yuvsplittoppm \
ppmforge ppmpat ppmqvga ppmtomap
includes:: ppmquantall.script
ppmquantall.script:
$(LN) ppmquantall ppmquantall.script
all:: $(LIBPPM) $(BINS)
depend::
$(DEPEND) $(DEPENDFLAGS) -s "# DO NOT DELETE" -- $(ALLDEFINES) -- $(SRCS)
\
bmptoppm: bmptoppm.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ bmptoppm.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) bmptoppm
\
gouldtoppm: gouldtoppm.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ gouldtoppm.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) gouldtoppm
\
hpcdtoppm: hpcdtoppm.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ hpcdtoppm.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) hpcdtoppm
\
ilbmtoppm: ilbmtoppm.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ ilbmtoppm.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) ilbmtoppm
\
imgtoppm: imgtoppm.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ imgtoppm.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) imgtoppm
\
mtvtoppm: mtvtoppm.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ mtvtoppm.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) mtvtoppm
\
pcxtoppm: pcxtoppm.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ pcxtoppm.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) pcxtoppm
\
pgmtoppm: pgmtoppm.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ pgmtoppm.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) pgmtoppm
\
pi1toppm: pi1toppm.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ pi1toppm.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) pi1toppm
\
picttoppm: picttoppm.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ picttoppm.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) picttoppm
\
pjtoppm: pjtoppm.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ pjtoppm.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) pjtoppm
\
ppm3d: ppm3d.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ ppm3d.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) ppm3d
\
ppmbrighten: ppmbrighten.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ ppmbrighten.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) ppmbrighten
\
ppmchange: ppmchange.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ ppmchange.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) ppmchange
\
ppmdim: ppmdim.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ ppmdim.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) ppmdim
\
ppmdist: ppmdist.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ ppmdist.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) ppmdist
\
ppmdither: ppmdither.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ ppmdither.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) ppmdither
\
ppmflash: ppmflash.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ ppmflash.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) ppmflash
\
ppmhist: ppmhist.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ ppmhist.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) ppmhist
\
ppmmake: ppmmake.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ ppmmake.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) ppmmake
\
ppmmix: ppmmix.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ ppmmix.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) ppmmix
\
ppmnorm: ppmnorm.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ ppmnorm.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) ppmnorm
\
ppmntsc: ppmntsc.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ ppmntsc.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) ppmntsc
\
ppmquant: ppmquant.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ ppmquant.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) ppmquant
\
ppmrelief: ppmrelief.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ ppmrelief.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) ppmrelief
\
ppmshift: ppmshift.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ ppmshift.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) ppmshift
\
ppmspread: ppmspread.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ ppmspread.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) ppmspread
\
ppmtoacad: ppmtoacad.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ ppmtoacad.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) ppmtoacad
\
ppmtobmp: ppmtobmp.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ ppmtobmp.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) ppmtobmp
\
ppmtogif: ppmtogif.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ ppmtogif.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) ppmtogif
\
ppmtoicr: ppmtoicr.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ ppmtoicr.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) ppmtoicr
\
ppmtoilbm: ppmtoilbm.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ ppmtoilbm.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) ppmtoilbm
\
ppmtomitsu: ppmtomitsu.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ ppmtomitsu.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) ppmtomitsu
\
ppmtopcx: ppmtopcx.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ ppmtopcx.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) ppmtopcx
\
ppmtopgm: ppmtopgm.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ ppmtopgm.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) ppmtopgm
\
ppmtopi1: ppmtopi1.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ ppmtopi1.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) ppmtopi1
\
ppmtopict: ppmtopict.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ ppmtopict.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) ppmtopict
\
ppmtopj: ppmtopj.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ ppmtopj.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) ppmtopj
\
ppmtopjxl: ppmtopjxl.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ ppmtopjxl.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) ppmtopjxl
\
ppmtopuzz: ppmtopuzz.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ ppmtopuzz.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) ppmtopuzz
\
ppmtorgb3: ppmtorgb3.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ ppmtorgb3.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) ppmtorgb3
\
ppmtosixel: ppmtosixel.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ ppmtosixel.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) ppmtosixel
\
ppmtotga: ppmtotga.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ ppmtotga.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) ppmtotga
\
ppmtouil: ppmtouil.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ ppmtouil.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) ppmtouil
\
ppmtoxpm: ppmtoxpm.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ ppmtoxpm.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) ppmtoxpm
\
ppmtoyuv: ppmtoyuv.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ ppmtoyuv.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) ppmtoyuv
\
ppmtoyuvsplit: ppmtoyuvsplit.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ ppmtoyuvsplit.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) ppmtoyuvsplit
\
qrttoppm: qrttoppm.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ qrttoppm.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) qrttoppm
\
rawtoppm: rawtoppm.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ rawtoppm.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) rawtoppm
\
rgb3toppm: rgb3toppm.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ rgb3toppm.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) rgb3toppm
\
sldtoppm: sldtoppm.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ sldtoppm.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) sldtoppm
\
spctoppm: spctoppm.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ spctoppm.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) spctoppm
\
sputoppm: sputoppm.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ sputoppm.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) sputoppm
\
tgatoppm: tgatoppm.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ tgatoppm.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) tgatoppm
\
ximtoppm: ximtoppm.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ ximtoppm.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) ximtoppm
\
xpmtoppm: xpmtoppm.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ xpmtoppm.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) xpmtoppm
\
xvminitoppm: xvminitoppm.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ xvminitoppm.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) xvminitoppm
\
yuvtoppm: yuvtoppm.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ yuvtoppm.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) yuvtoppm
\
yuvsplittoppm: yuvsplittoppm.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ yuvsplittoppm.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) yuvsplittoppm
ppmforge: ppmforge.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ ppmforge.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS)
clean::
$(RM) ppmforge
ppmpat: ppmpat.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ ppmpat.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS)
clean::
$(RM) ppmpat
ppmqvga: ppmqvga.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ ppmqvga.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS)
clean::
$(RM) ppmqvga
ppmtomap: ppmtomap.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ ppmtomap.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS)
clean::
$(RM) ppmtomap
.c.o:
$(RM) $@
$(CC) -c $(CFLAGS) $(_NOOP_) $*.c
all:: libppm.a
libppm.a: libppm1.o libppm2.o libppm3.o libppm4.o \
libppm5.o bitio.o
$(RM) $@
$(AR) $@ libppm1.o libppm2.o libppm3.o libppm4.o \
libppm5.o bitio.o
install:: $(BINS)
@if [ -d $(DESTDIR)$(PBMPLUSDIR)$(PBMPLUSBINDIR) ]; then set +x; \
else (set -x; $(MKDIRHIER) $(DESTDIR)$(PBMPLUSDIR)$(PBMPLUSBINDIR)); fi
@case '${MFLAGS}' in *[i]*) set +e;; esac; \
for i in $(BINS); do \
(set -x; $(RM) $(DESTDIR)$(PBMPLUSDIR)$(PBMPLUSBINDIR)/$$i; \
$(INSTALL) -c $(INSTPGMFLAGS) $$i $(DESTDIR)$(PBMPLUSDIR)$(PBMPLUSBINDIR)); \
done
install:: ppmquantall.script
@if [ -d $(DESTDIR)$(PBMPLUSDIR)$(PBMPLUSBINDIR) ]; then set +x; \
else (set -x; $(MKDIRHIER) $(DESTDIR)$(PBMPLUSDIR)$(PBMPLUSBINDIR)); fi
$(INSTALL) -c $(INSTBINFLAGS) ppmquantall.script $(DESTDIR)$(PBMPLUSDIR)$(PBMPLUSBINDIR)/ppmquantall
install.man:: $(MAN1)
@if [ -d $(DESTDIR)$(PBMPLUSDIR)$(PBMPLUSMANDIR)/man1 ]; then set +x; \
else (set -x; $(MKDIRHIER) $(DESTDIR)$(PBMPLUSDIR)$(PBMPLUSMANDIR)/man1); fi
@case '${MFLAGS}' in *[i]*) set +e;; esac; \
for i in $(MAN1); do \
(set -x; $(INSTALL) -c $(INSTMANFLAGS) $$i $(DESTDIR)$(PBMPLUSDIR)$(PBMPLUSMANDIR)/man1); \
done
install.man:: $(MAN3)
@if [ -d $(DESTDIR)$(PBMPLUSDIR)$(PBMPLUSMANDIR)/man3 ]; then set +x; \
else (set -x; $(MKDIRHIER) $(DESTDIR)$(PBMPLUSDIR)$(PBMPLUSMANDIR)/man3); fi
@case '${MFLAGS}' in *[i]*) set +e;; esac; \
for i in $(MAN3); do \
(set -x; $(INSTALL) -c $(INSTMANFLAGS) $$i $(DESTDIR)$(PBMPLUSDIR)$(PBMPLUSMANDIR)/man3); \
done
install.man:: $(MAN5)
@if [ -d $(DESTDIR)$(PBMPLUSDIR)$(PBMPLUSMANDIR)/man5 ]; then set +x; \
else (set -x; $(MKDIRHIER) $(DESTDIR)$(PBMPLUSDIR)$(PBMPLUSMANDIR)/man5); fi
@case '${MFLAGS}' in *[i]*) set +e;; esac; \
for i in $(MAN5); do \
(set -x; $(INSTALL) -c $(INSTMANFLAGS) $$i $(DESTDIR)$(PBMPLUSDIR)$(PBMPLUSMANDIR)/man5); \
done
# -------------------------------------------------------------------------
# common rules for all Makefiles - do not edit
emptyrule::
clean::
$(RM_CMD) "#"*
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::
# -------------------------------------------------------------------------
# dependencies generated by makedepend