* class.c (create_vtable_ptr): Put the vtable at the beginning of
[official-gcc.git] / texinfo / info / Makefile.am
blob47073ae33437777422e144192abbad9ef689bd4e
1 ## Makefile.am for texinfo/info.
2 ## $Id: Makefile.am,v 1.1.1.2 1998/03/24 18:20:06 law Exp $
3 ## Run automake in .. to produce Makefile.in from this.
5 noinst_PROGRAMS = makedoc
7 # Use `ginfo' for building to avoid confusion with the standard `info'
8 # target.  The install rule removes the `g' before applying any
9 # user-specified name transformations.
10 bin_PROGRAMS = ginfo
11 transform = s/ginfo/info/; @program_transform_name@
13 localedir = $(datadir)/locale
15 # -I. for funs.h.
16 # Automake puts -I.. and -I$(srcdir) into DEFS by default, but
17 # we need to override it, so include them ourselves.
18 INCLUDES = -I. -I$(top_srcdir)/lib -I../intl -I.. -I$(srcdir)
19 DEFS = -DINFODIR=\"$(infodir)\" -DLOCALEDIR=\"$(localedir)\" @DEFS@
20 LDADD = ../lib/libtxi.a @TERMLIBS@ @INTLLIBS@
22 makedoc_SOURCES = makedoc.c
23 ginfo_SOURCES = dir.c display.c display.h doc.c doc.h dribble.c dribble.h \
24   echo-area.c echo-area.h \
25   filesys.c filesys.h footnotes.c footnotes.h funs.h gc.c gc.h \
26   indices.c indices.h info-utils.c info-utils.h info.c info.h infodoc.c \
27   infomap.c infomap.h m-x.c man.c man.h nodemenu.c nodes.c nodes.h \
28   search.c search.h session.c session.h signals.c signals.h \
29   termdep.h terminal.c terminal.h tilde.c tilde.h \
30   variables.c variables.h window.c window.h
32 EXTRA_DIST = README
34 # The files `doc.c' and `funs.h' are created by ./makedoc run over the source
35 # files which contain DECLARE_INFO_COMMAND.  `funs.h' is a header file
36 # listing the functions found.  `doc.c' is a structure containing pointers
37 # to those functions along with completable names and documentation strings.
38 BUILT_SOURCES = doc.c funs.h
40 cmd_sources = $(srcdir)/session.c $(srcdir)/echo-area.c $(srcdir)/infodoc.c \
41   $(srcdir)/m-x.c $(srcdir)/indices.c $(srcdir)/nodemenu.c \
42   $(srcdir)/footnotes.c $(srcdir)/variables.c
44 $(BUILT_SOURCES): makedoc $(cmd_sources)
45         ./makedoc $(cmd_sources)