about summary refs log tree commit diff
path: root/converter/other/Makefile
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2010-09-19 22:12:31 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2010-09-19 22:12:31 +0000
commit0e3158930ee68a1a92b114c9e9ace41445b214f4 (patch)
treee0257ad52af75ceae3bf13b326799aec9dee8343 /converter/other/Makefile
parentca4c44251842921c00eb9b3c4d38996ef6e9a5d2 (diff)
downloadnetpbm-mirror-0e3158930ee68a1a92b114c9e9ace41445b214f4.tar.gz
netpbm-mirror-0e3158930ee68a1a92b114c9e9ace41445b214f4.tar.xz
netpbm-mirror-0e3158930ee68a1a92b114c9e9ace41445b214f4.zip
Add Pamtopdbimg
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1291 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/other/Makefile')
-rw-r--r--converter/other/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/converter/other/Makefile b/converter/other/Makefile
index 954f96d2..64c69b1c 100644
--- a/converter/other/Makefile
+++ b/converter/other/Makefile
@@ -93,7 +93,7 @@ ifneq ($(DONT_HAVE_PROCESS_MGMT),Y)
   PORTBINARIES += pstopnm
 endif
 
-BINARIES = $(PORTBINARIES) pnmtorast rasttopnm
+BINARIES = $(PORTBINARIES) pnmtorast rasttopnm pamtopdbimg
 
 ifeq ($(HAVE_PNGLIB),Y)
   BINARIES += pnmtopng pngtopam pamrgbatopng
@@ -117,7 +117,7 @@ endif
 
 MERGEBINARIES = $(BINARIES)
 
-EXTRA_OBJECTS = exif.o rast.o bmepsoe.o
+EXTRA_OBJECTS = exif.o rast.o bmepsoe.o ipdb.o
 ifeq ($(HAVE_PNGLIB),Y)
   EXTRA_OBJECTS += pngtxt.o
   EXTRA_OBJECTS += pngx.o
@@ -210,6 +210,11 @@ pnmtorast rasttopnm: %: %.o rast.o $(NETPBMLIB) $(LIBOPT)
 	  $(shell $(LIBOPT) $(NETPBMLIB)) \
 	  $(MATHLIB) $(LDFLAGS) $(LDLIBS) $(RPATH) $(LADD)
 
+pamtopdbimg: %: %.o ipdb.o $(NETPBMLIB) $(LIBOPT)
+	$(LD) -o $@ $@.o ipdb.o \
+	  $(shell $(LIBOPT) $(NETPBMLIB)) \
+	  $(LDFLAGS) $(LDLIBS) $(RPATH) $(LADD)
+
 bmptopnm.o bmptopnm.o2: bmp.h
 
 pamtotga.o pamtotga.o2: tga.h