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
/
PNM
/
Imakefile
< prev
next >
Wrap
Makefile
|
1996-11-18
|
6KB
|
179 lines
/* Imakefile for pnm tools
*
* Copyright (C) 1991 Rainer Klute
*
* 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 copyright holder's name not be used in
* advertising or publicity pertaining to distribution of the software
* without specific, written prior permission. The copyright holder makes
* no representations about the suitability of this software for any
* purpose. It is provided "as is" without express or implied warranty.
*/
#define LibPnm libpnm.a
#define DepLibPnm LibPnm
#include <../Pbmplus.tmpl>
#if BuildLibTiff
CURRENTLIBS = $(LIBTIFF) $(LIBPNM) $(LIBPPM) $(LIBPGM) $(LIBPBM)
CURRENTDEPLIBS = $(DEPLIBTIFF) $(DEPLIBPNM) $(DEPLIBPPM) $(DEPLIBPGM) $(DEPLIBPBM)
INCLUDES = -I.. -I$(PBMDIR) -I$(PGMDIR) -I$(PPMDIR) -I$(TIFFDIR)
DEFINES = -DLIBTIFF
MERGE = pnmmerge
TIFFMAN1 = tifftopnm.1 pnmtotiff.1
TIFFSRCS = tifftopnm.c pnmtotiff.c
TIFFOBJS = tifftopnm.o pnmtotiff.o
TIFFBINS = tifftopnm pnmtotiff
#else
CURRENTLIBS = $(LIBPNM) $(LIBPPM) $(LIBPGM) $(LIBPBM)
CURRENTDEPLIBS = $(DEPLIBPNM) $(DEPLIBPPM) $(DEPLIBPGM) $(DEPLIBPBM)
INCLUDES = -I.. -I$(PBMDIR) -I$(PGMDIR) -I$(PPMDIR)
MERGE = pnmmerge
TIFFMAN1 =
TIFFSRCS =
TIFFOBJS =
TIFFBINS =
#endif
MAN1 = fitstopnm.1 giftopnm.1 \
pnmalias.1 pnmarith.1 pnmcat.1 pnmcomp.1 pnmconvol.1 \
pnmcrop.1 pnmcut.1 pnmdepth.1 pnmenlarge.1 pnmfile.1 \
pnmflip.1 pnmhisteq.1 pnmhistmap.1 pnminvert.1 \
pnmnlfilt.1 pnmnoraw.1 pnmpad.1 pnmpaste.1 pnmscale.1 \
pnmsmooth.1 pnmtile.1 pnmtoddif.1 pnmtofits.1 pnmtops.1 \
pnmtorast.1 pnmtosgi.1 pnmtosir.1 pnmtoxwd.1 rasttopnm.1 \
sgitopnm.1 sirtopnm.1 xwdtopnm.1 zeisstopnm.1 pnmgamma.1 \
pnmrotate.1 pnmshear.1 anytopnm.1 pnmindex.1 pnmmargin.1 \
$(TIFFMAN1)
MAN3 = libpnm.3
MAN5 = pnm.5
SRCS = fitstopnm.c giftopnm.c \
pnmalias.c pnmarith.c pnmcat.c pnmcomp.c pnmconvol.c \
pnmcrop.c pnmcut.c pnmdepth.c pnmenlarge.c pnmfile.c \
pnmflip.c pnmgamma.c pnmhisteq.c pnmhistmap.c pnminvert.c \
pnmnlfilt.c pnmnoraw.c pnmpad.c pnmpaste.c pnmrotate.c \
pnmscale.c pnmshear.c pnmsmooth.c pnmtile.c pnmtoddif.c \
pnmtofits.c pnmtops.c pnmtorast.c pnmtosgi.c pnmtosir.c \
pnmtoxwd.c rasttopnm.c sgitopnm.c sirtopnm.c xwdtopnm.c \
zeisstopnm.c \
$(TIFFSRCS)
OBJS = fitstopnm.o giftopnm.o \
pnmalias.o pnmarith.o pnmcat.o pnmcomp.o pnmconvol.o \
pnmcrop.o pnmcut.o pnmdepth.o pnmenlarge.o pnmfile.o \
pnmflip.o pnmgamma.o pnmhisteq.o pnmhistmap.o pnminvert.o \
pnmnlfilt.o pnmnoraw.o pnmpad.o pnmpaste.o pnmrotate.o \
pnmscale.o pnmshear.o pnmsmooth.o pnmtile.o pnmtoddif.o \
pnmtofits.o pnmtops.o pnmtorast.o pnmtosgi.o pnmtosir.o \
pnmtoxwd.o rasttopnm.o sgitopnm.o sirtopnm.o xwdtopnm.o \
zeisstopnm.o \
$(TIFFOBJS)
BINS = fitstopnm giftopnm \
pnmalias pnmarith pnmcat pnmcomp pnmconvol \
pnmcrop pnmcut pnmdepth pnmenlarge pnmfile \
pnmflip pnmgamma pnmhisteq pnmhistmap pnminvert \
pnmnlfilt pnmnoraw pnmpad pnmpaste pnmrotate \
pnmscale pnmshear pnmsmooth pnmtile pnmtoddif \
pnmtofits pnmtops pnmtorast pnmtosgi pnmtosir \
pnmtoxwd rasttopnm sgitopnm sirtopnm xwdtopnm \
zeisstopnm \
$(TIFFBINS)
includes:: anytopnm.script pnmindex.script pnmmargin.script pstopnm.script
anytopnm.script:
$(LN) anytopnm anytopnm.script
pnmindex.script:
$(LN) pnmindex pnmindex.script
pnmmargin.script:
$(LN) pnmmargin pnmmargin.script
pstopnm.script:
$(LN) pstopnm pstopnm.script
AllTarget($(LIBPNM) $(BINS))
DependTarget()
NormalPbmplusProgramTarget(fitstopnm)
NormalPbmplusProgramTarget(giftopnm)
NormalPbmplusProgramTarget(pnmalias)
NormalPbmplusProgramTarget(pnmarith)
NormalPbmplusProgramTarget(pnmcat)
NormalPbmplusProgramTarget(pnmcomp)
NormalPbmplusProgramTarget(pnmconvol)
NormalPbmplusProgramTarget(pnmcrop)
NormalPbmplusProgramTarget(pnmcut)
NormalPbmplusProgramTarget(pnmdepth)
NormalPbmplusProgramTarget(pnmenlarge)
NormalPbmplusProgramTarget(pnmfile)
NormalPbmplusProgramTarget(pnmflip)
NormalPbmplusProgramTarget(pnmhisteq)
NormalPbmplusProgramTarget(pnmhistmap)
NormalPbmplusProgramTarget(pnminvert)
NormalPbmplusProgramTarget(pnmnoraw)
NormalPbmplusProgramTarget(pnmpad)
NormalPbmplusProgramTarget(pnmpaste)
NormalPbmplusProgramTarget(pnmsmooth)
NormalPbmplusProgramTarget(pnmtile)
NormalPbmplusProgramTarget(pnmtoddif)
NormalPbmplusProgramTarget(pnmtofits)
NormalPbmplusProgramTarget(pnmtops)
NormalPbmplusProgramTarget(pnmtorast)
NormalPbmplusProgramTarget(pnmtosgi)
NormalPbmplusProgramTarget(pnmtosir)
NormalPbmplusProgramTarget(pnmtoxwd)
NormalPbmplusProgramTarget(rasttopnm)
NormalPbmplusProgramTarget(sirtopnm)
NormalPbmplusProgramTarget(xwdtopnm)
NormalPbmplusProgramTarget(zeisstopnm)
NormalPbmplusProgramTarget(sgitopnm)
NormalPbmplusMathProgramTarget(pnmgamma)
NormalPbmplusMathProgramTarget(pnmnlfilt)
NormalPbmplusMathProgramTarget(pnmrotate)
NormalPbmplusMathProgramTarget(pnmscale)
NormalPbmplusMathProgramTarget(pnmshear)
#if BuildLibTiff
NormalPbmplusProgramTarget(tifftopnm)
NormalPbmplusProgramTarget(pnmtotiff)
#endif
NormalLibraryObjectRule()
NormalLibraryTarget(pnm,libpnm1.o libpnm2.o libpnm3.o libpnm4.o)
#if InstallMerged
NormalProgramTarget($(MERGE),$(MERGE).o $(OBJS),$(CURRENTDEPLIBS),$(CURRENTLIBS),-lm)
#if InstallBinaries
InstallProgram($(MERGE),$(PBMPLUSDIR)$(PBMPLUSBINDIR))
#endif
#endif
#if InstallBinaries
InstallPbmplusPrograms($(BINS),$(PBMPLUSDIR)$(PBMPLUSBINDIR),$(INSTPGMFLAGS))
InstallScript(anytopnm,$(PBMPLUSDIR)$(PBMPLUSBINDIR))
InstallScript(pnmindex,$(PBMPLUSDIR)$(PBMPLUSBINDIR))
InstallScript(pnmmargin,$(PBMPLUSDIR)$(PBMPLUSBINDIR))
InstallScript(pstopnm,$(PBMPLUSDIR)$(PBMPLUSBINDIR))
#endif
#if InstallManuals
InstallMultipleMan($(MAN1),$(PBMPLUSDIR)$(PBMPLUSMANDIR)/man1)
InstallMultipleMan($(MAN3),$(PBMPLUSDIR)$(PBMPLUSMANDIR)/man3)
InstallMultipleMan($(MAN5),$(PBMPLUSDIR)$(PBMPLUSMANDIR)/man5)
#endif
#if InstallLibraries
InstallLibrary(pnm,$(PBMPLUSDIR)$(PBMPLUSLIBDIR))
#endif
#if InstallIncludes
InstallMultipleFlags(pnm.h,$(PBMPLUSDIR)$(PBMPLUSINCDIR),$(INSTINCFLAGS))
#endif