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@
82 LT_CURRENT = @LT_CURRENT@
83 LT_RELEASE = @LT_RELEASE@
84 LT_REVISION = @LT_REVISION@
86 MAKEINDEX = @MAKEINDEX@
95 ginsh_SOURCES = ginsh_parser.yy ginsh_lexer.ll ginsh.h
96 ginsh_LDADD = @LIBOBJS@ ../ginac/libginac.la
99 EXTRA_DIST = ginsh_parser.h
100 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
101 CONFIG_HEADER = ../config.h
103 PROGRAMS = $(bin_PROGRAMS)
106 DEFS = @DEFS@ -I. -I$(srcdir) -I..
107 CPPFLAGS = @CPPFLAGS@
110 ginsh_OBJECTS = ginsh_parser.o ginsh_lexer.o
111 ginsh_DEPENDENCIES = @LIBOBJS@ ../ginac/libginac.la
113 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
115 CXXFLAGS = @CXXFLAGS@
116 CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS)
117 LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS)
118 CXXLINK = $(LIBTOOL) --mode=link $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@
120 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
121 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
122 LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@
123 man1dir = $(mandir)/man1
127 DIST_COMMON = Makefile.am Makefile.in ginsh_lexer.cc ginsh_parser.cc \
131 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
135 DEP_FILES = .deps/ginsh_lexer.P .deps/ginsh_parser.P .deps/strdup.P
136 CXXMKDEP = $(CXX) -M $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS)
137 SOURCES = $(ginsh_SOURCES)
138 OBJECTS = $(ginsh_OBJECTS)
140 all: Makefile $(PROGRAMS) $(MANS)
143 .SUFFIXES: .S .c .cc .ll .lo .o .s .yy
144 $(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
145 cd $(top_srcdir) && $(AUTOMAKE) --gnu ginsh/Makefile
147 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
149 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
152 mostlyclean-binPROGRAMS:
155 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
157 distclean-binPROGRAMS:
159 maintainer-clean-binPROGRAMS:
161 install-binPROGRAMS: $(bin_PROGRAMS)
163 $(mkinstalldirs) $(DESTDIR)$(bindir)
164 @list='$(bin_PROGRAMS)'; for p in $$list; do \
165 if test -f $$p; then \
166 echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
167 $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
171 uninstall-binPROGRAMS:
173 list='$(bin_PROGRAMS)'; for p in $$list; do \
174 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
184 -rm -f *.o core *.core
191 maintainer-clean-compile:
194 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
197 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
207 maintainer-clean-libtool:
209 ginsh: $(ginsh_OBJECTS) $(ginsh_DEPENDENCIES)
211 $(CXXLINK) $(ginsh_LDFLAGS) $(ginsh_OBJECTS) $(ginsh_LDADD) $(LIBS)
213 $(YACC) $(YFLAGS) $< && mv y.tab.c $*.cc
214 if test -f y.tab.h; then \
215 if cmp -s y.tab.h $*.h; then rm -f y.tab.h; else mv y.tab.h $*.h; fi; \
217 ginsh_parser.hh: ginsh_parser.cc
220 $(LEX) $(LFLAGS) $< && mv $(LEX_OUTPUT_ROOT).c $@
224 $(LTCXXCOMPILE) -c $<
227 $(mkinstalldirs) $(DESTDIR)$(man1dir)
228 @list='$(man1_MANS)'; \
229 l2='$(man_MANS)'; for i in $$l2; do \
231 *.1*) list="$$list $$i" ;; \
234 for i in $$list; do \
235 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
237 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
238 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
239 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
240 echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
241 $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
245 @list='$(man1_MANS)'; \
246 l2='$(man_MANS)'; for i in $$l2; do \
248 *.1*) list="$$list $$i" ;; \
251 for i in $$list; do \
252 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
253 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
254 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
255 echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
256 rm -f $(DESTDIR)$(man1dir)/$$inst; \
263 $(MAKE) uninstall-man1
267 ID: $(HEADERS) $(SOURCES) $(LISP)
268 here=`pwd` && cd $(srcdir) \
269 && mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
271 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
274 list='$(SOURCES) $(HEADERS)'; \
275 unique=`for i in $$list; do echo $$i; done | \
276 awk ' { files[$$0] = 1; } \
277 END { for (i in files) print i; }'`; \
278 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
279 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
288 maintainer-clean-tags:
290 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
294 distdir: $(DISTFILES)
295 here=`cd $(top_builddir) && pwd`; \
296 top_distdir=`cd $(top_distdir) && pwd`; \
297 distdir=`cd $(distdir) && pwd`; \
299 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu ginsh/Makefile
300 @for file in $(DISTFILES); do \
302 test -f $(distdir)/$$file \
303 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
304 || cp -p $$d/$$file $(distdir)/$$file; \
307 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
309 -include $(DEP_FILES)
317 maintainer-clean-depend:
321 @echo '$(COMPILE) -c $<'; \
322 $(COMPILE) -Wp,-MD,.deps/$(*F).P -c $<
325 @echo '$(LTCOMPILE) -c $<'; \
326 $(LTCOMPILE) -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
332 @echo '$(CXXCOMPILE) -c $<'; \
333 $(CXXCOMPILE) -Wp,-MD,.deps/$(*F).P -c $<
336 @echo '$(LTCXXCOMPILE) -c $<'; \
337 $(LTCXXCOMPILE) -Wp,-MD,.deps/$(*F).p -c $<
338 @-sed -e 's/^\([^:]*\)\.o:/\1.lo \1.o:/' \
339 < .deps/$(*F).p > .deps/$(*F).P
340 @-rm -f .deps/$(*F).p
346 install-exec: install-binPROGRAMS
349 install-data: install-man
352 install: install-exec install-data all
355 uninstall: uninstall-binPROGRAMS uninstall-man
358 $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
360 $(mkinstalldirs) $(DATADIR)$(bindir) $(DESTDIR)$(mandir)/man1
364 -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
367 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
370 -rm -f Makefile $(DISTCLEANFILES)
371 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
372 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
374 maintainer-clean-generic:
375 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
376 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
377 mostlyclean: mostlyclean-binPROGRAMS mostlyclean-compile \
378 mostlyclean-libtool mostlyclean-tags mostlyclean-depend \
381 clean: clean-binPROGRAMS clean-compile clean-libtool clean-tags \
382 clean-depend clean-generic mostlyclean
384 distclean: distclean-binPROGRAMS distclean-compile distclean-libtool \
385 distclean-tags distclean-depend distclean-generic clean
389 maintainer-clean: maintainer-clean-binPROGRAMS maintainer-clean-compile \
390 maintainer-clean-libtool maintainer-clean-tags \
391 maintainer-clean-depend maintainer-clean-generic \
393 @echo "This command is intended for maintainers to use;"
394 @echo "it deletes files that may require special tools to rebuild."
396 .PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
397 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
398 mostlyclean-compile distclean-compile clean-compile \
399 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
400 clean-libtool maintainer-clean-libtool install-man1 uninstall-man1 \
401 install-man uninstall-man tags mostlyclean-tags distclean-tags \
402 clean-tags maintainer-clean-tags distdir mostlyclean-depend \
403 distclean-depend clean-depend maintainer-clean-depend info dvi \
404 installcheck install-exec install-data install uninstall all \
405 installdirs mostlyclean-generic distclean-generic clean-generic \
406 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
409 # Tell versions [3.59,3.63) of GNU make to not export all variables.
410 # Otherwise a system limit (for SysV at least) may be exceeded.