]> git.saurik.com Git - bison.git/blob - lib/Makefile.am
* configure.in (WARNING_CFLAGS): Add -Werror when possible.
[bison.git] / lib / Makefile.am
1 ## Copyright 2001 Free Software Foundation, Inc.
2
3 ## This program is free software; you can redistribute it and/or modify
4 ## it under the terms of the GNU General Public License as published by
5 ## the Free Software Foundation; either version 2 of the License, or
6 ## (at your option) any later version.
7
8 ## This program is distributed in the hope that it will be useful,
9 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
10 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 ## GNU General Public License for more details.
12
13 ## You should have received a copy of the GNU General Public License
14 ## along with this program; if not, write to the Free Software
15 ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
16 ## 02111-1307 USA
17
18 AUTOMAKE_OPTIONS = ansi2knr
19
20 CFLAGS = @CFLAGS@ $(WARNING_CFLAGS)
21
22 noinst_LIBRARIES = libbison.a
23
24 INCLUDES = -I.. -I$(srcdir) -I$(top_srcdir)/src -I../intl
25
26 # Heck, we are still using an old version of Automake which does not
27 # understand LIBOBJ additions using $objext...
28
29 EXTRA_DIST = malloc.c realloc.c
30
31 libbison_a_SOURCES = \
32 getopt.h getopt.c getopt1.c \
33 hash.h hash.c \
34 quote.h quote.c quotearg.h quotearg.c \
35 xalloc.h xmalloc.c xstrdup.c
36
37 libbison_a_LIBADD = @LIBOBJS@ @ALLOCA@
38 libbison_a_DEPENDENCIES = $(libbison_a_LIBADD)