- removed strdup() replacement from ginsh
[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 = ../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 =  ../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
129
130 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
131
132 TAR = tar
133 GZIP = --best
134 DEP_FILES =  .deps/ginsh_lexer.P .deps/ginsh_parser.P
135 CXXMKDEP = $(CXX) -M $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS)
136 SOURCES = $(ginsh_SOURCES)
137 OBJECTS = $(ginsh_OBJECTS)
138
139 all: Makefile $(PROGRAMS) $(MANS)
140
141 .SUFFIXES:
142 .SUFFIXES: .S .c .cc .ll .lo .o .s .yy
143 $(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
144         cd $(top_srcdir) && $(AUTOMAKE) --gnu ginsh/Makefile
145
146 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
147         cd $(top_builddir) \
148           && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
149
150
151 mostlyclean-binPROGRAMS:
152
153 clean-binPROGRAMS:
154         -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
155
156 distclean-binPROGRAMS:
157
158 maintainer-clean-binPROGRAMS:
159
160 install-binPROGRAMS: $(bin_PROGRAMS)
161         @$(NORMAL_INSTALL)
162         $(mkinstalldirs) $(DESTDIR)$(bindir)
163         @list='$(bin_PROGRAMS)'; for p in $$list; do \
164           if test -f $$p; then \
165             echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
166             $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
167           else :; fi; \
168         done
169
170 uninstall-binPROGRAMS:
171         @$(NORMAL_UNINSTALL)
172         list='$(bin_PROGRAMS)'; for p in $$list; do \
173           rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
174         done
175
176 .s.o:
177         $(COMPILE) -c $<
178
179 .S.o:
180         $(COMPILE) -c $<
181
182 mostlyclean-compile:
183         -rm -f *.o core *.core
184
185 clean-compile:
186
187 distclean-compile:
188         -rm -f *.tab.c
189
190 maintainer-clean-compile:
191
192 .s.lo:
193         $(LIBTOOL) --mode=compile $(COMPILE) -c $<
194
195 .S.lo:
196         $(LIBTOOL) --mode=compile $(COMPILE) -c $<
197
198 mostlyclean-libtool:
199         -rm -f *.lo
200
201 clean-libtool:
202         -rm -rf .libs _libs
203
204 distclean-libtool:
205
206 maintainer-clean-libtool:
207
208 ginsh: $(ginsh_OBJECTS) $(ginsh_DEPENDENCIES)
209         @rm -f ginsh
210         $(CXXLINK) $(ginsh_LDFLAGS) $(ginsh_OBJECTS) $(ginsh_LDADD) $(LIBS)
211 .yy.cc:
212         $(YACC) $(YFLAGS) $< && mv y.tab.c $*.cc
213         if test -f y.tab.h; then \
214         if cmp -s y.tab.h $*.h; then rm -f y.tab.h; else mv y.tab.h $*.h; fi; \
215         else :; fi
216 ginsh_parser.hh: ginsh_parser.cc
217
218 .ll.cc:
219         $(LEX) $(LFLAGS) $< && mv $(LEX_OUTPUT_ROOT).c $@
220 .cc.o:
221         $(CXXCOMPILE) -c $<
222 .cc.lo:
223         $(LTCXXCOMPILE) -c $<
224
225 install-man1:
226         $(mkinstalldirs) $(DESTDIR)$(man1dir)
227         @list='$(man1_MANS)'; \
228         l2='$(man_MANS)'; for i in $$l2; do \
229           case "$$i" in \
230             *.1*) list="$$list $$i" ;; \
231           esac; \
232         done; \
233         for i in $$list; do \
234           if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
235           else file=$$i; fi; \
236           ext=`echo $$i | sed -e 's/^.*\\.//'`; \
237           inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
238           inst=`echo $$inst | sed '$(transform)'`.$$ext; \
239           echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
240           $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
241         done
242
243 uninstall-man1:
244         @list='$(man1_MANS)'; \
245         l2='$(man_MANS)'; for i in $$l2; do \
246           case "$$i" in \
247             *.1*) list="$$list $$i" ;; \
248           esac; \
249         done; \
250         for i in $$list; do \
251           ext=`echo $$i | sed -e 's/^.*\\.//'`; \
252           inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
253           inst=`echo $$inst | sed '$(transform)'`.$$ext; \
254           echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
255           rm -f $(DESTDIR)$(man1dir)/$$inst; \
256         done
257 install-man: $(MANS)
258         @$(NORMAL_INSTALL)
259         $(MAKE) install-man1
260 uninstall-man:
261         @$(NORMAL_UNINSTALL)
262         $(MAKE) uninstall-man1
263
264 tags: TAGS
265
266 ID: $(HEADERS) $(SOURCES) $(LISP)
267         here=`pwd` && cd $(srcdir) \
268           && mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
269
270 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
271         tags=; \
272         here=`pwd`; \
273         list='$(SOURCES) $(HEADERS)'; \
274         unique=`for i in $$list; do echo $$i; done | \
275           awk '    { files[$$0] = 1; } \
276                END { for (i in files) print i; }'`; \
277         test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
278           || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
279
280 mostlyclean-tags:
281
282 clean-tags:
283
284 distclean-tags:
285         -rm -f TAGS ID
286
287 maintainer-clean-tags:
288
289 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
290
291 subdir = ginsh
292
293 distdir: $(DISTFILES)
294         here=`cd $(top_builddir) && pwd`; \
295         top_distdir=`cd $(top_distdir) && pwd`; \
296         distdir=`cd $(distdir) && pwd`; \
297         cd $(top_srcdir) \
298           && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu ginsh/Makefile
299         @for file in $(DISTFILES); do \
300           d=$(srcdir); \
301           test -f $(distdir)/$$file \
302           || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
303           || cp -p $$d/$$file $(distdir)/$$file; \
304         done
305
306 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
307
308 -include $(DEP_FILES)
309
310 mostlyclean-depend:
311
312 clean-depend:
313
314 distclean-depend:
315
316 maintainer-clean-depend:
317         -rm -rf .deps
318
319 %.o: %.c
320         @echo '$(COMPILE) -c $<'; \
321         $(COMPILE) -Wp,-MD,.deps/$(*F).P -c $<
322
323 %.lo: %.c
324         @echo '$(LTCOMPILE) -c $<'; \
325         $(LTCOMPILE) -Wp,-MD,.deps/$(*F).p -c $<
326         @-sed -e 's/^\([^:]*\)\.o:/\1.lo \1.o:/' \
327           < .deps/$(*F).p > .deps/$(*F).P
328         @-rm -f .deps/$(*F).p
329
330 %.o: %.cc
331         @echo '$(CXXCOMPILE) -c $<'; \
332         $(CXXCOMPILE) -Wp,-MD,.deps/$(*F).P -c $<
333
334 %.lo: %.cc
335         @echo '$(LTCXXCOMPILE) -c $<'; \
336         $(LTCXXCOMPILE) -Wp,-MD,.deps/$(*F).p -c $<
337         @-sed -e 's/^\([^:]*\)\.o:/\1.lo \1.o:/' \
338           < .deps/$(*F).p > .deps/$(*F).P
339         @-rm -f .deps/$(*F).p
340 info:
341 dvi:
342 check: all
343         $(MAKE)
344 installcheck:
345 install-exec: install-binPROGRAMS
346         @$(NORMAL_INSTALL)
347
348 install-data: install-man
349         @$(NORMAL_INSTALL)
350
351 install: install-exec install-data all
352         @:
353
354 uninstall: uninstall-binPROGRAMS uninstall-man
355
356 install-strip:
357         $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
358 installdirs:
359         $(mkinstalldirs)  $(DATADIR)$(bindir) $(DESTDIR)$(mandir)/man1
360
361
362 mostlyclean-generic:
363         -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
364
365 clean-generic:
366         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
367
368 distclean-generic:
369         -rm -f Makefile $(DISTCLEANFILES)
370         -rm -f config.cache config.log stamp-h stamp-h[0-9]*
371         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
372
373 maintainer-clean-generic:
374         -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
375         -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
376 mostlyclean:  mostlyclean-binPROGRAMS mostlyclean-compile \
377                 mostlyclean-libtool mostlyclean-tags mostlyclean-depend \
378                 mostlyclean-generic
379
380 clean:  clean-binPROGRAMS clean-compile clean-libtool clean-tags \
381                 clean-depend clean-generic mostlyclean
382
383 distclean:  distclean-binPROGRAMS distclean-compile distclean-libtool \
384                 distclean-tags distclean-depend distclean-generic clean
385         -rm -f config.status
386         -rm -f libtool
387
388 maintainer-clean:  maintainer-clean-binPROGRAMS maintainer-clean-compile \
389                 maintainer-clean-libtool maintainer-clean-tags \
390                 maintainer-clean-depend maintainer-clean-generic \
391                 distclean
392         @echo "This command is intended for maintainers to use;"
393         @echo "it deletes files that may require special tools to rebuild."
394
395 .PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
396 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
397 mostlyclean-compile distclean-compile clean-compile \
398 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
399 clean-libtool maintainer-clean-libtool install-man1 uninstall-man1 \
400 install-man uninstall-man tags mostlyclean-tags distclean-tags \
401 clean-tags maintainer-clean-tags distdir mostlyclean-depend \
402 distclean-depend clean-depend maintainer-clean-depend info dvi \
403 installcheck install-exec install-data install uninstall all \
404 installdirs mostlyclean-generic distclean-generic clean-generic \
405 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
406
407
408 # Tell versions [3.59,3.63) of GNU make to not export all variables.
409 # Otherwise a system limit (for SysV at least) may be exceeded.
410 .NOEXPORT: