annotate src/Makefile.in @ 51:7806354a10d3

[project @ 1993-08-11 20:48:00 by jwe]
author jwe
date Wed, 11 Aug 1993 20:50:40 +0000
parents 80ea39e3c917
children 55454c1bd2a2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
1 #
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
2 # Makefile for octave's src directory
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
3 #
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
4 # John W. Eaton
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
5 # jwe@che.utexas.edu
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
6 # Department of Chemical Engineering
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
7 # The University of Texas at Austin
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
8
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
9 TOPDIR = ..
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
10
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
11 srcdir = @srcdir@
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
12 VPATH = @srcdir@
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
13
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
14 include $(TOPDIR)/Makeconf
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
15
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
16 srcdir = @srcdir@
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
17 VPATH = @srcdir@:@srcdir@/../bsd-math
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
18
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
19 # Can this be fixed?
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
20
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
21 INCFLAGS = -I. -I$(srcdir)/../liboctave -I$(srcdir)/../dld -I$(srcdir)/.. -I$(srcdir) -I$(TOPDIR)/liboctave -I$(TOPDIR)/dld -I$(TOPDIR)
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
22
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
23 LIBOBJS = @LIBOBJS@
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
24
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
25 # Cancel default rule for .c from .y and make .cc from .y instead.
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
26
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
27 %.c : %.y
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
28
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
29 %.cc : %.y
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
30 $(YACC) $(YFLAGS) $<
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
31 mv y.tab.c $(@F)
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
32
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
33 # Likewise for .c from .l.
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
34
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
35 %.c : %.l
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
36
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
37 %.cc : %.l
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
38 $(LEX) $(LFLAGS) $< > $(@F)
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
39
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
40 # Here is a rule for generating dependencies for .cc files:
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
41
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
42 %.d: %.cc
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
43 rm -f $@
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
44 if test "$(srcdir)" = "." ; then \
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
45 $(CXX) -MM $(CPPFLAGS) $(ALL_CXXFLAGS) $< | \
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
46 sed -e 's/$*\.o/& $@/g' > $@.tmp && \
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
47 mv $@.tmp $@ ; \
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
48 else \
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
49 $(CXX) -MM $(CPPFLAGS) $(ALL_CXXFLAGS) $< | \
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
50 sed -e 's/$*\.o/& $@/g' -e 's,$(srcdir)/,,g' > $@.tmp && \
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
51 mv $@.tmp $@ ; \
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
52 fi
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
53
10
70f622a3d197 [project @ 1993-08-09 00:59:48 by jwe]
jwe
parents: 9
diff changeset
54 INCLUDES = arith-ops.h builtins.h dynamic-ld.h defaults.h.in error.h \
51
7806354a10d3 [project @ 1993-08-11 20:48:00 by jwe]
jwe
parents: 46
diff changeset
55 f-balance.h f-colloc.h f-dassl.h f-det.h f-eig.h f-expm.h \
7806354a10d3 [project @ 1993-08-11 20:48:00 by jwe]
jwe
parents: 46
diff changeset
56 f-fft.h f-fsolve.h f-fsqp.h f-givens.h f-hess.h f-ifft.h \
7806354a10d3 [project @ 1993-08-11 20:48:00 by jwe]
jwe
parents: 46
diff changeset
57 f-inv.h f-lpsolve.h f-lsode.h f-lu.h f-npsol.h f-qpsol.h \
7806354a10d3 [project @ 1993-08-11 20:48:00 by jwe]
jwe
parents: 46
diff changeset
58 f-qr.h f-quad.h f-qzval.h f-rand.h f-schur.h f-svd.h \
7806354a10d3 [project @ 1993-08-11 20:48:00 by jwe]
jwe
parents: 46
diff changeset
59 f-syl.h file-io.h g-builtins.h gripes.h help.h \
10
70f622a3d197 [project @ 1993-08-09 00:59:48 by jwe]
jwe
parents: 9
diff changeset
60 idx-vector.h input.h lex.h mappers.h missing-math.h octave.h \
9
c9d293a496cf [project @ 1993-08-08 03:55:11 by jwe]
jwe
parents: 2
diff changeset
61 octave-hist.h pager.h parse.h pr-output.h procstream.h \
c9d293a496cf [project @ 1993-08-08 03:55:11 by jwe]
jwe
parents: 2
diff changeset
62 sighandlers.h statdefs.h symtab.h sysdep.h t-builtins.h \
c9d293a496cf [project @ 1993-08-08 03:55:11 by jwe]
jwe
parents: 2
diff changeset
63 tree-base.h tree-const.h tree.h unwind-prot.h user-prefs.h \
c9d293a496cf [project @ 1993-08-08 03:55:11 by jwe]
jwe
parents: 2
diff changeset
64 utils.h variables.h version.h xdiv.h xpow.h SLStack.h Stack.h
2
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
65
36
7541831988d2 [project @ 1993-08-10 22:07:57 by jwe]
jwe
parents: 34
diff changeset
66 SOURCES = arith-ops.cc builtins.cc dynamic-ld.cc error.cc \
51
7806354a10d3 [project @ 1993-08-11 20:48:00 by jwe]
jwe
parents: 46
diff changeset
67 f-colloc.cc f-balance.cc f-dassl.cc f-det.cc f-eig.cc \
7806354a10d3 [project @ 1993-08-11 20:48:00 by jwe]
jwe
parents: 46
diff changeset
68 f-expm.cc f-fft.cc f-fsolve.cc f-fsqp.cc f-givens.cc \
7806354a10d3 [project @ 1993-08-11 20:48:00 by jwe]
jwe
parents: 46
diff changeset
69 f-hess.cc f-ifft.cc f-inv.cc f-lpsolve.cc f-lsode.cc f-lu.cc \
7806354a10d3 [project @ 1993-08-11 20:48:00 by jwe]
jwe
parents: 46
diff changeset
70 f-npsol.cc f-qpsol.cc f-qr.cc f-quad.cc f-qzval.cc f-rand.cc \
7806354a10d3 [project @ 1993-08-11 20:48:00 by jwe]
jwe
parents: 46
diff changeset
71 f-schur.cc f-svd.cc f-syl.cc file-io.cc g-builtins.cc \
7806354a10d3 [project @ 1993-08-11 20:48:00 by jwe]
jwe
parents: 46
diff changeset
72 gripes.cc help.cc idx-vector.cc input.cc lex.l mappers.cc \
7806354a10d3 [project @ 1993-08-11 20:48:00 by jwe]
jwe
parents: 46
diff changeset
73 octave.cc octave-hist.cc pager.cc parse.y pr-output.cc \
7806354a10d3 [project @ 1993-08-11 20:48:00 by jwe]
jwe
parents: 46
diff changeset
74 procstream.cc sighandlers.cc symtab.cc sysdep.cc \
7806354a10d3 [project @ 1993-08-11 20:48:00 by jwe]
jwe
parents: 46
diff changeset
75 t-builtins.cc tc-assign.cc tc-extras.cc tc-index.cc \
36
7541831988d2 [project @ 1993-08-10 22:07:57 by jwe]
jwe
parents: 34
diff changeset
76 tc-inlines.cc tree.cc tree-const.cc tree-plot.cc \
2
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
77 unwind-prot.cc user-prefs.cc utils.cc variables.cc xdiv.cc \
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
78 xpow.cc
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
79
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
80 DEP_SOURCES_1 = $(patsubst %.l, %.cc, $(SOURCES))
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
81 DEP_SOURCES = $(patsubst %.y, %.cc, $(DEP_SOURCES_1))
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
82 MAKEDEPS = $(patsubst %.cc, %.d, $(DEP_SOURCES))
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
83
17
ec4d93a11cfe [project @ 1993-08-10 20:09:03 by jwe]
jwe
parents: 10
diff changeset
84 DLD_OBJECTS = f-balance.o f-colloc.o f-dassl.o f-det.o f-eig.o \
51
7806354a10d3 [project @ 1993-08-11 20:48:00 by jwe]
jwe
parents: 46
diff changeset
85 f-expm.o f-fft.o f-fsolve.o f-fsqp.o f-givens.o f-hess.o \
7806354a10d3 [project @ 1993-08-11 20:48:00 by jwe]
jwe
parents: 46
diff changeset
86 f-ifft.o f-inv.o f-lpsolve.o f-lsode.o f-lu.o f-npsol.o \
7806354a10d3 [project @ 1993-08-11 20:48:00 by jwe]
jwe
parents: 46
diff changeset
87 f-qpsol.o f-qr.o f-quad.o f-qzval.o f-rand.o f-schur.o \
7806354a10d3 [project @ 1993-08-11 20:48:00 by jwe]
jwe
parents: 46
diff changeset
88 f-svd.o f-syl.o
2
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
89
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
90 OBJECTS = arith-ops.o builtins.o error.o file-io.o g-builtins.o \
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
91 gripes.o help.o idx-vector.o input.o lex.o mappers.o \
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
92 octave.o octave-hist.o pager.o parse.o pr-output.o \
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
93 procstream.o sighandlers.o symtab.o sysdep.o t-builtins.o \
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
94 tc-assign.o tc-extras.o tc-index.o tree.o tree-const.o \
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
95 tree-plot.o unwind-prot.o user-prefs.o utils.o variables.o \
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
96 xdiv.o xpow.o \
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
97 @DYNAMIC_LD_OBJ@
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
98
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
99 OCTAVE_LIBS = ../liboctave.a ../libcruft.a ../libreadline.a @LIBDLD@
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
100
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
101 DISTFILES = Makefile.in parse.cc lex.cc y.tab.h \
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
102 $(INCLUDES) $(SOURCES)
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
103
10
70f622a3d197 [project @ 1993-08-09 00:59:48 by jwe]
jwe
parents: 9
diff changeset
104 all: defaults.h octave
2
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
105 .PHONY: all
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
106
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
107 octave: $(DLD_OBJECTS) $(OBJECTS) $(OCTAVE_LIBS) $(LIBOBJS)
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
108 $(CXX) $(CPPFLAGS) $(ALL_CXXFLAGS) $(ALL_LDFLAGS) -o octave \
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
109 $(OBJECTS) @DLD_OBJECTS@ \
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
110 $(OCTAVE_LIBS) \
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
111 $(LIBOBJS) \
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
112 $(FLIBS) $(LEXLIB) -ltermcap -lm -lg++
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
113
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
114 check: all
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
115 .PHONY: check
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
116
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
117 install: all
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
118 if test -d $(bindir) ; then true ; else $(TOPDIR)/mkpath $(bindir) ; fi
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
119 rm -f $(bindir)/octave
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
120 $(INSTALL) octave $(bindir)/octave-$(version)
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
121 ln $(bindir)/octave-$(version) $(bindir)/octave
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
122 .PHONY: install
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
123
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
124 uninstall:
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
125 rm -f $(bindir)/octave
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
126 .PHONY: uninstall
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
127
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
128 tags: $(SOURCES)
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
129 ctags $(SOURCES)
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
130
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
131 TAGS: $(SOURCES)
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
132 etags $(SOURCES)
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
133
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
134 clean:
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
135 rm -f *.a *.o
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
136 .PHONY: clean
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
137
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
138 mostlyclean:
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
139 rm -f *.o
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
140 .PHONY: mostlyclean
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
141
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
142 distclean: clean
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
143 rm -f Makefile octave .fname *.d
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
144 .PHONY: distclean
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
145
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
146 realclean: distclean
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
147 rm -f tags TAGS y.tab.c y.tab.h yy.lex.c lex.cc parse.cc *.d
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
148 .PHONY: realclean
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
149
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
150 local-dist: parse.cc lex.cc
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
151 ln $(DISTFILES) ../`cat ../.fname`/src
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
152 rm -f parse.cc lex.cc y.tab.h
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
153 .PHONY: local-dist
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
154
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
155 dist: parse.cc lex.cc
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
156 ln $(DISTFILES) ../`cat ../.fname`/src
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
157 rm -f parse.cc lex.cc y.tab.h
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
158 .PHONY: dist
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
159
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
160 # Special rules -- these files need special things to be defined.
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
161
10
70f622a3d197 [project @ 1993-08-09 00:59:48 by jwe]
jwe
parents: 9
diff changeset
162 defaults.h: ../Makeconf defaults.h.in
70f622a3d197 [project @ 1993-08-09 00:59:48 by jwe]
jwe
parents: 9
diff changeset
163 @echo "Making defaults.h from defaults.h.in..."
25
1d4cfd89ebb6 [project @ 1993-08-10 20:38:39 by jwe]
jwe
parents: 24
diff changeset
164 @(sed < $(srcdir)/defaults.h.in > defaults.h.tmp \
27
c63068b25a63 [project @ 1993-08-10 21:05:36 by jwe]
jwe
parents: 25
diff changeset
165 -e 's;%DEFAULT_PAGER%;\"${DEFAULT_PAGER}\";' \
c63068b25a63 [project @ 1993-08-10 21:05:36 by jwe]
jwe
parents: 25
diff changeset
166 -e 's;%OCTAVE_HOME%;\"${prefix}\";')
10
70f622a3d197 [project @ 1993-08-09 00:59:48 by jwe]
jwe
parents: 9
diff changeset
167 @$(srcdir)/move-if-change defaults.h.tmp defaults.h
2
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
168
c0190df9885d [project @ 1993-08-08 01:16:43 by jwe]
jwe
parents:
diff changeset
169 include $(MAKEDEPS)