- libginac.la no longer includes a dependency on libreadline
[ginac.git] / ginsh / Makefile.in
1 # Makefile.in generated automatically by automake 1.3 from Makefile.am
2
3 # Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
4 # This Makefile.in is free software; the Free Software Foundation
5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
7
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11 # PARTICULAR PURPOSE.
12
13
14 SHELL = /bin/sh
15
16 srcdir = @srcdir@
17 top_srcdir = @top_srcdir@
18 VPATH = @srcdir@
19 prefix = @prefix@
20 exec_prefix = @exec_prefix@
21
22 bindir = @bindir@
23 sbindir = @sbindir@
24 libexecdir = @libexecdir@
25 datadir = @datadir@
26 sysconfdir = @sysconfdir@
27 sharedstatedir = @sharedstatedir@
28 localstatedir = @localstatedir@
29 libdir = @libdir@
30 infodir = @infodir@
31 mandir = @mandir@
32 includedir = @includedir@
33 oldincludedir = /usr/include
34
35 DISTDIR =
36
37 pkgdatadir = $(datadir)/@PACKAGE@
38 pkglibdir = $(libdir)/@PACKAGE@
39 pkgincludedir = $(includedir)/@PACKAGE@
40
41 top_builddir = ..
42
43 ACLOCAL = @ACLOCAL@
44 AUTOCONF = @AUTOCONF@
45 AUTOMAKE = @AUTOMAKE@
46 AUTOHEADER = @AUTOHEADER@
47
48 INSTALL = @INSTALL@
49 INSTALL_PROGRAM = @INSTALL_PROGRAM@
50 INSTALL_DATA = @INSTALL_DATA@
51 INSTALL_SCRIPT = @INSTALL_SCRIPT@
52 transform = @program_transform_name@
53
54 NORMAL_INSTALL = :
55 PRE_INSTALL = :
56 POST_INSTALL = :
57 NORMAL_UNINSTALL = :
58 PRE_UNINSTALL = :
59 POST_UNINSTALL = :
60 host_alias = @host_alias@
61 host_triplet = @host@
62 CC = @CC@
63 CXX = @CXX@
64 CXXCPP = @CXXCPP@
65 DOXYGEN = @DOXYGEN@
66 DVIPS = @DVIPS@
67 FIG2DEV = @FIG2DEV@
68 GINACLIB_BINARY_AGE = @GINACLIB_BINARY_AGE@
69 GINACLIB_INTERFACE_AGE = @GINACLIB_INTERFACE_AGE@
70 GINACLIB_MAJOR_VERSION = @GINACLIB_MAJOR_VERSION@
71 GINACLIB_MICRO_VERSION = @GINACLIB_MICRO_VERSION@
72 GINACLIB_MINOR_VERSION = @GINACLIB_MINOR_VERSION@
73 GINACLIB_VERSION = @GINACLIB_VERSION@
74 GINSH_LIBS = @GINSH_LIBS@
75 JADE = @JADE@
76 JADETEX = @JADETEX@
77 LATEX = @LATEX@
78 LD = @LD@
79 LEX = @LEX@
80 LIBTOOL = @LIBTOOL@
81 LN_S = @LN_S@
82 LT_AGE = @LT_AGE@
83 LT_CURRENT = @LT_CURRENT@
84 LT_RELEASE = @LT_RELEASE@
85 LT_REVISION = @LT_REVISION@
86 MAINT = @MAINT@
87 MAKEINDEX = @MAKEINDEX@
88 MAKEINFO = @MAKEINFO@
89 NM = @NM@
90 PACKAGE = @PACKAGE@
91 RANLIB = @RANLIB@
92 REFERENCE_TARGETS = @REFERENCE_TARGETS@
93 TUTORIAL_TARGETS = @TUTORIAL_TARGETS@
94 VERSION = @VERSION@
95 YACC = @YACC@
96
97 bin_PROGRAMS = ginsh
98 ginsh_SOURCES = ginsh_parser.yy ginsh_lexer.ll ginsh.h
99 ginsh_LDADD = ../ginac/libginac.la $(GINSH_LIBS)
100 man_MANS = ginsh.1
101 YFLAGS = -d
102 EXTRA_DIST = ginsh_parser.h
103 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
104 CONFIG_HEADER = ../config.h
105 CONFIG_CLEAN_FILES = 
106 PROGRAMS =  $(bin_PROGRAMS)
107
108
109 DEFS = @DEFS@ -I. -I$(srcdir) -I..
110 CPPFLAGS = @CPPFLAGS@
111 LDFLAGS = @LDFLAGS@
112 LIBS = @LIBS@
113 ginsh_OBJECTS =  ginsh_parser.o ginsh_lexer.o
114 ginsh_DEPENDENCIES =  ../ginac/libginac.la
115 ginsh_LDFLAGS = 
116 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
117 LEXLIB = @LEXLIB@
118 CXXFLAGS = @CXXFLAGS@
119 CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS)
120 LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS)
121 CXXLINK = $(LIBTOOL) --mode=link $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@
122 CFLAGS = @CFLAGS@
123 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
124 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
125 LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@
126 man1dir = $(mandir)/man1
127 MANS = $(man_MANS)
128
129 NROFF = nroff
130 DIST_COMMON =  Makefile.am Makefile.in ginsh_lexer.cc ginsh_parser.cc
131
132
133 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
134
135 TAR = tar
136 GZIP = --best
137 DEP_FILES =  .deps/ginsh_lexer.P .deps/ginsh_parser.P
138 CXXMKDEP = $(CXX) -M $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS)
139 SOURCES = $(ginsh_SOURCES)
140 OBJECTS = $(ginsh_OBJECTS)
141
142 all: Makefile $(PROGRAMS) $(MANS)
143
144 .SUFFIXES:
145 .SUFFIXES: .S .c .cc .ll .lo .o .s .yy
146 $(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
147         cd $(top_srcdir) && $(AUTOMAKE) --gnu ginsh/Makefile
148
149 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
150         cd $(top_builddir) \
151           && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
152
153
154 mostlyclean-binPROGRAMS:
155
156 clean-binPROGRAMS:
157         -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
158
159 distclean-binPROGRAMS:
160
161 maintainer-clean-binPROGRAMS:
162
163 install-binPROGRAMS: $(bin_PROGRAMS)
164         @$(NORMAL_INSTALL)
165         $(mkinstalldirs) $(DESTDIR)$(bindir)
166         @list='$(bin_PROGRAMS)'; for p in $$list; do \
167           if test -f $$p; then \
168             echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
169             $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
170           else :; fi; \
171         done
172
173 uninstall-binPROGRAMS:
174         @$(NORMAL_UNINSTALL)
175         list='$(bin_PROGRAMS)'; for p in $$list; do \
176           rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
177         done
178
179 .s.o:
180         $(COMPILE) -c $<
181
182 .S.o:
183         $(COMPILE) -c $<
184
185 mostlyclean-compile:
186         -rm -f *.o core *.core
187
188 clean-compile:
189
190 distclean-compile:
191         -rm -f *.tab.c
192
193 maintainer-clean-compile:
194
195 .s.lo:
196         $(LIBTOOL) --mode=compile $(COMPILE) -c $<
197
198 .S.lo:
199         $(LIBTOOL) --mode=compile $(COMPILE) -c $<
200
201 mostlyclean-libtool:
202         -rm -f *.lo
203
204 clean-libtool:
205         -rm -rf .libs _libs
206
207 distclean-libtool:
208
209 maintainer-clean-libtool:
210
211 ginsh: $(ginsh_OBJECTS) $(ginsh_DEPENDENCIES)
212         @rm -f ginsh
213         $(CXXLINK) $(ginsh_LDFLAGS) $(ginsh_OBJECTS) $(ginsh_LDADD) $(LIBS)
214 .yy.cc:
215         $(YACC) $(YFLAGS) $< && mv y.tab.c $*.cc
216         if test -f y.tab.h; then \
217         if cmp -s y.tab.h $*.h; then rm -f y.tab.h; else mv y.tab.h $*.h; fi; \
218         else :; fi
219 ginsh_parser.hh: ginsh_parser.cc
220
221 .ll.cc:
222         $(LEX) $(LFLAGS) $< && mv $(LEX_OUTPUT_ROOT).c $@
223 .cc.o:
224         $(CXXCOMPILE) -c $<
225 .cc.lo:
226         $(LTCXXCOMPILE) -c $<
227
228 install-man1:
229         $(mkinstalldirs) $(DESTDIR)$(man1dir)
230         @list='$(man1_MANS)'; \
231         l2='$(man_MANS)'; for i in $$l2; do \
232           case "$$i" in \
233             *.1*) list="$$list $$i" ;; \
234           esac; \
235         done; \
236         for i in $$list; do \
237           if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
238           else file=$$i; fi; \
239           ext=`echo $$i | sed -e 's/^.*\\.//'`; \
240           inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
241           inst=`echo $$inst | sed '$(transform)'`.$$ext; \
242           echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
243           $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
244         done
245
246 uninstall-man1:
247         @list='$(man1_MANS)'; \
248         l2='$(man_MANS)'; for i in $$l2; do \
249           case "$$i" in \
250             *.1*) list="$$list $$i" ;; \
251           esac; \
252         done; \
253         for i in $$list; do \
254           ext=`echo $$i | sed -e 's/^.*\\.//'`; \
255           inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
256           inst=`echo $$inst | sed '$(transform)'`.$$ext; \
257           echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
258           rm -f $(DESTDIR)$(man1dir)/$$inst; \
259         done
260 install-man: $(MANS)
261         @$(NORMAL_INSTALL)
262         $(MAKE) install-man1
263 uninstall-man:
264         @$(NORMAL_UNINSTALL)
265         $(MAKE) uninstall-man1
266
267 tags: TAGS
268
269 ID: $(HEADERS) $(SOURCES) $(LISP)
270         here=`pwd` && cd $(srcdir) \
271           && mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
272
273 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
274         tags=; \
275         here=`pwd`; \
276         list='$(SOURCES) $(HEADERS)'; \
277         unique=`for i in $$list; do echo $$i; done | \
278           awk '    { files[$$0] = 1; } \
279                END { for (i in files) print i; }'`; \
280         test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
281           || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
282
283 mostlyclean-tags:
284
285 clean-tags:
286
287 distclean-tags:
288         -rm -f TAGS ID
289
290 maintainer-clean-tags:
291
292 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
293
294 subdir = ginsh
295
296 distdir: $(DISTFILES)
297         here=`cd $(top_builddir) && pwd`; \
298         top_distdir=`cd $(top_distdir) && pwd`; \
299         distdir=`cd $(distdir) && pwd`; \
300         cd $(top_srcdir) \
301           && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu ginsh/Makefile
302         @for file in $(DISTFILES); do \
303           d=$(srcdir); \
304           test -f $(distdir)/$$file \
305           || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
306           || cp -p $$d/$$file $(distdir)/$$file; \
307         done
308
309 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
310
311 -include $(DEP_FILES)
312
313 mostlyclean-depend:
314
315 clean-depend:
316
317 distclean-depend:
318
319 maintainer-clean-depend:
320         -rm -rf .deps
321
322 %.o: %.c
323         @echo '$(COMPILE) -c $<'; \
324         $(COMPILE) -Wp,-MD,.deps/$(*F).P -c $<
325
326 %.lo: %.c
327         @echo '$(LTCOMPILE) -c $<'; \
328         $(LTCOMPILE) -Wp,-MD,.deps/$(*F).p -c $<
329         @-sed -e 's/^\([^:]*\)\.o:/\1.lo \1.o:/' \
330           < .deps/$(*F).p > .deps/$(*F).P
331         @-rm -f .deps/$(*F).p
332
333 %.o: %.cc
334         @echo '$(CXXCOMPILE) -c $<'; \
335         $(CXXCOMPILE) -Wp,-MD,.deps/$(*F).P -c $<
336
337 %.lo: %.cc
338         @echo '$(LTCXXCOMPILE) -c $<'; \
339         $(LTCXXCOMPILE) -Wp,-MD,.deps/$(*F).p -c $<
340         @-sed -e 's/^\([^:]*\)\.o:/\1.lo \1.o:/' \
341           < .deps/$(*F).p > .deps/$(*F).P
342         @-rm -f .deps/$(*F).p
343 info:
344 dvi:
345 check: all
346         $(MAKE)
347 installcheck:
348 install-exec: install-binPROGRAMS
349         @$(NORMAL_INSTALL)
350
351 install-data: install-man
352         @$(NORMAL_INSTALL)
353
354 install: install-exec install-data all
355         @:
356
357 uninstall: uninstall-binPROGRAMS uninstall-man
358
359 install-strip:
360         $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
361 installdirs:
362         $(mkinstalldirs)  $(DATADIR)$(bindir) $(DESTDIR)$(mandir)/man1
363
364
365 mostlyclean-generic:
366         -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
367
368 clean-generic:
369         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
370
371 distclean-generic:
372         -rm -f Makefile $(DISTCLEANFILES)
373         -rm -f config.cache config.log stamp-h stamp-h[0-9]*
374         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
375
376 maintainer-clean-generic:
377         -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
378         -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
379 mostlyclean:  mostlyclean-binPROGRAMS mostlyclean-compile \
380                 mostlyclean-libtool mostlyclean-tags mostlyclean-depend \
381                 mostlyclean-generic
382
383 clean:  clean-binPROGRAMS clean-compile clean-libtool clean-tags \
384                 clean-depend clean-generic mostlyclean
385
386 distclean:  distclean-binPROGRAMS distclean-compile distclean-libtool \
387                 distclean-tags distclean-depend distclean-generic clean
388         -rm -f config.status
389         -rm -f libtool
390
391 maintainer-clean:  maintainer-clean-binPROGRAMS maintainer-clean-compile \
392                 maintainer-clean-libtool maintainer-clean-tags \
393                 maintainer-clean-depend maintainer-clean-generic \
394                 distclean
395         @echo "This command is intended for maintainers to use;"
396         @echo "it deletes files that may require special tools to rebuild."
397
398 .PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
399 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
400 mostlyclean-compile distclean-compile clean-compile \
401 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
402 clean-libtool maintainer-clean-libtool install-man1 uninstall-man1 \
403 install-man uninstall-man tags mostlyclean-tags distclean-tags \
404 clean-tags maintainer-clean-tags distdir mostlyclean-depend \
405 distclean-depend clean-depend maintainer-clean-depend info dvi \
406 installcheck install-exec install-data install uninstall all \
407 installdirs mostlyclean-generic distclean-generic clean-generic \
408 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
409
410
411 # Tell versions [3.59,3.63) of GNU make to not export all variables.
412 # Otherwise a system limit (for SysV at least) may be exceeded.
413 .NOEXPORT: