about summary refs log tree commit diff
path: root/other
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2018-11-18 19:09:33 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2018-11-18 19:09:33 +0000
commit7bba051550fc5cba5389c33e4399f9f2f90d1b4b (patch)
tree25917b3fab9c394004e6c3cae303cf8b5a21a886 /other
parent5b60c74e9b463c68befa6ebdff6df13a47454d7f (diff)
downloadnetpbm-mirror-7bba051550fc5cba5389c33e4399f9f2f90d1b4b.tar.gz
netpbm-mirror-7bba051550fc5cba5389c33e4399f9f2f90d1b4b.tar.xz
netpbm-mirror-7bba051550fc5cba5389c33e4399f9f2f90d1b4b.zip
Do backward compatibility names for merge build in the directories instead of in netpbm.c. Now works for programs that are built conditionally
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3436 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'other')
-rw-r--r--other/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/other/Makefile b/other/Makefile
index 3314aede..aa0d75bb 100644
--- a/other/Makefile
+++ b/other/Makefile
@@ -45,6 +45,8 @@ OBJECTS = $(BINARIES:%=%.o)
 MERGEBINARIES = $(BINARIES)
 MERGE_OBJECTS = $(MERGEBINARIES:%=%.o2)
 
+HAVE_MERGE_COMPAT=YES
+
 .PHONY: all
 all: $(BINARIES) $(SUBDIRS:%=%/all)
 
@@ -69,4 +71,10 @@ install.bin.local: $(PKGDIR)/bin
 	  rm -f pnmdepth$(EXE) ; \
 	  $(SYMLINK) pamdepth$(EXE) pnmdepth$(EXE)
 
+mergecomptrylist:
+	cat /dev/null >$@
+	echo "TRY(\"pnmarith\", main_pamarith);" >>$@
+	echo "TRY(\"pnmsplit\", main_pamsplit);" >>$@
+	echo "TRY(\"pnmdepth\", main_pamdepth);" >>$@
+
 FORCE: