1 # Makefile.in generated automatically by automake 1.3 from Makefile.am
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.
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@
50 INSTALL_DATA = @INSTALL_DATA@
51 INSTALL_SCRIPT = @INSTALL_SCRIPT@
52 transform = @program_transform_name@
60 host_alias = @host_alias@
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 GINSH_LIBS = @GINSH_LIBS@
83 LT_CURRENT = @LT_CURRENT@
84 LT_RELEASE = @LT_RELEASE@
85 LT_REVISION = @LT_REVISION@
87 MAKEINDEX = @MAKEINDEX@
92 REFERENCE_TARGETS = @REFERENCE_TARGETS@
93 TUTORIAL_TARGETS = @TUTORIAL_TARGETS@
98 ginsh_SOURCES = ginsh_parser.yy ginsh_lexer.ll ginsh.h
99 ginsh_LDADD = ../ginac/libginac.la $(GINSH_LIBS)
102 EXTRA_DIST = ginsh_parser.h
103 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
104 CONFIG_HEADER = ../config.h
106 PROGRAMS = $(bin_PROGRAMS)
109 DEFS = @DEFS@ -I. -I$(srcdir) -I..
110 CPPFLAGS = @CPPFLAGS@
113 ginsh_OBJECTS = ginsh_parser.o ginsh_lexer.o
114 ginsh_DEPENDENCIES = ../ginac/libginac.la
116 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
118 CXXFLAGS = @CXXFLAGS@
119 CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS)
120 LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS)
121 CXXLINK = $(LIBTOOL) --mode=link $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@
123 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
124 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
125 LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@
126 man1dir = $(mandir)/man1
130 DIST_COMMON = Makefile.am Makefile.in ginsh_lexer.cc ginsh_parser.cc
133 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
137 DEP_FILES = .deps/ginsh_lexer.P .deps/ginsh_parser.P
138 CXXMKDEP = $(CXX) -M $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS)
139 SOURCES = $(ginsh_SOURCES)
140 OBJECTS = $(ginsh_OBJECTS)
142 all: Makefile $(PROGRAMS) $(MANS)
145 .SUFFIXES: .S .c .cc .ll .lo .o .s .yy
146 $(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
147 cd $(top_srcdir) && $(AUTOMAKE) --gnu ginsh/Makefile
149 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
151 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
154 mostlyclean-binPROGRAMS:
157 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
159 distclean-binPROGRAMS:
161 maintainer-clean-binPROGRAMS:
163 install-binPROGRAMS: $(bin_PROGRAMS)
165 $(mkinstalldirs) $(DESTDIR)$(bindir)
166 @list='$(bin_PROGRAMS)'; for p in $$list; do \
167 if test -f $$p; then \
168 echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
169 $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
173 uninstall-binPROGRAMS:
175 list='$(bin_PROGRAMS)'; for p in $$list; do \
176 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
186 -rm -f *.o core *.core
193 maintainer-clean-compile:
196 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
199 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
209 maintainer-clean-libtool:
211 ginsh: $(ginsh_OBJECTS) $(ginsh_DEPENDENCIES)
213 $(CXXLINK) $(ginsh_LDFLAGS) $(ginsh_OBJECTS) $(ginsh_LDADD) $(LIBS)
215 $(YACC) $(YFLAGS) $< && mv y.tab.c $*.cc
216 if test -f y.tab.h; then \
217 if cmp -s y.tab.h $*.h; then rm -f y.tab.h; else mv y.tab.h $*.h; fi; \
219 ginsh_parser.hh: ginsh_parser.cc
222 $(LEX) $(LFLAGS) $< && mv $(LEX_OUTPUT_ROOT).c $@
226 $(LTCXXCOMPILE) -c $<
229 $(mkinstalldirs) $(DESTDIR)$(man1dir)
230 @list='$(man1_MANS)'; \
231 l2='$(man_MANS)'; for i in $$l2; do \
233 *.1*) list="$$list $$i" ;; \
236 for i in $$list; do \
237 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
239 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
240 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
241 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
242 echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
243 $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
247 @list='$(man1_MANS)'; \
248 l2='$(man_MANS)'; for i in $$l2; do \
250 *.1*) list="$$list $$i" ;; \
253 for i in $$list; do \
254 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
255 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
256 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
257 echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
258 rm -f $(DESTDIR)$(man1dir)/$$inst; \
265 $(MAKE) uninstall-man1
269 ID: $(HEADERS) $(SOURCES) $(LISP)
270 here=`pwd` && cd $(srcdir) \
271 && mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
273 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
276 list='$(SOURCES) $(HEADERS)'; \
277 unique=`for i in $$list; do echo $$i; done | \
278 awk ' { files[$$0] = 1; } \
279 END { for (i in files) print i; }'`; \
280 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
281 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
290 maintainer-clean-tags:
292 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
296 distdir: $(DISTFILES)
297 here=`cd $(top_builddir) && pwd`; \
298 top_distdir=`cd $(top_distdir) && pwd`; \
299 distdir=`cd $(distdir) && pwd`; \
301 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu ginsh/Makefile
302 @for file in $(DISTFILES); do \
304 test -f $(distdir)/$$file \
305 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
306 || cp -p $$d/$$file $(distdir)/$$file; \
309 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
311 -include $(DEP_FILES)
319 maintainer-clean-depend:
323 @echo '$(COMPILE) -c $<'; \
324 $(COMPILE) -Wp,-MD,.deps/$(*F).P -c $<
327 @echo '$(LTCOMPILE) -c $<'; \
328 $(LTCOMPILE) -Wp,-MD,.deps/$(*F).p -c $<
329 @-sed -e 's/^\([^:]*\)\.o:/\1.lo \1.o:/' \
330 < .deps/$(*F).p > .deps/$(*F).P
331 @-rm -f .deps/$(*F).p
334 @echo '$(CXXCOMPILE) -c $<'; \
335 $(CXXCOMPILE) -Wp,-MD,.deps/$(*F).P -c $<
338 @echo '$(LTCXXCOMPILE) -c $<'; \
339 $(LTCXXCOMPILE) -Wp,-MD,.deps/$(*F).p -c $<
340 @-sed -e 's/^\([^:]*\)\.o:/\1.lo \1.o:/' \
341 < .deps/$(*F).p > .deps/$(*F).P
342 @-rm -f .deps/$(*F).p
348 install-exec: install-binPROGRAMS
351 install-data: install-man
354 install: install-exec install-data all
357 uninstall: uninstall-binPROGRAMS uninstall-man
360 $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
362 $(mkinstalldirs) $(DATADIR)$(bindir) $(DESTDIR)$(mandir)/man1
366 -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
369 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
372 -rm -f Makefile $(DISTCLEANFILES)
373 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
374 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
376 maintainer-clean-generic:
377 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
378 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
379 mostlyclean: mostlyclean-binPROGRAMS mostlyclean-compile \
380 mostlyclean-libtool mostlyclean-tags mostlyclean-depend \
383 clean: clean-binPROGRAMS clean-compile clean-libtool clean-tags \
384 clean-depend clean-generic mostlyclean
386 distclean: distclean-binPROGRAMS distclean-compile distclean-libtool \
387 distclean-tags distclean-depend distclean-generic clean
391 maintainer-clean: maintainer-clean-binPROGRAMS maintainer-clean-compile \
392 maintainer-clean-libtool maintainer-clean-tags \
393 maintainer-clean-depend maintainer-clean-generic \
395 @echo "This command is intended for maintainers to use;"
396 @echo "it deletes files that may require special tools to rebuild."
398 .PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
399 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
400 mostlyclean-compile distclean-compile clean-compile \
401 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
402 clean-libtool maintainer-clean-libtool install-man1 uninstall-man1 \
403 install-man uninstall-man tags mostlyclean-tags distclean-tags \
404 clean-tags maintainer-clean-tags distdir mostlyclean-depend \
405 distclean-depend clean-depend maintainer-clean-depend info dvi \
406 installcheck install-exec install-data install uninstall all \
407 installdirs mostlyclean-generic distclean-generic clean-generic \
408 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
411 # files created by sed scripts
412 ginsh_fcn_help.c: ginsh.1 ginsh_fcn_help.sed
413 sed -n -f ginsh_fcn_help.sed <$< >$@
415 ginsh_op_help.c: ginsh.1 ginsh_op_help.sed
416 sed -n -f ginsh_op_help.sed <$< >$@
418 ginsh_parser.cc: ginsh_fcn_help.c ginsh_op_help.c
420 # Tell versions [3.59,3.63) of GNU make to not export all variables.
421 # Otherwise a system limit (for SysV at least) may be exceeded.