Mercurial > octave-nkf
comparison liboctave/Makefile.in @ 2993:91589ab98e37
[project @ 1997-05-21 21:44:54 by jwe]
author | jwe |
---|---|
date | Wed, 21 May 1997 21:51:38 +0000 |
parents | b779a5b8aed4 |
children | 9ce32027e269 |
comparison
equal
deleted
inserted
replaced
2992:53b38bf1d443 | 2993:91589ab98e37 |
---|---|
185 install-strip: | 185 install-strip: |
186 $(MAKE) INSTALL_PROGRAM="$(INSTALL_PROGRAM) -s" install | 186 $(MAKE) INSTALL_PROGRAM="$(INSTALL_PROGRAM) -s" install |
187 .PHONY: install-strip | 187 .PHONY: install-strip |
188 | 188 |
189 install-lib: | 189 install-lib: |
190 $(top_srcdir)/mkinstalldirs $(libdir) | 190 $(top_srcdir)/mkinstalldirs $(octlibdir) |
191 rm -f $(libdir)/liboctave.a | 191 rm -f $(octlibdir)/liboctave.a |
192 $(INSTALL_DATA) liboctave.a $(libdir)/liboctave.a | 192 $(INSTALL_DATA) liboctave.a $(octlibdir)/liboctave.a |
193 $(RANLIB) $(libdir)/liboctave.a | 193 $(RANLIB) $(octlibdir)/liboctave.a |
194 if $(SHARED_LIBS); then \ | 194 if $(SHARED_LIBS); then \ |
195 rm -f $(libdir)/liboctave.$(SHLEXT); \ | 195 rm -f $(octlibdir)/liboctave.$(SHLEXT); \ |
196 $(INSTALL_PROGRAM) liboctave.$(SHLEXT) \ | 196 $(INSTALL_PROGRAM) \ |
197 $(libdir)/liboctave.$(SHLEXT); \ | 197 liboctave.$(SHLEXT) $(octlibdir)/liboctave.$(SHLEXT); \ |
198 fi | 198 fi |
199 $(mk-libdir-link) | |
199 .PHONY: install-lib | 200 .PHONY: install-lib |
200 | 201 |
201 install-inc: | 202 install-inc: |
202 $(top_srcdir)/mkinstalldirs $(octincludedir) | 203 $(top_srcdir)/mkinstalldirs $(octincludedir) |
203 for f in $(INCLUDES_FOR_INSTALL) ; do \ | 204 for f in $(INCLUDES_FOR_INSTALL) ; do \ |
204 rm -f $(octincludedir)/$$f ; \ | 205 rm -f $(octincludedir)/$$f ; \ |
205 $(INSTALL_DATA) $(srcdir)/$$f $(octincludedir)/$$f ; \ | 206 $(INSTALL_DATA) $(srcdir)/$$f $(octincludedir)/$$f ; \ |
206 done | 207 done |
207 tmp=`echo $(octincludedir) | sed 's|/*$$||'` ; \ | 208 $(mk-includedir-link) |
208 dir=`echo $$tmp | sed 's|[^/]*$$||'` ; \ | |
209 src=`echo $$tmp | sed 's|^.*/||'` ; \ | |
210 dest=`echo $$src | sed 's|-$(version)$$||'` ; \ | |
211 if [ "$$src" = "$$dest" ] ; then \ | |
212 true ; \ | |
213 else \ | |
214 if [ -d $$dir/$$dest ] ; then \ | |
215 true ; \ | |
216 else \ | |
217 cd $$dir ; rm -f $$dest && $(LN_S) $$src $$dest ; \ | |
218 fi ; \ | |
219 fi | |
220 .PHONY: install-inc | 209 .PHONY: install-inc |
221 | 210 |
222 uninstall: | 211 uninstall: |
223 rm -f $(libdir)/liboctave.a $(libdir)/liboctave.$(SHLEXT) | 212 rm -f $(octlibdir)/liboctave.a $(octlibdir)/liboctave.$(SHLEXT) |
224 for f in $(INCLUDES) ; do rm -f $(octincludedir)/$$f ; done | 213 for f in $(INCLUDES) ; do rm -f $(octincludedir)/$$f ; done |
225 .PHONY: uninstall | 214 .PHONY: uninstall |
226 | 215 |
227 tags: $(SOURCES) | 216 tags: $(SOURCES) |
228 ctags $(SOURCES) | 217 ctags $(SOURCES) |