mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-27 21:23:03 +00:00
* lib/: New directory.
* Makefile.am (SUBDIRS): Adjust. * configure.in: Adjust. (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's useless. * src/alloca.c: Moved to lib/. * src/getopt.c: Likewise. * src/getopt1.c: Likewise. * src/getopt.h: Likewise. * src/ansi2knr.c: Likewise. * src/ansi2knr.1: Likewise. * src/Makefile.am: Adjust. * lib/Makefile.am: New file.
This commit is contained in:
16
ChangeLog
16
ChangeLog
@@ -1,3 +1,19 @@
|
|||||||
|
2000-03-28 Akim Demaille <akim@epita.fr>
|
||||||
|
|
||||||
|
* lib/: New directory.
|
||||||
|
* Makefile.am (SUBDIRS): Adjust.
|
||||||
|
* configure.in: Adjust.
|
||||||
|
(LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
|
||||||
|
useless.
|
||||||
|
* src/alloca.c: Moved to lib/.
|
||||||
|
* src/getopt.c: Likewise.
|
||||||
|
* src/getopt1.c: Likewise.
|
||||||
|
* src/getopt.h: Likewise.
|
||||||
|
* src/ansi2knr.c: Likewise.
|
||||||
|
* src/ansi2knr.1: Likewise.
|
||||||
|
* src/Makefile.am: Adjust.
|
||||||
|
* lib/Makefile.am: New file.
|
||||||
|
|
||||||
2000-03-28 Akim Demaille <akim@epita.fr>
|
2000-03-28 Akim Demaille <akim@epita.fr>
|
||||||
|
|
||||||
* src/getargs.c (usage): Refresh the help message.
|
* src/getargs.c (usage): Refresh the help message.
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ AUTOMAKE_OPTIONS = 1.4 check-news
|
|||||||
|
|
||||||
ACLOCAL_AMFLAGS = -I m4
|
ACLOCAL_AMFLAGS = -I m4
|
||||||
|
|
||||||
SUBDIRS = intl po src doc m4
|
SUBDIRS = intl po lib src doc m4
|
||||||
|
|
||||||
EXTRA_DIST = REFERENCES configure.bat OChangeLog
|
EXTRA_DIST = REFERENCES configure.bat OChangeLog
|
||||||
|
|
||||||
|
|||||||
@@ -40,7 +40,8 @@ AM_GNU_GETTEXT
|
|||||||
# This is necessary so that .o files in LIBOBJS are also built via
|
# This is necessary so that .o files in LIBOBJS are also built via
|
||||||
# the ANSI2KNR-filtering rules.
|
# the ANSI2KNR-filtering rules.
|
||||||
LIBOBJS=`echo $LIBOBJS|sed 's/\.o /\$U.o /g;s/\.o$/\$U.o/'`
|
LIBOBJS=`echo $LIBOBJS|sed 's/\.o /\$U.o /g;s/\.o$/\$U.o/'`
|
||||||
|
AC_SUBST(LIBOBJS)
|
||||||
|
|
||||||
AC_OUTPUT([Makefile
|
AC_OUTPUT([Makefile
|
||||||
intl/Makefile po/Makefile.in
|
intl/Makefile po/Makefile.in
|
||||||
src/Makefile doc/Makefile m4/Makefile])
|
lib/Makefile src/Makefile doc/Makefile m4/Makefile])
|
||||||
|
|||||||
14
lib/Makefile.am
Normal file
14
lib/Makefile.am
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
## Process this file with automake to produce Makefile.in -*-Makefile-*-
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = ansi2knr
|
||||||
|
|
||||||
|
noinst_LIBRARIES = libbison.a
|
||||||
|
|
||||||
|
INCLUDES = -I.. -I$(srcdir) -I../intl
|
||||||
|
|
||||||
|
libbison_a_SOURCES = getopt.c getopt1.c
|
||||||
|
|
||||||
|
libbison_a_LIBADD = @LIBOBJS@ @ALLOCA@
|
||||||
|
libbison_a_DEPENDENCIES = $(libbison_a_LIBADD)
|
||||||
|
|
||||||
|
noinst_HEADERS = getopt.h
|
||||||
@@ -17,5 +17,5 @@ src/reduce.c
|
|||||||
# src/symtab.c
|
# src/symtab.c
|
||||||
# src/warshall.c
|
# src/warshall.c
|
||||||
|
|
||||||
src/getopt.c
|
lib/getopt.c
|
||||||
src/getopt1.c
|
lib/getopt1.c
|
||||||
|
|||||||
@@ -1,24 +1,23 @@
|
|||||||
## Process this file with automake to produce Makefile.in -*-Makefile-*-
|
## Process this file with automake to produce Makefile.in -*-Makefile-*-
|
||||||
AUTOMAKE_OPTIONS = 1.4 ansi2knr
|
AUTOMAKE_OPTIONS = 1.4 ../lib/ansi2knr
|
||||||
|
|
||||||
bin_PROGRAMS = bison
|
bin_PROGRAMS = bison
|
||||||
|
|
||||||
bison_SOURCES = LR0.c allocate.c closure.c conflicts.c derives.c \
|
bison_SOURCES = LR0.c allocate.c closure.c conflicts.c derives.c \
|
||||||
files.c getargs.c gram.c lalr.c lex.c main.c nullable.c output.c \
|
files.c getargs.c gram.c lalr.c lex.c main.c nullable.c output.c \
|
||||||
print.c reader.c reduce.c symtab.c warshall.c getopt.c getopt1.c
|
print.c reader.c reduce.c symtab.c warshall.c
|
||||||
|
|
||||||
EXTRA_bison_SOURCES = vmsgetargs.c
|
EXTRA_bison_SOURCES = vmsgetargs.c
|
||||||
|
|
||||||
bison_LDADD = @INTLLIBS@ @ALLOCA@
|
|
||||||
|
|
||||||
DEFS = @DEFS@ \
|
DEFS = @DEFS@ \
|
||||||
-DXPFILE=\"${datadir}/bison.simple\" \
|
-DXPFILE=\"${datadir}/bison.simple\" \
|
||||||
-DXPFILE1=\"${datadir}/bison.hairy\" \
|
-DXPFILE1=\"${datadir}/bison.hairy\" \
|
||||||
-DLOCALEDIR=\"${datadir}/locale\"
|
-DLOCALEDIR=\"${datadir}/locale\"
|
||||||
INCLUDES = -I../intl -I$(top_srcdir)/intl -I..
|
INCLUDES = -I../intl -I$(top_srcdir)/intl -I..
|
||||||
|
LDADD = @INTLLIBS@ ../lib/libbison.a
|
||||||
|
|
||||||
noinst_HEADERS = alloc.h files.h gram.h lex.h machine.h state.h \
|
noinst_HEADERS = alloc.h files.h gram.h lex.h machine.h state.h \
|
||||||
symtab.h system.h types.h getopt.h
|
symtab.h system.h types.h
|
||||||
|
|
||||||
data_DATA = bison.simple bison.hairy
|
data_DATA = bison.simple bison.hairy
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user