[BACK]Return to Makefile.am CVS log [TXT][DIR] Up to [local] / OpenXM_contrib / gmp / demos

Diff for /OpenXM_contrib/gmp/demos/Attic/Makefile.am between version 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2000/09/09 14:13:18 version 1.1.1.2, 2003/08/25 16:06:03
Line 1 
Line 1 
 ## Process this file with automake to generate Makefile.in  ## Process this file with automake to generate Makefile.in
   
 # Copyright (C) 2000 Free Software Foundation, Inc.  # Copyright 2000, 2001 Free Software Foundation, Inc.
 #  #
 # This file is part of the GNU MP Library.  # This file is part of the GNU MP Library.
 #  #
Line 21 
Line 21 
   
   
 AUTOMAKE_OPTIONS = gnu no-dependencies $(top_builddir)/ansi2knr  AUTOMAKE_OPTIONS = gnu no-dependencies $(top_builddir)/ansi2knr
   SUBDIRS = calc expr
   EXTRA_DIST = perl
   
 INCLUDES = -I$(top_srcdir)  INCLUDES = -I$(top_srcdir)
 LDADD = $(top_builddir)/libgmp.la  LDADD = $(top_builddir)/libgmp.la
   
 EXTRA_DIST = calc.y calclex.l  qcn_LDADD = $(LDADD) $(LIBM)
   primes_LDADD = $(LDADD) $(LIBM)
   
 calc_SOURCES = calc.c calclex.c calc.h  
 qcn_LDADD = $(LDADD) -lm  
   
 # None of these programs are built by default, but "make <whatever>" will  # None of these programs are built by default, but "make <whatever>" will
 # build them once libgmp.la is built.  # build them once libgmp.la is built.
 #  #
 EXTRA_PROGRAMS = calc factorize isprime pexpr primes qcn  EXTRA_PROGRAMS = factorize isprime pexpr primes qcn
   
 CLEANFILES = $(EXTRA_PROGRAMS)  CLEANFILES = $(EXTRA_PROGRAMS)
   
 allprogs: $(EXTRA_PROGRAMS)  allprogs: $(EXTRA_PROGRAMS)
           cd calc; $(MAKE) $(AM_MAKEFLAGS) allprogs
           cd expr; $(MAKE) $(AM_MAKEFLAGS) allprogs
 # The distribution includes calc.c, calc.h and calclex.c, generated with  
 # bison and flex, so the calc program will build even if yacc and lex aren't  
 # available.  The rules below regenerate those files if you modify calc.y or  
 # calclex.l.  
 #  
 # Using "cd"s instead of a $(srcdir) path ensures $(srcdir) doesn't get into  
 # the "#line"s in the generated files.  
 #  
 # FIXME: Automake yacc handling isn't quite right when building in a  
 # separate object directory, hence the explicit rules used for now.  
 #  
 # FIXME: With ansi2knr and no-dependencies, there doesn't seem any easy way  
 # to manually express that calclex$U.lo depends on calc.h.  Making calclex.c  
 # depend on calc.h gets the right result, but the extra lex runs are  
 # unnecessary.  
   
 $(srcdir)/calclex.c: calclex.l calc.h  
         cd $(srcdir); lex -ocalclex.c calclex.l  
 $(srcdir)/calc.c $(srcdir)/calc.h: calc.y  
         cd $(srcdir); yacc -d -ocalc.c calc.y  

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>