aboutsummaryrefslogtreecommitdiff
path: root/opcodes/Makefile.am
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>1998-04-27 21:39:56 +0000
committerNick Clifton <nickc@redhat.com>1998-04-27 21:39:56 +0000
commit072aa625aac207da53d3a5ad7d1415b03a5a8c9e (patch)
treed3ba9f0c30f418f0cc926922f9e97b70d7600db7 /opcodes/Makefile.am
parentadc176bb645a05d8cd5ef6ee13957e03cc73a9f9 (diff)
downloadgdb-072aa625aac207da53d3a5ad7d1415b03a5a8c9e.zip
gdb-072aa625aac207da53d3a5ad7d1415b03a5a8c9e.tar.gz
gdb-072aa625aac207da53d3a5ad7d1415b03a5a8c9e.tar.bz2
Internationalised the opcodes library.
Diffstat (limited to 'opcodes/Makefile.am')
-rw-r--r--opcodes/Makefile.am13
1 files changed, 10 insertions, 3 deletions
diff --git a/opcodes/Makefile.am b/opcodes/Makefile.am
index 20146a7..749d4e3 100644
--- a/opcodes/Makefile.am
+++ b/opcodes/Makefile.am
@@ -2,6 +2,8 @@
AUTOMAKE_OPTIONS = cygnus
+SUBDIRS = po
+
INCDIR = $(srcdir)/../include
BFDDIR = $(srcdir)/../bfd
DEP = mkdep
@@ -118,15 +120,15 @@ ALL_MACHINES = \
OFILES = @BFD_MACHINES@
-INCLUDES = -D_GNU_SOURCE -I. -I$(srcdir) -I../bfd -I$(INCDIR) -I$(BFDDIR) @HDEFINES@
+INCLUDES = -D_GNU_SOURCE -I. -I$(srcdir) -I../bfd -I$(INCDIR) -I$(BFDDIR) @HDEFINES@ -I$(srcdir)/../intl -I../intl
disassemble.lo: disassemble.c $(INCDIR)/dis-asm.h
$(LIBTOOL) --mode=compile $(COMPILE) -c @archdefs@ $(srcdir)/disassemble.c
libopcodes_la_SOURCES = dis-buf.c disassemble.c
libopcodes_la_DEPENDENCIES = $(OFILES)
-libopcodes_la_LIBADD = $(OFILES)
-libopcodes_la_LDFLAGS = -release $(VERSION)
+libopcodes_la_LIBADD = $(OFILES) @WIN32LIBADD@
+libopcodes_la_LDFLAGS = -release $(VERSION) @WIN32LDFLAGS@
# libtool will build .libs/libopcodes.a. We create libopcodes.a in
# the build directory so that we don't have to convert all the
@@ -144,6 +146,11 @@ stamp-lib: libopcodes.la
libopcodes.a: stamp-lib ; @true
+POTFILES = $(BFD_H) $(HFILES) $(CFILES)
+po/POTFILES.in: @MAINT@ Makefile
+ for file in $(POTFILES); do echo $$file; done | sort > tmp \
+ && mv tmp $(srcdir)/po/POTFILES.in
+
CLEANFILES = libopcodes.a stamp-lib dep.sed .dep .dep1
# start-sanitize-cygnus
CLEANFILES = libopcodes.a stamp-lib dep.sed .dep .dep1 stamp-m32r