diff options
Diffstat (limited to 'libtiff/Makefile.in')
-rw-r--r-- | libtiff/Makefile.in | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/libtiff/Makefile.in b/libtiff/Makefile.in index f54c6079..a329aa7f 100644 --- a/libtiff/Makefile.in +++ b/libtiff/Makefile.in @@ -1,4 +1,4 @@ -# $Header: /usr/local/cvs/internal/libtiff/libtiff/Makefile.in,v 1.1.1.1 1999/07/27 21:50:27 mike Exp $ +# $Header: /cvsroot/osrs/libtiff/libtiff/Makefile.in,v 1.3 1999/09/08 12:40:31 warmerda Exp $ # # Tag Image File Format Library # @@ -161,10 +161,15 @@ libtiff.a: ${OBJS} # default IRIX DSO building rule IRIXdso: ${OBJS} - ${CC} @ENVOPTS@ -o libtiff.@DSOSUF@ -shared -rdata_shared \ - -check_registry ${SRCDIR}/../port/irix/so_locations \ - -quickstart_info \ - ${OBJS} @LIBJPEG@ @LIBGZ@ + @if [ "`basename ${CC}`" = "gcc" ]; then \ + ${LD} -n32 @ENVOPTS@ -o libtiff.@DSOSUF@ -shared -rdata_shared \ + ${OBJS}; \ + else \ + ${CC} @ENVOPTS@ -o libtiff.@DSOSUF@ -shared -rdata_shared \ + -check_registry ${SRCDIR}/../port/irix/so_locations \ + -quickstart_info \ + ${OBJS} @LIBJPEG@ @LIBGZ@; \ + fi touch $@ # special rule for IRIX 5.2 IRIX52dso: ${OBJS} @@ -204,6 +209,7 @@ NETBSDdso FREEBSDdso: ${OBJS} LINUXdso: ${OBJS} ${CC} -shared -Wl,-soname,libtiff.@DSOSUF@ \ -o libtiff.@DSOSUF_VERSION@ ${OBJS} @LIBJPEG@ @LIBGZ@ + rm -f libtiff.@DSOSUF@ @LN@ @LN_S@ libtiff.@DSOSUF_VERSION@ libtiff.@DSOSUF@ touch $@ # OSF/1 3.2 shared lib rule |