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@
76 MAKEINDEX = @MAKEINDEX@
85 ginsh_SOURCES = ginsh_parser.yy ginsh_lexer.ll ginsh.h
86 ginsh_LDADD = @LIBOBJS@ ../ginac/libginac.la
89 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
90 CONFIG_HEADER = ../config.h
92 PROGRAMS = $(bin_PROGRAMS)
95 DEFS = @DEFS@ -I. -I$(srcdir) -I..
99 ginsh_OBJECTS = ginsh_parser.o ginsh_lexer.o
100 ginsh_DEPENDENCIES = @LIBOBJS@ ../ginac/libginac.la
102 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
104 CXXFLAGS = @CXXFLAGS@
105 CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS)
106 LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS)
107 CXXLINK = $(LIBTOOL) --mode=link $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@
109 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
110 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
111 LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@
112 man1dir = $(mandir)/man1
116 DIST_COMMON = Makefile.am Makefile.in ginsh_lexer.cc ginsh_parser.cc \
120 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
124 DEP_FILES = .deps/ginsh_lexer.P .deps/ginsh_parser.P .deps/strdup.P
125 CXXMKDEP = $(CXX) -M $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS)
126 SOURCES = $(ginsh_SOURCES)
127 OBJECTS = $(ginsh_OBJECTS)
129 all: Makefile $(PROGRAMS) $(MANS)
132 .SUFFIXES: .S .c .cc .ll .lo .o .s .yy
133 $(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
134 cd $(top_srcdir) && $(AUTOMAKE) --gnu ginsh/Makefile
136 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
138 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
141 mostlyclean-binPROGRAMS:
144 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
146 distclean-binPROGRAMS:
148 maintainer-clean-binPROGRAMS:
150 install-binPROGRAMS: $(bin_PROGRAMS)
152 $(mkinstalldirs) $(DESTDIR)$(bindir)
153 @list='$(bin_PROGRAMS)'; for p in $$list; do \
154 if test -f $$p; then \
155 echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
156 $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
160 uninstall-binPROGRAMS:
162 list='$(bin_PROGRAMS)'; for p in $$list; do \
163 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
173 -rm -f *.o core *.core
180 maintainer-clean-compile:
183 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
186 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
196 maintainer-clean-libtool:
198 ginsh: $(ginsh_OBJECTS) $(ginsh_DEPENDENCIES)
200 $(CXXLINK) $(ginsh_LDFLAGS) $(ginsh_OBJECTS) $(ginsh_LDADD) $(LIBS)
202 $(YACC) $(YFLAGS) $< && mv y.tab.c $*.cc
203 if test -f y.tab.h; then \
204 if cmp -s y.tab.h $*.h; then rm -f y.tab.h; else mv y.tab.h $*.h; fi; \
206 ginsh_parser.hh: ginsh_parser.cc
209 $(LEX) $(LFLAGS) $< && mv $(LEX_OUTPUT_ROOT).c $@
213 $(LTCXXCOMPILE) -c $<
216 $(mkinstalldirs) $(DESTDIR)$(man1dir)
217 @list='$(man1_MANS)'; \
218 l2='$(man_MANS)'; for i in $$l2; do \
220 *.1*) list="$$list $$i" ;; \
223 for i in $$list; do \
224 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
226 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
227 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
228 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
229 echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
230 $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
234 @list='$(man1_MANS)'; \
235 l2='$(man_MANS)'; for i in $$l2; do \
237 *.1*) list="$$list $$i" ;; \
240 for i in $$list; do \
241 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
242 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
243 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
244 echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
245 rm -f $(DESTDIR)$(man1dir)/$$inst; \
252 $(MAKE) uninstall-man1
256 ID: $(HEADERS) $(SOURCES) $(LISP)
257 here=`pwd` && cd $(srcdir) \
258 && mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
260 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
263 list='$(SOURCES) $(HEADERS)'; \
264 unique=`for i in $$list; do echo $$i; done | \
265 awk ' { files[$$0] = 1; } \
266 END { for (i in files) print i; }'`; \
267 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
268 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
277 maintainer-clean-tags:
279 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
283 distdir: $(DISTFILES)
284 here=`cd $(top_builddir) && pwd`; \
285 top_distdir=`cd $(top_distdir) && pwd`; \
286 distdir=`cd $(distdir) && pwd`; \
288 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu ginsh/Makefile
289 @for file in $(DISTFILES); do \
291 test -f $(distdir)/$$file \
292 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
293 || cp -p $$d/$$file $(distdir)/$$file; \
296 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
298 -include $(DEP_FILES)
306 maintainer-clean-depend:
310 @echo '$(COMPILE) -c $<'; \
311 $(COMPILE) -Wp,-MD,.deps/$(*F).P -c $<
314 @echo '$(LTCOMPILE) -c $<'; \
315 $(LTCOMPILE) -Wp,-MD,.deps/$(*F).p -c $<
316 @-sed -e 's/^\([^:]*\)\.o:/\1.lo \1.o:/' \
317 < .deps/$(*F).p > .deps/$(*F).P
318 @-rm -f .deps/$(*F).p
321 @echo '$(CXXCOMPILE) -c $<'; \
322 $(CXXCOMPILE) -Wp,-MD,.deps/$(*F).P -c $<
325 @echo '$(LTCXXCOMPILE) -c $<'; \
326 $(LTCXXCOMPILE) -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
335 install-exec: install-binPROGRAMS
338 install-data: install-man
341 install: install-exec install-data all
344 uninstall: uninstall-binPROGRAMS uninstall-man
347 $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
349 $(mkinstalldirs) $(DATADIR)$(bindir) $(DESTDIR)$(mandir)/man1
353 -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
356 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
359 -rm -f Makefile $(DISTCLEANFILES)
360 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
361 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
363 maintainer-clean-generic:
364 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
365 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
366 mostlyclean: mostlyclean-binPROGRAMS mostlyclean-compile \
367 mostlyclean-libtool mostlyclean-tags mostlyclean-depend \
370 clean: clean-binPROGRAMS clean-compile clean-libtool clean-tags \
371 clean-depend clean-generic mostlyclean
373 distclean: distclean-binPROGRAMS distclean-compile distclean-libtool \
374 distclean-tags distclean-depend distclean-generic clean
378 maintainer-clean: maintainer-clean-binPROGRAMS maintainer-clean-compile \
379 maintainer-clean-libtool maintainer-clean-tags \
380 maintainer-clean-depend maintainer-clean-generic \
382 @echo "This command is intended for maintainers to use;"
383 @echo "it deletes files that may require special tools to rebuild."
385 .PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
386 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
387 mostlyclean-compile distclean-compile clean-compile \
388 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
389 clean-libtool maintainer-clean-libtool install-man1 uninstall-man1 \
390 install-man uninstall-man tags mostlyclean-tags distclean-tags \
391 clean-tags maintainer-clean-tags distdir mostlyclean-depend \
392 distclean-depend clean-depend maintainer-clean-depend info dvi \
393 installcheck install-exec install-data install uninstall all \
394 installdirs mostlyclean-generic distclean-generic clean-generic \
395 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
398 # Tell versions [3.59,3.63) of GNU make to not export all variables.
399 # Otherwise a system limit (for SysV at least) may be exceeded.