- "make dist" should now include all necessary files (except docs)
[ginac.git] / ginsh / Makefile.in
1 # Makefile.in generated automatically by automake 1.3 from Makefile.am
2
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.
7
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
11 # PARTICULAR PURPOSE.
12
13
14 SHELL = /bin/sh
15
16 srcdir = @srcdir@
17 top_srcdir = @top_srcdir@
18 VPATH = @srcdir@
19 prefix = @prefix@
20 exec_prefix = @exec_prefix@
21
22 bindir = @bindir@
23 sbindir = @sbindir@
24 libexecdir = @libexecdir@
25 datadir = @datadir@
26 sysconfdir = @sysconfdir@
27 sharedstatedir = @sharedstatedir@
28 localstatedir = @localstatedir@
29 libdir = @libdir@
30 infodir = @infodir@
31 mandir = @mandir@
32 includedir = @includedir@
33 oldincludedir = /usr/include
34
35 DISTDIR =
36
37 pkgdatadir = $(datadir)/@PACKAGE@
38 pkglibdir = $(libdir)/@PACKAGE@
39 pkgincludedir = $(includedir)/@PACKAGE@
40
41 top_builddir = ..
42
43 ACLOCAL = @ACLOCAL@
44 AUTOCONF = @AUTOCONF@
45 AUTOMAKE = @AUTOMAKE@
46 AUTOHEADER = @AUTOHEADER@
47
48 INSTALL = @INSTALL@
49 INSTALL_PROGRAM = @INSTALL_PROGRAM@
50 INSTALL_DATA = @INSTALL_DATA@
51 INSTALL_SCRIPT = @INSTALL_SCRIPT@
52 transform = @program_transform_name@
53
54 NORMAL_INSTALL = :
55 PRE_INSTALL = :
56 POST_INSTALL = :
57 NORMAL_UNINSTALL = :
58 PRE_UNINSTALL = :
59 POST_UNINSTALL = :
60 host_alias = @host_alias@
61 host_triplet = @host@
62 CC = @CC@
63 CXX = @CXX@
64 CXXCPP = @CXXCPP@
65 DOXYGEN = @DOXYGEN@
66 DVIPS = @DVIPS@
67 FIG2DEV = @FIG2DEV@
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 JADE = @JADE@
75 JADETEX = @JADETEX@
76 LATEX = @LATEX@
77 LD = @LD@
78 LEX = @LEX@
79 LIBTOOL = @LIBTOOL@
80 LN_S = @LN_S@
81 LT_AGE = @LT_AGE@
82 LT_CURRENT = @LT_CURRENT@
83 LT_RELEASE = @LT_RELEASE@
84 LT_REVISION = @LT_REVISION@
85 MAINT = @MAINT@
86 MAKEINDEX = @MAKEINDEX@
87 MAKEINFO = @MAKEINFO@
88 NM = @NM@
89 PACKAGE = @PACKAGE@
90 RANLIB = @RANLIB@
91 VERSION = @VERSION@
92 YACC = @YACC@
93
94 bin_PROGRAMS = ginsh
95 ginsh_SOURCES = ginsh_parser.yy ginsh_lexer.ll ginsh.h
96 ginsh_LDADD = @LIBOBJS@ ../ginac/libginac.la
97 man_MANS = ginsh.1
98 YFLAGS = -d
99 EXTRA_DIST = ginsh_parser.h
100 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
101 CONFIG_HEADER = ../config.h
102 CONFIG_CLEAN_FILES = 
103 PROGRAMS =  $(bin_PROGRAMS)
104
105
106 DEFS = @DEFS@ -I. -I$(srcdir) -I..
107 CPPFLAGS = @CPPFLAGS@
108 LDFLAGS = @LDFLAGS@
109 LIBS = @LIBS@
110 ginsh_OBJECTS =  ginsh_parser.o ginsh_lexer.o
111 ginsh_DEPENDENCIES =  @LIBOBJS@ ../ginac/libginac.la
112 ginsh_LDFLAGS = 
113 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
114 LEXLIB = @LEXLIB@
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 $@
119 CFLAGS = @CFLAGS@
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
124 MANS = $(man_MANS)
125
126 NROFF = nroff
127 DIST_COMMON =  Makefile.am Makefile.in ginsh_lexer.cc ginsh_parser.cc \
128 strdup.c
129
130
131 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
132
133 TAR = tar
134 GZIP = --best
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)
139
140 all: Makefile $(PROGRAMS) $(MANS)
141
142 .SUFFIXES:
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
146
147 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
148         cd $(top_builddir) \
149           && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
150
151
152 mostlyclean-binPROGRAMS:
153
154 clean-binPROGRAMS:
155         -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
156
157 distclean-binPROGRAMS:
158
159 maintainer-clean-binPROGRAMS:
160
161 install-binPROGRAMS: $(bin_PROGRAMS)
162         @$(NORMAL_INSTALL)
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)'`; \
168           else :; fi; \
169         done
170
171 uninstall-binPROGRAMS:
172         @$(NORMAL_UNINSTALL)
173         list='$(bin_PROGRAMS)'; for p in $$list; do \
174           rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
175         done
176
177 .s.o:
178         $(COMPILE) -c $<
179
180 .S.o:
181         $(COMPILE) -c $<
182
183 mostlyclean-compile:
184         -rm -f *.o core *.core
185
186 clean-compile:
187
188 distclean-compile:
189         -rm -f *.tab.c
190
191 maintainer-clean-compile:
192
193 .s.lo:
194         $(LIBTOOL) --mode=compile $(COMPILE) -c $<
195
196 .S.lo:
197         $(LIBTOOL) --mode=compile $(COMPILE) -c $<
198
199 mostlyclean-libtool:
200         -rm -f *.lo
201
202 clean-libtool:
203         -rm -rf .libs _libs
204
205 distclean-libtool:
206
207 maintainer-clean-libtool:
208
209 ginsh: $(ginsh_OBJECTS) $(ginsh_DEPENDENCIES)
210         @rm -f ginsh
211         $(CXXLINK) $(ginsh_LDFLAGS) $(ginsh_OBJECTS) $(ginsh_LDADD) $(LIBS)
212 .yy.cc:
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; \
216         else :; fi
217 ginsh_parser.hh: ginsh_parser.cc
218
219 .ll.cc:
220         $(LEX) $(LFLAGS) $< && mv $(LEX_OUTPUT_ROOT).c $@
221 .cc.o:
222         $(CXXCOMPILE) -c $<
223 .cc.lo:
224         $(LTCXXCOMPILE) -c $<
225
226 install-man1:
227         $(mkinstalldirs) $(DESTDIR)$(man1dir)
228         @list='$(man1_MANS)'; \
229         l2='$(man_MANS)'; for i in $$l2; do \
230           case "$$i" in \
231             *.1*) list="$$list $$i" ;; \
232           esac; \
233         done; \
234         for i in $$list; do \
235           if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
236           else file=$$i; fi; \
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; \
242         done
243
244 uninstall-man1:
245         @list='$(man1_MANS)'; \
246         l2='$(man_MANS)'; for i in $$l2; do \
247           case "$$i" in \
248             *.1*) list="$$list $$i" ;; \
249           esac; \
250         done; \
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; \
257         done
258 install-man: $(MANS)
259         @$(NORMAL_INSTALL)
260         $(MAKE) install-man1
261 uninstall-man:
262         @$(NORMAL_UNINSTALL)
263         $(MAKE) uninstall-man1
264
265 tags: TAGS
266
267 ID: $(HEADERS) $(SOURCES) $(LISP)
268         here=`pwd` && cd $(srcdir) \
269           && mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
270
271 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
272         tags=; \
273         here=`pwd`; \
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)
280
281 mostlyclean-tags:
282
283 clean-tags:
284
285 distclean-tags:
286         -rm -f TAGS ID
287
288 maintainer-clean-tags:
289
290 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
291
292 subdir = ginsh
293
294 distdir: $(DISTFILES)
295         here=`cd $(top_builddir) && pwd`; \
296         top_distdir=`cd $(top_distdir) && pwd`; \
297         distdir=`cd $(distdir) && pwd`; \
298         cd $(top_srcdir) \
299           && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu ginsh/Makefile
300         @for file in $(DISTFILES); do \
301           d=$(srcdir); \
302           test -f $(distdir)/$$file \
303           || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
304           || cp -p $$d/$$file $(distdir)/$$file; \
305         done
306
307 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
308
309 -include $(DEP_FILES)
310
311 mostlyclean-depend:
312
313 clean-depend:
314
315 distclean-depend:
316
317 maintainer-clean-depend:
318         -rm -rf .deps
319
320 %.o: %.c
321         @echo '$(COMPILE) -c $<'; \
322         $(COMPILE) -Wp,-MD,.deps/$(*F).P -c $<
323
324 %.lo: %.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
330
331 %.o: %.cc
332         @echo '$(CXXCOMPILE) -c $<'; \
333         $(CXXCOMPILE) -Wp,-MD,.deps/$(*F).P -c $<
334
335 %.lo: %.cc
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
341 info:
342 dvi:
343 check: all
344         $(MAKE)
345 installcheck:
346 install-exec: install-binPROGRAMS
347         @$(NORMAL_INSTALL)
348
349 install-data: install-man
350         @$(NORMAL_INSTALL)
351
352 install: install-exec install-data all
353         @:
354
355 uninstall: uninstall-binPROGRAMS uninstall-man
356
357 install-strip:
358         $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
359 installdirs:
360         $(mkinstalldirs)  $(DATADIR)$(bindir) $(DESTDIR)$(mandir)/man1
361
362
363 mostlyclean-generic:
364         -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
365
366 clean-generic:
367         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
368
369 distclean-generic:
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)
373
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 \
379                 mostlyclean-generic
380
381 clean:  clean-binPROGRAMS clean-compile clean-libtool clean-tags \
382                 clean-depend clean-generic mostlyclean
383
384 distclean:  distclean-binPROGRAMS distclean-compile distclean-libtool \
385                 distclean-tags distclean-depend distclean-generic clean
386         -rm -f config.status
387         -rm -f libtool
388
389 maintainer-clean:  maintainer-clean-binPROGRAMS maintainer-clean-compile \
390                 maintainer-clean-libtool maintainer-clean-tags \
391                 maintainer-clean-depend maintainer-clean-generic \
392                 distclean
393         @echo "This command is intended for maintainers to use;"
394         @echo "it deletes files that may require special tools to rebuild."
395
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
407
408
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.
411 .NOEXPORT: