--- pnm/Makefile.orig Sat Jan 5 06:33:42 2002 +++ pnm/Makefile Sun Jan 6 00:00:00 2002 @@ -146,13 +146,14 @@ # MERGE_ALIASES is additional names to be linked to the merge binary which are # alternate names for a program whose source is called something else. # Every name here must be referenced in pnmmerge.c. -MERGE_ALIASES = pnmnoraw gemtopbm +MERGE_ALIASES = OBJECTS = $(patsubst %, %.o, $(BINARIES)) exif.o MERGE_OBJECTS = $(patsubst %,%.o2, $(MERGEBINARIES)) LIBOBJECTS = libpnm1.o libpnm2.o libpnm3.o libpnm4.o libpam.o libpammap.o +SHLIBOBJECTS = $(patsubst %.o, %.lo, $(LIBOBJECTS)) MANUALS1 = $(BINARIES) $(SCRIPTS) MANUALS3 = libpnm @@ -170,7 +171,7 @@ $(MAKE) -C jbig all $(MAKE) -C pnmtopalm all PHONY: merge -merge: $(MERGENAME) $(NOMERGEBINARIES) +merge: $(MERGENAME) $(NOMERGEBINARIES) $(EXTRA_STATICLIB) ifneq ($(BUILD_FIASCO), N) $(MAKE) -C fiasco all endif @@ -260,10 +261,6 @@ .PHONY: install.man install.man: install.man.common -# The following are for programs that have been renamed - rm -f $(INSTALLMANUALS1)/pnmnoraw.* - rm -f $(INSTALLMANUALS1)/gemtopnm.* - rm -f $(INSTALLMANUALS1)/pnminterp.* ifneq ($(BUILD_FIASCO), N) $(MAKE) -C fiasco install.man endif