1997-01-28 03:01:24 +00:00
|
|
|
*** src/Makefile.in.orig Tue Jan 21 20:21:34 1997
|
|
|
|
--- src/Makefile.in Mon Jan 27 23:49:32 1997
|
1996-07-11 17:31:18 +00:00
|
|
|
***************
|
1996-10-22 19:19:58 +00:00
|
|
|
*** 2,16 ****
|
1996-07-11 17:31:18 +00:00
|
|
|
#---------------------------------------------------------------------------
|
|
|
|
# ANSI C compiler
|
|
|
|
#---------------------------------------------------------------------------
|
|
|
|
! CC = @CC@
|
|
|
|
! CFLAGS = @CFLAGS@
|
1996-10-22 19:19:58 +00:00
|
|
|
LDFLAGS = @LDFLAGS@
|
1996-07-11 17:31:18 +00:00
|
|
|
#---------------------------------------------------------------------------
|
|
|
|
# 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
|
|
|
|
#---------------------------------------------------------------------------
|
1996-10-22 19:19:58 +00:00
|
|
|
--- 2,16 ----
|
1996-07-11 17:31:18 +00:00
|
|
|
#---------------------------------------------------------------------------
|
|
|
|
# ANSI C compiler
|
|
|
|
#---------------------------------------------------------------------------
|
|
|
|
! #CC = @CC@
|
|
|
|
! #CFLAGS = @CFLAGS@
|
1996-10-22 19:19:58 +00:00
|
|
|
LDFLAGS = @LDFLAGS@
|
1996-07-11 17:31:18 +00:00
|
|
|
#---------------------------------------------------------------------------
|
|
|
|
# ELF specific (Linux)
|
|
|
|
#---------------------------------------------------------------------------
|
|
|
|
! ELF_CC = $(CC)
|
|
|
|
! ELF_CFLAGS = $(CFLAGS) -DPIC -fpic
|
|
|
|
! ELF_LINK = ld -Bshareable
|
|
|
|
#---------------------------------------------------------------------------
|
|
|
|
# Set these values to ABSOLUTE path names
|
|
|
|
#---------------------------------------------------------------------------
|
|
|
|
***************
|
1996-10-22 19:19:58 +00:00
|
|
|
*** 93,103 ****
|
|
|
|
# cd $(ELFDIR); $(RM) $(ELFLIB_MAJOR); $(LN) $(ELFLIB_MAJOR_MINOR) $(ELFLIB_MAJOR)
|
1996-07-11 17:31:18 +00:00
|
|
|
$(ELFDIR_ELF_LIB): $(ELFDIR) $(ELFOBJS)
|
|
|
|
-$(RM) $(ELFDIR_ELF_LIB)
|
|
|
|
! cd $(ELFDIR); $(ELF_LINK),$(ELFLIB_MAJOR) -o $(ELFLIB_MAJOR_MINOR) $(OFILES)
|
|
|
|
! cd $(ELFDIR); $(RM) $(ELFLIB); $(LN) $(ELFLIB_MAJOR) $(ELFLIB)
|
1997-01-28 03:01:24 +00:00
|
|
|
@echo ""
|
|
|
|
@echo $(ELFLIB_MAJOR_MINOR) created in $(ELFDIR).
|
|
|
|
- @echo The link $(ELFLIB) to $(ELFLIB_MAJOR_MINOR) was also created.
|
|
|
|
@echo ""
|
1996-07-11 17:31:18 +00:00
|
|
|
$(OBJDIR) :
|
|
|
|
-$(MKDIR) $(OBJDIR)
|
1996-10-22 19:19:58 +00:00
|
|
|
--- 93,101 ----
|
|
|
|
# cd $(ELFDIR); $(RM) $(ELFLIB_MAJOR); $(LN) $(ELFLIB_MAJOR_MINOR) $(ELFLIB_MAJOR)
|
1996-07-11 17:31:18 +00:00
|
|
|
$(ELFDIR_ELF_LIB): $(ELFDIR) $(ELFOBJS)
|
|
|
|
-$(RM) $(ELFDIR_ELF_LIB)
|
|
|
|
! cd $(ELFDIR); $(ELF_LINK) -o $(ELFLIB_MAJOR_MINOR) $(OFILES)
|
1997-01-28 03:01:24 +00:00
|
|
|
@echo ""
|
|
|
|
@echo $(ELFLIB_MAJOR_MINOR) created in $(ELFDIR).
|
|
|
|
@echo ""
|
1996-07-11 17:31:18 +00:00
|
|
|
$(OBJDIR) :
|
|
|
|
-$(MKDIR) $(OBJDIR)
|
|
|
|
***************
|
1997-01-28 03:01:24 +00:00
|
|
|
*** 124,138 ****
|
|
|
|
install-elf: install elf $(install_lib_dir) $(install_include_dir) $(ELFDIR_ELF_LIB)
|
1996-10-22 19:19:58 +00:00
|
|
|
$(INSTALL_DATA) $(SRCDIR)/slang.h $(install_include_dir)
|
1996-09-03 10:10:28 +00:00
|
|
|
$(INSTALL_DATA) $(SRCDIR)/slcurses.h $(install_include_dir)
|
1996-10-22 19:19:58 +00:00
|
|
|
- -$(RM) $(install_lib_dir)/$(ELFLIB)
|
1997-01-28 03:01:24 +00:00
|
|
|
- -$(RM) $(install_lib_dir)/$(ELFLIB_MAJOR)
|
1996-07-11 17:31:18 +00:00
|
|
|
@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)
|
1997-01-28 03:01:24 +00:00
|
|
|
- -cd $(install_lib_dir); $(LN) $(ELFLIB_MAJOR_MINOR) $(ELFLIB)
|
|
|
|
@echo ""
|
|
|
|
@echo $(ELFLIB_MAJOR_MINOR) created in $(install_lib_dir).
|
|
|
|
- @echo The link $(ELFLIB) to $(ELFLIB_MAJOR_MINOR) was also created.
|
|
|
|
@echo ""
|
|
|
|
install-links:
|
|
|
|
-$(RM) $(install_lib_dir)/$(ELFLIB)
|
|
|
|
--- 122,131 ----
|