diff options
author | Ian Lance Taylor <iant@google.com> | 2006-11-30 23:52:50 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2006-11-30 23:52:50 +0000 |
commit | 5a6f7e2db556f93765b75baf2d1ee1509225410d (patch) | |
tree | 6db53a1cd843958dc18135430dbf37bd7b92b17e /gold/Makefile.am | |
parent | 2621033b5dbe773f00cb90d24604b70a1cead2f1 (diff) | |
download | gdb-5a6f7e2db556f93765b75baf2d1ee1509225410d.zip gdb-5a6f7e2db556f93765b75baf2d1ee1509225410d.tar.gz gdb-5a6f7e2db556f93765b75baf2d1ee1509225410d.tar.bz2 |
Added a testsuite. More support for COPY relocations.
Diffstat (limited to 'gold/Makefile.am')
-rw-r--r-- | gold/Makefile.am | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/gold/Makefile.am b/gold/Makefile.am index f76ee5b..02a6da1 100644 --- a/gold/Makefile.am +++ b/gold/Makefile.am @@ -2,7 +2,7 @@ AUTOMAKE_OPTIONS = -SUBDIRS = po +SUBDIRS = po testsuite tooldir = $(exec_prefix)/$(target_alias) @@ -18,6 +18,7 @@ INCLUDES = -D_GNU_SOURCE \ YFLAGS = -d noinst_PROGRAMS = ld-new +noinst_LIBRARIES = libgold.a CCFILES = \ archive.cc \ @@ -74,19 +75,18 @@ YFILES = \ EXTRA_DIST = yyscript.c yyscript.h -POTFILES= $(CCFILES) $(HFILES) $(TARGETFILES) - -po/POTFILES.in: @MAINT@ Makefile - for f in $(POTFILES); do echo $$f; done | LC_COLLATE= sort > tmp \ - && mv tmp $(srcdir)/po/POTFILES.in +libgold_a_SOURCES = $(CCFILES) $(HFILES) $(YFILES) -ld_new_SOURCES = $(CCFILES) $(HFILES) $(TARGETFILES) $(YFILES) -ld_new_DEPENDENCIES = $(LIBINTL_DEP) -ld_new_LDADD = $(LIBINTL) +ld_new_SOURCES = main.cc $(TARGETFILES) +ld_new_DEPENDENCIES = libgold.a $(LIBINTL_DEP) +ld_new_LDADD = libgold.a $(LIBINTL) # Use an explicit dependency for the bison generated header file. script.$(OBJEXT): yyscript.h +# We have to build libgold.a before we run the tests. +check: libgold.a + .PHONY: install-exec-local install-exec-local: ld-new$(EXEEXT) @@ -102,3 +102,9 @@ install-exec-local: ld-new$(EXEEXT) # We want install to imply install-info as per GNU standards, despite # the cygnus option. install-data-local: install-info + +POTFILES= $(CCFILES) $(HFILES) $(TARGETFILES) + +po/POTFILES.in: @MAINT@ Makefile + for f in $(POTFILES); do echo $$f; done | LC_COLLATE= sort > tmp \ + && mv tmp $(srcdir)/po/POTFILES.in |