--- libtiff/Makefile.in.orig Tue Jun 11 00:25:00 1996 +++ libtiff/Makefile.in Tue Dec 31 13:30:39 1996 @@ -62,7 +62,7 @@ # CONF_LIBRARY=@CONF_JPEG@ @CONF_ZIP@ COPTS = @GCOPTS@ -OPTIMIZER=-O +#OPTIMIZER=-O CFLAGS = @ENVOPTS@ @LIBCOPTS@ ${COPTS} ${OPTIMIZER} ${IPATH} ${CONF_LIBRARY} # SRCS = \ @@ -190,8 +190,8 @@ ${AR} ${AROPTS} libtiff.@DSOSUF@ shr.o rm -f shr.o touch $@ -# NetBSD 1.1 or FreeBSD -NETBSDdso FREEBSDdso: ${OBJS} +# NetBSD 1.1 +NETBSDdso: ${OBJS} @rm -f libtiff_pic.a @${AR} cq libtiff_pic.a `lorder ${OBJS} | tsort -q` ${RANLIB} libtiff_pic.a @@ -204,6 +204,10 @@ -o libtiff.@DSOSUF_VERSION@ ${OBJS} @LIBJPEG@ @LIBGZ@ @LN@ @LN_S@ libtiff.@DSOSUF_VERSION@ libtiff.@DSOSUF@ touch $@ +# FreeBSD shared lib rule +FREEBSDdso: ${OBJS} + ${LD} -Bshareable -o libtiff.@DSOSUF_VERSION@ ${OBJS} + touch $@ # OSF/1 3.2 shared lib rule OSFdso: ${OBJS} ${LD} -o libtiff.@DSOSUF@ -shared -error_unresolved ${OBJS} @LIBJPEG@ @LIBGZ@ -lc -lm @@ -317,7 +321,7 @@ ${INSTALL} -idb tiff.sw.tools -m 555 -F @DIR_LIB@ \ -O libtiff.@DSOSUF_VERSION@; \ ${INSTALL} -idb tiff.sw.tools -F @DIR_LIB@ \ - -ln libtiff.@DSOSUF_VERSION@ -O libtiff.@DSOSUF@; \ + -lns libtiff.@DSOSUF_VERSION@ -O libtiff.@DSOSUF@; \ else \ ${INSTALL} -idb tiff.sw.tools -m 444 -F @DIR_LIB@ \ -O libtiff.@DSOSUF@; \