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@
90 LT_CURRENT = @LT_CURRENT@
91 LT_RELEASE = @LT_RELEASE@
92 LT_REVISION = @LT_REVISION@
95 MAKEINDEX = @MAKEINDEX@
100 REFERENCE_TARGETS = @REFERENCE_TARGETS@
101 TUTORIAL_TARGETS = @TUTORIAL_TARGETS@
106 ginsh_SOURCES = ginsh_parser.yy ginsh_lexer.ll ginsh.h
107 ginsh_LDADD = ../ginac/libginac.la $(GINSH_LIBS)
108 CPPFLAGS = -DIN_GINAC
109 INCLUDES = -I$(srcdir)/../ginac
112 EXTRA_DIST = $(man_MANS) ginsh_parser.h ginsh_fcn_help.sed ginsh_op_help.sed
113 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
114 CONFIG_HEADER = ../config.h
116 PROGRAMS = $(bin_PROGRAMS)
119 DEFS = @DEFS@ -I. -I$(srcdir) -I..
122 ginsh_OBJECTS = ginsh_parser.o ginsh_lexer.o
123 ginsh_DEPENDENCIES = ../ginac/libginac.la
125 CXXFLAGS = @CXXFLAGS@
126 CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
127 LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
129 CXXLINK = $(LIBTOOL) --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@
130 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
133 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
134 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
136 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
137 man1dir = $(mandir)/man1
141 DIST_COMMON = Makefile.am Makefile.in ginsh_lexer.cc ginsh_parser.cc
144 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
148 DEP_FILES = .deps/ginsh_lexer.P .deps/ginsh_parser.P
149 SOURCES = $(ginsh_SOURCES)
150 OBJECTS = $(ginsh_OBJECTS)
154 .SUFFIXES: .S .c .cc .ll .lo .o .s .yy
155 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
156 cd $(top_srcdir) && $(AUTOMAKE) --gnu ginsh/Makefile
158 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
160 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
163 mostlyclean-binPROGRAMS:
166 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
168 distclean-binPROGRAMS:
170 maintainer-clean-binPROGRAMS:
172 install-binPROGRAMS: $(bin_PROGRAMS)
174 $(mkinstalldirs) $(DESTDIR)$(bindir)
175 @list='$(bin_PROGRAMS)'; for p in $$list; do \
176 if test -f $$p; then \
177 echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
178 $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
182 uninstall-binPROGRAMS:
184 list='$(bin_PROGRAMS)'; for p in $$list; do \
185 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
195 -rm -f *.o core *.core
202 maintainer-clean-compile:
205 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
208 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
218 maintainer-clean-libtool:
220 ginsh: $(ginsh_OBJECTS) $(ginsh_DEPENDENCIES)
222 $(CXXLINK) $(ginsh_LDFLAGS) $(ginsh_OBJECTS) $(ginsh_LDADD) $(LIBS)
226 $(LTCXXCOMPILE) -c $<
228 $(LEX) $(AM_LFLAGS) $(LFLAGS) $< && mv $(LEX_OUTPUT_ROOT).c $@
230 $(YACC) $(AM_YFLAGS) $(YFLAGS) $< && mv y.tab.c $*.cc
231 if test -f y.tab.h; then \
232 if cmp -s y.tab.h $*.h; then rm -f y.tab.h; else mv y.tab.h $*.h; fi; \
234 ginsh_parser.hh: ginsh_parser.cc
238 $(mkinstalldirs) $(DESTDIR)$(man1dir)
239 @list='$(man1_MANS)'; \
240 l2='$(man_MANS)'; for i in $$l2; do \
242 *.1*) list="$$list $$i" ;; \
245 for i in $$list; do \
246 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
248 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
249 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
250 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
251 echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
252 $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
256 @list='$(man1_MANS)'; \
257 l2='$(man_MANS)'; for i in $$l2; do \
259 *.1*) list="$$list $$i" ;; \
262 for i in $$list; do \
263 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
264 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
265 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
266 echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
267 rm -f $(DESTDIR)$(man1dir)/$$inst; \
271 $(MAKE) $(AM_MAKEFLAGS) install-man1
274 $(MAKE) $(AM_MAKEFLAGS) uninstall-man1
278 ID: $(HEADERS) $(SOURCES) $(LISP)
279 list='$(SOURCES) $(HEADERS)'; \
280 unique=`for i in $$list; do echo $$i; done | \
281 awk ' { files[$$0] = 1; } \
282 END { for (i in files) print i; }'`; \
283 here=`pwd` && cd $(srcdir) \
284 && mkid -f$$here/ID $$unique $(LISP)
286 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
289 list='$(SOURCES) $(HEADERS)'; \
290 unique=`for i in $$list; do echo $$i; done | \
291 awk ' { files[$$0] = 1; } \
292 END { for (i in files) print i; }'`; \
293 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
294 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
303 maintainer-clean-tags:
305 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
309 distdir: $(DISTFILES)
310 here=`cd $(top_builddir) && pwd`; \
311 top_distdir=`cd $(top_distdir) && pwd`; \
312 distdir=`cd $(distdir) && pwd`; \
314 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu ginsh/Makefile
315 @for file in $(DISTFILES); do \
317 if test -d $$d/$$file; then \
318 cp -pr $$d/$$file $(distdir)/$$file; \
320 test -f $(distdir)/$$file \
321 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
322 || cp -p $$d/$$file $(distdir)/$$file || :; \
326 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
328 -include $(DEP_FILES)
337 maintainer-clean-depend:
340 @echo '$(COMPILE) -c $<'; \
341 $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
342 @-cp .deps/$(*F).pp .deps/$(*F).P; \
343 tr ' ' '\012' < .deps/$(*F).pp \
344 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
349 @echo '$(LTCOMPILE) -c $<'; \
350 $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
351 @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
352 < .deps/$(*F).pp > .deps/$(*F).P; \
353 tr ' ' '\012' < .deps/$(*F).pp \
354 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
359 @echo '$(CXXCOMPILE) -c $<'; \
360 $(CXXCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
361 @-cp .deps/$(*F).pp .deps/$(*F).P; \
362 tr ' ' '\012' < .deps/$(*F).pp \
363 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
368 @echo '$(LTCXXCOMPILE) -c $<'; \
369 $(LTCXXCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
370 @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
371 < .deps/$(*F).pp > .deps/$(*F).P; \
372 tr ' ' '\012' < .deps/$(*F).pp \
373 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
383 installcheck: installcheck-am
384 install-exec-am: install-binPROGRAMS
385 install-exec: install-exec-am
387 install-data-am: install-man
388 install-data: install-data-am
391 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
393 uninstall-am: uninstall-binPROGRAMS uninstall-man
394 uninstall: uninstall-am
395 all-am: Makefile $(PROGRAMS) $(MANS)
398 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
400 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1
408 -rm -f Makefile $(CONFIG_CLEAN_FILES)
409 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
411 maintainer-clean-generic:
412 -test -z "ginsh_lexerllginsh_parserhhginsh_parsercc" || rm -f ginsh_lexerll ginsh_parserhh ginsh_parsercc
413 mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \
414 mostlyclean-libtool mostlyclean-tags mostlyclean-depend \
417 mostlyclean: mostlyclean-am
419 clean-am: clean-binPROGRAMS clean-compile clean-libtool clean-tags \
420 clean-depend clean-generic mostlyclean-am
424 distclean-am: distclean-binPROGRAMS distclean-compile distclean-libtool \
425 distclean-tags distclean-depend distclean-generic \
429 distclean: distclean-am
431 maintainer-clean-am: maintainer-clean-binPROGRAMS \
432 maintainer-clean-compile maintainer-clean-libtool \
433 maintainer-clean-tags maintainer-clean-depend \
434 maintainer-clean-generic distclean-am
435 @echo "This command is intended for maintainers to use;"
436 @echo "it deletes files that may require special tools to rebuild."
438 maintainer-clean: maintainer-clean-am
440 .PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
441 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
442 mostlyclean-compile distclean-compile clean-compile \
443 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
444 clean-libtool maintainer-clean-libtool install-man1 uninstall-man1 \
445 install-man uninstall-man tags mostlyclean-tags distclean-tags \
446 clean-tags maintainer-clean-tags distdir mostlyclean-depend \
447 distclean-depend clean-depend maintainer-clean-depend info-am info \
448 dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
449 install-exec install-data-am install-data install-am install \
450 uninstall-am uninstall all-redirect all-am all installdirs \
451 mostlyclean-generic distclean-generic clean-generic \
452 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
455 # files created by sed scripts
456 ginsh_fcn_help.c: ginsh.1 ginsh_fcn_help.sed
457 sed -n -f ginsh_fcn_help.sed <$< >$@
459 ginsh_op_help.c: ginsh.1 ginsh_op_help.sed
460 sed -n -f ginsh_op_help.sed <$< >$@
462 ginsh_parser.o: ginsh_fcn_help.c ginsh_op_help.c
464 # Tell versions [3.59,3.63) of GNU make to not export all variables.
465 # Otherwise a system limit (for SysV at least) may be exceeded.