1999-11-24 23:37:02 +00:00
|
|
|
--- libtiff/Makefile.in.orig Wed Sep 8 18:39:00 1999
|
|
|
|
+++ libtiff/Makefile.in Wed Nov 24 07:31:09 1999
|
1997-05-26 02:16:39 +00:00
|
|
|
@@ -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 = \
|
1999-11-24 23:37:02 +00:00
|
|
|
@@ -197,8 +197,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
|
|
|
|
@@ -215,7 +215,18 @@
|
1997-05-26 02:16:39 +00:00
|
|
|
# OSF/1 3.2 shared lib rule
|
|
|
|
OSFdso: ${OBJS}
|
1998-11-25 05:06:28 +00:00
|
|
|
${LD} -o libtiff.@DSOSUF@ -shared -error_unresolved ${OBJS} @LIBJPEG@ @LIBGZ@ -lc -lm
|
1997-05-26 02:16:39 +00:00
|
|
|
-
|
1999-11-24 23:37:02 +00:00
|
|
|
+# FreeBSD a.out shared lib rule
|
1998-09-18 22:05:47 +00:00
|
|
|
+FREEBSD_AOUTdso: ${OBJS}
|
1998-11-25 05:06:28 +00:00
|
|
|
+ ${LD} -Bshareable -x ${LIBDIR}/c++rt0.o -o libtiff.@DSOSUF_VERSION@ \
|
1997-08-21 16:19:36 +00:00
|
|
|
+ ${OBJS} @LIBJPEG@ @LIBGZ@
|
1999-11-24 23:37:02 +00:00
|
|
|
+ @LN@ @LN_S@ libtiff.@DSOSUF_VERSION@ libtiff.@DSOSUF@
|
1998-09-18 22:05:47 +00:00
|
|
|
+ touch $@
|
1999-11-24 23:37:02 +00:00
|
|
|
+# FreeBSD ELF shared lib rule
|
1998-09-18 22:05:47 +00:00
|
|
|
+FREEBSD_ELFdso: ${OBJS}
|
1998-11-25 05:06:28 +00:00
|
|
|
+ ${CC} -shared -Wl,-soname,libtiff.@DSOSUF_VERSION@ -o libtiff.@DSOSUF_VERSION@ \
|
1998-09-18 22:05:47 +00:00
|
|
|
+ ${OBJS} @LIBJPEG@ @LIBGZ@
|
1999-11-24 23:37:02 +00:00
|
|
|
+ @LN@ @LN_S@ libtiff.@DSOSUF_VERSION@ libtiff.@DSOSUF@
|
1997-05-26 02:16:39 +00:00
|
|
|
+ touch $@
|
|
|
|
|
|
|
|
${OBJS}: ${SRCDIR}/tiffio.h ${SRCDIR}/tiff.h ${SRCDIR}/tif_dir.h
|
|
|
|
${OBJS}: ${SRCDIR}/tiffcomp.h ${SRCDIR}/tiffiop.h ${SRCDIR}/tiffconf.h
|
1999-11-24 23:37:02 +00:00
|
|
|
@@ -327,7 +338,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 555 -F @DIR_LIB@ \
|
|
|
|
-O libtiff.@DSOSUF@; \
|