summaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.am
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-07 13:33:17 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-07 13:33:17 +0000
commit83fbe6cc749616e52bc0e6f5128d5cb38db4060a (patch)
treec1f559337ab93fdfac28860e6a7ad6f1cd695ca4 /scripts/Makefile.am
parentAdding debian version 1.22.10. (diff)
downloaddpkg-83fbe6cc749616e52bc0e6f5128d5cb38db4060a.tar.xz
dpkg-83fbe6cc749616e52bc0e6f5128d5cb38db4060a.zip
Merging upstream version 1.22.11.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'scripts/Makefile.am')
-rw-r--r--scripts/Makefile.am14
1 files changed, 13 insertions, 1 deletions
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index 005c115..9cfdc10 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -323,6 +323,8 @@ test_data = \
t/Dpkg_OpenPGP/sign-file-inline.sig \
t/Dpkg_OpenPGP/sign-file.asc \
t/Dpkg_OpenPGP/sign-file.sig \
+ t/Dpkg_Shlibs/anglebrackets.cpp \
+ t/Dpkg_Shlibs/anglebrackets.symbols \
t/Dpkg_Shlibs/basictags.c \
t/Dpkg_Shlibs/basictags.symbols \
t/Dpkg_Shlibs/ld.so.conf \
@@ -330,6 +332,7 @@ test_data = \
t/Dpkg_Shlibs/ld.so.conf.d/normal.conf \
t/Dpkg_Shlibs/ld.so.conf.d/recursive.conf \
t/Dpkg_Shlibs/ld.so.conf_2 \
+ t/Dpkg_Shlibs/objdump.anglebrackets \
t/Dpkg_Shlibs/objdump.basictags-amd64 \
t/Dpkg_Shlibs/objdump.basictags-i386 \
t/Dpkg_Shlibs/objdump.basictags-mips \
@@ -431,17 +434,24 @@ EXTRA_DIST += \
# EOL
test_data_objects = \
+ t/Dpkg_Shlibs/libobjdump.anglebrackets.so \
t/Dpkg_Shlibs/libobjdump.basictags-amd64.so \
t/Dpkg_Shlibs/libobjdump.basictags-i386.so \
t/Dpkg_Shlibs/libobjdump.basictags-mips.so \
t/Dpkg_Shlibs/libobjdump.patterns.so \
t/Dpkg_Shlibs/libobjdump.spacesyms.so \
+ t/Dpkg_Shlibs/spacesyms.c \
+ t/Dpkg_Shlibs/spacesyms.o \
# EOL
CLEANFILES += \
$(test_data_objects) \
# EOL
+$(srcdir)/t/Dpkg_Shlibs/libobjdump.anglebrackets.so: $(srcdir)/t/Dpkg_Shlibs/anglebrackets.cpp
+ $(CXX) $(CXXFLAGS) -shared -fPIC -Wl,-soname -Wl,libanglebrackets.so.1 \
+ $< -o $@
+
$(srcdir)/t/Dpkg_Shlibs/libobjdump.basictags-amd64.so: $(srcdir)/t/Dpkg_Shlibs/basictags.c
$(CC) $(CFLAGS) -shared -fPIC -Wl,-soname -Wl,libbasictags.so.1 $< \
-DAMD64 -o $@
@@ -475,6 +485,8 @@ $(srcdir)/t/Dpkg_Shlibs/libobjdump.spacesyms.so: $(srcdir)/t/Dpkg_Shlibs/spacesy
OBJDUMP = objdump -w -f -p -T -R
refresh-test-data: $(test_data_objects)
+ $(OBJDUMP) $(srcdir)/t/Dpkg_Shlibs/libobjdump.anglebrackets.so \
+ >$(srcdir)/t/Dpkg_Shlibs/objdump.anglebrackets
$(OBJDUMP) $(srcdir)/t/Dpkg_Shlibs/libobjdump.basictags-amd64.so \
>$(srcdir)/t/Dpkg_Shlibs/objdump.basictags-amd64
$(OBJDUMP) $(srcdir)/t/Dpkg_Shlibs/libobjdump.basictags-i386.so \
@@ -485,7 +497,7 @@ refresh-test-data: $(test_data_objects)
>$(srcdir)/t/Dpkg_Shlibs/objdump.patterns
$(OBJDUMP) $(srcdir)/t/Dpkg_Shlibs/libobjdump.spacesyms.so \
>$(srcdir)/t/Dpkg_Shlibs/objdump.spacesyms
- $(OBJDUMP) `which ls` >$(srcdir)/t/Dpkg_Shlibs/objdump.ls
+ $(OBJDUMP) `command -v ls` >$(srcdir)/t/Dpkg_Shlibs/objdump.ls
include $(top_srcdir)/build-aux/tap.am