1 # Makefile.in generated automatically by automake 1.4 from Makefile.am
3 # Copyright (C) 1994, 1995-8, 1999 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.
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
17 top_srcdir = @top_srcdir@
20 exec_prefix = @exec_prefix@
24 libexecdir = @libexecdir@
26 sysconfdir = @sysconfdir@
27 sharedstatedir = @sharedstatedir@
28 localstatedir = @localstatedir@
32 includedir = @includedir@
33 oldincludedir = /usr/include
37 pkgdatadir = $(datadir)/@PACKAGE@
38 pkglibdir = $(libdir)/@PACKAGE@
39 pkgincludedir = $(includedir)/@PACKAGE@
46 AUTOHEADER = @AUTOHEADER@
49 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
50 INSTALL_DATA = @INSTALL_DATA@
51 INSTALL_SCRIPT = @INSTALL_SCRIPT@
52 transform = @program_transform_name@
60 host_alias = @host_alias@
62 ARCHIVE_AGE = @ARCHIVE_AGE@
63 ARCHIVE_VERSION = @ARCHIVE_VERSION@
73 GINACLIB_BINARY_AGE = @GINACLIB_BINARY_AGE@
74 GINACLIB_CPPFLAGS = @GINACLIB_CPPFLAGS@
75 GINACLIB_INTERFACE_AGE = @GINACLIB_INTERFACE_AGE@
76 GINACLIB_LIBS = @GINACLIB_LIBS@
77 GINACLIB_MAJOR_VERSION = @GINACLIB_MAJOR_VERSION@
78 GINACLIB_MICRO_VERSION = @GINACLIB_MICRO_VERSION@
79 GINACLIB_MINOR_VERSION = @GINACLIB_MINOR_VERSION@
80 GINACLIB_VERSION = @GINACLIB_VERSION@
81 GINSH_LIBS = @GINSH_LIBS@
88 LT_CURRENT = @LT_CURRENT@
89 LT_RELEASE = @LT_RELEASE@
90 LT_REVISION = @LT_REVISION@
93 MAKEINDEX = @MAKEINDEX@
99 REFERENCE_TARGETS = @REFERENCE_TARGETS@
100 TUTORIAL_TARGETS = @TUTORIAL_TARGETS@
105 ginsh_SOURCES = ginsh_parser.yy ginsh_lexer.ll ginsh.h
106 ginsh_LDADD = ../ginac/libginac.la $(GINSH_LIBS)
107 INCLUDES = -I$(srcdir)/../ginac
110 EXTRA_DIST = $(man_MANS) ginsh_parser.h ginsh_fcn_help.sed ginsh_op_help.sed
111 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
112 CONFIG_HEADER = ../config.h
114 PROGRAMS = $(bin_PROGRAMS)
117 DEFS = @DEFS@ -I. -I$(srcdir) -I..
118 CPPFLAGS = @CPPFLAGS@
121 ginsh_OBJECTS = ginsh_parser.o ginsh_lexer.o
122 ginsh_DEPENDENCIES = ../ginac/libginac.la
124 CXXFLAGS = @CXXFLAGS@
125 CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
126 LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
128 CXXLINK = $(LIBTOOL) --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@
129 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
132 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
133 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
135 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
136 man1dir = $(mandir)/man1
140 DIST_COMMON = Makefile.am Makefile.in ginsh_lexer.cc ginsh_parser.cc
143 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
147 DEP_FILES = .deps/ginsh_lexer.P .deps/ginsh_parser.P
148 SOURCES = $(ginsh_SOURCES)
149 OBJECTS = $(ginsh_OBJECTS)
153 .SUFFIXES: .S .c .cc .ll .lo .o .s .yy
154 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
155 cd $(top_srcdir) && $(AUTOMAKE) --gnu ginsh/Makefile
157 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
159 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
162 mostlyclean-binPROGRAMS:
165 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
167 distclean-binPROGRAMS:
169 maintainer-clean-binPROGRAMS:
171 install-binPROGRAMS: $(bin_PROGRAMS)
173 $(mkinstalldirs) $(DESTDIR)$(bindir)
174 @list='$(bin_PROGRAMS)'; for p in $$list; do \
175 if test -f $$p; then \
176 echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
177 $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
181 uninstall-binPROGRAMS:
183 list='$(bin_PROGRAMS)'; for p in $$list; do \
184 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
194 -rm -f *.o core *.core
201 maintainer-clean-compile:
204 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
207 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
217 maintainer-clean-libtool:
219 ginsh: $(ginsh_OBJECTS) $(ginsh_DEPENDENCIES)
221 $(CXXLINK) $(ginsh_LDFLAGS) $(ginsh_OBJECTS) $(ginsh_LDADD) $(LIBS)
225 $(LTCXXCOMPILE) -c $<
227 $(LEX) $(AM_LFLAGS) $(LFLAGS) $< && mv $(LEX_OUTPUT_ROOT).c $@
229 $(YACC) $(AM_YFLAGS) $(YFLAGS) $< && mv y.tab.c $*.cc
230 if test -f y.tab.h; then \
231 if cmp -s y.tab.h $*.h; then rm -f y.tab.h; else mv y.tab.h $*.h; fi; \
233 ginsh_parser.hh: ginsh_parser.cc
237 $(mkinstalldirs) $(DESTDIR)$(man1dir)
238 @list='$(man1_MANS)'; \
239 l2='$(man_MANS)'; for i in $$l2; do \
241 *.1*) list="$$list $$i" ;; \
244 for i in $$list; do \
245 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
247 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
248 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
249 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
250 echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
251 $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
255 @list='$(man1_MANS)'; \
256 l2='$(man_MANS)'; for i in $$l2; do \
258 *.1*) list="$$list $$i" ;; \
261 for i in $$list; do \
262 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
263 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
264 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
265 echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
266 rm -f $(DESTDIR)$(man1dir)/$$inst; \
270 $(MAKE) $(AM_MAKEFLAGS) install-man1
273 $(MAKE) $(AM_MAKEFLAGS) uninstall-man1
277 ID: $(HEADERS) $(SOURCES) $(LISP)
278 list='$(SOURCES) $(HEADERS)'; \
279 unique=`for i in $$list; do echo $$i; done | \
280 awk ' { files[$$0] = 1; } \
281 END { for (i in files) print i; }'`; \
282 here=`pwd` && cd $(srcdir) \
283 && mkid -f$$here/ID $$unique $(LISP)
285 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
288 list='$(SOURCES) $(HEADERS)'; \
289 unique=`for i in $$list; do echo $$i; done | \
290 awk ' { files[$$0] = 1; } \
291 END { for (i in files) print i; }'`; \
292 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
293 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
302 maintainer-clean-tags:
304 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
308 distdir: $(DISTFILES)
309 here=`cd $(top_builddir) && pwd`; \
310 top_distdir=`cd $(top_distdir) && pwd`; \
311 distdir=`cd $(distdir) && pwd`; \
313 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu ginsh/Makefile
314 @for file in $(DISTFILES); do \
316 if test -d $$d/$$file; then \
317 cp -pr $$/$$file $(distdir)/$$file; \
319 test -f $(distdir)/$$file \
320 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
321 || cp -p $$d/$$file $(distdir)/$$file || :; \
325 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
327 -include $(DEP_FILES)
336 maintainer-clean-depend:
339 @echo '$(COMPILE) -c $<'; \
340 $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
341 @-cp .deps/$(*F).pp .deps/$(*F).P; \
342 tr ' ' '\012' < .deps/$(*F).pp \
343 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
348 @echo '$(LTCOMPILE) -c $<'; \
349 $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
350 @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
351 < .deps/$(*F).pp > .deps/$(*F).P; \
352 tr ' ' '\012' < .deps/$(*F).pp \
353 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
358 @echo '$(CXXCOMPILE) -c $<'; \
359 $(CXXCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
360 @-cp .deps/$(*F).pp .deps/$(*F).P; \
361 tr ' ' '\012' < .deps/$(*F).pp \
362 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
367 @echo '$(LTCXXCOMPILE) -c $<'; \
368 $(LTCXXCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
369 @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
370 < .deps/$(*F).pp > .deps/$(*F).P; \
371 tr ' ' '\012' < .deps/$(*F).pp \
372 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
382 installcheck: installcheck-am
383 install-exec-am: install-binPROGRAMS
384 install-exec: install-exec-am
386 install-data-am: install-man
387 install-data: install-data-am
390 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
392 uninstall-am: uninstall-binPROGRAMS uninstall-man
393 uninstall: uninstall-am
394 all-am: Makefile $(PROGRAMS) $(MANS)
397 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
399 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1
407 -rm -f Makefile $(CONFIG_CLEAN_FILES)
408 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
410 maintainer-clean-generic:
411 -test -z "ginsh_lexerllginsh_parserhhginsh_parsercc" || rm -f ginsh_lexerll ginsh_parserhh ginsh_parsercc
412 mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \
413 mostlyclean-libtool mostlyclean-tags mostlyclean-depend \
416 mostlyclean: mostlyclean-am
418 clean-am: clean-binPROGRAMS clean-compile clean-libtool clean-tags \
419 clean-depend clean-generic mostlyclean-am
423 distclean-am: distclean-binPROGRAMS distclean-compile distclean-libtool \
424 distclean-tags distclean-depend distclean-generic \
428 distclean: distclean-am
430 maintainer-clean-am: maintainer-clean-binPROGRAMS \
431 maintainer-clean-compile maintainer-clean-libtool \
432 maintainer-clean-tags maintainer-clean-depend \
433 maintainer-clean-generic distclean-am
434 @echo "This command is intended for maintainers to use;"
435 @echo "it deletes files that may require special tools to rebuild."
437 maintainer-clean: maintainer-clean-am
439 .PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
440 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
441 mostlyclean-compile distclean-compile clean-compile \
442 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
443 clean-libtool maintainer-clean-libtool install-man1 uninstall-man1 \
444 install-man uninstall-man tags mostlyclean-tags distclean-tags \
445 clean-tags maintainer-clean-tags distdir mostlyclean-depend \
446 distclean-depend clean-depend maintainer-clean-depend info-am info \
447 dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
448 install-exec install-data-am install-data install-am install \
449 uninstall-am uninstall all-redirect all-am all installdirs \
450 mostlyclean-generic distclean-generic clean-generic \
451 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
454 # files created by sed scripts
455 ginsh_fcn_help.c: ginsh.1 ginsh_fcn_help.sed
456 sed -n -f ginsh_fcn_help.sed <$< >$@
458 ginsh_op_help.c: ginsh.1 ginsh_op_help.sed
459 sed -n -f ginsh_op_help.sed <$< >$@
461 ginsh_parser.o: ginsh_fcn_help.c ginsh_op_help.c
463 # Tell versions [3.59,3.63) of GNU make to not export all variables.
464 # Otherwise a system limit (for SysV at least) may be exceeded.