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
/
PBM
/
Makefile.osf
< prev
next >
Wrap
Makefile
|
1996-11-24
|
24KB
|
898 lines
SHELL = /bin/sh
TOP = ../.
CURRENT_DIR = ./pbm
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 = libpbm.a
LIBPGM = $(PGMDIR)/libpgm.a
LIBPPM = $(PPMDIR)/libppm.a
LIBPNM = $(PNMDIR)/libpnm.a
LIBTIFF = $(TIFFDIR)/libtiff.a
DEPLIBPBM = libpbm.a
DEPLIBPGM = $(PGMDIR)/libpgm.a
DEPLIBPPM = $(PPMDIR)/libppm.a
DEPLIBPNM = $(PNMDIR)/libpnm.a
DEPLIBTIFF = $(TIFFDIR)/libtiff.a
CURRENTLIBS = $(LIBPBM)
CURRENTDEPLIBS = $(DEPLIBPBM)
INCLUDES = -I..
DEFINES = -DRGB_DB=\"$(LIBDIR)/rgb\" -DLIBTIFF
MERGE = pbmmerge
MAN1 = atktopbm.1 brushtopbm.1 cmuwmtopbm.1 g3topbm.1 \
icontopbm.1 gemtopbm.1 macptopbm.1 mgrtopbm.1 \
pbmclean.1 pbmlife.1 pbmmake.1 pbmmask.1 pbmpscale.1 \
pbmreduce.1 pbmtext.1 \
pbmto10x.1 pbmto4425.1 pbmtoascii.1 \
pbmtoatk.1 pbmtobbnbg.1 pbmtocmuwm.1 pbmtoepsi.1 \
pbmtoepson.1 pbmtog3.1 pbmtogem.1 pbmtogo.1 pbmtoicon.1 \
pbmtolj.1 pbmtoln03.1 pbmtolps.1 pbmtomacp.1 pbmtomgr.1 \
pbmtopi3.1 pbmtopk.1 pbmtoplot.1 pbmtoptx.1 \
pbmtox10bm.1 pbmtoxbm.1 pbmtoybm.1 pbmtozinc.1 \
pbmupc.1 pi3topbm.1 pktopbm.1 xbmtopbm.1 ybmtopbm.1
MAN3 = libpbm.3
MAN5 = pbm.5
SRCS = atktopbm.c brushtopbm.c cmuwmtopbm.c g3topbm.c \
icontopbm.c gemtopbm.c macptopbm.c mgrtopbm.c \
pbmclean.c pbmlife.c pbmmake.c pbmmask.c pbmpscale.c \
pbmreduce.c pbmtext.c \
pbmto10x.c pbmto4425.c pbmtoascii.c \
pbmtoatk.c pbmtobbnbg.c pbmtocmuwm.c pbmtoepsi.c \
pbmtoepson.c pbmtog3.c pbmtogem.c pbmtogo.c pbmtoicon.c \
pbmtolj.c pbmtoln03.c pbmtolps.c pbmtomacp.c pbmtomgr.c \
pbmtopi3.c pbmtopk.c pbmtoplot.c pbmtoptx.c \
pbmtox10bm.c pbmtoxbm.c pbmtoybm.c pbmtozinc.c \
pbmupc.c pi3topbm.c pktopbm.c xbmtopbm.c ybmtopbm.c
OBJS = atktopbm.o brushtopbm.o cmuwmtopbm.o g3topbm.o \
icontopbm.o gemtopbm.o macptopbm.o mgrtopbm.o \
pbmclean.o pbmlife.o pbmmake.o pbmmask.o pbmpscale.o \
pbmreduce.o pbmtext.o \
pbmto10x.o pbmto4425.o pbmtoascii.o \
pbmtoatk.o pbmtobbnbg.o pbmtocmuwm.o pbmtoepsi.o \
pbmtoepson.o pbmtog3.o pbmtogem.o pbmtogo.o pbmtoicon.o \
pbmtolj.o pbmtoln03.o pbmtolps.o pbmtomacp.o pbmtomgr.o \
pbmtopi3.o pbmtopk.o pbmtoplot.o pbmtoptx.o \
pbmtox10bm.o pbmtoxbm.o pbmtoybm.o pbmtozinc.o \
pbmupc.o pi3topbm.o pktopbm.o xbmtopbm.o ybmtopbm.o
BINS = atktopbm brushtopbm cmuwmtopbm g3topbm \
icontopbm gemtopbm macptopbm mgrtopbm \
pbmclean pbmlife pbmmake pbmmask pbmpscale \
pbmreduce pbmtext \
pbmto10x pbmto4425 pbmtoascii \
pbmtoatk pbmtobbnbg pbmtocmuwm pbmtoepsi \
pbmtoepson pbmtog3 pbmtogem pbmtogo pbmtoicon \
pbmtolj pbmtoln03 pbmtolps pbmtomacp pbmtomgr \
pbmtopi3 pbmtopk pbmtoplot pbmtoptx \
pbmtox10bm pbmtoxbm pbmtoybm pbmtozinc \
pbmupc pi3topbm pktopbm xbmtopbm ybmtopbm
all:: $(LIBPBM) $(BINS)
depend::
$(DEPEND) $(DEPENDFLAGS) -s "# DO NOT DELETE" -- $(ALLDEFINES) -- $(SRCS)
\
atktopbm: atktopbm.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ atktopbm.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) atktopbm
\
brushtopbm: brushtopbm.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ brushtopbm.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) brushtopbm
\
cmuwmtopbm: cmuwmtopbm.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ cmuwmtopbm.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) cmuwmtopbm
\
g3topbm: g3topbm.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ g3topbm.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) g3topbm
\
icontopbm: icontopbm.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ icontopbm.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) icontopbm
\
gemtopbm: gemtopbm.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ gemtopbm.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) gemtopbm
\
macptopbm: macptopbm.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ macptopbm.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) macptopbm
\
mgrtopbm: mgrtopbm.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ mgrtopbm.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) mgrtopbm
\
pbmclean: pbmclean.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ pbmclean.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) pbmclean
\
pbmlife: pbmlife.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ pbmlife.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) pbmlife
\
pbmmake: pbmmake.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ pbmmake.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) pbmmake
\
pbmmask: pbmmask.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ pbmmask.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) pbmmask
\
pbmpscale: pbmpscale.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ pbmpscale.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) pbmpscale
\
pbmreduce: pbmreduce.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ pbmreduce.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) pbmreduce
\
pbmtext: pbmtext.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ pbmtext.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) pbmtext
\
pbmto10x: pbmto10x.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ pbmto10x.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) pbmto10x
\
pbmto4425: pbmto4425.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ pbmto4425.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) pbmto4425
\
pbmtoascii: pbmtoascii.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ pbmtoascii.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) pbmtoascii
\
pbmtoatk: pbmtoatk.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ pbmtoatk.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) pbmtoatk
\
pbmtobbnbg: pbmtobbnbg.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ pbmtobbnbg.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) pbmtobbnbg
\
pbmtocmuwm: pbmtocmuwm.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ pbmtocmuwm.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) pbmtocmuwm
\
pbmtoepsi: pbmtoepsi.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ pbmtoepsi.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) pbmtoepsi
\
pbmtoepson: pbmtoepson.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ pbmtoepson.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) pbmtoepson
\
pbmtog3: pbmtog3.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ pbmtog3.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) pbmtog3
\
pbmtogem: pbmtogem.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ pbmtogem.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) pbmtogem
\
pbmtogo: pbmtogo.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ pbmtogo.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) pbmtogo
\
pbmtoicon: pbmtoicon.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ pbmtoicon.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) pbmtoicon
\
pbmtolj: pbmtolj.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ pbmtolj.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) pbmtolj
\
pbmtoln03: pbmtoln03.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ pbmtoln03.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) pbmtoln03
\
pbmtolps: pbmtolps.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ pbmtolps.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) pbmtolps
\
pbmtomacp: pbmtomacp.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ pbmtomacp.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) pbmtomacp
\
pbmtomgr: pbmtomgr.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ pbmtomgr.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) pbmtomgr
\
pbmtopi3: pbmtopi3.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ pbmtopi3.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) pbmtopi3
\
pbmtoplot: pbmtoplot.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ pbmtoplot.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) pbmtoplot
\
pbmtoptx: pbmtoptx.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ pbmtoptx.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) pbmtoptx
\
pbmtox10bm: pbmtox10bm.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ pbmtox10bm.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) pbmtox10bm
\
pbmtoxbm: pbmtoxbm.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ pbmtoxbm.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) pbmtoxbm
\
pbmtoybm: pbmtoybm.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ pbmtoybm.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) pbmtoybm
\
pbmtozinc: pbmtozinc.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ pbmtozinc.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) pbmtozinc
\
pbmupc: pbmupc.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ pbmupc.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) pbmupc
\
pi3topbm: pi3topbm.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ pi3topbm.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) pi3topbm
\
pktopbm: pktopbm.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ pktopbm.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) pktopbm
\
xbmtopbm: xbmtopbm.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ xbmtopbm.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) xbmtopbm
\
ybmtopbm: ybmtopbm.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ ybmtopbm.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
clean::
$(RM) ybmtopbm
pbmtopk: pbmtopk.o $(CURRENTDEPLIBS)
$(RM) $@
$(CC) -o $@ pbmtopk.o $(LDOPTIONS) $(CURRENTLIBS) $(LDLIBS) -lm $(EXTRA_LOAD_FLAGS)
clean::
$(RM) pbmtopk
.c.o:
$(RM) $@
$(CC) -c $(CFLAGS) $(_NOOP_) $*.c
all:: libpbm.a
libpbm.a: libpbm1.o libpbm2.o libpbm3.o libpbm4.o libpbm5.o
$(RM) $@
$(AR) $@ libpbm1.o libpbm2.o libpbm3.o libpbm4.o libpbm5.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.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