/* Imakefile for pbm 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 LibPbm libpbm.a #define DepLibPbm LibPbm #include <../Pbmplus.tmpl> CURRENTLIBS = $(LIBPBM) CURRENTDEPLIBS = $(DEPLIBPBM) INCLUDES = -I.. #if BuildLibTiff DEFINES = -DRGB_DB=\"DefaultRGBDatabase\" -DLIBTIFF #else DEFINES = -DRGB_DB=\"DefaultRGBDatabase\" #endif MERGE = pbmmerge MAN1 = atktopbm.1 brushtopbm.1 cmuwmtopbm.1 g3topbm.1 \ icontopbm.1 gemtopbm.1 macptopbm.1 mgrtopbm.1 \ pbmlife.1 pbmmake.1 pbmmask.1 pbmreduce.1 \ pbmtext.1 pbmto10x.1 pbmtoascii.1 pbmtoatk.1 \ pbmtobbnbg.1 pbmtocmuwm.1 pbmtoepson.1 pbmtog3.1 \ pbmtogem.1 pbmtogo.1 pbmtoicon.1 pbmtolj.1 pbmtomacp.1 \ pbmtomgr.1 pbmtopi3.1 pbmtoplot.1 pbmtoptx.1 \ pbmtox10bm.1 pbmtoxbm.1 pbmtoybm.1 pbmtozinc.1 \ pbmupc.1 pi3topbm.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 \ pbmlife.c pbmmake.c pbmmask.c pbmreduce.c \ pbmtext.c pbmto10x.c pbmtoascii.c pbmtoatk.c \ pbmtobbnbg.c pbmtocmuwm.c pbmtoepson.c pbmtog3.c \ pbmtogem.c pbmtogo.c pbmtoicon.c pbmtolj.c pbmtomacp.c \ pbmtomgr.c pbmtopi3.c pbmtoplot.c pbmtoptx.c \ pbmtox10bm.c pbmtoxbm.c pbmtoybm.c pbmtozinc.c \ pbmupc.c pi3topbm.c xbmtopbm.c ybmtopbm.c OBJS = atktopbm.o brushtopbm.o cmuwmtopbm.o g3topbm.o \ icontopbm.o gemtopbm.o macptopbm.o mgrtopbm.o \ pbmlife.o pbmmake.o pbmmask.o pbmreduce.o \ pbmtext.o pbmto10x.o pbmtoascii.o pbmtoatk.o \ pbmtobbnbg.o pbmtocmuwm.o pbmtoepson.o pbmtog3.o \ pbmtogem.o pbmtogo.o pbmtoicon.o pbmtolj.o pbmtomacp.o \ pbmtomgr.o pbmtopi3.o pbmtoplot.o pbmtoptx.o \ pbmtox10bm.o pbmtoxbm.o pbmtoybm.o pbmtozinc.o \ pbmupc.o pi3topbm.o xbmtopbm.o ybmtopbm.o BINS = atktopbm brushtopbm cmuwmtopbm g3topbm \ icontopbm gemtopbm macptopbm mgrtopbm \ pbmlife pbmmake pbmmask pbmreduce \ pbmtext pbmto10x pbmtoascii pbmtoatk \ pbmtobbnbg pbmtocmuwm pbmtoepson pbmtog3 \ pbmtogem pbmtogo pbmtoicon pbmtolj pbmtomacp \ pbmtomgr pbmtopi3 pbmtoplot pbmtoptx \ pbmtox10bm pbmtoxbm pbmtoybm pbmtozinc \ pbmupc pi3topbm xbmtopbm ybmtopbm AllTarget($(LIBPBM) $(BINS)) DependTarget() NormalPbmplusProgramTarget(atktopbm) NormalPbmplusProgramTarget(brushtopbm) NormalPbmplusProgramTarget(cmuwmtopbm) NormalPbmplusProgramTarget(g3topbm) NormalPbmplusProgramTarget(icontopbm) NormalPbmplusProgramTarget(gemtopbm) NormalPbmplusProgramTarget(macptopbm) NormalPbmplusProgramTarget(mgrtopbm) NormalPbmplusProgramTarget(pbmlife) NormalPbmplusProgramTarget(pbmmake) NormalPbmplusProgramTarget(pbmmask) NormalPbmplusProgramTarget(pbmreduce) NormalPbmplusProgramTarget(pbmtext) NormalPbmplusProgramTarget(pbmto10x) NormalPbmplusProgramTarget(pbmtoascii) NormalPbmplusProgramTarget(pbmtoatk) NormalPbmplusProgramTarget(pbmtobbnbg) NormalPbmplusProgramTarget(pbmtocmuwm) NormalPbmplusProgramTarget(pbmtoepson) NormalPbmplusProgramTarget(pbmtog3) NormalPbmplusProgramTarget(pbmtogem) NormalPbmplusProgramTarget(pbmtogo) NormalPbmplusProgramTarget(pbmtoicon) NormalPbmplusProgramTarget(pbmtolj) NormalPbmplusProgramTarget(pbmtomacp) NormalPbmplusProgramTarget(pbmtomgr) NormalPbmplusProgramTarget(pbmtopi3) NormalPbmplusProgramTarget(pbmtoplot) NormalPbmplusProgramTarget(pbmtoptx) NormalPbmplusProgramTarget(pbmtox10bm) NormalPbmplusProgramTarget(pbmtoxbm) NormalPbmplusProgramTarget(pbmtoybm) NormalPbmplusProgramTarget(pbmtozinc) NormalPbmplusProgramTarget(pbmupc) NormalPbmplusProgramTarget(pi3topbm) NormalPbmplusProgramTarget(xbmtopbm) NormalPbmplusProgramTarget(ybmtopbm) NormalLibraryObjectRule() NormalLibraryTarget(pbm,libpbm1.o libpbm2.o libpbm3.o libpbm4.o libpbm5.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)) #endif #if InstallManuals InstallMultipleMan($(MAN1),$(PBMPLUSDIR)$(PBMPLUSMANDIR)/man1) InstallMultipleMan($(MAN3),$(PBMPLUSDIR)$(PBMPLUSMANDIR)/man3) InstallMultipleMan($(MAN5),$(PBMPLUSDIR)$(PBMPLUSMANDIR)/man5) #endif #if InstallLibraries InstallLibrary(pbm,$(PBMPLUSDIR)$(PBMPLUSLIBDIR)) #endif #if InstallIncludes InstallMultipleFlags(pbm.h,$(PBMPLUSDIR)$(PBMPLUSINCDIR),$(INSTINCFLAGS)) #endif