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@
67 CINTSYSDIR = @CINTSYSDIR@
74 GINACCINTDIR = @GINACCINTDIR@
75 GINACLIB_BINARY_AGE = @GINACLIB_BINARY_AGE@
76 GINACLIB_CPPFLAGS = @GINACLIB_CPPFLAGS@
77 GINACLIB_INTERFACE_AGE = @GINACLIB_INTERFACE_AGE@
78 GINACLIB_LIBS = @GINACLIB_LIBS@
79 GINACLIB_MAJOR_VERSION = @GINACLIB_MAJOR_VERSION@
80 GINACLIB_MICRO_VERSION = @GINACLIB_MICRO_VERSION@
81 GINACLIB_MINOR_VERSION = @GINACLIB_MINOR_VERSION@
82 GINACLIB_VERSION = @GINACLIB_VERSION@
83 GINSH_LIBS = @GINSH_LIBS@
86 LIBGINACCINT = @LIBGINACCINT@
87 LIBTERMCAP = @LIBTERMCAP@
91 LT_CURRENT = @LT_CURRENT@
92 LT_RELEASE = @LT_RELEASE@
93 LT_REVISION = @LT_REVISION@
96 MAKEINDEX = @MAKEINDEX@
101 REFERENCE_TARGETS = @REFERENCE_TARGETS@
102 TUTORIAL_TARGETS = @TUTORIAL_TARGETS@
107 ginsh_SOURCES = ginsh_parser.yy ginsh_lexer.ll ginsh.h
108 ginsh_LDADD = ../ginac/libginac.la $(GINSH_LIBS)
109 CPPFLAGS = -DIN_GINAC
110 INCLUDES = -I$(srcdir)/../ginac
113 EXTRA_DIST = $(man_MANS) ginsh_parser.h ginsh_fcn_help.sed ginsh_op_help.sed
114 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
115 CONFIG_HEADER = ../config.h
117 PROGRAMS = $(bin_PROGRAMS)
120 DEFS = @DEFS@ -I. -I$(srcdir) -I..
123 ginsh_OBJECTS = ginsh_parser.o ginsh_lexer.o
124 ginsh_DEPENDENCIES = ../ginac/libginac.la
126 CXXFLAGS = @CXXFLAGS@
127 CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
128 LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
130 CXXLINK = $(LIBTOOL) --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@
131 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
134 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
135 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
137 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
138 man1dir = $(mandir)/man1
142 DIST_COMMON = Makefile.am Makefile.in ginsh_lexer.cc ginsh_parser.cc
145 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
149 DEP_FILES = .deps/ginsh_lexer.P .deps/ginsh_parser.P
150 SOURCES = $(ginsh_SOURCES)
151 OBJECTS = $(ginsh_OBJECTS)
155 .SUFFIXES: .S .c .cc .ll .lo .o .s .yy
156 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
157 cd $(top_srcdir) && $(AUTOMAKE) --gnu ginsh/Makefile
159 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
161 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
164 mostlyclean-binPROGRAMS:
167 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
169 distclean-binPROGRAMS:
171 maintainer-clean-binPROGRAMS:
173 install-binPROGRAMS: $(bin_PROGRAMS)
175 $(mkinstalldirs) $(DESTDIR)$(bindir)
176 @list='$(bin_PROGRAMS)'; for p in $$list; do \
177 if test -f $$p; then \
178 echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
179 $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
183 uninstall-binPROGRAMS:
185 list='$(bin_PROGRAMS)'; for p in $$list; do \
186 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
196 -rm -f *.o core *.core
203 maintainer-clean-compile:
206 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
209 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
219 maintainer-clean-libtool:
221 ginsh: $(ginsh_OBJECTS) $(ginsh_DEPENDENCIES)
223 $(CXXLINK) $(ginsh_LDFLAGS) $(ginsh_OBJECTS) $(ginsh_LDADD) $(LIBS)
227 $(LTCXXCOMPILE) -c $<
229 $(LEX) $(AM_LFLAGS) $(LFLAGS) $< && mv $(LEX_OUTPUT_ROOT).c $@
231 $(YACC) $(AM_YFLAGS) $(YFLAGS) $< && mv y.tab.c $*.cc
232 if test -f y.tab.h; then \
233 if cmp -s y.tab.h $*.h; then rm -f y.tab.h; else mv y.tab.h $*.h; fi; \
235 ginsh_parser.hh: ginsh_parser.cc
239 $(mkinstalldirs) $(DESTDIR)$(man1dir)
240 @list='$(man1_MANS)'; \
241 l2='$(man_MANS)'; for i in $$l2; do \
243 *.1*) list="$$list $$i" ;; \
246 for i in $$list; do \
247 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
249 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
250 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
251 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
252 echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
253 $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
257 @list='$(man1_MANS)'; \
258 l2='$(man_MANS)'; for i in $$l2; do \
260 *.1*) list="$$list $$i" ;; \
263 for i in $$list; do \
264 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
265 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
266 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
267 echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
268 rm -f $(DESTDIR)$(man1dir)/$$inst; \
272 $(MAKE) $(AM_MAKEFLAGS) install-man1
275 $(MAKE) $(AM_MAKEFLAGS) uninstall-man1
279 ID: $(HEADERS) $(SOURCES) $(LISP)
280 list='$(SOURCES) $(HEADERS)'; \
281 unique=`for i in $$list; do echo $$i; done | \
282 awk ' { files[$$0] = 1; } \
283 END { for (i in files) print i; }'`; \
284 here=`pwd` && cd $(srcdir) \
285 && mkid -f$$here/ID $$unique $(LISP)
287 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
290 list='$(SOURCES) $(HEADERS)'; \
291 unique=`for i in $$list; do echo $$i; done | \
292 awk ' { files[$$0] = 1; } \
293 END { for (i in files) print i; }'`; \
294 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
295 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
304 maintainer-clean-tags:
306 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
310 distdir: $(DISTFILES)
311 here=`cd $(top_builddir) && pwd`; \
312 top_distdir=`cd $(top_distdir) && pwd`; \
313 distdir=`cd $(distdir) && pwd`; \
315 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu ginsh/Makefile
316 @for file in $(DISTFILES); do \
318 if test -d $$d/$$file; then \
319 cp -pr $$d/$$file $(distdir)/$$file; \
321 test -f $(distdir)/$$file \
322 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
323 || cp -p $$d/$$file $(distdir)/$$file || :; \
327 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
329 -include $(DEP_FILES)
338 maintainer-clean-depend:
341 @echo '$(COMPILE) -c $<'; \
342 $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
343 @-cp .deps/$(*F).pp .deps/$(*F).P; \
344 tr ' ' '\012' < .deps/$(*F).pp \
345 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
350 @echo '$(LTCOMPILE) -c $<'; \
351 $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
352 @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
353 < .deps/$(*F).pp > .deps/$(*F).P; \
354 tr ' ' '\012' < .deps/$(*F).pp \
355 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
360 @echo '$(CXXCOMPILE) -c $<'; \
361 $(CXXCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
362 @-cp .deps/$(*F).pp .deps/$(*F).P; \
363 tr ' ' '\012' < .deps/$(*F).pp \
364 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
369 @echo '$(LTCXXCOMPILE) -c $<'; \
370 $(LTCXXCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
371 @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
372 < .deps/$(*F).pp > .deps/$(*F).P; \
373 tr ' ' '\012' < .deps/$(*F).pp \
374 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
384 installcheck: installcheck-am
385 install-exec-am: install-binPROGRAMS
386 install-exec: install-exec-am
388 install-data-am: install-man
389 install-data: install-data-am
392 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
394 uninstall-am: uninstall-binPROGRAMS uninstall-man
395 uninstall: uninstall-am
396 all-am: Makefile $(PROGRAMS) $(MANS)
399 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
401 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1
409 -rm -f Makefile $(CONFIG_CLEAN_FILES)
410 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
412 maintainer-clean-generic:
413 -test -z "ginsh_lexerllginsh_parserhhginsh_parsercc" || rm -f ginsh_lexerll ginsh_parserhh ginsh_parsercc
414 mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \
415 mostlyclean-libtool mostlyclean-tags mostlyclean-depend \
418 mostlyclean: mostlyclean-am
420 clean-am: clean-binPROGRAMS clean-compile clean-libtool clean-tags \
421 clean-depend clean-generic mostlyclean-am
425 distclean-am: distclean-binPROGRAMS distclean-compile distclean-libtool \
426 distclean-tags distclean-depend distclean-generic \
430 distclean: distclean-am
432 maintainer-clean-am: maintainer-clean-binPROGRAMS \
433 maintainer-clean-compile maintainer-clean-libtool \
434 maintainer-clean-tags maintainer-clean-depend \
435 maintainer-clean-generic distclean-am
436 @echo "This command is intended for maintainers to use;"
437 @echo "it deletes files that may require special tools to rebuild."
439 maintainer-clean: maintainer-clean-am
441 .PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
442 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
443 mostlyclean-compile distclean-compile clean-compile \
444 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
445 clean-libtool maintainer-clean-libtool install-man1 uninstall-man1 \
446 install-man uninstall-man tags mostlyclean-tags distclean-tags \
447 clean-tags maintainer-clean-tags distdir mostlyclean-depend \
448 distclean-depend clean-depend maintainer-clean-depend info-am info \
449 dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
450 install-exec install-data-am install-data install-am install \
451 uninstall-am uninstall all-redirect all-am all installdirs \
452 mostlyclean-generic distclean-generic clean-generic \
453 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
456 # files created by sed scripts
457 ginsh_fcn_help.c: ginsh.1 ginsh_fcn_help.sed
458 sed -n -f ginsh_fcn_help.sed <$< >$@
460 ginsh_op_help.c: ginsh.1 ginsh_op_help.sed
461 sed -n -f ginsh_op_help.sed <$< >$@
463 ginsh_parser.o: ginsh_fcn_help.c ginsh_op_help.c
465 # Tell versions [3.59,3.63) of GNU make to not export all variables.
466 # Otherwise a system limit (for SysV at least) may be exceeded.