home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
netpbma.zip
/
pgm
/
Imakefile
< prev
next >
Wrap
Makefile
|
1994-02-21
|
4KB
|
114 lines
/* Imakefile for pgm 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 LibPgm libpgm.a
#define DepLibPgm LibPgm
#include <../Pbmplus.tmpl>
CURRENTLIBS = $(LIBPGM) $(LIBPBM)
CURRENTDEPLIBS = $(DEPLIBPGM) $(DEPLIBPBM)
INCLUDES = -I.. -I$(PBMDIR)
MERGE = pgmmerge
MAN1 = asciitopgm.1 bioradtopgm.1 fstopgm.1 \
hipstopgm.1 lispmtopgm.1 pbmtopgm.1 \
pgmbentley.1 pgmenhance.1 pgmhist.1 pgmkernel.1 \
pgmnoise.1 pgmnorm.1 pgmoil.1 \
pgmramp.1 pgmtofs.1 pgmtolispm.1 pgmtopbm.1 \
psidtopgm.1 rawtopgm.1 spottopgm.1 \
pgmcrater.1 pgmedge.1 pgmtexture.1
MAN3 = libpgm.3
MAN5 = pgm.5
SRCS = asciitopgm.c bioradtopgm.c fstopgm.c \
hipstopgm.c lispmtopgm.c pbmtopgm.c \
pgmbentley.c pgmenhance.c pgmhist.c pgmkernel.c \
pgmnoise.c pgmnorm.c pgmoil.c \
pgmramp.c pgmtofs.c pgmtolispm.c pgmtopbm.c \
psidtopgm.c rawtopgm.c spottopgm.c \
pgmcrater.c pgmedge.c pgmtexture.c
OBJS = asciitopgm.o bioradtopgm.o fstopgm.o \
hipstopgm.o lispmtopgm.o pbmtopgm.o \
pgmbentley.o pgmenhance.o pgmhist.o pgmkernel.o \
pgmnoise.o pgmnorm.o pgmoil.o \
pgmramp.o pgmtofs.o pgmtolispm.o pgmtopbm.o \
psidtopgm.o rawtopgm.o spottopgm.o \
pgmcrater.o pgmedge.o pgmtexture.o
BINS = asciitopgm bioradtopgm fstopgm \
hipstopgm lispmtopgm pbmtopgm \
pgmbentley pgmenhance pgmhist pgmkernel \
pgmnoise pgmnorm pgmoil \
pgmramp pgmtofs pgmtolispm pgmtopbm \
psidtopgm rawtopgm spottopgm \
pgmcrater pgmedge pgmtexture
AllTarget($(LIBPGM) $(BINS))
DependTarget()
NormalPbmplusProgramTarget(bioradtopgm)
NormalPbmplusProgramTarget(asciitopgm)
NormalPbmplusProgramTarget(fstopgm)
NormalPbmplusProgramTarget(hipstopgm)
NormalPbmplusProgramTarget(lispmtopgm)
NormalPbmplusProgramTarget(pbmtopgm)
NormalPbmplusProgramTarget(pgmbentley)
NormalPbmplusProgramTarget(pgmenhance)
NormalPbmplusProgramTarget(pgmhist)
NormalPbmplusProgramTarget(pgmnoise)
NormalPbmplusProgramTarget(pgmnorm)
NormalPbmplusProgramTarget(pgmoil)
NormalPbmplusProgramTarget(pgmramp)
NormalPbmplusProgramTarget(pgmtofs)
NormalPbmplusProgramTarget(pgmtolispm)
NormalPbmplusProgramTarget(pgmtopbm)
NormalPbmplusProgramTarget(psidtopgm)
NormalPbmplusProgramTarget(spottopgm)
NormalPbmplusMathProgramTarget(pgmkernel)
NormalPbmplusMathProgramTarget(rawtopgm)
NormalPbmplusMathProgramTarget(pgmcrater)
NormalPbmplusMathProgramTarget(pgmedge)
NormalPbmplusMathProgramTarget(pgmtexture)
NormalLibraryObjectRule()
NormalLibraryTarget(pgm,libpgm1.o libpgm2.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(pgm,$(PBMPLUSDIR)$(PBMPLUSLIBDIR))
#endif
#if InstallIncludes
InstallMultipleFlags(pgm.h,$(PBMPLUSDIR)$(PBMPLUSINCDIR),$(INSTINCFLAGS))
#endif