*** src/Makefile.in.orig Tue Jun 18 08:25:37 1996 --- src/Makefile.in Thu Jul 11 21:14:31 1996 *************** *** 2,15 **** #--------------------------------------------------------------------------- # ANSI C compiler #--------------------------------------------------------------------------- ! CC = @CC@ ! CFLAGS = @CFLAGS@ #--------------------------------------------------------------------------- # ELF specific (Linux) #--------------------------------------------------------------------------- ! ELF_CC = gcc ! ELF_CFLAGS = -O2 -fno-strength-reduce -fPIC ! ELF_LINK = gcc -shared -Wl,-lm,-t,-soname# #--------------------------------------------------------------------------- # Set these values to ABSOLUTE path names #--------------------------------------------------------------------------- --- 2,15 ---- #--------------------------------------------------------------------------- # ANSI C compiler #--------------------------------------------------------------------------- ! #CC = @CC@ ! #CFLAGS = @CFLAGS@ #--------------------------------------------------------------------------- # ELF specific (Linux) #--------------------------------------------------------------------------- ! ELF_CC = $(CC) ! ELF_CFLAGS = $(CFLAGS) -DPIC -fpic ! ELF_LINK = ld -Bshareable #--------------------------------------------------------------------------- # Set these values to ABSOLUTE path names #--------------------------------------------------------------------------- *************** *** 63,69 **** ELFLIB = lib$(THIS_LIB).so# ELFLIB_MAJOR = $(ELFLIB).$(ELF_MAJOR_VERSION)# ! ELFLIB_MAJOR_MINOR = $(ELFLIB_MAJOR).$(ELF_MINOR_VERSION)# ELFDIR_ELF_LIB = $(ELFDIR)/$(ELFLIB_MAJOR_MINOR)# EXECLIBS = -L$(OBJDIR) -lslang -lm $(TCAPLIB) --- 63,69 ---- ELFLIB = lib$(THIS_LIB).so# ELFLIB_MAJOR = $(ELFLIB).$(ELF_MAJOR_VERSION)# ! ELFLIB_MAJOR_MINOR = $(ELFLIB).$(ELF_MINOR_VERSION)# ELFDIR_ELF_LIB = $(ELFDIR)/$(ELFLIB_MAJOR_MINOR)# EXECLIBS = -L$(OBJDIR) -lslang -lm $(TCAPLIB) *************** *** 88,99 **** @echo $(NORMAL_LIB) created in $(OBJDIR) $(ELFDIR_ELF_LIB): $(ELFDIR) $(ELFOBJS) -$(RM) $(ELFDIR_ELF_LIB) ! cd $(ELFDIR); $(ELF_LINK),$(ELFLIB_MAJOR) -o $(ELFLIB_MAJOR_MINOR) $(OFILES) ! cd $(ELFDIR); $(RM) $(ELFLIB_MAJOR); $(LN) $(ELFLIB_MAJOR_MINOR) $(ELFLIB_MAJOR) ! cd $(ELFDIR); $(RM) $(ELFLIB); $(LN) $(ELFLIB_MAJOR) $(ELFLIB) @echo ! @echo $(ELFLIB_MAJOR_MINOR) created in $(ELFDIR). Be sure to add ! @echo $(ELFDIR) to your LD_LIBRARY_PATH environment variable. $(OBJDIR) : -$(MKDIR) $(OBJDIR) $(ELFDIR) : --- 88,96 ---- @echo $(NORMAL_LIB) created in $(OBJDIR) $(ELFDIR_ELF_LIB): $(ELFDIR) $(ELFOBJS) -$(RM) $(ELFDIR_ELF_LIB) ! cd $(ELFDIR); $(ELF_LINK) -o $(ELFLIB_MAJOR_MINOR) $(OFILES) @echo ! @echo $(ELFLIB_MAJOR_MINOR) created in $(ELFDIR). $(OBJDIR) : -$(MKDIR) $(OBJDIR) $(ELFDIR) : *************** *** 119,130 **** install-elf: $(install_lib_dir) $(install_include_dir) $(ELFDIR_ELF_LIB) @echo installing $(ELFLIB_MAJOR_MINOR) in $(install_lib_dir) $(INSTALL_DATA) $(ELFDIR_ELF_LIB) $(install_lib_dir) - @echo creating symbolic links to $(ELFLIB_MAJOR_MINOR) - -$(RM) $(install_lib_dir)/$(ELFLIB_MAJOR) - -cd $(install_lib_dir); $(LN) $(ELFLIB_MAJOR_MINOR) $(ELFLIB_MAJOR) - -$(RM) $(install_lib_dir)/$(ELFLIB) - -cd $(install_lib_dir); $(LN) $(ELFLIB_MAJOR) $(ELFLIB) - @echo You will have to run ldconfig yourself. #--------------------------------------------------------------------------- # Housekeeping #--------------------------------------------------------------------------- --- 116,121 ----