http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=84416
[m4/ericb.git] / modules / Makefile.am
blob760aada1dd1510ddb88a19b81ed6db83cf0fb711
1 ## This file is part of GNU m4
2 ## Copyright (C) 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
3 ##
4 ## This program is free software; you can redistribute it and/or modify
5 ## it under the terms of the GNU General Public License as published by
6 ## the Free Software Foundation; either version 2 of the License, or
7 ## (at your option) any later version.
8 ##
9 ## This program is distributed in the hope that it will be useful,
10 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
11 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 ## GNU General Public License for more details.
14 ## You should have received a copy of the GNU General Public License
15 ## along with this program; if not, write to the Free Software
16 ## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
17 ## 02110-1301  USA
19 ## Written by Gary V. Vaughan <gary@gnu.org>
21 MAINTAINERCLEANFILES = Makefile.in
23 testsubdir              = testSubDir
24 pkgmodincludedir        = $(includedir)/$(PACKAGE)/modules
25 pkglibexecdir           = $(libexecdir)/$(PACKAGE)
27 ETAGS_ARGS = --regex='/M4BUILTIN_HANDLER[ \t]*(\([^)]*\)/\1/'
29 EXTRA_DIST = modtest.m4 shadow.m4 time.m4 time2.m4 stdlib.m4 format.c
31 AM_CPPFLAGS     = -I$(top_builddir) -I$(top_srcdir) \
32                   -I$(top_builddir)/gnu -I$(top_srcdir)/gnu \
33                   -I$(top_builddir)/m4 -I$(top_srcdir)/m4 $(INTLINCL)
34 AM_LDFLAGS      = -no-undefined -module
35 LIBS            = $(top_builddir)/m4/libm4.la
37 pkgmodinclude_HEADERS   = m4.h
38 pkglibexec_LTLIBRARIES  = gnu.la load.la m4.la traditional.la \
39                           modtest.la shadow.la import.la stdlib.la time.la
41 if USE_GMP
42 pkglibexec_LTLIBRARIES += mpeval.la
43 EXTRA_mpeval_la_SOURCES = evalparse.c
44 mpeval_la_LIBADD        = $(LIBADD_GMP)
45 endif
47 EXTRA_gnu_la_SOURCES    = format.c
48 EXTRA_m4_la_SOURCES     = evalparse.c
51 ## Disabled for now.  It is too fragile to be useful.
52 ## pkglibexec_LTLIBRARIES += perl.la
53 ##perl_la_CFLAGS                = `perl -MExtUtils::Embed -e ccopts`
54 ##perl_la_LDFLAGS               = `perl -MExtUtils::Embed -e ldopts`
55 ##BUILT_SOURCES                 = perlxsi.c
56 ##DISTCLEANFILES                = $(BUILT_SOURCES)
57 ##perlxsi.c:
58 ##      perl -MExtUtils::Embed -e xsinit -- -o perlxsi.c