372546f16557cb22694f8ccaa03011d14d924442
[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 JADE = @JADE@
75 JADETEX = @JADETEX@
76 LATEX = @LATEX@
77 LD = @LD@
78 LEX = @LEX@
79 LIBTOOL = @LIBTOOL@
80 LN_S = @LN_S@
81 LT_AGE = @LT_AGE@
82 LT_CURRENT = @LT_CURRENT@
83 LT_RELEASE = @LT_RELEASE@
84 LT_REVISION = @LT_REVISION@
85 MAINT = @MAINT@
86 MAKEINDEX = @MAKEINDEX@
87 MAKEINFO = @MAKEINFO@
88 NM = @NM@
89 PACKAGE = @PACKAGE@
90 RANLIB = @RANLIB@
91 REFERENCE_TARGETS = @REFERENCE_TARGETS@
92 TUTORIAL_TARGETS = @TUTORIAL_TARGETS@
93 VERSION = @VERSION@
94 YACC = @YACC@
95
96 bin_PROGRAMS = ginsh
97 ginsh_SOURCES = ginsh_parser.yy ginsh_lexer.ll ginsh.h
98 ginsh_LDADD = ../ginac/libginac.la
99 man_MANS = ginsh.1
100 YFLAGS = -d
101 EXTRA_DIST = ginsh_parser.h
102 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
103 CONFIG_HEADER = ../config.h
104 CONFIG_CLEAN_FILES = 
105 PROGRAMS =  $(bin_PROGRAMS)
106
107
108 DEFS = @DEFS@ -I. -I$(srcdir) -I..
109 CPPFLAGS = @CPPFLAGS@
110 LDFLAGS = @LDFLAGS@
111 LIBS = @LIBS@
112 ginsh_OBJECTS =  ginsh_parser.o ginsh_lexer.o
113 ginsh_DEPENDENCIES =  ../ginac/libginac.la
114 ginsh_LDFLAGS = 
115 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
116 LEXLIB = @LEXLIB@
117 CXXFLAGS = @CXXFLAGS@
118 CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS)
119 LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS)
120 CXXLINK = $(LIBTOOL) --mode=link $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@
121 CFLAGS = @CFLAGS@
122 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
123 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
124 LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@
125 man1dir = $(mandir)/man1
126 MANS = $(man_MANS)
127
128 NROFF = nroff
129 DIST_COMMON =  Makefile.am Makefile.in ginsh_lexer.cc ginsh_parser.cc
130
131
132 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
133
134 TAR = tar
135 GZIP = --best
136 DEP_FILES =  .deps/ginsh_lexer.P .deps/ginsh_parser.P
137 CXXMKDEP = $(CXX) -M $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS)
138 SOURCES = $(ginsh_SOURCES)
139 OBJECTS = $(ginsh_OBJECTS)
140
141 all: Makefile $(PROGRAMS) $(MANS)
142
143 .SUFFIXES:
144 .SUFFIXES: .S .c .cc .ll .lo .o .s .yy
145 $(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
146         cd $(top_srcdir) && $(AUTOMAKE) --gnu ginsh/Makefile
147
148 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
149         cd $(top_builddir) \
150           && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
151
152
153 mostlyclean-binPROGRAMS:
154
155 clean-binPROGRAMS:
156         -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
157
158 distclean-binPROGRAMS:
159
160 maintainer-clean-binPROGRAMS:
161
162 install-binPROGRAMS: $(bin_PROGRAMS)
163         @$(NORMAL_INSTALL)
164         $(mkinstalldirs) $(DESTDIR)$(bindir)
165         @list='$(bin_PROGRAMS)'; for p in $$list; do \
166           if test -f $$p; then \
167             echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
168             $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
169           else :; fi; \
170         done
171
172 uninstall-binPROGRAMS:
173         @$(NORMAL_UNINSTALL)
174         list='$(bin_PROGRAMS)'; for p in $$list; do \
175           rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
176         done
177
178 .s.o:
179         $(COMPILE) -c $<
180
181 .S.o:
182         $(COMPILE) -c $<
183
184 mostlyclean-compile:
185         -rm -f *.o core *.core
186
187 clean-compile:
188
189 distclean-compile:
190         -rm -f *.tab.c
191
192 maintainer-clean-compile:
193
194 .s.lo:
195         $(LIBTOOL) --mode=compile $(COMPILE) -c $<
196
197 .S.lo:
198         $(LIBTOOL) --mode=compile $(COMPILE) -c $<
199
200 mostlyclean-libtool:
201         -rm -f *.lo
202
203 clean-libtool:
204         -rm -rf .libs _libs
205
206 distclean-libtool:
207
208 maintainer-clean-libtool:
209
210 ginsh: $(ginsh_OBJECTS) $(ginsh_DEPENDENCIES)
211         @rm -f ginsh
212         $(CXXLINK) $(ginsh_LDFLAGS) $(ginsh_OBJECTS) $(ginsh_LDADD) $(LIBS)
213 .yy.cc:
214         $(YACC) $(YFLAGS) $< && mv y.tab.c $*.cc
215         if test -f y.tab.h; then \
216         if cmp -s y.tab.h $*.h; then rm -f y.tab.h; else mv y.tab.h $*.h; fi; \
217         else :; fi
218 ginsh_parser.hh: ginsh_parser.cc
219
220 .ll.cc:
221         $(LEX) $(LFLAGS) $< && mv $(LEX_OUTPUT_ROOT).c $@
222 .cc.o:
223         $(CXXCOMPILE) -c $<
224 .cc.lo:
225         $(LTCXXCOMPILE) -c $<
226
227 install-man1:
228         $(mkinstalldirs) $(DESTDIR)$(man1dir)
229         @list='$(man1_MANS)'; \
230         l2='$(man_MANS)'; for i in $$l2; do \
231           case "$$i" in \
232             *.1*) list="$$list $$i" ;; \
233           esac; \
234         done; \
235         for i in $$list; do \
236           if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
237           else file=$$i; fi; \
238           ext=`echo $$i | sed -e 's/^.*\\.//'`; \
239           inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
240           inst=`echo $$inst | sed '$(transform)'`.$$ext; \
241           echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
242           $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
243         done
244
245 uninstall-man1:
246         @list='$(man1_MANS)'; \
247         l2='$(man_MANS)'; for i in $$l2; do \
248           case "$$i" in \
249             *.1*) list="$$list $$i" ;; \
250           esac; \
251         done; \
252         for i in $$list; do \
253           ext=`echo $$i | sed -e 's/^.*\\.//'`; \
254           inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
255           inst=`echo $$inst | sed '$(transform)'`.$$ext; \
256           echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
257           rm -f $(DESTDIR)$(man1dir)/$$inst; \
258         done
259 install-man: $(MANS)
260         @$(NORMAL_INSTALL)
261         $(MAKE) install-man1
262 uninstall-man:
263         @$(NORMAL_UNINSTALL)
264         $(MAKE) uninstall-man1
265
266 tags: TAGS
267
268 ID: $(HEADERS) $(SOURCES) $(LISP)
269         here=`pwd` && cd $(srcdir) \
270           && mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
271
272 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
273         tags=; \
274         here=`pwd`; \
275         list='$(SOURCES) $(HEADERS)'; \
276         unique=`for i in $$list; do echo $$i; done | \
277           awk '    { files[$$0] = 1; } \
278                END { for (i in files) print i; }'`; \
279         test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
280           || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
281
282 mostlyclean-tags:
283
284 clean-tags:
285
286 distclean-tags:
287         -rm -f TAGS ID
288
289 maintainer-clean-tags:
290
291 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
292
293 subdir = ginsh
294
295 distdir: $(DISTFILES)
296         here=`cd $(top_builddir) && pwd`; \
297         top_distdir=`cd $(top_distdir) && pwd`; \
298         distdir=`cd $(distdir) && pwd`; \
299         cd $(top_srcdir) \
300           && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu ginsh/Makefile
301         @for file in $(DISTFILES); do \
302           d=$(srcdir); \
303           test -f $(distdir)/$$file \
304           || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
305           || cp -p $$d/$$file $(distdir)/$$file; \
306         done
307
308 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
309
310 -include $(DEP_FILES)
311
312 mostlyclean-depend:
313
314 clean-depend:
315
316 distclean-depend:
317
318 maintainer-clean-depend:
319         -rm -rf .deps
320
321 %.o: %.c
322         @echo '$(COMPILE) -c $<'; \
323         $(COMPILE) -Wp,-MD,.deps/$(*F).P -c $<
324
325 %.lo: %.c
326         @echo '$(LTCOMPILE) -c $<'; \
327         $(LTCOMPILE) -Wp,-MD,.deps/$(*F).p -c $<
328         @-sed -e 's/^\([^:]*\)\.o:/\1.lo \1.o:/' \
329           < .deps/$(*F).p > .deps/$(*F).P
330         @-rm -f .deps/$(*F).p
331
332 %.o: %.cc
333         @echo '$(CXXCOMPILE) -c $<'; \
334         $(CXXCOMPILE) -Wp,-MD,.deps/$(*F).P -c $<
335
336 %.lo: %.cc
337         @echo '$(LTCXXCOMPILE) -c $<'; \
338         $(LTCXXCOMPILE) -Wp,-MD,.deps/$(*F).p -c $<
339         @-sed -e 's/^\([^:]*\)\.o:/\1.lo \1.o:/' \
340           < .deps/$(*F).p > .deps/$(*F).P
341         @-rm -f .deps/$(*F).p
342 info:
343 dvi:
344 check: all
345         $(MAKE)
346 installcheck:
347 install-exec: install-binPROGRAMS
348         @$(NORMAL_INSTALL)
349
350 install-data: install-man
351         @$(NORMAL_INSTALL)
352
353 install: install-exec install-data all
354         @:
355
356 uninstall: uninstall-binPROGRAMS uninstall-man
357
358 install-strip:
359         $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
360 installdirs:
361         $(mkinstalldirs)  $(DATADIR)$(bindir) $(DESTDIR)$(mandir)/man1
362
363
364 mostlyclean-generic:
365         -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
366
367 clean-generic:
368         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
369
370 distclean-generic:
371         -rm -f Makefile $(DISTCLEANFILES)
372         -rm -f config.cache config.log stamp-h stamp-h[0-9]*
373         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
374
375 maintainer-clean-generic:
376         -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
377         -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
378 mostlyclean:  mostlyclean-binPROGRAMS mostlyclean-compile \
379                 mostlyclean-libtool mostlyclean-tags mostlyclean-depend \
380                 mostlyclean-generic
381
382 clean:  clean-binPROGRAMS clean-compile clean-libtool clean-tags \
383                 clean-depend clean-generic mostlyclean
384
385 distclean:  distclean-binPROGRAMS distclean-compile distclean-libtool \
386                 distclean-tags distclean-depend distclean-generic clean
387         -rm -f config.status
388         -rm -f libtool
389
390 maintainer-clean:  maintainer-clean-binPROGRAMS maintainer-clean-compile \
391                 maintainer-clean-libtool maintainer-clean-tags \
392                 maintainer-clean-depend maintainer-clean-generic \
393                 distclean
394         @echo "This command is intended for maintainers to use;"
395         @echo "it deletes files that may require special tools to rebuild."
396
397 .PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
398 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
399 mostlyclean-compile distclean-compile clean-compile \
400 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
401 clean-libtool maintainer-clean-libtool install-man1 uninstall-man1 \
402 install-man uninstall-man tags mostlyclean-tags distclean-tags \
403 clean-tags maintainer-clean-tags distdir mostlyclean-depend \
404 distclean-depend clean-depend maintainer-clean-depend info dvi \
405 installcheck install-exec install-data install uninstall all \
406 installdirs mostlyclean-generic distclean-generic clean-generic \
407 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
408
409
410 # Tell versions [3.59,3.63) of GNU make to not export all variables.
411 # Otherwise a system limit (for SysV at least) may be exceeded.
412 .NOEXPORT: