source: git/factory/GNUmakefile.in @ da68dbb

spielwiese
Last change on this file since da68dbb was da68dbb, checked in by Hans Schönemann <hannes@…>, 16 years ago
*hannes: cf_gmp.h git-svn-id: file:///usr/local/Singular/svn/trunk@11014 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 16.8 KB
Line 
1# @configure_input@
2# $Id: GNUmakefile.in,v 1.57 2008-08-20 14:37:40 Singular Exp $
3
4#
5# GNUmakefile.in - used by `configure' to create `GNUmakefile', the
6#   top level makefile for Factory.
7#
8# In general, you should let `configure' guess the correct values
9# for the variables below.  But if something seriously goes wrong
10# in configuring, please inform the authors and feel free to
11# edit the marked section.
12#
13# See the `INSTALL' file for information on how to build Factory.
14#
15# Note: Use GNU `make' (`gmake') to make with this makefile.
16#
17
18############### START OF CONFIGURABLE SECTION ###############
19
20SHELL =         /bin/sh
21
22#
23# - versions.  Do not change version here !!!
24#
25version =       @factory_version@
26distname =      factory-$(version)
27
28#
29# - paths.
30#
31prefix =        @prefix@
32exec_prefix =   @exec_prefix@
33libdir =        @libdir@
34datadir =       @datadir@
35gftabledir =    @gftabledir@
36includedir =    @includedir@
37templatedir =   @templatedir@
38
39srcdir =        @srcdir@
40VPATH =         @srcdir@
41
42#
43# - the name of the game.
44#
45libfactory =    @libfactory@
46
47#
48# - programs.
49#
50CC =            @CC@
51CXX =           @CXX@
52# seems configure sometimes finds non-BSD install, so we better
53# hardcode path to our install-sh
54INSTALL =       $(srcdir)/bin/install-sh -c
55INSTALL_DATA =  @INSTALL_DATA@
56INSTALL_PROGRAM=@INSTALL_PROGRAM@
57RANLIB =        @RANLIB@
58
59LN_S =          @LN_S@
60AR =            @AR@
61BISON =         @BISON@
62MKINSTALLDIRS = @FACTORY_MKINSTALLDIRS@
63MAKEHEADER =    @FACTORY_MAKEHEADER@
64
65#
66# - flags.
67#
68CFLAGS =        @CFLAGS@
69CPPFLAGS =      @CPPFLAGS@
70CXXFLAGS =      @CXXFLAGS@
71DEFS =          @DEFS@
72LDFLAGS =       @LDFLAGS@
73LIBS =          @LIBS@
74
75ARFLAGS =       @ARFLAGS@
76MAKEHEADERFLAGS=@MAKEHEADERFLAGS@
77
78#
79# - some other variables.
80#
81factorysrc =    @factorysrc@
82factoryincl =   @factoryincl@
83memmansrc =     @memmansrc@
84memmanincl =    @memmanincl@
85
86alltargets =    @alltargets@
87installtargets =@installtargets@
88uninstalltargets=@uninstalltargets@
89
90############### END OF CONFIGURABLE SECTION ###############
91
92#
93# - compiler flags.
94#
95WARNFLAGS =     -w
96
97# flags to translate library c files
98LIBCFLAGS =     $(WARNFLAGS) \
99                -I. -I$(srcdir) -I$(includedir) \
100                $(DEFS) $(CPPFLAGS) $(CFLAGS)
101
102# flags to translate library c++ files
103LIBCXXFLAGS =   $(WARNFLAGS) -fno-implicit-templates \
104                -I. -I$(srcdir) -I$(includedir) \
105                $(DEFS) $(CPPFLAGS) $(CXXFLAGS)
106
107# flags to translate ftmpl_inst.cc
108TMPLCXXFLAGS =  $(LIBCXXFLAGS)
109
110# flags to link test programs
111TESTCXXFLAGS =  $(LIBCXXFLAGS)
112
113# flags to link test programs
114TESTLDFLAGS =   $(LIBS) $(LDFLAGS)
115
116# flags to create dependency lists
117DEPCXXFLAGS =   -I. -I$(srcdir) -I$(includedir) \
118                $(DEFS) $(CPPFLAGS)
119
120#
121# - source files.
122#
123
124# factory source files
125basefactorysrc := \
126                canonicalform.cc \
127                cf_algorithm.cc \
128                cf_binom.cc \
129                cf_char.cc \
130                cf_chinese.cc \
131                cf_eval.cc \
132                cf_factor.cc \
133                cf_factory.cc \
134                cf_gcd.cc \
135                cf_gcd_charp.cc \
136                cf_generator.cc \
137                cf_globals.cc \
138                cf_inline.cc \
139                cf_irred.cc \
140                cf_iter.cc \
141                cf_iter_inline.cc \
142                cf_linsys.cc \
143                cf_map.cc \
144                cf_ops.cc \
145                cf_primes.cc \
146                cf_random.cc \
147                cf_resultant.cc \
148                cf_reval.cc \
149                cf_switches.cc \
150                cf_util.cc \
151                debug.cc \
152                fac_berlekamp.cc \
153                fac_cantzass.cc \
154                fac_distrib.cc \
155                fac_ezgcd.cc \
156                fac_iterfor.cc \
157                fac_multihensel.cc \
158                fac_multivar.cc \
159                fac_sqrfree.cc \
160                fac_univar.cc \
161                fac_util.cc \
162                fieldGCD.cc \
163                ffops.cc \
164                ffreval.cc \
165                gf_tabutil.cc \
166                gfops.cc \
167                imm.cc \
168                initgmp.cc \
169                int_cf.cc \
170                int_int.cc \
171                int_intdiv.cc \
172                int_poly.cc \
173                int_pp.cc \
174                int_rat.cc \
175                sm_sparsemod.cc \
176                sm_util.cc \
177                variable.cc \
178                NTLconvert.cc \
179                abs_fac.cc \
180                bifac.cc \
181                lgs.cc
182
183singfactorysrc := \
184                singext.cc
185useiofactorysrc := \
186                parseutil.cc \
187                readcf.y
188distfactorysrc := \
189                $(basefactorysrc) \
190                $(singfactorysrc) \
191                $(useiofactorysrc)
192doxysrc :=      \
193                $(basefactorysrc) \
194                parseutil.cc
195
196# factory object files and dependencies
197factoryobj :=   $(factorysrc:.cc=.o)
198factoryobj :=   $(factoryobj:.y=.o)
199factorydep :=   $(factorysrc:.cc=.d)
200factorydep :=   $(factorydep:.y=.d)
201
202# factory header files
203basefactoryincl := \
204                assert.h \
205                canonicalform.h \
206                cf_algorithm.h \
207                cf_binom.h \
208                cf_defs.h \
209                cf_eval.h \
210                cf_factory.h \
211                cf_generator.h \
212                cf_globals.h \
213                cf_irred.h \
214                cf_iter.h \
215                cf_map.h \
216                cf_primes.h \
217                cf_primetab.h \
218                cf_random.h \
219                cf_reval.h \
220                cf_switches.h \
221                cf_util.h \
222                debug.h \
223                fac_berlekamp.h \
224                fac_cantzass.h \
225                fac_distrib.h \
226                fac_iterfor.h \
227                fac_multivar.h \
228                fac_sqrfree.h \
229                fac_univar.h \
230                fac_util.h \
231                fieldGCD.h \
232                ffops.h \
233                ffreval.h \
234                ftmpl_array.h \
235                ftmpl_factor.h \
236                ftmpl_functions.h \
237                ftmpl_list.h \
238                ftmpl_matrix.h \
239                gf_tabutil.h \
240                gfops.h \
241                gmpext.h \
242                imm.h \
243                int_cf.h \
244                int_int.h \
245                int_poly.h \
246                int_pp.h \
247                int_rat.h \
248                sm_sparsemod.h \
249                sm_util.h \
250                timing.h \
251                variable.h \
252                NTLconvert.h \
253                bifac.h \
254                bifacConfig.h \
255                lgs.h \
256                algext.h
257
258singfactoryincl := \
259                singext.h
260useiofactoryincl := \
261                parseutil.h
262distfactoryincl := \
263                $(basefactoryincl) \
264                $(singfactoryincl) \
265                $(useiofactoryincl)
266doxyincl :=     \
267                $(basefactoryincl) \
268                parseutil.h
269
270# memory manager source files
271basememmansrc := \
272                newdelete.cc
273newmemmansrc := \
274                mmalloc.c \
275                mmallocb.c \
276                mmallocs.c \
277                mmblock.c \
278                mmheap.c \
279                mminit.c \
280                mmspec.c \
281                mmutil.c
282oldmemmansrc := \
283                memutil.c
284distmemmansrc := \
285                $(basememmansrc) \
286                $(newmemmansrc) \
287                $(oldmemmansrc)
288
289# memory manager object files and dependencies
290memmanobj :=    $(memmansrc:.cc=.o)
291memmanobj :=    $(memmanobj:.c=.o)
292memmandep :=    $(memmansrc:.cc=.d)
293memmandep :=    $(memmandep:.c=.d)
294
295# memory manager header files
296newmemmanincl := \
297                mmprivate.h \
298                memman.h
299oldmemmanincl := \
300                memutil.h
301distmemmanincl := \
302                $(newmemmanincl) \
303                $(oldmemmanincl)
304
305# factory template files
306templatesrc :=  \
307                ftmpl_array.cc \
308                ftmpl_factor.cc \
309                ftmpl_functions.h \
310                ftmpl_list.cc \
311                ftmpl_matrix.cc
312templateincl := \
313                ftmpl_array.h \
314                ftmpl_factor.h \
315                ftmpl_list.h \
316                ftmpl_matrix.h
317
318# header templates
319hdrtemplsrc := \
320                factoryconf.template \
321                factory.template
322hdrtempldep :=  $(hdrtemplsrc:.template=.d)
323
324# FTE source files
325ftestsrc :=     \
326                ftest_io.cc \
327                ftest_util.cc \
328                ntl_util.cc
329
330# FTE header files
331ftestincl :=    \
332                ftest_io.h \
333                ftest_util.h \
334                ntl_util.h
335
336# FTE m4 source files (exported for `GNUmakefile' in `ftest/').
337# The variable `$(ftestm4develsrc)' may be already initialized
338# from the development `GNUmakefile'.
339ftestm4src :=   $(ftestm4develsrc) \
340                commonden.m4 \
341                degree.m4 \
342                deriv.m4 \
343                divides.m4 \
344                divrem.m4 \
345                extgcd.m4 \
346                factorize.m4 \
347                fbinops.m4 \
348                feval.m4 \
349                gcd.m4 \
350                gcd.ntl.m4 \
351                insert.m4 \
352                norm.m4 \
353                resultant.m4 \
354                revert.m4 \
355                sqrfree.m4 \
356                size.m4 \
357                totaldegree.m4
358export ftestm4src
359
360# other files from the FTE
361ftestdistfiles := \
362                ChangeLog \
363                GNUmakefile.in \
364                ftest_util.m4
365
366# FTE executables
367ftestexec :=    $(ftestm4src:.m4=)
368
369# all the C/C++ source files in the distribution
370distsrc :=      \
371                $(distfactorysrc) $(distmemmansrc) \
372                $(addprefix templates/,$(templatesrc)) \
373                $(addprefix ftest/,$(ftestsrc)) \
374                readcf.cc ftmpl_inst.cc \
375                gengftables.cc gengftables-conway.cc test_install.cc
376
377# all the C/C++ include files in the distribution
378distincl :=     \
379                $(distfactoryincl) $(distmemmanincl) \
380                $(addprefix templates/,$(templateincl)) \
381                $(addprefix ftest/,$(ftestincl))
382
383# all files for the Windows NT environment
384distntfiles :=  \
385                config.h nt.mak \
386                factory.h factoryconf.h \
387                INSTALL.nt
388
389# all files in the distribution
390distfiles :=    \
391                $(distsrc) $(distincl) $(hdrtemplsrc) \
392                $(addprefix ftest/,$(ftestm4src)) \
393                $(addprefix ftest/,$(ftestdistfiles)) \
394                GNUmakefile.in configure.in config.h.in configure \
395                ChangeLog README NEWS INSTALL \
396                factory.cfg \
397                $(addprefix winnt/,$(distntfiles)) \
398                examples/GNUmakefile examples/application.cc \
399                examples/factorize.cc examples/gcd.cc \
400                bin/folding.el bin/fold-docu.el \
401                bin/install-sh bin/mkinstalldirs \
402                bin/makeheader bin/gen-readcf
403
404#
405# - phony targets.
406#
407.PHONY:         all cf mem dist depend \
408                clean mostlyclean distclean maintainer-clean \
409                install installcf installmem installgftables installtest \
410                uninstall uninstallcf uninstallmem uninstallgftables \
411                ftestall ftestclean ftestdistclean \
412                doxy doxyclean
413
414# we make these targets phony to make sure that they are
415# up to date when a new distribution is built
416.PHONY:         $(srcdir)/winnt/factory.h $(srcdir)/winnt/factoryconf.h
417
418#
419# - pattern rules.
420#
421
422# how to create library objets
423%.o: %.cc config.h
424        $(CXX) -c $< $(LIBCXXFLAGS) -o $@
425%.o: %.c config.h
426        $(CC) -c $< $(LIBCFLAGS) -o $@
427
428# how to create dependency files.  To avoid broken dependency files
429# (which in turn break this GNUmakefile) we first generate them in
430# a temporary file which we then move to the destination file.
431%.d: %.cc factoryconf.h config.h
432        echo $@ "\\" > $@tmp
433        $(CXX) -MM $< $(DEPCXXFLAGS) >> $@tmp
434        mv $@tmp $@
435%.d: %.c factoryconf.h config.h
436        echo $@ "\\" > $@tmp
437        $(CXX) -MM $< $(DEPCXXFLAGS) >> $@tmp
438        mv $@tmp $@
439%.d: %.template
440        echo $@ $(@:.d=.h) : "\\" > $@tmp
441        sed -n '/^\/\*MAKEHEADER/!d; n; s/^#include "//; s/"//; p;' $< | tr '\012' ' ' >> $@tmp
442        echo >> $@tmp
443        mv $@tmp $@
444
445# how to create header files from header templates
446%.h: %.template
447        $(MAKEHEADER) $(MAKEHEADERFLAGS) $< $@
448
449#
450# - building factory.
451#
452all:            $(alltargets)
453
454cf:             factoryconf.h factory.h $(libfactory)
455
456mem:            libcfmem.a
457
458#
459# - explicit targets.
460#
461$(libfactory):  $(factoryobj)
462                $(AR) $(ARFLAGS) $@ $^
463                $(RANLIB) $@
464
465libcfmem.a:     $(memmanobj)
466                $(AR) $(ARFLAGS) $@ $^
467                $(RANLIB) $@
468
469ftmpl_inst.o:   ftmpl_inst.cc factoryconf.h factory.h \
470                $(addprefix templates/,$(templatesrc)) \
471                $(addprefix templates/,$(templateincl))
472                $(CXX) -c $< $(TMPLCXXFLAGS) -o $@
473
474# note that this is a non-source file which is distributed!
475$(srcdir)/readcf.cc: readcf.y
476                @./bin/gen-readcf "${BISON}"
477
478# note that these are non-source file which are distributed!
479# We do not specify any dependencies except the most important ones.
480$(srcdir)/winnt/factory.h: factory.template
481                $(MAKEHEADER) $(MAKEHEADERFLAGS) $< $@
482$(srcdir)/winnt/factoryconf.h: factoryconf.template winnt/config.h
483                $(MAKEHEADER) -I$(srcdir)/winnt $(MAKEHEADERFLAGS) $< $@
484
485# specify dependency in case user does not 'make depend'
486factoryconf.h:  config.h
487
488TAGS:
489                etags $(addprefix $(srcdir)/, $(distsrc) $(distincl))
490
491# check configuration before building executables
492conftest:
493                @if test -z "$(filter mem,$(alltargets))" \
494                  || test -z "$(filter readcf.y,$(factorysrc))" \
495                  || test -n "$(filter singext.cc,$(factorysrc))"; then \
496                  echo "To make this target you have to configure"; \
497                  echo "\`--without-Singular --with-memman --enable-streamio'."; \
498                  exit 1; \
499                fi
500
501#
502# - doxygen.
503#
504
505# files and environment variables to export for doxygen
506doxyfiles :=    $(addprefix $(srcdir)/,$(doxysrc) $(doxyincl))
507
508export version srcdir doxyfiles
509
510# doxygen targets
511doxy:           factory.cfg $(doxysrc) $(doxyincl)
512                doxygen $<
513
514doxyclean:
515                rm -rf doxygen
516
517#
518# - Factory Test Environment.
519#
520$(ftestexec):   conftest factoryconf.h factory.h libcf.a libcfmem.a ftmpl_inst.o
521                cd ftest && $(MAKE) $@
522                @if test -r "$@"; then \
523                  :; \
524                else \
525                  echo "$(LN_S) ftest/$@ $@"; \
526                  $(LN_S) ftest/$@ $@; \
527                fi
528
529ftestall:       $(ftestexec)
530
531ftestclean:
532                -cd ftest && $(MAKE) clean
533
534ftestdistclean:
535                -cd ftest && $(MAKE) distclean
536                -rmdir ftest
537
538#
539# - GF(q) table generation.
540#
541
542# these are not all dependencies, but the most important ones
543gengftables.o:  gengftables-conway.cc conftest factory.h gf_tabutil.h
544                $(CXX) -c $< $(TESTCXXFLAGS) -o $@
545
546gengftables:    gengftables.o libcf.a libcfmem.a ftmpl_inst.o
547                $(CXX) $^ $(TESTLDFLAGS) -o $@
548
549gftables:       gengftables
550                @echo "This command will take quite a long time to execute;"
551                @echo "maybe you want to get the tables directly via ftp (see"
552                @echo "the INSTALL file)."
553                $(MKINSTALLDIRS) gftables
554                ./gengftables
555
556#
557# - installation test program.
558#
559
560# compile installation test program.  do not look up
561# header files in current directory or in $(srcdir), but use
562# the header files from the directory where they should be
563# after installation.
564test_install.o: test_install.cc
565                $(CXX) -c $< $(TESTCXXFLAGS) -I- -I$(includedir) -o $@
566
567# the same we do for ftmpl_inst.o which for this reason is named
568# iftmpl_inst.o
569iftmpl_inst.o:
570                $(CXX) -c $(templatedir)/ftmpl_inst.cc $(TMPLCXXFLAGS) -I- -I$(includedir) -o $@
571
572# link installation test program
573test_install:   test_install.o iftmpl_inst.o
574                $(CXX) $^ -L$(libdir) -lcf -lcfmem $(TESTLDFLAGS) -o $@
575
576installtest:    test_install
577                @-if ./test_install; then \
578                  echo "Installation seems ok."; \
579                else \
580                  echo "Please check path of your GF(q) tables in config.h."; \
581                fi
582
583#
584# - install targets.
585#
586install:        $(installtargets)
587
588install-nolns: install
589
590installcf:      cf
591                $(MKINSTALLDIRS) $(libdir)
592                $(MKINSTALLDIRS) $(includedir)
593                $(MKINSTALLDIRS) $(templatedir)
594                $(INSTALL_DATA) $(libfactory) $(libdir)/$(libfactory)
595                $(INSTALL_DATA) factory.h $(includedir)/factory.h
596                $(INSTALL_DATA) cf_gmp.h $(includedir)/cf_gmp.h
597                $(INSTALL_DATA) factoryconf.h $(includedir)/factoryconf.h
598                $(INSTALL_DATA) $(srcdir)/ftmpl_inst.cc $(templatedir)/ftmpl_inst.cc
599                for file in $(templatesrc) $(templateincl); do \
600                  $(INSTALL_DATA) $(srcdir)/templates/$$file $(templatedir)/$$file; \
601                done
602# we run `ranlib' another time for SUN machines
603                $(RANLIB) $(libdir)/$(libfactory)
604
605installmem:     mem
606                $(MKINSTALLDIRS) $(libdir)
607                $(INSTALL_DATA) libcfmem.a $(libdir)/libcfmem.a
608# once again: another run for SUN
609                $(RANLIB) $(libdir)/libcfmem.a
610
611# to a pity, this cannot be done automatically ...
612installgftables:
613                @echo "Copying GF(q) tables ..."
614                @if test -d gftables; then \
615                  $(MKINSTALLDIRS) $(gftabledir); \
616                  for file in gftables/gftable.*.*; do \
617                    $(INSTALL_DATA) $$file $(gftabledir); \
618                  done \
619                elif test -d "$(srcdir)"/gftables; then \
620                  $(MKINSTALLDIRS) $(gftabledir); \
621                  for file in "$(srcdir)"/gftables/gftable.*.*; do \
622                    $(INSTALL_DATA) $$file $(gftabledir); \
623                  done \
624                else \
625                  echo "Run 'make gftables' before installing them"; \
626                  exit 1; \
627                fi
628
629#
630# - uninstall targets.
631#
632uninstall:      $(uninstalltargets)
633
634uninstallcf:
635                -for file in $(templatesrc) $(templateincl); do \
636                  rm -f $(templatedir)/$$file; \
637                done
638                -rm -f $(templatedir)/ftmpl_inst.cc
639                -rm -f $(includedir)/factoryconf.h
640                -rm -f $(includedir)/factory.h
641                -rm -f $(libdir)/$(libfactory)
642                -rmdir $(templatedir)
643                -rmdir $(includedir)
644                -rmdir $(libdir)
645
646uninstallmem:
647                -rm -f $(libdir)/libcfmem.a
648                -rmdir $(libdir)
649
650uninstallgftables:
651                -rm -f $(gftabledir)/gftable.*.*
652                -rmdir $(gftabledir)
653
654#
655# - building a distribution.
656#
657dist:           $(srcdir)/readcf.cc $(srcdir)/configure \
658                $(srcdir)/winnt/factory.h $(srcdir)/winnt/factoryconf.h
659                rm -f $(distname).tgz
660                rm -rf $(distname)
661                $(MKINSTALLDIRS) $(distname)/bin
662                $(MKINSTALLDIRS) $(distname)/examples
663                $(MKINSTALLDIRS) $(distname)/ftest
664                $(MKINSTALLDIRS) $(distname)/winnt
665                $(MKINSTALLDIRS) $(distname)/templates
666                @echo "Copying files to distribution directory ..."
667                @for file in $(distfiles); do \
668                  ln $(srcdir)/$$file $(distname)/$$file; \
669                done
670                tar cf $(distname).tar $(distname)
671                gzip $(distname).tar
672                mv $(distname).tar.gz $(distname).tgz
673
674#
675# - cleaning up.
676#
677clean:          ftestclean
678                -rm -f $(libfactory) libcfmem.a \
679                  $(ftestexec) gengftables test_install \
680                  factoryconf.h factory.h *.o *.d *.dtmp
681
682# remove gftables only if we built them
683mostlyclean:    clean doxyclean
684                -rm -f TAGS
685                -if test ! -f gftables/README; then \
686                  rm -rf gftables; \
687                fi
688
689distclean:      ftestdistclean mostlyclean
690                -rm -f $(distname).tgz GNUmakefile stamp-h \
691                  config.cache config.log config.status config.h
692                -rm -rf $(distname)
693
694maintainer-clean: distclean
695                @echo "This command is intended for maintainers to use;"
696                @echo "it deletes files that require bison to rebuild."
697                -rm -f $(srcdir)/readcf.cc
698
699#
700# - dependencies.
701#
702# Do not generate them automatically if there are not any
703# dependencies at all.  this trick saves some time when you do
704# not want to compile but do some maintenance which do not
705# require the dependencies.  say 'make depend' to create the
706# dependencies explicitly.
707#
708depend:         $(factorydep) $(memmandep) $(hdrtempldep)
709
710ifneq ($(wildcard *.d),)
711  include $(factorydep) $(memmandep) $(hdrtempldep)
712endif
713
714#
715# - configure stuff.
716#
717$(srcdir)/configure: configure.in
718                @echo "WARNING: You need to rerun autoconf. I am proceeding, for now."
719                touch configure
720
721#               -cd $(srcdir) && autoconf
722
723# seems gmake needs at least a trivial command.  otherwise all
724# files which depend on config.h will be remade even if congig.h
725# did not change.
726config.h:       stamp-h
727                @:
728
729stamp-h:        config.h.in config.status
730                CONFIG_FILES= CONFIG_HEADERS=config.h ./config.status
731                echo timestamp > stamp-h
732
733GNUmakefile:    GNUmakefile.in config.status
734                CONFIG_FILES=GNUmakefile CONFIG_HEADERS= ./config.status
735
736ftest/GNUmakefile: ftest/GNUmakefile.in config.status
737                CONFIG_FILES=ftest/GNUmakefile CONFIG_HEADERS= ./config.status
738
739config.status:  configure
740                ./config.status --recheck
741
742# create cf_gmp.h
743cf_gmp.h: GNUmakefile gen_cf_gmp.template
744        echo "#!/bin/sh" >gen_cf_gmp.sh
745        echo "GMP_H_T=\"`$(CXX) $(CPPFLAGS) -M gen_cf_gmp.cc|grep gmp.h` \"" >>gen_cf_gmp.sh
746        cat gen_cf_gmp.template >>gen_cf_gmp.sh
747        $(SHELL) gen_cf_gmp.sh
Note: See TracBrowser for help on using the repository browser.