Mercurial > octave-nkf
comparison src/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 | fc751d2a99fd |
children | 9a54159563de |
comparison
equal
deleted
inserted
replaced
2992:53b38bf1d443 | 2993:91589ab98e37 |
---|---|
68 ov-list.h ov-struct.h ov-scalar.h ov-range.h \ | 68 ov-list.h ov-struct.h ov-scalar.h ov-range.h \ |
69 ov-complex.h ov-va-args.h ov-colon.h ov-base.h \ | 69 ov-complex.h ov-va-args.h ov-colon.h ov-base.h \ |
70 ov-str-mat.h ov-bool-mat.h ov-bool.h ov-file.h ov.h \ | 70 ov-str-mat.h ov-bool-mat.h ov-bool.h ov-file.h ov.h \ |
71 ov-fcn.h ov-builtin.h ov-mapper.h ov-usr-fcn.h ov-typeinfo.h | 71 ov-fcn.h ov-builtin.h ov-mapper.h ov-usr-fcn.h ov-typeinfo.h |
72 | 72 |
73 PT_INCLUDES := pt.h pt-all.h pt-arg-list.h pt-assign.h \ | 73 PT_INCLUDES := pt.h pt-all.h pt-arg-list.h pt-assign.h pt-binop.h \ |
74 pt-binop.h pt-cmd.h pt-colon.h pt-const.h pt-decl.h \ | 74 pt-check.h pt-cmd.h pt-colon.h pt-const.h pt-decl.h \ |
75 pt-except.h pt-exp.h pt-id.h pt-idx.h pt-indir.h \ | 75 pt-except.h pt-exp.h pt-id.h pt-idx.h pt-indir.h \ |
76 pt-jump.h pt-loop.h pt-mat.h pt-misc.h pt-plot.h \ | 76 pt-jump.h pt-loop.h pt-mat.h pt-misc.h pt-plot.h \ |
77 pt-pr-code.h pt-select.h pt-stmt.h pt-unop.h pt-walk.h | 77 pt-pr-code.h pt-select.h pt-stmt.h pt-unop.h pt-walk.h |
78 | 78 |
79 INCLUDES := BaseSLList.h Map.h SLList.h SLStack.h Stack.h defun-dld.h \ | 79 INCLUDES := BaseSLList.h Map.h SLList.h SLStack.h Stack.h defun-dld.h \ |
109 ov-cx-mat.cc ov-range.cc ov-scalar.cc ov-complex.cc \ | 109 ov-cx-mat.cc ov-range.cc ov-scalar.cc ov-complex.cc \ |
110 ov-str-mat.cc ov-struct.cc ov-va-args.cc ov-colon.cc \ | 110 ov-str-mat.cc ov-struct.cc ov-va-args.cc ov-colon.cc \ |
111 ov-bool-mat.cc ov-bool.cc ov-file.cc ov.cc ov-fcn.cc \ | 111 ov-bool-mat.cc ov-bool.cc ov-file.cc ov.cc ov-fcn.cc \ |
112 ov-builtin.cc ov-mapper.cc ov-usr-fcn.cc ov-typeinfo.cc | 112 ov-builtin.cc ov-mapper.cc ov-usr-fcn.cc ov-typeinfo.cc |
113 | 113 |
114 PT_SRC := pt.cc pt-arg-list.cc pt-assign.cc pt-binop.cc \ | 114 PT_SRC := pt.cc pt-arg-list.cc pt-assign.cc pt-binop.cc pt-check.cc \ |
115 pt-cmd.cc pt-colon.cc pt-const.cc pt-decl.cc pt-except.cc \ | 115 pt-cmd.cc pt-colon.cc pt-const.cc pt-decl.cc pt-except.cc \ |
116 pt-exp.cc pt-id.cc pt-idx.cc pt-indir.cc pt-jump.cc \ | 116 pt-exp.cc pt-id.cc pt-idx.cc pt-indir.cc pt-jump.cc \ |
117 pt-loop.cc pt-mat.cc pt-misc.cc pt-plot.cc pt-pr-code.cc \ | 117 pt-loop.cc pt-mat.cc pt-misc.cc pt-plot.cc pt-pr-code.cc \ |
118 pt-select.cc pt-stmt.cc pt-unop.cc | 118 pt-select.cc pt-stmt.cc pt-unop.cc |
119 | 119 |
287 $(octfiledir) $(addprefix $(srcdir)/, $(DLD_SRC)) ; \ | 287 $(octfiledir) $(addprefix $(srcdir)/, $(DLD_SRC)) ; \ |
288 fi | 288 fi |
289 .PHONY: install-oct | 289 .PHONY: install-oct |
290 | 290 |
291 install-lib: | 291 install-lib: |
292 $(top_srcdir)/mkinstalldirs $(libdir) | 292 $(top_srcdir)/mkinstalldirs $(octlibdir) |
293 for f in $(LIBS_TO_INSTALL); do \ | 293 for f in $(LIBS_TO_INSTALL); do \ |
294 if [ -f $$f ]; then $(INSTALL_DATA) $$f $(libdir)/$$f; fi; \ | 294 if [ -f $$f ]; then $(INSTALL_DATA) $$f $(octlibdir)/$$f; fi; \ |
295 done | 295 done |
296 for f in $(SH_LIBS_TO_INSTALL); do \ | 296 for f in $(SH_LIBS_TO_INSTALL); do \ |
297 if [ -f $$f ]; then $(INSTALL_PROGRAM) $$f $(libdir)/$$f; fi; \ | 297 if [ -f $$f ]; then $(INSTALL_PROGRAM) $$f $(octlibdir)/$$f; fi; \ |
298 done | 298 done |
299 $(mk-libdir-link) | |
299 .PHONY: install-lib | 300 .PHONY: install-lib |
300 | 301 |
301 install-inc: | 302 install-inc: |
302 $(top_srcdir)/mkinstalldirs $(octincludedir) | 303 $(top_srcdir)/mkinstalldirs $(octincludedir) |
303 for f in $(INCLUDES) ; do \ | 304 for f in $(INCLUDES) ; do \ |
306 done | 307 done |
307 for f in defaults.h oct-conf.h oct-gperf.h ; do \ | 308 for f in defaults.h oct-conf.h oct-gperf.h ; do \ |
308 rm -f $(octincludedir)/$$f ; \ | 309 rm -f $(octincludedir)/$$f ; \ |
309 $(INSTALL_DATA) $$f $(octincludedir)/$$f ; \ | 310 $(INSTALL_DATA) $$f $(octincludedir)/$$f ; \ |
310 done | 311 done |
311 tmp=`echo $(octincludedir) | sed 's|/*$$||'` ; \ | 312 $(mk-includedir-link) |
312 dir=`echo $$tmp | sed 's|[^/]*$$||'` ; \ | |
313 src=`echo $$tmp | sed 's|^.*/||'` ; \ | |
314 dest=`echo $$src | sed 's|-$(version)$$||'` ; \ | |
315 if [ "$$src" = "$$dest" ] ; then \ | |
316 true ; \ | |
317 else \ | |
318 if [ -d $$dir/$$dest ] ; then \ | |
319 true ; \ | |
320 else \ | |
321 cd $$dir ; rm -f $$dest && $(LN_S) $$src $$dest ; \ | |
322 fi ; \ | |
323 fi | |
324 .PHONY: install-inc | 313 .PHONY: install-inc |
325 | 314 |
326 uninstall: | 315 uninstall: |
327 rm -f $(bindir)/octave$(EXE) | 316 rm -f $(bindir)/octave$(EXE) |
328 for f in $(LIBS_TO_INSTALL); do rm -f $(libdir)/$$f; done | 317 for f in $(LIBS_TO_INSTALL); do rm -f $(octlibdir)/$$f; done |
329 for f in $(SH_LIBS_TO_INSTALL); do rm -f $(libdir)/$$f; done | 318 for f in $(SH_LIBS_TO_INSTALL); do rm -f $(octlibdir)/$$f; done |
330 for f in $(INCLUDES) defaults.h oct-conf.h; do \ | 319 for f in $(INCLUDES) defaults.h oct-conf.h; do \ |
331 rm -f $(octincludedir)/$$f; \ | 320 rm -f $(octincludedir)/$$f; \ |
332 done | 321 done |
333 .PHONY: uninstall | 322 .PHONY: uninstall |
334 | 323 |