Mercurial > octave-nkf
diff liboctave/Makefile.in @ 2624:7e24c1f29db4
[project @ 1997-01-26 04:40:00 by jwe]
author | jwe |
---|---|
date | Sun, 26 Jan 1997 04:40:10 +0000 |
parents | ccd72573a0cf |
children | f95e58a25c90 |
line wrap: on
line diff
--- a/liboctave/Makefile.in Sun Jan 26 04:30:20 1997 +0000 +++ b/liboctave/Makefile.in Sun Jan 26 04:40:10 1997 +0000 @@ -77,6 +77,11 @@ DISTFILES := Makefile.in ChangeLog safe-xstat.cin safe-xstat.hin \ $(SOURCES) $(INCLUDES) $(EXTRAS) +ifeq ($(SHARED_LIBS), true) + BINDISTFILES = liboctave.$(SHLEXT) + BINDISTLIBS = $(addprefix liboctave/, liboctave.$(SHLEXT)) +endif + MAKEDEPS_1 := $(patsubst %.cc, %.d, $(SOURCES)) MAKEDEPS := $(patsubst %.c, %.d, $(MAKEDEPS_1)) @@ -100,7 +105,7 @@ touch stamp-prereq stamp-picdir: - if [ "$(SHARED_LIBS)" = true ]; then \ + if $(SHARED_LIBS); then \ if [ -n "$(CPICFLAG)" ] || [ -n "$(CXXPICFLAG)" ]; then \ if [ -d pic ]; then \ true ; \ @@ -222,6 +227,13 @@ ln $(DISTFILES) ../`cat ../.fname`/liboctave .PHONY: dist +bin-dist: + if [ -n "$(BINDISTFILES)" ]; then \ + ln $(BINDISTFILES) ../`cat ../.fname`/liboctave ; \ + fi + echo $(BINDISTLIBS) >> ../`cat ../.fname`/LIBRARIES +.PHONY: bin-dist + # If missing, GNU make attempts to create them in the reverse of the # order in which they are listed here. We rely on that fact to ensure # that the safe-stat.h and safe-lstat.h files are created before trying