aboutsummaryrefslogtreecommitdiff
path: root/bfd/doc/Makefile.am
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2005-04-22 05:21:49 +0000
committerH.J. Lu <hjl.tools@gmail.com>2005-04-22 05:21:49 +0000
commit34f3e815d13e0381e4908bf49ca2f0b0b9b3b25b (patch)
treee24b5fb3f0eb26acb7c2dced5cd7eb4e4f7513b0 /bfd/doc/Makefile.am
parente8a59f69c0764da53852522d56f5befe2bbea4b6 (diff)
downloadgdb-34f3e815d13e0381e4908bf49ca2f0b0b9b3b25b.zip
gdb-34f3e815d13e0381e4908bf49ca2f0b0b9b3b25b.tar.gz
gdb-34f3e815d13e0381e4908bf49ca2f0b0b9b3b25b.tar.bz2
2005-04-21 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.am (INCLUDES): New. Add -D_GNU_SOURCE. (chew.o): Use it. * Makefile.in: Regenerate.
Diffstat (limited to 'bfd/doc/Makefile.am')
-rw-r--r--bfd/doc/Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/bfd/doc/Makefile.am b/bfd/doc/Makefile.am
index efa4082..d0ef00a 100644
--- a/bfd/doc/Makefile.am
+++ b/bfd/doc/Makefile.am
@@ -54,11 +54,14 @@ info_TEXINFOS = bfd.texinfo
MKDOC = chew$(EXEEXT_FOR_BUILD)
+INCLUDES = -D_GNU_SOURCE -I.. -I$(srcdir)/.. -I$(srcdir)/../../include \
+ -I$(srcdir)/../../intl -I../../intl
+
$(MKDOC): chew.o
$(CC_FOR_BUILD) -o $(MKDOC) chew.o $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD)
chew.o: chew.c
- $(CC_FOR_BUILD) -c -I.. -I$(srcdir)/.. -I$(srcdir)/../../include -I$(srcdir)/../../intl -I../../intl $(H_CFLAGS) $(CFLAGS_FOR_BUILD) $(srcdir)/chew.c
+ $(CC_FOR_BUILD) -c $(INCLUDES) $(H_CFLAGS) $(CFLAGS_FOR_BUILD) $(srcdir)/chew.c
protos: libbfd.h libcoff.h bfd.h