1 1.1 mrg ## Process this file with automake to generate Makefile.in 2 1.1 mrg 3 1.1.1.3 mrg # Copyright 2000-2002, 2012 Free Software Foundation, Inc. 4 1.1 mrg # 5 1.1.1.3 mrg # This file is part of the GNU MP Library. 6 1.1 mrg # 7 1.1.1.3 mrg # The GNU MP Library is free software; you can redistribute it and/or modify 8 1.1.1.3 mrg # it under the terms of either: 9 1.1 mrg # 10 1.1.1.3 mrg # * the GNU Lesser General Public License as published by the Free 11 1.1.1.3 mrg # Software Foundation; either version 3 of the License, or (at your 12 1.1.1.3 mrg # option) any later version. 13 1.1.1.3 mrg # 14 1.1.1.3 mrg # or 15 1.1.1.3 mrg # 16 1.1.1.3 mrg # * the GNU General Public License as published by the Free Software 17 1.1.1.3 mrg # Foundation; either version 2 of the License, or (at your option) any 18 1.1.1.3 mrg # later version. 19 1.1.1.3 mrg # 20 1.1.1.3 mrg # or both in parallel, as here. 21 1.1.1.3 mrg # 22 1.1.1.3 mrg # The GNU MP Library is distributed in the hope that it will be useful, but 23 1.1.1.3 mrg # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 24 1.1.1.3 mrg # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 25 1.1.1.3 mrg # for more details. 26 1.1.1.3 mrg # 27 1.1.1.3 mrg # You should have received copies of the GNU General Public License and the 28 1.1.1.3 mrg # GNU Lesser General Public License along with the GNU MP Library. If not, 29 1.1.1.3 mrg # see https://www.gnu.org/licenses/. 30 1.1 mrg 31 1.1 mrg 32 1.1 mrg SUBDIRS = calc expr 33 1.1.1.2 mrg EXTRA_DIST = perl primes.h 34 1.1 mrg 35 1.1.1.3 mrg AM_CPPFLAGS = -I$(top_srcdir) 36 1.1 mrg LDADD = $(top_builddir)/libgmp.la 37 1.1 mrg 38 1.1 mrg qcn_LDADD = $(LDADD) $(LIBM) 39 1.1 mrg primes_LDADD = $(LDADD) $(LIBM) 40 1.1 mrg 41 1.1 mrg # None of these programs are built by default, but "make <whatever>" will 42 1.1 mrg # build them once libgmp.la is built. 43 1.1 mrg # 44 1.1 mrg EXTRA_PROGRAMS = factorize isprime pexpr primes qcn 45 1.1 mrg 46 1.1 mrg CLEANFILES = $(EXTRA_PROGRAMS) 47 1.1 mrg 48 1.1 mrg allprogs: $(EXTRA_PROGRAMS) 49 1.1 mrg cd calc; $(MAKE) $(AM_MAKEFLAGS) allprogs 50 1.1 mrg cd expr; $(MAKE) $(AM_MAKEFLAGS) allprogs 51