Mercurial > octave
comparison src/Makefile.in @ 1497:48a0b289f1be
[project @ 1995-09-30 22:04:27 by jwe]
author | jwe |
---|---|
date | Sat, 30 Sep 1995 22:06:19 +0000 |
parents | 20e9c40d10f6 |
children | 293311a01d04 |
comparison
equal
deleted
inserted
replaced
1496:8bd5499ae4ef | 1497:48a0b289f1be |
---|---|
57 | 57 |
58 DLD_OBJ := $(patsubst %.cc, %.o, $(DLD_SRC)) | 58 DLD_OBJ := $(patsubst %.cc, %.o, $(DLD_SRC)) |
59 | 59 |
60 INCLUDES := arith-ops.h builtins.h defaults.h.in defun.h defun-dld.h \ | 60 INCLUDES := arith-ops.h builtins.h defaults.h.in defun.h defun-dld.h \ |
61 defun-int.h dirfns.h dynamic-ld.h error.h file-info.h \ | 61 defun-int.h dirfns.h dynamic-ld.h error.h file-info.h \ |
62 file-io.h fnmatch.h \ | 62 file-io.h fnmatch.h getopt.h gripes.h help.h idx-vector.h \ |
63 getopt.h gripes.h help.h idx-vector.h input.h lex.h \ | 63 input.h lex.h load-save.h mappers.h missing-math.h \ |
64 load-save.h mappers.h missing-math.h octave.h octave-hist.h \ | 64 oct-gperf.h octave.h octave-hist.h \ |
65 oct-map.h oct-obj.h oct-str.h pager.h parse.h pathlen.h \ | 65 oct-map.h oct-obj.h oct-str.h pager.h parse.h pathlen.h \ |
66 pathsearch.h pr-output.h procstream.h sighandlers.h \ | 66 pathsearch.h pr-output.h procstream.h sighandlers.h \ |
67 statdefs.h symtab.h sysdep.h sysdir.h systime.h syswait.h \ | 67 statdefs.h symtab.h sysdep.h sysdir.h systime.h syswait.h \ |
68 token.h tree-base.h tree-cmd.h tree-const.h tree-expr.h \ | 68 token.h tree-base.h tree-cmd.h tree-const.h tree-expr.h \ |
69 tree-misc.h tree-plot.h tc-inlines.h tc-rep.h unwind-prot.h \ | 69 tree-misc.h tree-plot.h tc-inlines.h tc-rep.h unwind-prot.h \ |
186 rm -f Makefile octave .fname | 186 rm -f Makefile octave .fname |
187 .PHONY: distclean | 187 .PHONY: distclean |
188 | 188 |
189 maintainer-clean: distclean | 189 maintainer-clean: distclean |
190 rm -f tags TAGS y.tab.c y.tab.h y.output yy.lex.c \ | 190 rm -f tags TAGS y.tab.c y.tab.h y.output yy.lex.c \ |
191 lex.cc parse.cc | 191 lex.cc parse.cc oct-gperf.h |
192 .PHONY: maintainer-clean | 192 .PHONY: maintainer-clean |
193 | 193 |
194 local-dist: parse.cc lex.cc | 194 local-dist: parse.cc lex.cc oct-gperf.h |
195 ln $(DISTFILES) ../`cat ../.fname`/src | 195 ln $(DISTFILES) ../`cat ../.fname`/src |
196 rm -f parse.cc lex.cc y.tab.h y.output yy.lex.c | 196 rm -f parse.cc lex.cc y.tab.h y.output yy.lex.c |
197 rm -f lex.cc parse.cc defaults.h *.d *.def | 197 rm -f oct-gperf.h defaults.h *.d *.def |
198 .PHONY: local-dist | 198 .PHONY: local-dist |
199 | 199 |
200 dist: parse.cc lex.cc | 200 dist: parse.cc lex.cc oct-gperf.h |
201 ln $(DISTFILES) ../`cat ../.fname`/src | 201 ln $(DISTFILES) ../`cat ../.fname`/src |
202 rm -f parse.cc lex.cc y.tab.h y.output yy.lex.c | 202 rm -f parse.cc lex.cc y.tab.h y.output yy.lex.c |
203 rm -f lex.cc parse.cc defaults.h *.d *.def builtins.cc | 203 rm -f oct-gperf.h defaults.h *.d *.def builtins.cc |
204 .PHONY: dist | 204 .PHONY: dist |
205 | 205 |
206 # Special rules -- these files need special things to be defined. | 206 # Special rules -- these files need special things to be defined. |
207 | 207 |
208 defaults.h: defaults.h.in ../Makeconf Makefile | 208 defaults.h: defaults.h.in ../Makeconf Makefile |
228 -e "s;%FLIB_PATH%;\"${FLIB_PATH}\";" \ | 228 -e "s;%FLIB_PATH%;\"${FLIB_PATH}\";" \ |
229 -e "s;%CXXLIB_LIST%;\"${CXXLIB_LIST}\";" \ | 229 -e "s;%CXXLIB_LIST%;\"${CXXLIB_LIST}\";" \ |
230 -e "s;%CXXLIB_PATH%;\"${CXXLIB_PATH}\";") | 230 -e "s;%CXXLIB_PATH%;\"${CXXLIB_PATH}\";") |
231 @$(top_srcdir)/move-if-change $@.tmp $@ | 231 @$(top_srcdir)/move-if-change $@.tmp $@ |
232 | 232 |
233 oct-gperf.h: octave.gperf | |
234 gperf -a -C -E -H octave_kw_hash -g -N octave_kw_lookup -p -t \ | |
235 $< > $@.tmp | |
236 @$(top_srcdir)/move-if-change $@.tmp $@ | |
237 | |
233 extract_stat = sed 's/@l@//g; s/@L@//g; /@LSTAT_ONLY@/d' | 238 extract_stat = sed 's/@l@//g; s/@L@//g; /@LSTAT_ONLY@/d' |
234 extract_lstat = sed 's/@l@/l/g; s/@L@/L/g; s/ *@LSTAT_ONLY@//' | 239 extract_lstat = sed 's/@l@/l/g; s/@L@/L/g; s/ *@LSTAT_ONLY@//' |
235 | 240 |
236 safe-lstat.c: safe-xstat.cin | 241 safe-lstat.c: safe-xstat.cin |
237 @echo "making $@ from $<" | 242 @echo "making $@ from $<" |