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