summaryrefslogtreecommitdiff
path: root/devel/ilu
diff options
context:
space:
mode:
authorMartin Cracauer <cracauer@FreeBSD.org>1998-10-08 16:31:49 +0000
committerMartin Cracauer <cracauer@FreeBSD.org>1998-10-08 16:31:49 +0000
commit80f0d9edc019687847c9710f93adb1c1f7930610 (patch)
tree08325635989d20a7541783b3754192f1bdb23984 /devel/ilu
parentThis port compiles and installs a Linux shared library of Mesa (diff)
General cleanup for ELF and newer -stable:
Use right shared library names on ELF. Disable Java support on ELF systems, because we don't have an ELF jdk. Disable Java support on aout systems, because ILU runtime dumps core. New PARC patches, now as one distfile instead of patches/ collection. ILU now works with optimization enabled -> make a package. Thread support now works, on -current and -stable. Thanks folks!
Notes
Notes: svn path=/head/; revision=13747
Diffstat (limited to 'devel/ilu')
-rw-r--r--devel/ilu/files/patch-1-cra-cflags22
-rw-r--r--devel/ilu/files/patch-1-cra-threads23
-rw-r--r--devel/ilu/files/shlib-aout.patch225
-rw-r--r--devel/ilu/files/shlib-elf.patch225
4 files changed, 495 insertions, 0 deletions
diff --git a/devel/ilu/files/patch-1-cra-cflags b/devel/ilu/files/patch-1-cra-cflags
new file mode 100644
index 000000000000..5fa5d38d7086
--- /dev/null
+++ b/devel/ilu/files/patch-1-cra-cflags
@@ -0,0 +1,22 @@
+*** imake/iludefs.in.original Thu Oct 8 15:13:44 1998
+--- imake/iludefs.in Thu Oct 8 15:13:46 1998
+***************
+*** 91,100 ****
+ IDL_CFE_CPP_DRIVER = @IDL_CPP_COMMAND@
+ #endif /* ADD_IDL_SUPPORT */
+
+! /* for debugging support */
+! #ifdef ENABLE_DEBUGGING
+! CDEBUGFLAGS = -g
+! #endif
+
+ SECURITYLIBS =
+ SECURITYINCLUDES =
+--- 91,97 ----
+ IDL_CFE_CPP_DRIVER = @IDL_CPP_COMMAND@
+ #endif /* ADD_IDL_SUPPORT */
+
+! CDEBUGFLAGS = -g -O -D_THREADSAFE -pthread
+
+ SECURITYLIBS =
+ SECURITYINCLUDES =
diff --git a/devel/ilu/files/patch-1-cra-threads b/devel/ilu/files/patch-1-cra-threads
new file mode 100644
index 000000000000..3e7ddb2c572d
--- /dev/null
+++ b/devel/ilu/files/patch-1-cra-threads
@@ -0,0 +1,23 @@
+*** runtime/kernel/threads.c.orig Thu Oct 8 15:34:30 1998
+--- runtime/kernel/threads.c Thu Oct 8 15:33:58 1998
+***************
+*** 1151,1158 ****
+ err == ETIME
+ #endif
+ #if (defined(ILU_POSIX_THREADS) || defined(ILU_DCE_THREADS))
+! err == ETIME /* on Solaris 2 */
+! || err == ETIMEDOUT /* on Linux, AIX */
+ #endif
+ #ifdef ILU_WIN32_THREADS
+ err == WAIT_TIMEOUT
+--- 1151,1160 ----
+ err == ETIME
+ #endif
+ #if (defined(ILU_POSIX_THREADS) || defined(ILU_DCE_THREADS))
+! #ifndef __FreeBSD__
+! err == ETIME || /* on Solaris 2 */
+! #endif
+! err == ETIMEDOUT /* on Linux, AIX, FreeBSD */
+ #endif
+ #ifdef ILU_WIN32_THREADS
+ err == WAIT_TIMEOUT
diff --git a/devel/ilu/files/shlib-aout.patch b/devel/ilu/files/shlib-aout.patch
new file mode 100644
index 000000000000..79d1f9591a1f
--- /dev/null
+++ b/devel/ilu/files/shlib-aout.patch
@@ -0,0 +1,225 @@
+diff -r -c ./etc/CosNaming/Imakefile /home/cracauer/work/ilu2patch/./etc/CosNaming/Imakefile
+*** ./etc/CosNaming/Imakefile Thu Sep 25 23:32:29 1997
+--- /home/cracauer/work/ilu2patch/./etc/CosNaming/Imakefile Tue Oct 7 13:52:22 1997
+***************
+*** 59,66 ****
+--- 59,68 ----
+ /******/
+
+ LibraryTarget(libCosNaming-c.a, CosNaming-surrogate.o CosNaming-common.o)
++ SLibraryTarget(libCosNaming-c.so.1.0, CosNaming-surrogate.o CosNaming-common.o)
+
+ InstallLibrary(libCosNaming-c.a, $(DESTDIR)/lib)
++ InstallSLibrary(libCosNaming-c.so.1.0, $(DESTDIR)/lib)
+ InstallRO(CosNaming.h, $(DESTDIR)/include)
+ #endif
+
+diff -r -c ./etc/portmapper/Imakefile /home/cracauer/work/ilu2patch/./etc/portmapper/Imakefile
+*** ./etc/portmapper/Imakefile Thu Sep 25 23:32:22 1997
+--- /home/cracauer/work/ilu2patch/./etc/portmapper/Imakefile Tue Oct 7 13:52:00 1997
+***************
+*** 45,49 ****
+--- 45,51 ----
+ portmap.o : SunPortMapper.h portmap.c ${ILUHEADERFILES}
+
+ LibraryTarget(libsunportmapper.a, SunPortMapper-surrogate.o SunPortMapper-common.o portmap.o)
++ SLibraryTarget(libsunportmapper.so.1.0, SunPortMapper-surrogate.o SunPortMapper-common.o portmap.o)
+ InstallLibrary(libsunportmapper.a, $(DESTDIR)/lib)
++ InstallSLibrary(libsunportmapper.so.1.0, $(DESTDIR)/lib)
+ InstallRO(ilusunportmapper.h, $(DESTDIR)/include)
+diff -r -c ./imake/ilu.rules /home/cracauer/work/ilu2patch/./imake/ilu.rules
+*** ./imake/ilu.rules Thu Sep 25 23:33:55 1997
+--- /home/cracauer/work/ilu2patch/./imake/ilu.rules Tue Oct 7 16:44:30 1997
+***************
+*** 411,416 ****
+--- 411,422 ----
+ $(AR) $@ objs @@\
+ $(RANLIB) $@
+
++ #define SLibraryTarget(library, objs) @@\
++ all:: library @@\
++ library: objs @@\
++ $(RM) $@ @@\
++ $(LDSHARED) -o $@ objs
++
+ /*
+ * This section added for Linux shared libs
+ */
+***************
+*** 473,479 ****
+ #define ILUCPlusPlusProgramTarget(program, objs, libs, syslibs) @@\
+ all:: program @@\
+ @@\
+! program: objs libs $(ILUCPLUSPLUSLIBS) @@\
+ $(RM) $@ @@\
+ $(CPLUSPLUS_COMMAND) $(CFLAGS) -o $@ objs libs $(ILUCPLUSPLUSLIBS) syslibs $(CPLUSPLUS_LIBRARIES) $(SYSAUX_LIBRARIES) -lm @@\
+ @@\
+--- 479,485 ----
+ #define ILUCPlusPlusProgramTarget(program, objs, libs, syslibs) @@\
+ all:: program @@\
+ @@\
+! program: objs libs @@\
+ $(RM) $@ @@\
+ $(CPLUSPLUS_COMMAND) $(CFLAGS) -o $@ objs libs $(ILUCPLUSPLUSLIBS) syslibs $(CPLUSPLUS_LIBRARIES) $(SYSAUX_LIBRARIES) -lm @@\
+ @@\
+***************
+*** 493,499 ****
+ #define ILUCProgramTarget(program, objs, libs, syslibs) @@\
+ all:: program @@\
+ @@\
+! program: objs libs $(ILUCLIBS) @@\
+ $(RM) $@ @@\
+ $(CC) $(CFLAGS) -o $@ objs libs $(ILUCLIBS) syslibs $(ANSI_C_LIBRARY) $(SYSAUX_LIBRARIES) $(WORKAROUND_LOCAL_GCC_INSTALLATION_BUG) @@\
+ @@\
+--- 499,505 ----
+ #define ILUCProgramTarget(program, objs, libs, syslibs) @@\
+ all:: program @@\
+ @@\
+! program: objs libs @@\
+ $(RM) $@ @@\
+ $(CC) $(CFLAGS) -o $@ objs libs $(ILUCLIBS) syslibs $(ANSI_C_LIBRARY) $(SYSAUX_LIBRARIES) $(WORKAROUND_LOCAL_GCC_INSTALLATION_BUG) @@\
+ @@\
+***************
+*** 671,676 ****
+--- 677,689 ----
+ RANLIBRULE(dest)
+ #endif /* sgi */
+
++ #define InstallSLibraries(libs, dest) @@\
++ install.time:: libs @@\
++ @(case '$(MFLAGS)' in *[i]*) set +e;; esac; \ @@\
++ for i in $?; do \ @@\
++ (set -x; \ @@\
++ $(INSTALL) $(INSTLIBFLAGS) $$i dest/$$i); done)
++
+ #define InstallM3Library(lib, dest) @@\
+ InstallLibraries(lib.a,dest) @@\
+ InstallFiles(lib.ax,$(INSTLIBFLAGS),dest)
+***************
+*** 749,754 ****
+--- 762,770 ----
+
+ #define InstallLibrary(file, dest) @@\
+ InstallLibraries(file,dest)
++
++ #define InstallSLibrary(file, dest) @@\
++ InstallSLibraries(file,dest)
+
+ #define InstallMultiple(list, flags, dest) @@\
+ InstallFiles(list,flags,dest)
+diff -r -c ./imake/ilu.tmpl /home/cracauer/work/ilu2patch/./imake/ilu.tmpl
+*** ./imake/ilu.tmpl Thu Sep 25 23:33:55 1997
+--- /home/cracauer/work/ilu2patch/./imake/ilu.tmpl Tue Oct 7 14:09:29 1997
+***************
+*** 77,86 ****
+ #else
+
+ ILUCINCLUDES = -I$(ILUHOME)/include $(SECURITYINCLUDES)
+! ILUCLIBS = $(ILUHOME)/lib/libilu-c.a $(ILUHOME)/lib/libilu.a $(SECURITYLIBS)
+
+ ILUCPLUSPLUSINCLUDES = -I$(ILUHOME)/include $(SECURITYINCLUDES)
+! ILUCPLUSPLUSLIBS = $(ILUHOME)/lib/libilu-c++.a $(ILUHOME)/lib/libilu.a $(SECURITYLIBS)
+
+ JAVA_ILU_CLASS_DIR = $(ILUHOME)/lib/ilu.jar
+
+--- 77,86 ----
+ #else
+
+ ILUCINCLUDES = -I$(ILUHOME)/include $(SECURITYINCLUDES)
+! ILUCLIBS = -L$(ILUHOME)/lib -lilu-c -lilu $(SECURITYLIBS)
+
+ ILUCPLUSPLUSINCLUDES = -I$(ILUHOME)/include $(SECURITYINCLUDES)
+! ILUCPLUSPLUSLIBS = $(ILUHOME)/lib/libilu-c++.a -L$(ILUHOME)/lib -lilu $(SECURITYLIBS)
+
+ JAVA_ILU_CLASS_DIR = $(ILUHOME)/lib/ilu.jar
+
+diff -r -c ./runtime/c/Imakefile /home/cracauer/work/ilu2patch/./runtime/c/Imakefile
+*** ./runtime/c/Imakefile Thu Sep 25 23:32:00 1997
+--- /home/cracauer/work/ilu2patch/./runtime/c/Imakefile Tue Oct 7 13:53:13 1997
+***************
+*** 40,48 ****
+ OBJS = ilu.o orb.o
+
+ LibraryTarget(libilu-c.a, $(OBJS))
+
+ InstallLibrary(libilu-c.a, $(DESTDIR)/lib)
+ InstallRO(iluchdrs.h ilucstub.h, $(DESTDIR)/include)
+
+! all:: libilu-c.a
+
+--- 40,50 ----
+ OBJS = ilu.o orb.o
+
+ LibraryTarget(libilu-c.a, $(OBJS))
++ SLibraryTarget(libilu-c.so.1.0, $(OBJS))
+
+ InstallLibrary(libilu-c.a, $(DESTDIR)/lib)
++ InstallSLibrary(libilu-c.so.1.0, $(DESTDIR)/lib)
+ InstallRO(iluchdrs.h ilucstub.h, $(DESTDIR)/include)
+
+! all:: libilu-c.a libilu-c.so.1.0
+
+diff -r -c ./runtime/kernel/Imakefile /home/cracauer/work/ilu2patch/./runtime/kernel/Imakefile
+*** ./runtime/kernel/Imakefile Thu Sep 25 23:31:04 1997
+--- /home/cracauer/work/ilu2patch/./runtime/kernel/Imakefile Tue Oct 7 13:53:02 1997
+***************
+*** 242,251 ****
+--- 242,259 ----
+ opaqval.o : $(PVTIFC) ilutypes.h opaqval.c
+
+ libilu.a : $(MF)
++ libilu.so.1.0 : $(MF)
+
+ LibraryTarget(libilu.a, $(OBJS))
+ InstallLibrary(libilu.a, $(DESTDIR)/lib)
++ SLibraryTarget(libilu.so.1.0, $(OBJS))
++ InstallSLibrary(libilu.so.1.0, $(DESTDIR)/lib)
+ InstallRO($(PVTIFC), $(DESTDIR)/include)
++
++ libilu.so: $(OBJS)
++ $(RM) $@
++ ld -Bshareable -o $@ $(OBJS)
++
+
+ CProgramTarget(iluhashm,iluhashm.o,,)
+ CProgramTarget(decoderr,decoderr.o,,)
+diff -r -c ./stubbers/parser/Imakefile /home/cracauer/work/ilu2patch/./stubbers/parser/Imakefile
+*** ./stubbers/parser/Imakefile Thu Sep 25 23:29:51 1997
+--- /home/cracauer/work/ilu2patch/./stubbers/parser/Imakefile Tue Oct 7 13:53:31 1997
+***************
+*** 40,45 ****
+--- 40,46 ----
+ #endif
+
+ LibraryTarget(libilu-parser.a, iluparse.o typeuid.o shs.o pathname.o malloc.o util.o aprintf.o $(IDLOBJS))
++ SLibraryTarget(libilu-parser.so.1.0, iluparse.o typeuid.o shs.o pathname.o malloc.o util.o aprintf.o $(IDLOBJS))
+ ProgramTarget(islscan, scan.o, libilu-parser.a,)
+
+ iluconf.h : ../../runtime/kernel/iluconf.h
+***************
+*** 63,68 ****
+--- 64,70 ----
+
+ InstallProgram(islscan, $(DESTDIR)/bin)
+ InstallRO(libilu-parser.a, $(DESTDIR)/lib)
++ InstallRO(libilu-parser.so.1.0, $(DESTDIR)/lib)
+ InstallRO(iluptype.h, $(DESTDIR)/include)
+ InstallRO(ilu.isl, $(DESTDIR)/interfaces)
+ InstallRO(iluhttp.isl, $(DESTDIR)/interfaces)
+***************
+*** 85,91 ****
+ make genregs
+ -rm -f ../../runtime/kernel/ilutpcod.c ../../runtime/kernel/ilutpcod.h
+ ./genregs "../../runtime/kernel/ilutpcod"
+! -rm -f genregs *.o *.a
+ $(DISTCLEAN)
+
+ genregs: version.h genregs.o libilu-parser.a
+--- 87,93 ----
+ make genregs
+ -rm -f ../../runtime/kernel/ilutpcod.c ../../runtime/kernel/ilutpcod.h
+ ./genregs "../../runtime/kernel/ilutpcod"
+! -rm -f genregs *.o *.a *.so *.so.*.*
+ $(DISTCLEAN)
+
+ genregs: version.h genregs.o libilu-parser.a
diff --git a/devel/ilu/files/shlib-elf.patch b/devel/ilu/files/shlib-elf.patch
new file mode 100644
index 000000000000..0f611bad92f6
--- /dev/null
+++ b/devel/ilu/files/shlib-elf.patch
@@ -0,0 +1,225 @@
+diff -r -c ./etc/CosNaming/Imakefile /home/cracauer/work/ilu2patch/./etc/CosNaming/Imakefile
+*** ./etc/CosNaming/Imakefile Thu Sep 25 23:32:29 1997
+--- /home/cracauer/work/ilu2patch/./etc/CosNaming/Imakefile Tue Oct 7 13:52:22 1997
+***************
+*** 59,66 ****
+--- 59,68 ----
+ /******/
+
+ LibraryTarget(libCosNaming-c.a, CosNaming-surrogate.o CosNaming-common.o)
++ SLibraryTarget(libCosNaming-c.so.1, CosNaming-surrogate.o CosNaming-common.o)
+
+ InstallLibrary(libCosNaming-c.a, $(DESTDIR)/lib)
++ InstallSLibrary(libCosNaming-c.so.1, $(DESTDIR)/lib)
+ InstallRO(CosNaming.h, $(DESTDIR)/include)
+ #endif
+
+diff -r -c ./etc/portmapper/Imakefile /home/cracauer/work/ilu2patch/./etc/portmapper/Imakefile
+*** ./etc/portmapper/Imakefile Thu Sep 25 23:32:22 1997
+--- /home/cracauer/work/ilu2patch/./etc/portmapper/Imakefile Tue Oct 7 13:52:00 1997
+***************
+*** 45,49 ****
+--- 45,51 ----
+ portmap.o : SunPortMapper.h portmap.c ${ILUHEADERFILES}
+
+ LibraryTarget(libsunportmapper.a, SunPortMapper-surrogate.o SunPortMapper-common.o portmap.o)
++ SLibraryTarget(libsunportmapper.so.1, SunPortMapper-surrogate.o SunPortMapper-common.o portmap.o)
+ InstallLibrary(libsunportmapper.a, $(DESTDIR)/lib)
++ InstallSLibrary(libsunportmapper.so.1, $(DESTDIR)/lib)
+ InstallRO(ilusunportmapper.h, $(DESTDIR)/include)
+diff -r -c ./imake/ilu.rules /home/cracauer/work/ilu2patch/./imake/ilu.rules
+*** ./imake/ilu.rules Thu Sep 25 23:33:55 1997
+--- /home/cracauer/work/ilu2patch/./imake/ilu.rules Tue Oct 7 16:44:30 1997
+***************
+*** 411,416 ****
+--- 411,422 ----
+ $(AR) $@ objs @@\
+ $(RANLIB) $@
+
++ #define SLibraryTarget(library, objs) @@\
++ all:: library @@\
++ library: objs @@\
++ $(RM) $@ @@\
++ $(LDSHARED) -o $@ objs
++
+ /*
+ * This section added for Linux shared libs
+ */
+***************
+*** 473,479 ****
+ #define ILUCPlusPlusProgramTarget(program, objs, libs, syslibs) @@\
+ all:: program @@\
+ @@\
+! program: objs libs $(ILUCPLUSPLUSLIBS) @@\
+ $(RM) $@ @@\
+ $(CPLUSPLUS_COMMAND) $(CFLAGS) -o $@ objs libs $(ILUCPLUSPLUSLIBS) syslibs $(CPLUSPLUS_LIBRARIES) $(SYSAUX_LIBRARIES) -lm @@\
+ @@\
+--- 479,485 ----
+ #define ILUCPlusPlusProgramTarget(program, objs, libs, syslibs) @@\
+ all:: program @@\
+ @@\
+! program: objs libs @@\
+ $(RM) $@ @@\
+ $(CPLUSPLUS_COMMAND) $(CFLAGS) -o $@ objs libs $(ILUCPLUSPLUSLIBS) syslibs $(CPLUSPLUS_LIBRARIES) $(SYSAUX_LIBRARIES) -lm @@\
+ @@\
+***************
+*** 493,499 ****
+ #define ILUCProgramTarget(program, objs, libs, syslibs) @@\
+ all:: program @@\
+ @@\
+! program: objs libs $(ILUCLIBS) @@\
+ $(RM) $@ @@\
+ $(CC) $(CFLAGS) -o $@ objs libs $(ILUCLIBS) syslibs $(ANSI_C_LIBRARY) $(SYSAUX_LIBRARIES) $(WORKAROUND_LOCAL_GCC_INSTALLATION_BUG) @@\
+ @@\
+--- 499,505 ----
+ #define ILUCProgramTarget(program, objs, libs, syslibs) @@\
+ all:: program @@\
+ @@\
+! program: objs libs @@\
+ $(RM) $@ @@\
+ $(CC) $(CFLAGS) -o $@ objs libs $(ILUCLIBS) syslibs $(ANSI_C_LIBRARY) $(SYSAUX_LIBRARIES) $(WORKAROUND_LOCAL_GCC_INSTALLATION_BUG) @@\
+ @@\
+***************
+*** 671,676 ****
+--- 677,689 ----
+ RANLIBRULE(dest)
+ #endif /* sgi */
+
++ #define InstallSLibraries(libs, dest) @@\
++ install.time:: libs @@\
++ @(case '$(MFLAGS)' in *[i]*) set +e;; esac; \ @@\
++ for i in $?; do \ @@\
++ (set -x; \ @@\
++ $(INSTALL) $(INSTLIBFLAGS) $$i dest/$$i); done)
++
+ #define InstallM3Library(lib, dest) @@\
+ InstallLibraries(lib.a,dest) @@\
+ InstallFiles(lib.ax,$(INSTLIBFLAGS),dest)
+***************
+*** 749,754 ****
+--- 762,770 ----
+
+ #define InstallLibrary(file, dest) @@\
+ InstallLibraries(file,dest)
++
++ #define InstallSLibrary(file, dest) @@\
++ InstallSLibraries(file,dest)
+
+ #define InstallMultiple(list, flags, dest) @@\
+ InstallFiles(list,flags,dest)
+diff -r -c ./imake/ilu.tmpl /home/cracauer/work/ilu2patch/./imake/ilu.tmpl
+*** ./imake/ilu.tmpl Thu Sep 25 23:33:55 1997
+--- /home/cracauer/work/ilu2patch/./imake/ilu.tmpl Tue Oct 7 14:09:29 1997
+***************
+*** 77,86 ****
+ #else
+
+ ILUCINCLUDES = -I$(ILUHOME)/include $(SECURITYINCLUDES)
+! ILUCLIBS = $(ILUHOME)/lib/libilu-c.a $(ILUHOME)/lib/libilu.a $(SECURITYLIBS)
+
+ ILUCPLUSPLUSINCLUDES = -I$(ILUHOME)/include $(SECURITYINCLUDES)
+! ILUCPLUSPLUSLIBS = $(ILUHOME)/lib/libilu-c++.a $(ILUHOME)/lib/libilu.a $(SECURITYLIBS)
+
+ JAVA_ILU_CLASS_DIR = $(ILUHOME)/lib/ilu.jar
+
+--- 77,86 ----
+ #else
+
+ ILUCINCLUDES = -I$(ILUHOME)/include $(SECURITYINCLUDES)
+! ILUCLIBS = -L$(ILUHOME)/lib -lilu-c -lilu $(SECURITYLIBS)
+
+ ILUCPLUSPLUSINCLUDES = -I$(ILUHOME)/include $(SECURITYINCLUDES)
+! ILUCPLUSPLUSLIBS = $(ILUHOME)/lib/libilu-c++.a -L$(ILUHOME)/lib -lilu $(SECURITYLIBS)
+
+ JAVA_ILU_CLASS_DIR = $(ILUHOME)/lib/ilu.jar
+
+diff -r -c ./runtime/c/Imakefile /home/cracauer/work/ilu2patch/./runtime/c/Imakefile
+*** ./runtime/c/Imakefile Thu Sep 25 23:32:00 1997
+--- /home/cracauer/work/ilu2patch/./runtime/c/Imakefile Tue Oct 7 13:53:13 1997
+***************
+*** 40,48 ****
+ OBJS = ilu.o orb.o
+
+ LibraryTarget(libilu-c.a, $(OBJS))
+
+ InstallLibrary(libilu-c.a, $(DESTDIR)/lib)
+ InstallRO(iluchdrs.h ilucstub.h, $(DESTDIR)/include)
+
+! all:: libilu-c.a
+
+--- 40,50 ----
+ OBJS = ilu.o orb.o
+
+ LibraryTarget(libilu-c.a, $(OBJS))
++ SLibraryTarget(libilu-c.so.1, $(OBJS))
+
+ InstallLibrary(libilu-c.a, $(DESTDIR)/lib)
++ InstallSLibrary(libilu-c.so.1, $(DESTDIR)/lib)
+ InstallRO(iluchdrs.h ilucstub.h, $(DESTDIR)/include)
+
+! all:: libilu-c.a libilu-c.so.1
+
+diff -r -c ./runtime/kernel/Imakefile /home/cracauer/work/ilu2patch/./runtime/kernel/Imakefile
+*** ./runtime/kernel/Imakefile Thu Sep 25 23:31:04 1997
+--- /home/cracauer/work/ilu2patch/./runtime/kernel/Imakefile Tue Oct 7 13:53:02 1997
+***************
+*** 242,251 ****
+--- 242,259 ----
+ opaqval.o : $(PVTIFC) ilutypes.h opaqval.c
+
+ libilu.a : $(MF)
++ libilu.so.1 : $(MF)
+
+ LibraryTarget(libilu.a, $(OBJS))
+ InstallLibrary(libilu.a, $(DESTDIR)/lib)
++ SLibraryTarget(libilu.so.1, $(OBJS))
++ InstallSLibrary(libilu.so.1, $(DESTDIR)/lib)
+ InstallRO($(PVTIFC), $(DESTDIR)/include)
++
++ libilu.so: $(OBJS)
++ $(RM) $@
++ ld -Bshareable -o $@ $(OBJS)
++
+
+ CProgramTarget(iluhashm,iluhashm.o,,)
+ CProgramTarget(decoderr,decoderr.o,,)
+diff -r -c ./stubbers/parser/Imakefile /home/cracauer/work/ilu2patch/./stubbers/parser/Imakefile
+*** ./stubbers/parser/Imakefile Thu Sep 25 23:29:51 1997
+--- /home/cracauer/work/ilu2patch/./stubbers/parser/Imakefile Tue Oct 7 13:53:31 1997
+***************
+*** 40,45 ****
+--- 40,46 ----
+ #endif
+
+ LibraryTarget(libilu-parser.a, iluparse.o typeuid.o shs.o pathname.o malloc.o util.o aprintf.o $(IDLOBJS))
++ SLibraryTarget(libilu-parser.so.1, iluparse.o typeuid.o shs.o pathname.o malloc.o util.o aprintf.o $(IDLOBJS))
+ ProgramTarget(islscan, scan.o, libilu-parser.a,)
+
+ iluconf.h : ../../runtime/kernel/iluconf.h
+***************
+*** 63,68 ****
+--- 64,70 ----
+
+ InstallProgram(islscan, $(DESTDIR)/bin)
+ InstallRO(libilu-parser.a, $(DESTDIR)/lib)
++ InstallRO(libilu-parser.so.1, $(DESTDIR)/lib)
+ InstallRO(iluptype.h, $(DESTDIR)/include)
+ InstallRO(ilu.isl, $(DESTDIR)/interfaces)
+ InstallRO(iluhttp.isl, $(DESTDIR)/interfaces)
+***************
+*** 85,91 ****
+ make genregs
+ -rm -f ../../runtime/kernel/ilutpcod.c ../../runtime/kernel/ilutpcod.h
+ ./genregs "../../runtime/kernel/ilutpcod"
+! -rm -f genregs *.o *.a
+ $(DISTCLEAN)
+
+ genregs: version.h genregs.o libilu-parser.a
+--- 87,93 ----
+ make genregs
+ -rm -f ../../runtime/kernel/ilutpcod.c ../../runtime/kernel/ilutpcod.h
+ ./genregs "../../runtime/kernel/ilutpcod"
+! -rm -f genregs *.o *.a *.so *.so.*.*
+ $(DISTCLEAN)
+
+ genregs: version.h genregs.o libilu-parser.a