diff options
author | Tom Tromey <tromey@redhat.com> | 1998-04-22 05:13:54 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 1998-04-22 05:13:54 +0000 |
commit | 53d3ce37d4d65d2df72ec3c96e292adb1759d03e (patch) | |
tree | 92f307eadb5c78c77a8ee3f84aa582370628fe51 /bfd/Makefile.am | |
parent | 6bf191bf4d7018ecb2e4d68fd4f5b768162c0a7e (diff) | |
download | gdb-53d3ce37d4d65d2df72ec3c96e292adb1759d03e.zip gdb-53d3ce37d4d65d2df72ec3c96e292adb1759d03e.tar.gz gdb-53d3ce37d4d65d2df72ec3c96e292adb1759d03e.tar.bz2 |
* Many files: Added gettext invocations around user-visible
strings.
* libbfd-in.h: Added gettext includes and defines.
* acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY,
HAVE_LC_MESSAGES): Define.
* configure.in: Call CY_GNU_GETTEXT. Create po/Makefile.in and
po/Makefile.
* Makefile.am (SUBDIRS): Added po.
(POTFILES): New macro.
(po/POTFILES.in): New target.
(SOURCE_HFILES): New macro.
(HFILES): Use it.
* po/Make-in, po/POTFILES.in, po/bfd.pot: New files.
Diffstat (limited to 'bfd/Makefile.am')
-rw-r--r-- | bfd/Makefile.am | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/bfd/Makefile.am b/bfd/Makefile.am index 097924b..6550937 100644 --- a/bfd/Makefile.am +++ b/bfd/Makefile.am @@ -6,7 +6,7 @@ INCDIR = $(srcdir)/../include CSEARCH = -I. -I$(srcdir) -I$(INCDIR) DEP = mkdep -SUBDIRS = doc +SUBDIRS = doc po docdir = doc @@ -391,13 +391,23 @@ CFILES = \ $(BFD64_BACKENDS_CFILES) \ $(OPTIONAL_BACKENDS_CFILES) -HFILES = \ +## This is a list of all .h files which are in the source tree. +SOURCE_HFILES = \ aout-target.h aoutf1.h aoutx.h coffcode.h coffswap.h \ - ecoffswap.h elf32-hppa.h elf32-target.h elf64-target.h \ + ecoffswap.h elf32-hppa.h \ elfcode.h evax.h genlink.h go32stub.h hppa_stubs.h libaout.h \ libbfd.h libcoff.h libecoff.h elf-bfd.h libhppa.h libieee.h \ - libnlm.h liboasys.h netbsd.h nlm-target.h nlmcode.h ns32k.h som.h \ - targmatch.h + libnlm.h liboasys.h netbsd.h nlm-target.h nlmcode.h ns32k.h som.h + +HFILES = \ + elf32-target.h elf64-target.h targmatch.h \ + $(SOURCE_HFILES) + +POTFILES = $(CFILES) $(SOURCE_HFILES) + +po/POTFILES.in: @MAINT@ Makefile + for file in $(POTFILES); do echo $$file; done | sort > tmp \ + && mv tmp $(srcdir)/po/POTFILES.in diststuff: info @@ -424,8 +434,8 @@ ofiles: stamp-ofiles ; @true libbfd_la_SOURCES = $(BFD_LIBS_CFILES) libbfd_la_DEPENDENCIES = $(OFILES) ofiles -libbfd_la_LIBADD = `cat ofiles` -libbfd_la_LDFLAGS = -release $(VERSION) +libbfd_la_LIBADD = `cat ofiles` @WIN32LIBADD@ +libbfd_la_LDFLAGS = -release $(VERSION) @WIN32LDFLAGS@ # libtool will build .libs/libbfd.a. We create libbfd.a in the build # directory so that we don't have to convert all the programs that use |