]> git.saurik.com Git - bison.git/blob - lib/Makefile.am
* data/glr.c (YYRHSLOC): Move its definition next to its uses.
[bison.git] / lib / Makefile.am
1 ## Copyright (C) 2001, 2002, 2003, 2004 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 AM_CFLAGS = $(WARNING_CFLAGS)
19
20 BUILT_SOURCES =
21 EXTRA_DIST =
22 MOSTLYCLEANFILES =
23
24 lib_LIBRARIES = $(YACC_LIBRARY)
25 EXTRA_LIBRARIES = liby.a
26 noinst_LIBRARIES = libbison.a
27
28 liby_a_SOURCES = main.c yyerror.c
29
30 libbison_a_SOURCES = $(lib_SOURCES)
31 lib_SOURCES = \
32 get-errno.h get-errno.c \
33 subpipe.h subpipe.c \
34 $(bitsets_sources) $(additional_bitsets_sources) $(timevars_sources)
35
36 # Implementation of bitsets
37 bitsets_sources = \
38 abitset.c abitset.h bbitset.h bitset.c bitset.h bitset_stats.c \
39 bitset_stats.h bitsetv.c bitsetv.h ebitset.c ebitset.h lbitset.c \
40 lbitset.h libiberty.h vbitset.c vbitset.h
41
42 # Additional bitset operations.
43 additional_bitsets_sources = \
44 bitsetv-print.h bitsetv-print.c
45
46 # timevars, stolen from GCC.
47 timevars_sources = \
48 timevar.h timevar.c timevar.def
49
50 libbison_a_LIBADD = $(LIBOBJS) $(ALLOCA)
51 libbison_a_DEPENDENCIES = $(libbison_a_LIBADD)
52
53 include gnulib.mk